/* =================== */
/* GLOBAL RESET & BASE */
/* =================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* 👇 INI KUNCI UTAMANYA — BUAT RUANG DI BAWAH HEADER */
body {
    font-family: 'Lato', sans-serif;
    color: #333;
    line-height: 1.7;
    background-color: #faf9f7;
    overflow-x: hidden;
    padding-top: 100px;
    /* 👈 Sesuaikan dengan tinggi header */
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.flex {
    display: flex;
}

.between {
    justify-content: space-between;
}

.center {
    justify-content: center;
    align-items: center;
}

.text-center {
    text-align: center;
}

/* =================== */
/* TYPOGRAPHY */
/* =================== */
h1,
h2,
h3,
h4,
h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #222;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.8rem;
}

p {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.subtitle {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* =================== */
/* HEADER & NAVIGATION */
/* =================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

/* .logo-container img {
    height: 40px;
    object-fit: contain;
} */

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #222;
    text-decoration: none;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    margin-left: 1.5rem;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #8B4513;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #8B4513;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1001;
    align-items: center;
    justify-content: center;
}

.mobile-menu.show {
    display: flex;
}

.mobile-menu-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 300px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.8rem;
    cursor: pointer;
    color: #333;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.mobile-menu li {
    margin-bottom: 1.5rem;
}

.mobile-menu a {
    font-size: 1.1rem;
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

/* =================== */
/* HERO SECTION */
/* =================== */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
}

.logo-container {
    margin-bottom: 2rem;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #eee;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    font-size: 1rem;
}

.btn-primary {
    background: #8B4513;
    color: white;
    border: none;
}

.btn-outline {
    background: transparent;
    color: #8B4513;
    border: 2px solid #8B4513;
}

.btn-large {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* =================== */
/* ABOUT SECTION */
/* =================== */
.about-section {
    padding: 6rem 0;
    background-color: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 2rem;
}

.about-image img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #555;
}

.features {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: #f8f6f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8B4513;
}

.feature-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #222;
}

.feature-desc {
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
}

/* =================== */
/* TEAM SECTION */
/* =================== */
.team-section {
    padding: 6rem 0;
    background-color: #faf9f7;
}

.team-content h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.team-content p {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 4rem;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 3rem;
}

.team-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.team-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #222;
    margin-bottom: 0.5rem;
}

.team-role {
    font-size: 1.1rem;
    color: #8B4513;
    margin-bottom: 1rem;
}

.team-desc {
    font-size: 1rem;
    color: #555;
    max-width: 600px;
    line-height: 1.7;
}

/* =================== */
/* SERVICES SECTION */
/* =================== */
.services-section {
    padding: 6rem 0;
    background-color: #faf9f7;
}

.services-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    color: #222;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: #f8f6f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #8B4513;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    color: #222;
}

.service-desc {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
}

/* =================== */
/* CONTACT SECTION */
/* =================== */
.contact-section {
    padding: 6rem 0;
    background-color: #fff;
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    color: #222;
}

.contact-form-container {
    max-width: 700px;
    margin: 3rem auto;
    padding: 3rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #8B4513;
    box-shadow: 0 0 0 2px rgba(139, 69, 19, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

.error-text {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: block;
}

.form-input.error,
.form-textarea.error {
    border-color: #e74c3c;
}

.alert {
    padding: 1rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    text-align: center;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: #faf9f7;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: #f8f6f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #8B4513;
}

.contact-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #222;
}

.contact-text {
    color: #555;
    font-size: 1rem;
}

/* =================== */
/* FOOTER */
/* =================== */
.footer {
    background: #1a1a1a;
    color: #e0e0e0;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Pastikan dua kolom tetap */
    gap: 8rem;
    /* 👈 INI KUNCI NYA — JARAK LEBIH LEBAR! */
    margin-bottom: 3rem;
}

.footer-info {
    color: #fff;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-slogan {
    font-style: italic;
    color: #ccc;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-contact p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    color: #ccc;
}

.footer-contact i {
    margin-right: 0.5rem;
    color: #8B4513;
}

.socials a {
    color: #fff;
    margin-right: 1rem;
    font-size: 1.3rem;
    transition: color 0.3s;
}

.socials a:hover {
    color: #8B4513;
}

.footer-links h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #8B4513;
}

.copyright {
    text-align: center;
    font-size: 0.85rem;
    color: #777;
    border-top: 1px solid #333;
    padding-top: 2rem;
    margin-top: 3rem;
}

/* =================== */
/* RESPONSIVE */
/* =================== */
@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 0;
    }

    .nav-menu {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        order: -1;
    }

    .services-grid,
    .contact-cards {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        margin: 2rem 1rem;
        padding: 2rem;
    }

    .team-member {
        margin-top: 2rem;
    }

    .team-avatar {
        width: 120px;
        height: 120px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        margin-top: 2rem;
    }

    /* =================== */
    /* PORTFOLIO SECTION */
    /* =================== */
    .portfolio-section {
        padding: 8rem 0;
        background-color: #faf9f7;
    }

    .portfolio-section h2 {
        text-align: center;
        font-size: 2.8rem;
        margin-bottom: 1rem;
        font-family: 'Playfair Display', serif;
        color: #222;
    }

    .portfolio-filters {
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .filter-btn {
        padding: 0.8rem 1.8rem;
        border: none;
        background: transparent;
        color: #555;
        font-size: 0.95rem;
        font-weight: 500;
        cursor: pointer;
        border-radius: 30px;
        transition: all 0.3s ease;
        letter-spacing: 0.5px;
    }

    .filter-btn:hover,
    .filter-btn.active {
        background: #8B4513;
        color: white;
    }

    .portfolio-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.5rem;
        margin-top: 4rem;
    }

    .portfolio-item {
        position: relative;
        overflow: hidden;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        transition: transform 0.4s ease, box-shadow 0.4s ease;
    }

    .portfolio-item img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

    .portfolio-item:hover img {
        transform: scale(1.05);
    }

    .portfolio-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
        color: white;
        padding: 2rem;
        transform: translateY(100%);
        transition: transform 0.4s ease;
    }

    .portfolio-item:hover .portfolio-overlay {
        transform: translateY(0);
    }

    .portfolio-overlay h3 {
        font-family: 'Playfair Display', serif;
        font-size: 1.4rem;
        margin-bottom: 0.3rem;
        font-weight: 600;
    }

    .portfolio-overlay p {
        font-size: 0.9rem;
        opacity: 0.9;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .portfolio-grid {
            grid-template-columns: 1fr;
        }

        .portfolio-item img {
            height: 250px;
        }
    }

    .filter-btn i {
        color: #8B4513;
        transition: color 0.3s;
    }

    .filter-btn:hover i,
    .filter-btn.active i {
        color: white;
    }
}