/* =========================================
BAJUADATINDONESIA.ID
Main Stylesheet
========================================= */

:root {
    --cream: #F8F4EE;
    --dark: #2B1B17;
    --gold: #C8A96B;
    --maroon: #5A1E2A;
    --white: #ffffff;
    --gray: #777777;
}

/* =========================================
RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--cream);
    color: var(--dark);
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

/* =========================================
GLOBAL
========================================= */

.container {
    width: 100%;
    max-width: 1280px;
    margin: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.heading-font {
    font-family: 'Playfair Display', serif;
}

.section {
    padding: 100px 0;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 32px;
}

.gold-text {
    color: var(--gold);
}

/* =========================================
BUTTON
========================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    transition: .3s ease;
    cursor: pointer;
}

.btn-gold {
    background: var(--white);
    color: #000;
}

.btn-gold:hover {
    opacity: .9;
}

.btn-outline {
    border: 1px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: black;
}

.btn-small {
    padding: 10px 18px;
    font-size: 14px;
}

/* =========================================
TOPBAR
========================================= */

.topbar {
    background: var(--dark);
    color: white;
    font-size: 14px;
    padding: 12px 0;
}

.topbar-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-right {
    display: flex;
    gap: 20px;
}

.topbar-right a {
    color: white;
}

.topbar-right a:hover {
    color: var(--gold);
}

/* =========================================
NAVBAR
========================================= */

.navbar {
    background: white;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 1px 10px rgba(0,0,0,.05);
}

.navbar-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
}

.logo {
    font-size: 32px;
    color: var(--maroon);
    font-weight: 700;
}

.nav-menu {
    display: flex;
    gap: 36px;
}

.nav-menu a {
    color: var(--dark);
    font-weight: 500;
}

.nav-menu a:hover {
    color: var(--gold);
}

/* =========================================
HERO
========================================= */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to right,
            rgba(43,27,23,.92),
            rgba(43,27,23,.70)
        );
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 720px;
    color: white;
}

.hero-subtitle {
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
}

.hero-title {
    font-size: 72px;
    line-height: 1.1;
    margin-bottom: 28px;
}

.hero-description {
    font-size: 18px;
    color: #ddd;
    margin-bottom: 36px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 24px;
}

.stat-item h3 {
    font-size: 36px;
    color: var(--gold);
    margin-bottom: 5px;
}

.stat-item p {
    color: #ddd;
    font-size: 14px;
}

/* =========================================
SEARCH
========================================= */

.search-section {
    margin-top: -80px;
    position: relative;
    z-index: 5;
}

.search-box {
    background: white;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
}

.search-box h2 {
    margin-bottom: 28px;
    font-size: 32px;
}

.search-form {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
}

.search-form select,
.search-form input {
    height: 58px;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    padding: 0 18px;
    font-size: 15px;
    background: white;
}

/* =========================================
SECTION HEADER
========================================= */

.section-heading {
    text-align: center;
    margin-bottom: 70px;
}

.section-subtitle {
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-heading h2 {
    font-size: 56px;
    margin-bottom: 18px;
}

.section-heading p {
    max-width: 700px;
    margin: auto;
    color: var(--gray);
}

.section-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.section-row h2 {
    font-size: 56px;
}

.section-link {
    font-weight: 700;
    color: var(--dark);
}

/* =========================================
ADAT CARD
========================================= */

.adat-card {
    position: relative;
    height: 460px;
    border-radius: 28px;
    overflow: hidden;
}

.adat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .6s ease;
}

.adat-card:hover img {
    transform: scale(1.1);
}

.adat-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.9),
            rgba(0,0,0,.2)
        );
}

.adat-content {
    position: absolute;
    bottom: 35px;
    left: 35px;
    color: white;
}

.adat-content h3 {
    font-size: 38px;
    margin-bottom: 10px;
}

/* =========================================
PRODUCT
========================================= */

.product-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    transition: .3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    position: relative;
}

.product-image img {
    width: 100%;
    height: 340px;
    object-fit: cover;
}

.badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gold);
    color: black;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.product-content {
    padding: 30px;
}

.product-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.product-content p {
    color: var(--gray);
    margin-bottom: 22px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 24px;
    font-weight: 700;
    color: var(--maroon);
}

/* =========================================
WHY SECTION
========================================= */

.why-section {
    background: white;
    padding: 100px 0;
}

.feature-card {
    background: var(--cream);
    padding: 50px 35px;
    border-radius: 28px;
    text-align: center;
}

.feature-icon {
    font-size: 52px;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 14px;
}

.feature-card p {
    color: var(--gray);
}

/* =========================================
CTA
========================================= */

.cta-section {
    width:100%;
    min-height:600px;
    position:relative;
    overflow:hidden;

    background-image:url('../img/baju_adat_indonesia.webp');
    background-position:center center;
    background-size:cover;
    background-repeat:no-repeat;

    display:flex;
    align-items:center;
    justify-content:center;
}

.cta-overlay {
    position:absolute;
    inset:0;

    background:
    linear-gradient(
        90deg,
        rgba(20,12,10,.95) 0%,
        rgba(43,27,23,.88) 35%,
        rgba(43,27,23,.55) 65%,
        rgba(43,27,23,.20) 100%
    );

    z-index:1;
}

.cta-box {
    text-align: center;
    max-width: 850px;
    margin: auto;
    z-index:2;
}

.cta-box h2 {
    font-size: 58px;
    line-height: 1.2;
    margin-bottom: 24px;
}

.cta-box p {
    color: #ddd;
    font-size: 18px;
    margin-bottom: 40px;
}

/* =========================================
FOOTER
========================================= */

.footer {
    background: var(--dark);
    color: #cfcfcf;
    padding-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 50px;
}

.footer-logo {
    color: white;
    font-size: 36px;
    margin-bottom: 24px;
}

.footer h4 {
    color: white;
    margin-bottom: 24px;
}

.footer ul li {
    margin-bottom: 14px;
}

.footer a {
    color: #cfcfcf;
}

.footer a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    margin-top: 70px;
    padding: 30px;
    text-align: center;
    color: #999;
}

/* =========================================
STICKY WA
========================================= */

.sticky-wa {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--gold);
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
    z-index: 999;
}

/* =========================================
RESPONSIVE
========================================= */

@media(max-width: 1100px) {

    .grid-4 {
        grid-template-columns: repeat(2,1fr);
    }

    .search-form {
        grid-template-columns: repeat(2,1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .hero-title {
        font-size: 56px;
    }

}

@media(max-width: 768px) {

    .nav-menu {
        display: none;
    }

    .grid-4,
    .hero-stats,
    .search-form,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding: 140px 0 120px;
    }

    .hero-title {
        font-size: 42px;
    }

    .section-heading h2,
    .section-row h2,
    .cta-box h2 {
        font-size: 38px;
    }

    .topbar-wrap,
    .navbar-wrap,
    .section-row {
        flex-direction: column;
        gap: 20px;
    }

    .search-box {
        padding: 30px;
    }

}