/* === RESET & BASE === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --navy: #1a2f4a;
    --navy-light: #243d5c;
    --navy-dark: #111f33;
    --gold: #c9a84c;
    --gold-light: #dfc06e;
    --gold-dark: #a8872e;
    --cream: #f7f4ee;
    --cream-dark: #ede8dd;
    --warm-white: #faf8f4;
    --charcoal: #2c2c2c;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #6b6b6b;
    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans: 'Lato', 'Segoe UI', Helvetica, Arial, sans-serif;
    --container-max: 1200px;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--warm-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--navy);
}

.section-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    color: var(--navy);
}

.section-lead {
    font-size: 1.125rem;
    color: var(--text-medium);
    max-width: 640px;
    margin-bottom: 48px;
    line-height: 1.8;
}

.lead-text {
    font-size: 1.125rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 24px;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy-dark);
    border-color: var(--gold);
}

.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}

.btn-outline:hover {
    background: var(--navy);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.6);
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--navy);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 16px 32px;
}

/* === HEADER === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 47, 74, 0.0);
    transition: background var(--transition), box-shadow var(--transition);
    padding: 20px 0;
}

.site-header.scrolled {
    background: rgba(26, 47, 74, 0.97);
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
    padding: 12px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-family: var(--font-serif);
    text-decoration: none;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.02em;
}

.logo-mark {
    flex-shrink: 0;
    color: var(--gold);
}

.logo-light {
    color: #fff;
}

/* === NAV === */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #fff;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    position: relative;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: currentColor;
    transition: var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width var(--transition);
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--gold);
    color: var(--navy-dark) !important;
    padding: 10px 24px;
    border-radius: 4px;
    letter-spacing: 0.08em;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--gold-light);
}

/* === HERO === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(17, 31, 51, 0.82) 0%,
        rgba(26, 47, 74, 0.70) 50%,
        rgba(26, 47, 74, 0.55) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
    color: #fff;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid rgba(201, 168, 76, 0.5);
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 28px;
}

.hero-headline {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 600;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero-headline br {
    display: none;
}

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-actions .btn-outline {
    border-color: rgba(255,255,255,0.6);
    color: #fff;
}

.hero-actions .btn-outline:hover {
    background: #fff;
    color: var(--navy);
    border-color: #fff;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255,255,255,0.6);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* === SERVICES === */
.services {
    padding: 100px 0;
    background: var(--warm-white);
}

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

.services .section-label,
.services .section-title,
.services .section-lead {
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
    text-align: left;
}

.service-card {
    background: #fff;
    border-radius: 8px;
    padding: 40px 32px;
    border: 1px solid rgba(26, 47, 74, 0.08);
    transition: all var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(26, 47, 74, 0.1);
    border-color: transparent;
}

.service-icon {
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 1.375rem;
    margin-bottom: 12px;
    color: var(--navy);
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--text-medium);
    line-height: 1.7;
}

/* === CRAFT === */
.craft {
    padding: 100px 0;
    background: var(--cream);
    overflow: hidden;
}

.craft-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.craft-images {
    position: relative;
}

.craft-img-main {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(26, 47, 74, 0.15);
}

.craft-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.craft-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(26, 47, 74, 0.2);
    border: 6px solid var(--cream);
}

.craft-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.craft-content .section-title {
    margin-bottom: 24px;
}

.craft-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(26, 47, 74, 0.1);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-dark);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(26, 47, 74, 0.15);
}

/* === GALLERY === */
.gallery {
    padding: 100px 0;
    background: var(--warm-white);
}

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

.gallery .section-label,
.gallery .section-title,
.gallery .section-lead {
    margin-left: auto;
    margin-right: auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
    margin-top: 48px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 20px 20px;
    background: linear-gradient(transparent, rgba(17, 31, 51, 0.8));
    color: #fff;
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

.gallery-item.tall {
    grid-column: span 4;
    grid-row: span 2;
}

.gallery-item.tall img {
    height: 100%;
    min-height: 500px;
}

.gallery-item.wide {
    grid-column: span 8;
}

.gallery-item:not(.tall):not(.wide) {
    grid-column: span 4;
}

.gallery-item img {
    min-height: 250px;
}

/* === PROCESS === */
.process {
    padding: 100px 0;
    background: var(--navy);
    color: #fff;
}

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

.process .section-label {
    color: var(--gold);
}

.process .section-title {
    color: #fff;
    margin-bottom: 16px;
}

.process .section-lead {
    color: rgba(255,255,255,0.7);
    margin-left: auto;
    margin-right: auto;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 64px;
    text-align: left;
}

.process-step {
    position: relative;
    padding: 32px 24px;
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    transition: all var(--transition);
}

.process-step:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-4px);
}

.step-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.7;
}

.process-step h3 {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 12px;
}

.process-step p {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
}

/* === CTA SECTION === */
.cta-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(17, 31, 51, 0.88) 0%,
        rgba(26, 47, 74, 0.80) 100%
    );
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    color: #fff;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* === CONTACT === */
.contact {
    padding: 100px 0;
    background: var(--cream);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info .section-title,
.contact-form-wrapper h3 {
    margin-bottom: 20px;
}

.contact-details {
    list-style: none;
    margin: 32px 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: start;
}

.contact-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item strong {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.9375rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.contact-item a {
    color: var(--gold-dark);
    transition: color var(--transition);
}

.contact-item a:hover {
    color: var(--navy);
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    margin-top: 32px;
    box-shadow: 0 8px 24px rgba(26, 47, 74, 0.1);
}

/* === CONTACT FORM === */
.contact-form-wrapper {
    background: #fff;
    border-radius: 8px;
    padding: 48px 40px;
    box-shadow: 0 8px 32px rgba(26, 47, 74, 0.08);
    border: 1px solid rgba(26, 47, 74, 0.06);
}

.contact-form-wrapper h3 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.contact-form-wrapper > p {
    font-size: 0.9375rem;
    color: var(--text-light);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--text-dark);
    background: var(--warm-white);
    border: 1.5px solid rgba(26, 47, 74, 0.15);
    border-radius: 6px;
    transition: border-color var(--transition), box-shadow var(--transition);
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231a2f4a' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success svg {
    margin: 0 auto 16px;
}

.form-success h4 {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 8px;
}

.form-success p {
    font-size: 0.9375rem;
    color: var(--text-medium);
    line-height: 1.7;
}

/* === FOOTER === */
.site-footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.7);
    padding: 64px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
    padding-bottom: 48px;
}

.footer-brand p {
    font-size: 0.9375rem;
    margin-top: 16px;
    line-height: 1.7;
    color: rgba(255,255,255,0.55);
}

.logo-light {
    color: #fff;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.55);
    transition: color var(--transition);
}

.footer-col a:hover {
    color: #fff;
}

.footer-col address {
    font-style: normal;
    font-size: 0.875rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.55);
}

.footer-col a[href^="tel"] {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.4);
}

.footer-bottom a {
    color: var(--gold);
    transition: color var(--transition);
}

.footer-bottom a:hover {
    color: var(--gold-light);
}

/* === SCROLL ANIMATIONS === */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item.tall {
        grid-column: span 6;
        grid-row: span 1;
    }
    
    .gallery-item:not(.tall):not(.wide) {
        grid-column: span 6;
    }
    
    .gallery-item.wide {
        grid-column: span 12;
    }
    
    .gallery-item img {
        min-height: 200px;
    }
    
    .gallery-item.tall img {
        min-height: 350px;
    }
}

@media (max-width: 900px) {
    .craft-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .craft-img-secondary {
        right: 20px;
        bottom: -20px;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--navy-dark);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        transition: right var(--transition);
        box-shadow: -10px 0 40px rgba(0,0,0,0.3);
    }

    .nav-links.open {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1rem;
        color: rgba(255,255,255,0.85);
    }
    
    .nav-cta {
        display: inline-block;
    }

    .hero-headline br {
        display: block;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item.tall,
    .gallery-item:not(.tall):not(.wide),
    .gallery-item.wide {
        grid-column: span 1;
    }
    
    .gallery-item img,
    .gallery-item.tall img {
        min-height: 220px;
    }
    
    .craft-img-secondary {
        display: none;
    }
    
    .contact-form-wrapper {
        padding: 32px 24px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .craft-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-divider {
        width: 48px;
        height: 1px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}
