:root {
    --dark-coffee: #2C1B18;
    --accent-wood: #8D6E63;
    --warm-sand: #D7CCC8;
    --cream: #FDFBF9;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--cream);
    color: var(--dark-coffee);
    scroll-behavior: smooth;
}

/* ===== NAVIGATION (DESKTOP) ===== */
nav {
    background-color: var(--dark-coffee);
    padding: 1.2rem 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    text-decoration: none;
    letter-spacing: 4px;
    font-weight: 900;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--warm-sand);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

/* ===== HERO ===== */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.4)),
        url('https://images.unsplash.com/photo-1447933601403-0c6688de566e?q=80&w=1961')
        center / cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-style: italic;
}

/* ===== SECTION ===== */
section {
    padding: 80px 10%;
}

.philosophy {
    background-color: var(--white);
    text-align: center;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 30px;
}

.philosophy-text {
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.8;
    color: #555;
}

/* ===== PROCESS GRID ===== */
.process-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.process-item {
    flex: 1;
    text-align: center;
}

.process-item i {
    font-size: 2rem;
    color: var(--accent-wood);
    margin-bottom: 15px;
}

.process-item h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.process-item p {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.5;
}

/* ===== GRID FOTO ===== */
.grid-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.img-card {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.img-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: 0.5s;
    display: block;
}

.img-card:hover img {
    transform: scale(1.1);
}

/* ===== BUTTON ===== */
.btn-more {
    display: inline-block;
    margin-top: 40px;
    padding: 12px 35px;
    border: 2px solid var(--dark-coffee);
    color: var(--dark-coffee);
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    letter-spacing: 1px;
}

.btn-more:hover {
    background: var(--dark-coffee);
    color: white;
}

/* ===== FOOTER ===== */
footer {
    background: #1a100e;
    color: var(--warm-sand);
    padding: 80px 10% 40px;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 2rem;
    margin-bottom: 20px;
    display: block;
}

.footer-info {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-links a {
    color: white;
    font-size: 1.2rem;
    transition: 0.3s;
}

.social-links a:hover {
    color: var(--accent-wood);
}

/* =====================================================
   RESPONSIVE MOBILE (KAYAK LOCATION, BUKAN DESKTOP MINI)
   ===================================================== */
@media (max-width: 768px) {

    /* NAV MOBILE */
    nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0.8rem 6%;
    }

    .logo {
        font-size: 1.3rem;
        letter-spacing: 3px;
    }

    .nav-links {
        gap: 14px;
    }

    .nav-links a {
        font-size: 0.65rem;
    }

    /* HERO */
    .hero {
        height: 55vh;
        padding: 0 8%;
    }

    .hero-content h1 {
        font-size: 2.4rem;
        line-height: 1.2;
    }

    /* SECTION */
    section {
        padding: 50px 8%;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .philosophy-text {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    /* Update di bagian @media (max-width: 768px) */
.grid-preview {
    display: flex;
    flex-direction: column;
    align-items: center; /* Supaya foto di tengah */
    gap: 20px;
}

.img-card {
    width: 100%; /* Foto memenuhi lebar layar HP */
    max-width: 400px; /* Biar ga terlalu raksasa kalau di tablet */
}

    /* FOOTER */
    footer {
        padding: 50px 8% 30px;
    }

    .footer-logo {
        font-size: 1.4rem;
    }

    .footer-info {
        font-size: 0.75rem;
    }
}