/* ========================================
   KENT COUNTY ICEHOUSE — STYLES
   Deep Navy + Warm Gold | Classic & Elegant
   ======================================== */

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

:root {
    --navy-950: #070e1a;
    --navy-900: #0a1628;
    --navy-800: #0f2339;
    --navy-700: #152f4a;
    --navy-600: #1c3d5e;
    --gold-500: #C9A84C;
    --gold-400: #d4b865;
    --gold-300: #e0c97e;
    --gold-600: #a88a3a;
    --cream-50: #faf8f4;
    --cream-100: #f5f0e8;
    --cream-200: #ebe4d6;
    --warm-800: #1a1612;
    --warm-700: #2a2420;
    --warm-600: #3d3530;
    --text-dark: #1a1a1a;
    --text-muted: #5a5a5a;
    --text-light: #f5f0e8;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Lato', 'Segoe UI', system-ui, sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background: var(--cream-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* --- SECTION LABELS --- */
.section-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-600);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-label::before {
    content: '';
    display: block;
    width: 32px;
    height: 1.5px;
    background: var(--gold-500);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--navy-800);
    margin-bottom: 20px;
}

.section-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 560px;
}

.gold {
    color: var(--gold-600);
}

/* --- NAV --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
    transition: background 0.3s var(--ease-smooth);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.02em;
}

.nav-logo-text {
    display: none;
}

@media (min-width: 640px) {
    .nav-logo-text {
        display: block;
    }
}

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

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(245, 240, 232, 0.7);
    letter-spacing: 0.04em;
    transition: color 0.25s var(--ease-smooth);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold-500);
    transition: width 0.3s var(--ease-out);
}

.nav-link:hover {
    color: var(--text-light);
}

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

.nav-cta {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gold-500);
    letter-spacing: 0.04em;
    padding: 8px 18px;
    border: 1px solid rgba(201, 168, 76, 0.4);
    border-radius: 4px;
    transition: all 0.25s var(--ease-smooth);
}

.nav-cta:hover {
    background: rgba(201, 168, 76, 0.12);
    border-color: var(--gold-500);
    color: var(--gold-400);
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-light);
    border-radius: 2px;
    transition: all 0.3s var(--ease-smooth);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav */
.nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.97);
    backdrop-filter: blur(16px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
    animation: slideDown 0.3s var(--ease-out);
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.nav-links.mobile-open .nav-link {
    font-size: 1rem;
    color: var(--text-light);
}

.nav-links.mobile-open .nav-cta {
    align-self: flex-start;
    margin-top: 8px;
}

/* --- HERO --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background: var(--navy-950);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/4947415/pexels-photo-4947415.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center center / cover no-repeat;
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(7, 14, 26, 0.92) 0%,
        rgba(15, 35, 57, 0.85) 50%,
        rgba(10, 22, 40, 0.88) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px 160px;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 28px;
    padding: 8px 16px;
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 100px;
    background: rgba(201, 168, 76, 0.08);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.08;
    color: var(--text-light);
    margin-bottom: 24px;
    max-width: 700px;
}

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: rgba(245, 240, 232, 0.7);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 40px;
}

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

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.25s var(--ease-smooth);
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--gold-500);
    color: var(--navy-950);
}

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

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 1.5px solid rgba(245, 240, 232, 0.3);
}

.btn-secondary:hover {
    border-color: var(--text-light);
    background: rgba(245, 240, 232, 0.08);
}

.btn-ghost {
    background: transparent;
    color: var(--navy-800);
    border: 1.5px solid var(--navy-800);
}

.btn-ghost:hover {
    background: var(--navy-800);
    color: var(--text-light);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

/* --- FLOATING STAT CARDS --- */
.hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    gap: 0;
    background: rgba(10, 22, 40, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(201, 168, 76, 0.2);
}

.stat-card {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    border-right: 1px solid rgba(201, 168, 76, 0.12);
    transition: background 0.25s var(--ease-smooth);
}

.stat-card:last-child {
    border-right: none;
}

.stat-card:hover {
    background: rgba(201, 168, 76, 0.06);
}

.stat-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(201, 168, 76, 0.12);
    color: var(--gold-500);
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
}

.stat-label {
    font-size: 0.8125rem;
    color: rgba(245, 240, 232, 0.5);
    margin-top: 2px;
}

/* --- ABOUT --- */
.about {
    padding: 120px 0;
    background: var(--cream-50);
}

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

@media (min-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 24px 64px rgba(10, 22, 40, 0.15);
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border: 2px solid var(--gold-500);
    border-radius: 8px;
    z-index: -1;
}

@media (min-width: 640px) {
    .about-image-accent {
        width: 160px;
        height: 160px;
    }
}

.about-text .lead {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    font-style: italic;
    color: var(--navy-800);
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 16px;
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--navy-800);
}

.feature-item svg {
    flex-shrink: 0;
}

/* --- EXPERIENCE --- */
.experience {
    padding: 120px 0;
    background: var(--navy-900);
}

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

.experience .section-title {
    color: var(--text-light);
}

.experience .section-sub {
    color: rgba(245, 240, 232, 0.55);
}

.section-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 64px;
}

.section-header .section-label {
    justify-content: center;
}

.section-header .section-label::before {
    display: none;
}

.experience-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .experience-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.exp-card {
    background: var(--navy-800);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(201, 168, 76, 0.1);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-smooth);
}

.exp-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
}

.exp-card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.exp-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out);
}

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

.exp-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.6) 0%, transparent 60%);
}

.exp-card-body {
    padding: 28px;
}

.exp-card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.2);
    margin-bottom: 20px;
}

.exp-card-body h3 {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 12px;
}

.exp-card-body p {
    font-size: 0.9375rem;
    color: rgba(245, 240, 232, 0.55);
    line-height: 1.7;
}

/* --- GALLERY --- */
.gallery {
    padding: 0;
    overflow: hidden;
    background: var(--cream-100);
}

.gallery-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

@media (max-width: 767px) {
    .gallery-track {
        grid-template-columns: repeat(2, 1fr);
    }
}

.gallery-item {
    overflow: hidden;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out);
}

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

/* --- VISIT --- */
.visit {
    padding: 120px 0;
    background: var(--cream-50);
}

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

@media (min-width: 900px) {
    .visit-grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
        align-items: start;
    }
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 40px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--cream-100);
    border-radius: 8px;
    border: 1px solid var(--cream-200);
    transition: all 0.25s var(--ease-smooth);
}

.contact-card:hover {
    background: var(--navy-800);
    border-color: var(--navy-700);
    transform: translateX(4px);
}

.contact-card:hover .contact-card-icon {
    background: rgba(201, 168, 76, 0.15);
    color: var(--gold-500);
}

.contact-card:hover .contact-card-label {
    color: rgba(245, 240, 232, 0.5);
}

.contact-card:hover .contact-card-value {
    color: var(--text-light);
}

.contact-card:hover .contact-card-arrow {
    stroke: var(--gold-500);
}

.contact-card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(15, 35, 57, 0.08);
    color: var(--navy-800);
    transition: all 0.25s var(--ease-smooth);
}

.contact-card-text {
    flex: 1;
    min-width: 0;
}

.contact-card-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
    transition: color 0.25s var(--ease-smooth);
}

.contact-card-value {
    font-family: var(--font-serif);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--navy-800);
    line-height: 1.4;
    transition: color 0.25s var(--ease-smooth);
}

.contact-card-arrow {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: all 0.25s var(--ease-smooth);
}

.map-wrapper {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(10, 22, 40, 0.12);
    aspect-ratio: 4/3;
    background: var(--cream-200);
}

@media (min-width: 640px) {
    .map-wrapper {
        aspect-ratio: auto;
        height: 420px;
    }
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
}

/* --- CTA --- */
.cta {
    padding: 100px 0;
    background: var(--navy-900);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-500);
    margin-bottom: 24px;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-light);
    line-height: 1.15;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(245, 240, 232, 0.6);
    line-height: 1.7;
    margin-bottom: 40px;
}

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

.cta .btn-ghost {
    border-color: rgba(245, 240, 232, 0.3);
    color: var(--text-light);
}

.cta .btn-ghost:hover {
    background: var(--text-light);
    color: var(--navy-900);
}

/* --- FOOTER --- */
.footer {
    background: var(--navy-950);
    padding: 64px 0 0;
    border-top: 1px solid rgba(201, 168, 76, 0.12);
}

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

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.9375rem;
    color: rgba(245, 240, 232, 0.45);
    line-height: 1.7;
}

.footer-nav h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 16px;
}

.footer-nav ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a,
.footer-contact a {
    font-size: 0.9375rem;
    color: rgba(245, 240, 232, 0.5);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.25s var(--ease-smooth);
}

.footer-nav a:hover,
.footer-contact a:hover {
    color: var(--text-light);
}

.footer-bottom {
    border-top: 1px solid rgba(245, 240, 232, 0.08);
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(245, 240, 232, 0.3);
}

/* --- SCROLL REVEAL --- */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

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

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}
