/* Global Resets & Base Styles */
:root {
    --primary-color: #1a2332; /* Deep Blue/Charcoal */
    --secondary-color: #B08D57; /* Muted Gold/Bronze */
    --accent-color: #D4AF37; /* Brighter Gold for highlights */
    --text-color: #EAEAEA; /* Light Gray for text on dark backgrounds */
    --dark-text-color: #333;
    --background-light: #F8F9FA;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    --card-bg: #252f40;
    --section-padding: 80px 0;
    --transition-speed: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base font size */
}

body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--primary-color);
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--accent-color);
    transition: color var(--transition-speed);
}

a:hover {
    color: #fff;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3 {
    font-family: var(--font-secondary);
    color: var(--accent-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; color: var(--text-color); } /* Service card title */

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px; /* Pill shape for modern feel */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-speed);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Header & Navbar */
.header {
    background-color: rgba(26, 35, 50, 0.85); /* Slightly transparent */
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    backdrop-filter: blur(10px); /* Glassmorphism effect */
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}

.nav-menu {
    list-style: none;
    display: flex;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    position: relative;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width var(--transition-speed);
}

.nav-link:hover::after,
.nav-link.active::after { /* Add .active class with JS on scroll */
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-color);
    transition: all 0.3s ease-in-out;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px; /* Account for fixed header */
    background: url('../images/hero-bg.jpg') no-repeat center center/cover; /* Ganti dengan gambar Anda */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 20, 30, 0.7); /* Darker overlay for text contrast */
}

.hero-content {
    position: relative; /* To be above overlay */
    z-index: 1;
}

.hero-section h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #fff; /* White for hero title */
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-section p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: var(--text-color);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about-section {
    padding: var(--section-padding);
    background-color: var(--primary-color); /* Keep consistent or slightly lighter shade */
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
}
.about-content p {
    margin-bottom: 20px;
}

/* Services Section */
.services-section {
    padding: var(--section-padding);
    background-color: var(--card-bg); /* Slightly different bg for contrast */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--primary-color);
    padding: 35px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    border-left: 5px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(176, 141, 87, 0.2);
    border-left-color: var(--secondary-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-card p {
    font-size: 0.95rem;
    color: #b0bec5; /* Lighter text for description */
}

/* Contact Section */
.contact-section {
    padding: var(--section-padding);
    background-color: var(--primary-color);
}

.contact-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 30px;
    margin-bottom: 50px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    min-width: 300px;
    flex-grow: 1;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}
.contact-item a, .contact-item p {
    color: var(--text-color);
}
.contact-item a:hover {
    color: var(--accent-color);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.map-container iframe {
    filter: grayscale(80%) contrast(1.2) opacity(0.9); /* Stylish map */
}

/* Footer */
.footer {
    background-color: #111827; /* Darker footer */
    color: #9ca3af;
    text-align: center;
    padding: 40px 0;
    font-size: 0.9rem;
}

.footer p {
    margin-bottom: 8px;
}

.footer .fa-heart {
    color: var(--secondary-color);
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in {
    opacity: 0;
}
.fade-in.visible {
    opacity: 1;
}

.fade-in-up {
    transform: translateY(50px);
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delay classes for staggered animations */
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }


/* Responsive Design */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    .hero-section h1 { font-size: 3rem; }
    .hero-section p { font-size: 1.2rem; }
    h2 { font-size: 2rem; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px; /* Height of header */
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 15px 0;
    }

    .nav-link {
        font-size: 1.2rem;
    }
    
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-section {
        min-height: 80vh;
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section p {
        font-size: 1.1rem;
    }

    .services-grid {
        grid-template-columns: 1fr; /* Stack cards */
    }
    
    .contact-details {
        flex-direction: column;
    }
    .contact-item {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 60px 0;
    }
    .container {
        width: 95%;
    }
    h1 { font-size: 2rem; }
    .hero-section h1 { font-size: 2.2rem; }
    .hero-section p { font-size: 1rem; }
    h2 { font-size: 1.8rem; }
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .contact-item {
        padding: 15px;
        font-size: 1rem;
    }
    .contact-item i {
        font-size: 1.3rem;
    }
}