@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Raleway:wght@300;400;500;600&display=swap');

:root {
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Raleway', sans-serif;

    --color-primary: #1a365d; 
    --color-secondary: #d4af37;
    --color-accent: #8b6914;
    --color-dark: #0f172a;
    --color-light: #f8fafc;
    --color-cream: #faf8f5;
    --color-text: #334155;
    --color-text-light: #64748b;
    --color-border: #e2e8f0;
    --color-gold-light: rgba(212, 175, 55, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    color: var(--color-text);
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    padding-top: 68px; /* Header height */
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent);
}

ul {
    list-style: none;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.2;
    font-weight: 400;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: 1.75rem; font-weight: 500; margin-bottom: 1rem; }
h4 { font-size: 1.25rem; font-weight: 600; }

.label {
    font-family: var(--font-body);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-secondary);
    font-weight: 600;
}

.text-center { text-align: center; }

/* Header */
.header {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    padding: 12px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    transition: background 0.3s ease, padding 0.3s ease;
}

.header.scrolled {
    background: var(--color-dark);
    padding: 8px 0;
}

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

.logo svg { display: block; }

.nav-links {
    display: none;
    gap: 40px;
}

.nav-links a {
    color: #e2e8f0;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s;
    padding: 5px 0;
    position: relative;
}
.nav-links a:hover, .nav-links a.active {
    color: #d4af37;
}
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #d4af37;
}

.header-cta {
    display: none; /* Hidden on mobile */
    background: transparent;
    border: 1px solid #d4af37;
    color: #d4af37;
    padding: 10px 24px;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s;
    white-space: nowrap;
}

.header-cta:hover {
    background: #d4af37;
    color: #0f172a;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #e2e8f0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
    min-height: 85vh;
    background: linear-gradient(135deg, #0f172a 0%, #1a365d 50%, #1e3a5f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M-1,1 l2,-2 M0,10 l10,-10 M9,11 l2,-2' stroke='white' stroke-width='0.2'/%3E%3C/svg%3E");
    opacity: 0.03;
}

.hero-content { max-width: 800px; position: relative; z-index: 2; }
.hero .label { margin-bottom: 20px; display: block; }
.hero h1 { color: #ffffff; margin-bottom: 24px; }
.hero p { color: #cbd5e1; font-size: 1.125rem; margin-bottom: 40px; max-width: 650px; margin-left: auto; margin-right: auto; }

.hero-cta {
    display: inline-block;
    background: #d4af37;
    color: #0f172a;
    padding: 16px 40px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.hero-cta:hover { background: #ffffff; color: #1a365d; transform: translateY(-3px); }

.page-hero {
    background: var(--color-cream);
    text-align: center;
    padding: 80px 20px;
    border-bottom: 1px solid var(--color-border);
}
.page-hero .label { margin-bottom: 16px; display: inline-block; }
.page-hero h1 { color: var(--color-primary); }

/* Sections */
.section { padding: 80px 20px; }
.section-narrow { max-width: 900px; margin: 0 auto; }

.section-divider {
    width: 60px;
    height: 1px;
    background: var(--color-secondary);
    margin: 0 auto 20px;
}

.section-title { text-align: center; margin-bottom: 60px; }
.section-title .label { display: block; margin-bottom: 16px; }
.section-title h2 { color: var(--color-primary); }

/* Services List */
.service-item {
    display: flex;
    gap: 20px;
    padding: 30px 0;
    border-bottom: 1px solid var(--color-border);
}
.service-item:first-child { padding-top: 0; }

.service-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-secondary);
    line-height: 1;
    min-width: 50px;
}

.service-content h3 { color: var(--color-primary); margin-bottom: 8px; font-size: 1.5rem; }
.service-content p { color: var(--color-text-light); margin: 0; }

.btn-secondary {
    display: inline-block;
    background: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    padding: 12px 30px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}
.btn-secondary:hover { background: var(--color-accent); color: #ffffff; }

/* Content Grid (About Snippet) */
.content-grid {
    display: grid;
    gap: 40px;
    align-items: center;
}

.grid-text p { margin-bottom: 24px; }

/* Testimonial */
.testimonial-section { background: var(--color-cream); padding: 80px 20px; text-align: center; }
.testimonial-quote {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-style: italic;
    color: var(--color-primary);
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}
.testimonial-quote::before {
    content: '“';
    font-size: 4rem;
    color: var(--color-secondary);
    display: block;
    line-height: 1;
    margin-bottom: 10px;
}
.testimonial-author { font-family: var(--font-body); font-size: 14px; text-transform: uppercase; letter-spacing: 2px; color: var(--color-text-light); }

.cta-section { background: var(--color-primary); color: #fff; padding: 80px 20px; }
.cta-section h2 { color: #fff; }
.cta-section p { color: #cbd5e1; max-width: 600px; margin: 16px auto 32px; }


/* Footer */
.footer { background: var(--color-dark); color: #e2e8f0; padding: 80px 20px 30px; }
.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.footer-brand p { color: #94a3b8; font-size: 14px; margin-top: 20px; line-height: 1.7; max-width: 350px; }
.footer-links h4, .footer-contact h4 {
    color: #d4af37;
    font-family: var(--font-body);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-weight: 600;
}
.footer-links ul li a, .footer-contact p, .footer-contact p a {
    display: block;
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 10px;
    transition: color 0.3s;
}
.footer-links a:hover, .footer-contact a:hover { color: #d4af37; }
.footer-contact p { margin-bottom: 10px; }

.footer-bottom { border-top: 1px solid rgba(212, 175, 55, 0.2); margin-top: 60px; padding-top: 30px; }
.footer-legal { text-align: center; }
.footer-legal p { font-size: 13px; color: #94a3b8; margin-bottom: 10px; }
.footer-legal ul { display: flex; justify-content: center; gap: 20px; }
.footer-legal ul li a { font-size: 13px; }
.footer-disclaimer { font-size: 12px; color: #64748b; max-width: 800px; margin: 20px auto 0; line-height: 1.6; text-align: center;}

/* About Page */
.three-col-grid { display: grid; gap: 30px; }
.three-col-grid h4 { color: var(--color-accent); margin-bottom: 12px; font-family: var(--font-body); }
.team-grid { display: grid; gap: 30px; }
.team-member { text-align: center; }
.team-member img { border-radius: 50%; width: 150px; height: 150px; object-fit: cover; margin: 0 auto 20px; border: 3px solid var(--color-border); }
.team-member h3 { font-size: 1.4rem; }
.team-member .team-title { color: var(--color-accent); font-weight: 600; margin-bottom: 8px; }
.team-member p { font-size: 15px; color: var(--color-text-light); }

/* Services Page */
.service-item-detailed { margin-bottom: 60px; border-bottom: 1px solid var(--color-border); padding-bottom: 60px; }
.service-item-detailed:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.service-item-detailed img { margin-bottom: 24px; }
.service-item-detailed h3 { font-size: 1.5rem; color: var(--color-accent); margin-bottom: 1rem; }

/* Contact Page */
.contact-layout { display: grid; gap: 40px; }
.contact-info p { margin-bottom: 20px; }
.map-placeholder { border: 1px solid var(--color-border); margin-top: 30px; } 
/* Form */
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--color-text); margin-bottom: 8px; font-weight: 600; }
.form-group input, .form-group textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--color-border); background: var(--color-light); font-family: var(--font-body); font-size: 15px; transition: border-color 0.3s; border-radius: 2px; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--color-secondary); }
.form-group textarea { min-height: 150px; resize: vertical; }
.form-checkbox { display: flex; align-items: flex-start; gap: 12px; }
.form-checkbox input { width: auto; margin-top: 4px; }
.form-checkbox label { font-size: 13px; text-transform: none; letter-spacing: 0; line-height: 1.5; font-weight: 400; }
.submit-btn { background: var(--color-primary); color: #ffffff; border: none; padding: 16px 48px; font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; transition: all 0.3s; width: 100%; }
.submit-btn:hover { background: var(--color-secondary); color: var(--color-dark); }

/* Legal Content */
.legal-content h3 { margin-top: 2rem; margin-bottom: 1rem; }
.legal-content p { margin-bottom: 1rem; }
.legal-content ul { list-style: disc; margin-left: 20px; margin-bottom: 1rem; }

/* Cookie Banner */
.cookie-banner { position: fixed; bottom: -100%; left: 0; right: 0; background: var(--color-dark); padding: 20px; z-index: 9999; transition: bottom 0.5s ease-in-out; }
.cookie-banner.show { bottom: 0; }
.cookie-content { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-direction: column; }
.cookie-content p { color: #e2e8f0; font-size: 14px; margin: 0; text-align: center; }
.cookie-content a { color: #d4af37; text-decoration: underline; }
.cookie-btn { background: #d4af37; color: var(--color-dark); border: none; padding: 10px 30px; font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; }

/* Tablet styles */
@media (min-width: 768px) {
    .section { padding: 100px 20px; }
    .header-inner { padding: 0 40px; }
    .mobile-menu-toggle { display: none; }
    .nav-links { display: flex; }
    .nav { display: block; }
    .header-cta { display: block; }
    
    .content-grid { grid-template-columns: 1fr 1.5fr; }
    .content-grid.reverse { grid-template-columns: 1.5fr 1fr; } 
    .grid-image { grid-column: 1 / 2; } 
    .grid-text { grid-column: 2 / 3; } 
    .content-grid.reverse .grid-image { grid-column: 2 / 3; } 
    .content-grid.reverse .grid-text { grid-column: 1 / 2; } 

    .three-col-grid { grid-template-columns: repeat(3, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 2fr 1fr 1.5fr; }
    .service-item { gap: 40px; }
    .service-number { font-size: 3rem; min-width: 60px; }
    .service-item-detailed { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; align-items: center; }
    .service-item-detailed:nth-child(even) { grid-template-columns: 1.5fr 1fr; }
    .service-item-detailed img { margin-bottom: 0; }
    .service-item-detailed:nth-child(even) .service-content-detailed { grid-column: 1 / 2; grid-row: 1 / 2; }
    .service-item-detailed:nth-child(even) img { grid-column: 2 / 3; }
    .contact-layout { grid-template-columns: 1fr 1.2fr; }
    .cookie-content { flex-direction: row; }
    .cookie-content p { text-align: left; }
}

/* Desktop styles */
@media (min-width: 1024px) {
    body { font-size: 16px; }
    .team-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Mobile Nav Menu Styles */
@media (max-width: 767px) {
    .nav {
        position: fixed;
        top: 68px; /* Header height */
        left: 0;
        width: 100%;
        height: calc(100vh - 68px);
        background: var(--color-dark);
        display: flex;
        justify-content: center;
        align-items: center;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
    }
    .nav.open {
        transform: translateX(0);
    }
    .nav-links {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .nav-links a {
        font-size: 1.5rem;
    }
}