/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gold: #D4AF37;
    --soft-gold: #F5E6A8;
    --deep-navy: #1B2951;
    --warm-white: #FEFEFE;
    --cream: #F9F7F4;
    --charcoal: #2C2C2C;
    --light-gray: #F8F8F8;
    --accent-rose: #E8CCC0;
    --success-green: #10B981;
    --error-red: #EF4444;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--charcoal);
    scroll-behavior: smooth;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--deep-navy);
    text-decoration: none;
    letter-spacing: -1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--charcoal);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-gold);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.cta-button {
    background: var(--primary-gold);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-button:hover {
    background: var(--deep-navy);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--charcoal);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, var(--cream) 0%, var(--light-gray) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -50%;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23D4AF37" opacity="0.1"/><circle cx="80" cy="40" r="3" fill="%23D4AF37" opacity="0.08"/><circle cx="40" cy="80" r="2" fill="%23D4AF37" opacity="0.12"/></svg>');
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateX(0) translateY(0) rotate(0deg); }
    100% { transform: translateX(-100px) translateY(-50px) rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--deep-navy);
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -2px;
}

.hero .subtitle {
    font-size: 1.3rem;
    color: var(--charcoal);
    margin-bottom: 16px;
    font-weight: 300;
}

.hero p {
    font-size: 1.1rem;
    color: var(--charcoal);
    margin-bottom: 40px;
    max-width: 600px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.primary-btn {
    background: var(--primary-gold);
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.primary-btn:hover {
    background: var(--deep-navy);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.secondary-btn {
    color: var(--deep-navy);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-bottom: 2px solid var(--primary-gold);
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    color: var(--primary-gold);
    border-color: var(--deep-navy);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--deep-navy);
    margin-bottom: 20px;
    font-weight: 500;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--charcoal);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Services Section */
.services {
    padding: 120px 0;
    background: var(--warm-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    transition: all 0.3s ease;
    transform: scale(0);
}

.service-card:hover::before {
    transform: scale(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-gold);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-gold), var(--soft-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2rem;
    position: relative;
    z-index: 2;
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--deep-navy);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.service-card p {
    color: var(--charcoal);
    opacity: 0.9;
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

/* How It Works Section */
.how-it-works {
    padding: 120px 0;
    background: var(--cream);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 60px;
    margin-top: 80px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    position: relative;
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--primary-gold);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, var(--primary-gold), transparent);
    opacity: 0.3;
}

.step:last-child .step-number::after {
    display: none;
}

.step-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--deep-navy);
    margin-bottom: 15px;
}

.step-content p {
    color: var(--charcoal);
    opacity: 0.9;
    line-height: 1.8;
}

/* Why Choose Us Section */
.why-choose {
    padding: 120px 0;
    background: var(--warm-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 80px;
}

.feature {
    text-align: center;
    padding: 40px 20px;
}

.feature-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-rose), var(--soft-gold));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2.5rem;
    transform: rotate(5deg);
    transition: all 0.3s ease;
}

.feature:hover .feature-icon {
    transform: rotate(0deg) scale(1.1);
}

.feature h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--deep-navy);
    margin-bottom: 20px;
}

.feature p {
    color: var(--charcoal);
    opacity: 0.9;
    line-height: 1.8;
}

/* Contact Form Section */
.contact-form-section {
    padding: 120px 0;
    background: var(--light-gray);
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--deep-navy);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px 20px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--warm-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit-btn {
    align-self: center;
    min-width: 200px;
    margin-top: 20px;
}

/* Success/Error Messages */
.form-message {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: none;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-green);
    border: 1px solid var(--success-green);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-red);
    border: 1px solid var(--error-red);
}

/* Footer */
.footer {
    background: var(--deep-navy);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-gold);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    line-height: 1.8;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid var(--primary-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        gap: 20px;
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Full-screen overlay drawer (mobile) - global so every page's nav-drawer works */
    .nav-drawer {
        position: fixed;
        inset: 0;
        background: rgba(18, 16, 15, 0.85);
        backdrop-filter: blur(10px);
        display: flex;
        z-index: 1100;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    .nav-drawer.open {
        opacity: 1;
        visibility: visible;
    }
    .drawer-content {
        width: 100%;
        max-width: 420px;
        background: var(--warm-white);
        padding: 36px 28px;
        border-radius: 14px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
        text-align: center;
        transform: translateY(8px);
        transition: transform 0.28s cubic-bezier(0.2,0.8,0.3,1), opacity 0.28s ease;
    }
    .nav-drawer.open .drawer-content { transform: translateY(0); }
    .drawer-content nav { display:flex; flex-direction: column; gap: 14px; margin-top: 6px; }
    .drawer-content a { display:block; font-family:'Playfair Display', serif; font-size:1.25rem; color:var(--deep-navy); text-decoration:none; padding:10px 14px; border-radius:10px; }
    .drawer-content a:hover { background: var(--cream); color: var(--primary-gold); }

    /* Drawer close button */
    .drawer-close {
        position: absolute;
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
        border-radius: 8px;
        background: transparent;
        border: 2px solid rgba(0,0,0,0.06);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        cursor: pointer;
        transition: all 180ms ease;
    }
    .drawer-close:hover {
        background: var(--cream);
        transform: scale(1.03);
    }

    /* Inputs & Buttons micro-interactions */
    input, select, textarea {
        transition: box-shadow 160ms ease, border-color 160ms ease, transform 160ms ease;
    }
    input:focus, select:focus, textarea:focus {
        box-shadow: 0 6px 20px rgba(212,175,55,0.12);
        transform: translateY(-1px);
    }
    .primary-btn, .cta-button {
        transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
    }
    .primary-btn:hover, .cta-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 36px rgba(0,0,0,0.12);
    }

    .hero {
        padding: 0 20px;
        text-align: center;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        text-align: center;
        max-width: 300px;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .services-grid,
    .steps-container,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .step {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .step-number::after {
        display: none;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-form-container {
        padding: 40px 30px;
        margin: 0 20px;
    }

    .services,
    .how-it-works,
    .why-choose,
    .contact-form-section {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 50px;
    }

    .features-grid,
    .steps-container {
        margin-top: 50px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .subtitle {
        font-size: 1.1rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1.1rem;
    }

    .service-card,
    .contact-form-container {
        padding: 30px 20px;
    }

    .nav {
        padding: 15px 0;
    }

    .logo {
        font-size: 24px;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .contact-form-section {
        display: none;
    }
    
    .hero {
        height: auto;
        padding: 50px 0;
    }
    
    * {
        color: black !important;
        background: white !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-gold: #B8860B;
        --deep-navy: #000080;
        --charcoal: #000000;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}