/* ============================================
   From Days Gone By — Styles
   Palette: Teal (#1B4D5A / #2A6B7A / #E8F4F6)
            Slate Grey (#2C3E50 / #4A5568 / #718096 / #E2E8F0)
   Fonts: Cormorant Garamond (serif) + Raleway (sans)
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Raleway', 'Segoe UI', system-ui, sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: #2C3E50;
    background-color: #FAFBFC;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-weight: 600;
    line-height: 1.2;
    color: #2C3E50;
}

.section-eyebrow {
    font-family: 'Raleway', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #2A6B7A;
    margin-bottom: 12px;
}

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

.section-title-light {
    color: #F0F7F8;
}

.section-desc {
    font-size: 1.05rem;
    color: #4A5568;
    max-width: 560px;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: 'Raleway', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #1B4D5A;
    color: #F0F7F8;
    border: 2px solid #1B4D5A;
}

.btn-primary:hover {
    background-color: #2A6B7A;
    border-color: #2A6B7A;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 77, 90, 0.3);
}

.btn-ghost {
    background-color: transparent;
    color: #1B4D5A;
    border: 2px solid #1B4D5A;
}

.btn-ghost:hover {
    background-color: #1B4D5A;
    color: #F0F7F8;
    transform: translateY(-2px);
}

.btn-light {
    background-color: rgba(255,255,255,0.15);
    color: #F0F7F8;
    border: 2px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(4px);
}

.btn-light:hover {
    background-color: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.7);
    transform: translateY(-2px);
}

.btn-ghost-sm {
    font-size: 0.8rem;
    padding: 10px 20px;
    color: #2A6B7A;
    border: 1.5px solid #2A6B7A;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-ghost-sm:hover {
    background-color: #2A6B7A;
    color: #F0F7F8;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ---- Header ---- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(250, 251, 252, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(44, 62, 80, 0.08);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(44, 62, 80, 0.08);
}

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

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #2C3E50;
    letter-spacing: 0.02em;
}

.logo-mark {
    color: #2A6B7A;
}

.logo-text {
    white-space: nowrap;
}

/* Nav */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4A5568;
    padding: 8px 16px;
    border-radius: 4px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.nav-link:hover {
    color: #1B4D5A;
    background-color: rgba(27, 77, 90, 0.06);
}

.nav-cta {
    margin-left: 8px;
    color: #1B4D5A;
    border: 1.5px solid #1B4D5A;
    border-radius: 4px;
    padding: 8px 18px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background-color: #1B4D5A;
    color: #F0F7F8;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
}

.hamburger {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #2C3E50;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger:nth-child(2) {
    width: 70%;
    margin-left: auto;
}

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

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(3) {
    transform: rotate(-45deg);
    transform-origin: center;
}

/* ---- Hero ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 76px;
    overflow: hidden;
    background: linear-gradient(135deg, #FAFBFC 0%, #E8F4F6 50%, #F0F7F8 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(42, 107, 122, 0.06) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(27, 77, 90, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #2A6B7A;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-eyebrow::before {
    content: '';
    display: block;
    width: 32px;
    height: 1.5px;
    background-color: #2A6B7A;
}

.hero-headline {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 500;
    color: #2C3E50;
    margin-bottom: 24px;
    line-height: 1.15;
}

.hero-headline em {
    font-style: italic;
    color: #1B4D5A;
}

.hero-sub {
    font-size: 1.1rem;
    color: #4A5568;
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #4A5568;
    letter-spacing: 0.04em;
}

.trust-item svg {
    color: #2A6B7A;
    flex-shrink: 0;
}

/* Hero Image */
.hero-image {
    position: relative;
}

.hero-img-frame {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(44, 62, 80, 0.15);
    aspect-ratio: 4/5;
}

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

.hero-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: #1B4D5A;
    color: #F0F7F8;
    padding: 16px 20px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(27, 77, 90, 0.3);
}

.hero-badge svg {
    color: #E8F4F6;
}

/* ---- Divider ---- */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 0 24px;
    color: #2A6B7A;
    opacity: 0.5;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #2A6B7A, transparent);
}

.divider-diamond {
    flex-shrink: 0;
}

/* ---- Collection ---- */
.collection {
    padding: 100px 0;
    background-color: #FAFBFC;
}

.collection .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.collection .section-desc {
    margin: 0 auto;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.card {
    background-color: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(44, 62, 80, 0.06);
    border: 1px solid rgba(44, 62, 80, 0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(44, 62, 80, 0.12);
}

.card-img {
    overflow: hidden;
    aspect-ratio: 4/3;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.card-body {
    padding: 28px;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #2C3E50;
}

.card-desc {
    font-size: 0.95rem;
    color: #4A5568;
    line-height: 1.7;
}

/* ---- About ---- */
.about {
    padding: 100px 0;
    background-color: #F0F7F8;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(44, 62, 80, 0.12);
    aspect-ratio: 7/8;
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-accent {
    position: absolute;
    bottom: -30px;
    right: -30px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(44, 62, 80, 0.15);
    border: 4px solid #F0F7F8;
    aspect-ratio: 4/3;
}

.about-img-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-accent-box {
    position: absolute;
    top: -24px;
    right: 40px;
    background-color: #1B4D5A;
    color: #F0F7F8;
    padding: 24px 28px;
    border-radius: 6px;
    max-width: 260px;
    box-shadow: 0 8px 24px rgba(27, 77, 90, 0.25);
}

.accent-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #E8F4F6;
    margin-bottom: 10px;
    display: block;
}

.accent-quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.6;
    color: #F0F7F8;
}

.about-content .section-title {
    margin-bottom: 28px;
}

.about-text {
    font-size: 1rem;
    color: #4A5568;
    line-height: 1.85;
    margin-bottom: 20px;
}

.about-features {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background-color: rgba(42, 107, 122, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1B4D5A;
}

.feature-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 4px;
}

.feature-desc {
    font-size: 0.9rem;
    color: #4A5568;
    line-height: 1.6;
}

/* ---- Visit ---- */
.visit {
    padding: 100px 0;
    background-color: #FAFBFC;
}

.visit-card {
    background: linear-gradient(135deg, #1B4D5A 0%, #2A6B7A 100%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(27, 77, 90, 0.2);
    position: relative;
}

.visit-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 10% 90%, rgba(255,255,255,0.05) 0%, transparent 40%),
                      radial-gradient(circle at 90% 10%, rgba(255,255,255,0.04) 0%, transparent 40%);
    pointer-events: none;
}

.visit-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    position: relative;
    z-index: 1;
}

.visit-content {
    padding: 64px 56px;
}

.visit-content .section-eyebrow {
    color: #E8F4F6;
}

.visit-content .section-title {
    color: #F0F7F8;
}

.visit-desc {
    font-size: 1.05rem;
    color: rgba(240, 247, 248, 0.8);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 480px;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.detail-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E8F4F6;
}

.detail-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(240, 247, 248, 0.6);
    margin-bottom: 4px;
}

.detail-value {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #F0F7F8;
    line-height: 1.5;
}

.detail-value a {
    color: #F0F7F8;
    transition: color 0.3s ease;
}

.detail-value a:hover {
    color: #E8F4F6;
}

.visit-map {
    background-color: rgba(0, 0, 0, 0.15);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.map-placeholder {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.map-icon {
    color: rgba(240, 247, 248, 0.5);
}

.map-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(240, 247, 248, 0.8);
}

/* ---- Contact ---- */
.contact {
    padding: 100px 0;
    background-color: #F0F7F8;
}

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

.contact-info .section-title {
    margin-bottom: 20px;
}

.contact-desc {
    font-size: 1rem;
    color: #4A5568;
    line-height: 1.8;
    margin-bottom: 36px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1rem;
    color: #2C3E50;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-method:hover {
    color: #1B4D5A;
}

.method-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(42, 107, 122, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1B4D5A;
    flex-shrink: 0;
}

/* Form */
.contact-form-wrap {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(44, 62, 80, 0.06);
    border: 1px solid rgba(44, 62, 80, 0.06);
}

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

.form-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #4A5568;
    margin-bottom: 8px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: 'Raleway', sans-serif;
    font-size: 0.95rem;
    color: #2C3E50;
    background-color: #FAFBFC;
    border: 1.5px solid #E2E8F0;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    border-color: #2A6B7A;
    box-shadow: 0 0 0 3px rgba(42, 107, 122, 0.1);
    background-color: #FFFFFF;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #A0AEC0;
}

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

.form-note {
    font-size: 0.8rem;
    color: #A0AEC0;
    text-align: center;
    margin-top: 12px;
}

/* Success */
.form-success {
    text-align: center;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.success-icon {
    width: 56px;
    height: 56px;
    background-color: rgba(42, 107, 122, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1B4D5A;
    margin-bottom: 4px;
}

.success-title {
    font-size: 1.6rem;
    color: #2C3E50;
}

.success-text {
    font-size: 0.95rem;
    color: #4A5568;
    margin-bottom: 8px;
}

/* ---- Footer ---- */
.site-footer {
    background-color: #2C3E50;
    color: rgba(240, 247, 248, 0.7);
    padding: 64px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(240, 247, 248, 0.1);
}

.logo-light {
    color: #F0F7F8;
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 320px;
    color: rgba(240, 247, 248, 0.6);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(240, 247, 248, 0.6);
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #E8F4F6;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 24px 0;
    font-size: 0.82rem;
    color: rgba(240, 247, 248, 0.4);
}

.footer-bottom a {
    color: rgba(240, 247, 248, 0.5);
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #E8F4F6;
}

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

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 40px;
    }

    .hero-headline {
        font-size: clamp(2rem, 4vw, 3rem);
    }

    .about-grid {
        gap: 48px;
    }

    .visit-grid {
        grid-template-columns: 1fr;
    }

    .visit-map {
        min-height: 280px;
    }

    .visit-content {
        padding: 48px 40px;
    }
}

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

    /* Mobile Nav */
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background-color: rgba(250, 251, 252, 0.98);
        backdrop-filter: blur(12px);
        padding: 24px;
        border-bottom: 1px solid rgba(44, 62, 80, 0.08);
        box-shadow: 0 8px 24px rgba(44, 62, 80, 0.08);
        transform: translateY(-120%);
        opacity: 0;
        transition: transform 0.4s ease, opacity 0.4s ease;
        pointer-events: none;
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .nav-link {
        padding: 14px 16px;
        font-size: 0.9rem;
    }

    .nav-cta {
        margin-left: 0;
        text-align: center;
        margin-top: 8px;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-image {
        order: -1;
    }

    .hero-img-frame {
        aspect-ratio: 4/3;
    }

    .hero-badge {
        bottom: -16px;
        left: 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        justify-content: center;
    }

    /* Collection */
    .collection {
        padding: 72px 0;
    }

    .collection-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* About */
    .about {
        padding: 72px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-img-accent {
        right: 0;
        bottom: -20px;
    }

    .about-accent-box {
        right: 0;
        top: -16px;
        max-width: 220px;
    }

    /* Visit */
    .visit {
        padding: 72px 0;
    }

    .visit-content {
        padding: 40px 28px;
    }

    /* Contact */
    .contact {
        padding: 72px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-wrap {
        padding: 28px;
    }

    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2rem;
    }

    .hero-trust {
        flex-direction: column;
        gap: 12px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about-img-accent {
        display: none;
    }

    .about-accent-box {
        position: relative;
        top: 0;
        right: 0;
        max-width: 100%;
        margin-bottom: 24px;
    }
}
