/* ==========================================================================
   Sunny Studio - Chuyên Gia Chụp Ảnh Kỷ Yếu Số 1 (index-3.html Stylesheet)
   Design System Architecture: Vanguard UI Architect & Anti-Slop Discipline
   Color Palette: #c7974e (Warm Golden Bronze) & #16181d (Obsidian Dark)
   ========================================================================== */

/* --- DOUBLE-BEZEL NESTED HARDWARE ARCHITECTURE (DOPPELRAND) --- */
.bezel-outer {
    position: relative;
    background: rgba(22, 24, 29, 0.03);
    border: 1px solid var(--color-border);
    padding: 8px;
    border-radius: 28px;
    transition: all 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}

.bezel-outer:hover {
    transform: translateY(-6px);
    border-color: var(--color-accent);
    box-shadow: 0 20px 40px -15px rgba(199, 151, 78, 0.18);
}

.bezel-inner {
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bezel-outer.dark-bezel {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}

.bezel-outer.dark-bezel:hover {
    border-color: var(--color-accent);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

.bezel-outer.dark-bezel .bezel-inner {
    background: #1f2229;
    color: var(--color-white);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

/* --- YEARBOOK SPECIALIST HERO SECTION --- */
.yb-hero {
    position: relative;
    padding: 110px 0 80px 0;
    background: radial-gradient(circle at 80% 20%, rgba(199, 151, 78, 0.15) 0%, transparent 60%),
                radial-gradient(circle at 10% 80%, rgba(22, 24, 29, 0.08) 0%, transparent 60%),
                linear-gradient(180deg, #ffffff 0%, #fbf9f5 100%);
    overflow: hidden;
}

.yb-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
}

.yb-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background-color: var(--color-accent-light);
    border: 1px solid var(--color-accent-subtle);
    border-radius: var(--radius-full);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--color-accent-hover);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.yb-title {
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--color-primary-dark);
    letter-spacing: -1.2px;
    margin-bottom: 24px;
}

.yb-title span.gold-highlight {
    color: var(--color-accent);
    position: relative;
    display: inline-block;
}

.yb-title span.gold-highlight::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: rgba(199, 151, 78, 0.22);
    z-index: -1;
    border-radius: 4px;
}

.yb-desc {
    font-size: 1.18rem;
    color: var(--color-text-muted);
    line-height: 1.72;
    margin-bottom: 36px;
    max-width: 580px;
}

/* Quick Jump Navigation Bar (Pills under Hero) */
.yb-jump-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 24px 0 0 0;
    border-top: 1px solid var(--color-border);
}

.yb-jump-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.yb-jump-pill:hover {
    background: var(--color-primary-dark);
    color: var(--color-white);
    border-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.yb-jump-pill.accent-pill:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
    box-shadow: var(--shadow-gold);
}

/* Bento Hero Collage */
.yb-hero-collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 240px;
    gap: 16px;
}

.yb-hero-collage .collage-card {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--color-white);
}

.yb-hero-collage .collage-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.32, 0.72, 0, 1);
}

.yb-hero-collage .collage-card:hover img {
    transform: scale(1.06);
}

.yb-hero-collage .collage-card.span-row {
    grid-row: span 2;
}

.yb-hero-collage .collage-tag {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(22, 24, 29, 0.85);
    backdrop-filter: blur(8px);
    color: var(--color-white);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

/* --- YEARBOOK LEVEL BLOCKS (CẤP 3, CẤP 2, CẤP 1, ĐẠI HỌC, MẦM NON) --- */
.yb-section {
    padding: 96px 0;
    position: relative;
}

.yb-section.bg-alt {
    background-color: var(--color-bg-alt);
}

.yb-section.bg-dark {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
}

.yb-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 56px;
}

.yb-header-left {
    max-width: 680px;
}

.yb-level-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--color-accent-light);
    border: 1px solid var(--color-accent-subtle);
    border-radius: var(--radius-full);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-accent-hover);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
}

.bg-dark .yb-level-eyebrow {
    background: rgba(199, 151, 78, 0.18);
    border-color: rgba(199, 151, 78, 0.35);
    color: #e6ba7e;
}

.yb-level-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.8px;
    margin-bottom: 16px;
}

.bg-dark .yb-level-title {
    color: var(--color-white);
}

.yb-level-desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.bg-dark .yb-level-desc {
    color: #cbd5e1;
}

/* CTA & SEO Link Button in Header / Cards (Button-in-Button Architecture) */
.btn-island {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 10px 10px 10px 26px;
    background-color: var(--color-primary-dark);
    color: var(--color-white);
    border-radius: var(--radius-full);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-island .island-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--color-accent);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-island:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.btn-island:hover .island-icon {
    background-color: var(--color-white);
    color: var(--color-accent);
    transform: translateX(3px) rotate(45deg);
}

/* Gold Island Variant */
.btn-island.gold-island {
    background-color: var(--color-accent);
    color: var(--color-white);
    box-shadow: var(--shadow-gold);
}

.btn-island.gold-island .island-icon {
    background-color: var(--color-white);
    color: var(--color-accent);
}

.btn-island.gold-island:hover {
    background-color: var(--color-primary-dark);
}

.btn-island.gold-island:hover .island-icon {
    background-color: var(--color-accent);
    color: var(--color-white);
}

/* Yearbook Concept Cards Grid */
.yb-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.yb-card-img {
    height: 260px;
    position: relative;
    overflow: hidden;
}

.yb-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.32, 0.72, 0, 1);
}

.bezel-outer:hover .yb-card-img img {
    transform: scale(1.08);
}

.yb-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: var(--shadow-sm);
}

.yb-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.yb-card-title {
    font-size: 1.32rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-primary-dark);
    line-height: 1.35;
}

.bg-dark .yb-card-title {
    color: var(--color-white);
}

.yb-card-desc {
    font-size: 0.94rem;
    color: var(--color-text-muted);
    line-height: 1.62;
    margin-bottom: 20px;
    flex-grow: 1;
}

.bg-dark .yb-card-desc {
    color: #94a3b8;
}

.yb-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
}

.bg-dark .yb-card-footer {
    border-color: rgba(255, 255, 255, 0.1);
}

.yb-card-price {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--color-accent);
}

.yb-seo-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.bg-dark .yb-seo-link {
    color: #e2e8f0;
}

.yb-seo-link:hover {
    color: var(--color-accent);
}

/* --- SEO ARTICLES & LINKS BLOCK FOR EACH LEVEL (BÀI VIẾT SEO TỪNG KHỐI) --- */
.yb-seo-hub-box {
    margin-top: 36px;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 28px 32px;
    box-shadow: var(--shadow-md);
}

.bg-dark .yb-seo-hub-box {
    background-color: #1a1d24;
    border-color: rgba(255, 255, 255, 0.12);
}

.yb-seo-hub-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px dashed var(--color-border);
}

.bg-dark .yb-seo-hub-header {
    border-color: rgba(255, 255, 255, 0.15);
}

.yb-seo-hub-header h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary-dark);
}

.bg-dark .yb-seo-hub-header h4 {
    color: var(--color-white);
}

.yb-seo-links-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    list-style: none;
}

.yb-seo-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    color: var(--color-text-main);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.bg-dark .yb-seo-item a {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
}

.yb-seo-item a:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.yb-seo-item a .seo-bullet {
    color: var(--color-accent);
    font-weight: 800;
    transition: color 0.2s;
}

.yb-seo-item a:hover .seo-bullet {
    color: var(--color-white);
}

/* --- WHY CHOOSE SUNNY STUDIO (COMMITMENT ADVANTAGES) --- */
.yb-commit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.yb-commit-item {
    text-align: center;
    padding: 32px 24px;
}

.yb-commit-icon {
    width: 64px;
    height: 64px;
    background-color: var(--color-accent-light);
    border: 1px solid var(--color-accent-subtle);
    color: var(--color-accent);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    transition: all 0.3s;
}

.bezel-outer:hover .yb-commit-icon {
    background-color: var(--color-accent);
    color: var(--color-white);
    transform: rotate(10deg);
}

.yb-commit-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-primary-dark);
}

.yb-commit-desc {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* --- KNOWLEDGE & SEO ARTICLE HUB (KHỐI BÀI VIẾT KINH NGHIỆM & SEO KỶ YẾU) --- */
.yb-blog-section {
    padding: 96px 0;
    background-color: var(--color-white);
    border-top: 1px solid var(--color-border);
}

.blog-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 36px 0 48px 0;
}

.blog-tab-btn {
    padding: 10px 22px;
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text-main);
    cursor: pointer;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-tab-btn:hover {
    background-color: rgba(199, 151, 78, 0.12);
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.blog-tab-btn.active {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.yb-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    transition: height 0.4s ease;
}

.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-img-wrap {
    height: 240px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--color-border);
}

.blog-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.32, 0.72, 0, 1);
}

.blog-card:hover .blog-img-wrap img {
    transform: scale(1.08);
}

.blog-cat-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(22, 24, 29, 0.88);
    backdrop-filter: blur(8px);
    color: var(--color-white);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.blog-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    line-height: 1.4;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.blog-card:hover .blog-title {
    color: var(--color-accent);
}

.blog-desc {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.62;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px dashed var(--color-border);
    font-size: 0.84rem;
    color: var(--color-text-muted);
}

.blog-read-more {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: var(--color-accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: transform 0.2s;
}

.blog-card:hover .blog-read-more {
    transform: translateX(4px);
}

/* Responsive Overrides & Agency-Grade Mobile Navigation for Index-3 & Index-4 */
@media (max-width: 1024px) {
    .site-header .header-inner .nav-menu {
        display: none !important;
    }
    
    .site-header .header-actions .mobile-nav-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .site-header .nav-menu.show-menu {
        display: flex !important;
        flex-direction: column !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        width: 100% !important;
        background: #ffffff !important;
        padding: 16px 24px 24px 24px !important;
        box-shadow: 0 20px 40px rgba(22, 24, 29, 0.16) !important;
        border-top: 1px solid rgba(199, 151, 78, 0.2) !important;
        border-bottom: 3px solid var(--color-accent) !important;
        z-index: 9999 !important;
        animation: mobileMenuSlideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    .site-header .nav-menu.show-menu .nav-link {
        padding: 14px 16px !important;
        font-size: 1.05rem !important;
        font-weight: 600 !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        color: var(--color-primary-dark) !important;
        border-radius: 6px;
        transition: all 0.2s ease;
    }

    .site-header .nav-menu.show-menu .nav-link:last-child {
        border-bottom: none !important;
    }

    .site-header .nav-menu.show-menu .nav-link:hover,
    .site-header .nav-menu.show-menu .nav-link.active {
        background: #fdfaf4 !important;
        color: var(--color-accent) !important;
        padding-left: 22px !important;
    }

    .mobile-nav-toggle.active svg {
        transform: rotate(90deg);
        transition: transform 0.3s ease;
        color: var(--color-accent);
    }

    .yb-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .yb-cards-grid,
    .yb-seo-links-list,
    .yb-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .yb-commit-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@keyframes mobileMenuSlideDown {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .yb-title {
        font-size: 2.3rem;
    }
    .yb-level-title {
        font-size: 1.85rem;
    }
    .yb-cards-grid,
    .yb-seo-links-list,
    .yb-commit-grid,
    .yb-blog-grid,
    .yb-hero-collage {
        grid-template-columns: 1fr;
    }
    .yb-hero-collage {
        grid-template-rows: auto;
    }
    .yb-hero-collage .collage-card.span-row {
        grid-row: span 1;
        height: 260px;
    }
    .yb-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .yb-header > div:last-child {
        width: 100%;
    }
    .yb-header .btn-island {
        width: 100%;
        justify-content: center;
    }
    .yb-jump-bar {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .yb-title {
        font-size: 1.95rem;
    }
    .yb-desc {
        font-size: 1rem;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .hero-buttons .btn-island {
        width: 100%;
        justify-content: center;
    }
    .hotline-pill span:not(.hotline-icon) {
        font-size: 0.85rem;
    }
}
