/* ============================================================
   ANIMATIONS (Scroll Fade In/Out)
   ============================================================ */
.anim-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.anim-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.anim-item.is-hidden {
    opacity: 0;
    transform: translateY(-30px);
}

/* ============================================================
   COMMON COMPONENTS
   ============================================================ */
.section-dark {
    background-color: #000000;
    color: #FFFFFF;
}

.gold-text {
    color: #AC7D24;
}

.subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #AC7D24;
    margin-bottom: 16px;
    display: block;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 36px;
    line-height: 1.2;
    color: #FFFFFF;
    margin-bottom: 24px;
}

.section-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #D2D2D2;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: #AC7D24;
    color: #FFFFFF;
    border-radius: 100px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #90661a;
    transform: translateY(-2px);
    color: #FFF;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border-radius: 100px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
    border: 1px solid transparent;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: #FFF;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.home-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: #000;
    overflow: hidden;
    padding-top: 140px;
    padding-bottom: 60px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.home-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../img/background/bg_hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6;
    z-index: 0;
}

.home-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.home-hero .site-container {
    position: relative;
    z-index: 2;
}

.home-hero-content {
    max-width: 664px;
}

.home-hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: clamp(13px, 1.5vw, 18px);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: clamp(12px, 2vw, 24px);
}

.home-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: clamp(26px, 4.5vw, 56px);
    line-height: 1.2;
    color: #F5F5F5;
    text-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
    margin-bottom: clamp(8px, 1.5vw, 14px);
}

.home-hero-desc {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: clamp(14px, 1.6vw, 18px);
    line-height: 1.5;
    color: #F5F5F5;
    text-shadow: 0px 4px 15px rgba(0, 0, 0, 0.25);
    margin-bottom: clamp(16px, 2.5vw, 30px);
}

.home-hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.home-about {
    background: linear-gradient(180deg, #000000 0%, #302003 100%);
    position: relative;
    text-align: center;
}

.home-about-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.3;
}

/* Decorative ellipses for about bg */
.about-ellipse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid #AC7D24;
}

.about-ellipse-1 {
    width: 1200px;
    height: 1200px;
    opacity: 0.8;
}

.about-ellipse-2 {
    width: 1600px;
    height: 1600px;
    opacity: 0.5;
    border-width: 2px;
}

.about-ellipse-3 {
    width: 2000px;
    height: 2000px;
    opacity: 0.3;
    border-width: 2px;
}

.home-about .site-container {
    position: relative;
    z-index: 2;
    max-width: 1140px;
    margin: 0 auto;
}

.home-about-logo {
    width: 174px;
    height: 100px;
    margin: 0 auto 32px auto;
    display: block;
}

.home-about-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 32px;
    color: #FFFFFF;
    margin-bottom: 24px;
}

.home-about-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #FFFFFF;
    max-width: 956px;
    margin: 0 auto;
}

/* ============================================================
   MAIN CONTAINER WITH ROUNDED TOP CORNERS (BRANDS & BELOW)
   ============================================================ */
.home-outer-wrapper {
    width: 100%;
    max-width: 100%;
    background: linear-gradient(180deg, #302003 0%, #000000 99.84%);
    padding: 48px 24px 0 24px;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
}

.home-main-container {
    background: #000000;
    border-radius: 100px 100px 0 0;
    border-top: 1px solid rgba(172, 125, 36, 0.4);
    padding: 80px 0 60px 0;
    margin: 0 auto;
    max-width: 1440px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
    color: #FFFFFF;
}

/* ============================================================
   BRANDS SECTION
   ============================================================ */
.home-brands {
    background: transparent;
    padding: 0;
}

.brands-header {
    text-align: center;
    max-width: 686px;
    margin: 0 auto 32px auto;
}

.brands-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 0 auto 64px auto;
    max-width: 1200px;
}

.brands-divider .divider-line {
    height: 2px;
    flex: 1;
}

.brands-divider .divider-line:first-child {
    background: linear-gradient(90deg, rgba(172, 125, 36, 0) 0%, #AC7D24 100%);
}

.brands-divider .divider-line:last-child {
    background: linear-gradient(90deg, #AC7D24 0%, rgba(172, 125, 36, 0) 100%);
}

.brands-divider .divider-diamond {
    width: 8px;
    height: 8px;
    background: #AC7D24;
    transform: rotate(45deg);
    flex-shrink: 0;
}

.brands-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.brand-card {
    display: flex;
    background: #000000;
    border: 1px solid #AC7D24;
    box-shadow: 0px 0px 0px 0px transparent;
    border-radius: 40px;
    overflow: hidden;
    min-height: 400px;
    align-items: center;
    opacity: 0.85;
    transform: translateY(0);
    transition: border-color 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, box-shadow, border-color, opacity;
}

.brand-card.active,
.brand-card:hover {
    opacity: 1;
    box-shadow: 0px 0px 50px 0px #E5A62E3D;
    border: 2px solid #B08128;
    transform: translateY(-6px);
}

.brand-card.reverse {
    flex-direction: row-reverse;
}

.brand-img-wrap {
    flex: 0 0 580px;
    height: 400px;
    position: relative;
}

.brand-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), filter 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-card.active .brand-img-wrap img,
.brand-card:hover .brand-img-wrap img {
    transform: scale(1.03);
    filter: brightness(1);
}


.brand-content {
    flex: 1;
    padding: 40px 64px;
}

.brand-tag {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #AC7D24;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #AC7D24;
    margin-bottom: 24px;
}

.brand-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 36px;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.brand-category {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 20px;
    color: #AC7D24;
    margin-bottom: 16px;
}

.brand-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.brand-meta-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: inline-block;
}

.brand-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #FFFFFF;
    margin-bottom: 32px;
}

/* ============================================================
   BLOG SECTION
   ============================================================ */
.home-blog {
    background: transparent;
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border: 1px solid #AC7D24;
    border-radius: 42px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 30px rgba(172, 125, 36, 0.2);
}

.blog-img-wrap {
    width: 100%;
    height: 240px;
    border-radius: 32px;
    overflow: hidden;
    margin-bottom: 24px;
}

.blog-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.blog-date {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #E2E8F0;
    margin-bottom: 12px;
    display: block;
}

.blog-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.4;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.blog-desc {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #D2D2D2;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-readmore {
    margin-top: auto;
    font-family: 'Public Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #AC7D24;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.home-cta {
    background: transparent;
    text-align: center;
    position: relative;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 200px;
    background: radial-gradient(ellipse at center, rgba(172, 125, 36, 0.4) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.home-cta .site-container {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 32px;
    color: #FFFFFF;
    margin-bottom: 24px;
}

.cta-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.cta-line {
    height: 1px;
    background: #AC7D24;
    width: 150px;
}

.cta-diamond {
    width: 8px;
    height: 8px;
    background: #AC7D24;
    transform: rotate(45deg);
}

.cta-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #FFFFFF;
    max-width: 568px;
    margin: 0 auto 32px auto;
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */
@media (max-width: 1199px) {
    .home-hero-subtitle {
        margin-bottom: 20px;
    }

    .home-hero-title {
        font-size: 48px;
        margin-bottom: 12px;
    }

    .home-hero-desc {
        margin-bottom: 24px;
    }

    .brand-content {
        padding: 40px;
    }

    .brand-img-wrap {
        flex: 0 0 450px;
    }
}

@media (max-width: 991px) {
    .home-outer-wrapper {
        padding: 0;
        background: #000000;
        width: 100%;
    }

    .home-main-container {
        border-radius: 0;
        border-top: none;
        padding: 40px 0;
        margin-top: 0;
        width: 100%;
    }

    .home-hero-subtitle {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .home-hero-title {
        font-size: 40px;
        margin-bottom: 12px;
    }

    .home-hero-desc {
        font-size: 16px;
        margin-bottom: 22px;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .brand-card,
    .brand-card.reverse {
        flex-direction: column;
        height: auto;
    }

    .brand-img-wrap {
        width: 100%;
        flex: none;
        height: auto;
        aspect-ratio: 16 / 9;
        position: relative;
        overflow: hidden;
        border-radius: 36px 36px 0 0;
    }

    .brand-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        padding: 0;
        filter: brightness(0.95);
    }

    .brand-img-overlay {
        display: none !important;
    }

    .brand-content {
        padding: 32px;
    }
}

@media (max-width: 767px) {
    .home-hero-subtitle {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .home-hero-title {
        font-size: 32px;
        margin-bottom: 10px;
    }

    .home-hero-desc {
        font-size: 15px;
        margin-bottom: 18px;
    }

    .section-title {
        font-size: 28px;
    }

    .blog-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .home-outer-wrapper {
        padding: 0;
        background: #000000;
        width: 100%;
    }

    .home-main-container {
        border-radius: 0;
        border-top: none;
        padding: 30px 0;
        margin-top: 0;
        width: 100%;
    }

    .home-hero-subtitle {
        font-size: 13px;
        margin-bottom: 10px;
        letter-spacing: 0.03em;
    }

    .home-hero-title {
        font-size: 26px;
        margin-bottom: 8px;
        line-height: 1.25;
    }

    .home-hero-desc {
        font-size: 14px;
        margin-bottom: 16px;
        line-height: 1.4;
    }

    .home-hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .home-hero-buttons .btn-primary,
    .home-hero-buttons .btn-outline {
        width: 100%;
    }

    .brand-content {
        padding: 24px 16px;
    }

    .brand-name {
        font-size: 28px;
    }

    .brand-category {
        font-size: 16px;
    }

    .cta-line {
        width: 80px;
    }
}