/* =========================================
   SITE HEADER
========================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-dark);
    border-bottom: 3px solid var(--color-primary);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 24px;
}

/* Branding */
.site-branding .custom-logo {
    height: 44px;
    width: auto;
}

.site-branding .site-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.site-branding .site-name:hover {
    color: var(--color-primary);
}

/* Nav menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-menu li a {
    display: block;
    padding: 8px 14px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius);
    transition: color 0.2s, background 0.2s;
}

.nav-menu li a:hover,
.nav-menu li.current-menu-item > a {
    color: #fff;
    background: var(--color-primary);
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .primary-nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--color-dark);
        border-top: 1px solid rgba(255,255,255,0.1);
        padding: 16px 20px;
        z-index: 99;
    }

    .primary-nav.is-open {
        display: block;
    }

    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        width: 100%;
    }
}

/* =========================================
   GARKET SLIDER
========================================= */
.garket-slider-wrapper {
    width: 100%;
    overflow: hidden;
}

.garket-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.garket-slider-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.garket-slide {
    position: relative;
    min-width: 100%;
    height: 520px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .garket-slide {
        height: 340px;
    }
}

.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 6s ease;
}

.garket-slide.is-active .slide-bg {
    transform: scale(1.04);
}

.slide-bg--empty {
    background: var(--color-dark);
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.75) 0%,
        rgba(0,0,0,0.4) 60%,
        rgba(0,0,0,0.1) 100%
    );
}

.slide-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding: 48px 60px;
    max-width: 700px;
}

@media (max-width: 768px) {
    .slide-content {
        padding: 28px 24px;
    }
}

.slide-content .category-badge {
    margin-bottom: 12px;
    align-self: flex-start;
}

.slide-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.15;
}

.slide-title a {
    color: #fff;
}

.slide-title a:hover {
    color: var(--color-primary);
}

.slide-excerpt {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Slider controls */
.garket-slider-prev,
.garket-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    line-height: 1;
}

.garket-slider-prev { left: 16px; }
.garket-slider-next { right: 16px; }

.garket-slider-prev:hover,
.garket-slider-next:hover {
    background: var(--color-primary);
}

/* Dots */
.garket-slider-dots {
    position: absolute;
    bottom: 20px;
    right: 24px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.garket-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.garket-slider-dot.is-active {
    background: var(--color-primary);
    transform: scale(1.2);
}

/* =========================================
   VIDEO EMBED
========================================= */
.garket-video-wrapper {
    margin: 0;
}

.garket-video-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e11d48;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 3px;
    text-transform: uppercase;
}

.live-badge::before {
    content: '';
    width: 7px;
    height: 7px;
    background: #fff;
    border-radius: 50%;
    animation: live-pulse 1.2s infinite;
}

@keyframes live-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.garket-video-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
}

.garket-video-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--color-dark);
}

.garket-video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius);
}

/* =========================================
   SITE FOOTER
========================================= */
.site-footer {
    background: var(--color-dark);
    border-top: 3px solid var(--color-primary);
    padding: 32px 0;
    margin-top: 60px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-branding .custom-logo {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.footer-site-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-nav-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.footer-nav-menu li a {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    transition: color 0.2s;
}

.footer-nav-menu li a:hover {
    color: var(--color-primary);
}

.footer-copy {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
    margin: 0;
    width: 100%;
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-copy a {
    color: rgba(255,255,255,0.6);
}

.footer-copy a:hover {
    color: var(--color-primary);
}

@media (max-width: 600px) {
    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-nav-menu {
        justify-content: center;
    }
}

/* =========================================
   SINGLE POST STYLES
========================================= */
.garket-single-post {
    max-width: 820px;
    margin: 0 auto;
    padding: 48px 0;
}

.single-post-header {
    margin-bottom: 28px;
}

.single-post-header .category-badge {
    margin-bottom: 12px;
}

.single-post-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 16px;
    line-height: 1.15;
}

.single-post-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.single-post-thumbnail {
    margin-bottom: 32px;
    border-radius: var(--radius);
    overflow: hidden;
}

.single-post-thumbnail img {
    width: 100%;
    height: auto;
}

.entry-content {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--color-text);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin: 2rem 0 1rem;
}

.entry-content p {
    margin-bottom: 1.25rem;
}

.entry-content a {
    color: var(--color-primary);
    text-decoration: underline;
}

.entry-content img {
    border-radius: var(--radius);
    margin: 1.5rem 0;
}

.entry-content ul,
.entry-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
    list-style: initial;
}

.entry-content blockquote {
    border-left: 4px solid var(--color-primary);
    padding-left: 20px;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--color-text-muted);
}

/* Post navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 32px 0;
    border-top: 1px solid var(--color-border);
    margin-top: 40px;
}

.post-navigation .nav-label {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.post-navigation .nav-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
}

.post-navigation a:hover .nav-title {
    color: var(--color-primary);
}
