:root {
    --primary: #1A1A1A;
    --secondary: #C5A059;
    --accent: #F5F5F5;
    --white: #FFFFFF;
    --text-dark: #333333;
    --text-light: #666666;
    --gold-hover: #A68546;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

    /* Font Stacks */
    --font-serif: "Palatino Linotype", "Book Antiqua", Palatino, "Georgia", "Times New Roman", Times, serif;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: var(--font-sans);
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
    letter-spacing: -0.01em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- Layout Components --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-gold {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-gold:hover {
    background-color: var(--gold-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.btn-outline:hover {
    background-color: var(--secondary);
    color: var(--white);
}

/* --- Header & Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 15px;
    color: var(--primary);
}

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

/* Mega Menu Dropdown */
.dropdown {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--white);
    width: 500px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 30px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.mega-column h3 {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: var(--secondary);
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.mega-column a {
    display: block;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-dark);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--white);
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero h1 {
    font-size: 64px;
    color: var(--white);
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 35px;
    color: rgba(255,255,255,0.9);
}

/* --- Service Cards --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border: 1px solid #eee;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
    border-color: var(--secondary);
}

.service-card i {
    font-size: 32px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

/* --- Footer --- */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.footer-section h2, .footer-section h3 {
    color: var(--white);
    margin-bottom: 25px;
}

.footer-section p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 15px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.7);
}

.footer-section ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

#footer-newsletter {
    display: flex;
    margin-top: 20px;
}

#footer-newsletter input {
    padding: 12px;
    flex-grow: 1;
    border: none;
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

/* --- Animations --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1200px) {
    .container {
        padding: 0 40px;
    }
}

@media (max-width: 992px) {
    .section {
        padding: 60px 0;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        padding: 40px;
        transition: var(--transition);
        align-items: flex-start;
        z-index: 999;
        overflow-y: auto;
    }

    .nav-links.mobile-active {
        left: 0;
    }

    .mobile-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
    }

    .mobile-toggle span {
        width: 30px;
        height: 2px;
        background: var(--primary);
        transition: var(--transition);
    }

    .mobile-toggle.toggle-active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    .mobile-toggle.toggle-active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-toggle.toggle-active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .nav-cta {
        display: none;
    }
    
    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 16px;
    }
    
    .mega-menu {
        width: 100%;
        position: static;
        transform: none;
        display: none;
        opacity: 1;
        visibility: visible;
        grid-template-columns: 1fr;
        padding: 20px 0;
        box-shadow: none;
    }

    .dropdown.mobile-open .mega-menu {
        display: block;
    }

    .dropdown > a i {
        transition: transform 0.3s ease;
    }

    .dropdown.mobile-open > a i {
        transform: rotate(180deg);
    }

    /* Grid Stacking */
    .services-grid, 
    .contact-wrapper, 
    .footer-content, 
    [style*="grid-template-columns: 1fr 1fr"], 
    [style*="grid-template-columns: 2fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    [style*="display: flex; gap: 30px"] {
        flex-direction: column;
        gap: 20px !important;
    }

    .hero {
        text-align: center;
        padding: 120px 20px 60px;
        height: auto;
        min-height: 80vh;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .hero-btns .btn {
        margin-left: 0 !important;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 32px;
    }

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

    .contact-form-container {
        padding: 30px 20px;
    }
}
