/* ============================================
   Elk City Emporium — Custom Styles
   Classic & Elegant · Teal + Slate Grey
   ============================================ */

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

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

body {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: #1e293b;
    background-color: #ffffff;
    -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;
}

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

/* --- Typography --- */
.font-serif {
    font-family: 'Playfair Display', serif;
}

/* --- Layout --- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

/* --- Skip Link --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: #134e4a;
    color: #f0fdfa;
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 0.5rem 0.5rem;
    z-index: 1000;
    font-size: 0.875rem;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(19, 78, 74, 0.08);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 0.375rem;
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background: #134e4a;
    color: #f0fdfa;
    border: 2px solid #134e4a;
}

.btn-primary:hover {
    background: #115e59;
    border-color: #115e59;
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(19, 78, 74, 0.3);
}

.btn-light {
    background: #ffffff;
    color: #134e4a;
    border: 2px solid #ffffff;
}

.btn-light:hover {
    background: #f0fdfa;
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25);
}

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

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-1px);
}

/* --- Nav Links --- */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #0d9488;
    transition: width 0.3s ease;
}

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

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        #042f2e 0%,
        #134e4a 20%,
        #0f766e 40%,
        #115e59 55%,
        #1e293b 75%,
        #0f172a 100%
    );
    padding: 8rem 1.5rem 4rem;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(13, 148, 136, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(20, 184, 166, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(4, 47, 46, 0.4) 0%, transparent 70%);
    pointer-events: none;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #5eead4;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1.25rem;
    border: 1px solid rgba(94, 234, 212, 0.3);
    border-radius: 100px;
    background: rgba(94, 234, 212, 0.06);
}

.hero-headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.hero-headline em {
    font-style: italic;
    color: #99f6e4;
}

.hero-subheadline {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: rgba(240, 253, 250, 0.75);
    line-height: 1.8;
    max-width: 620px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

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

.hero-stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.hero-stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(240, 253, 250, 0.5);
    margin-top: 0.25rem;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(240, 253, 250, 0.4);
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: float 2.5s ease-in-out infinite;
}

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

/* --- Section Labels --- */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #0d9488;
    margin-bottom: 1rem;
}

.section-label-light {
    color: #5eead4;
}

.section-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    color: #0f172a;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.section-heading-light {
    color: #ffffff;
}

.section-paragraph {
    font-size: 1.0625rem;
    color: #475569;
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

.section-paragraph-light {
    color: rgba(240, 253, 250, 0.75);
}

.section-subheading {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.75;
    max-width: 600px;
}

/* --- Section Intro --- */
.section-intro {
    padding: 7rem 0;
    background: #ffffff;
}

.section-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-intro-text .section-paragraph {
    margin-bottom: 1.5rem;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #134e4a;
    margin-top: 1rem;
    transition: gap 0.3s ease;
}

.link-arrow:hover {
    gap: 0.875rem;
}

.section-intro-image {
    position: relative;
}

.section-intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.image-accent {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #134e4a, #0d9488);
    border-radius: 0.5rem;
    z-index: -1;
    opacity: 0.15;
}

/* --- Features --- */
.section-features {
    padding: 7rem 0;
    background: #f8fafc;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 4rem;
}

.section-header .section-subheading {
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: #ffffff;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.feature-card-image {
    overflow: hidden;
    height: 240px;
}

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

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

.feature-card-content {
    padding: 2rem;
}

.feature-card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
    border-radius: 0.75rem;
    color: #134e4a;
    margin-bottom: 1.25rem;
}

.feature-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.375rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.feature-card-desc {
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.75;
}

/* --- Divider / Quote --- */
.section-divider {
    padding: 5rem 0;
    background: linear-gradient(135deg, #134e4a 0%, #0f766e 50%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.section-divider::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='1' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.divider-quote {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.divider-quote-mark {
    color: #5eead4;
    opacity: 0.4;
    margin-bottom: 1.5rem;
}

.divider-quote blockquote {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.375rem, 2.5vw, 1.875rem);
    font-style: italic;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.divider-quote-attr {
    font-family: 'Lato', sans-serif;
    font-style: normal;
    font-size: 0.875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(94, 234, 212, 0.7);
}

/* --- Visit --- */
.section-visit {
    padding: 7rem 0;
    background: #ffffff;
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.visit-detail {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.visit-detail:first-child {
    padding-top: 0;
}

.visit-detail:last-child {
    border-bottom: none;
}

.visit-detail-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0fdfa;
    border-radius: 0.625rem;
    color: #134e4a;
}

.visit-detail strong {
    display: block;
    font-size: 0.8125rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #134e4a;
    margin-bottom: 0.375rem;
}

.visit-detail p {
    font-size: 0.9375rem;
    color: #475569;
    line-height: 1.65;
    margin: 0;
}

.link-highlight {
    color: #0d9488;
    transition: color 0.2s;
}

.link-highlight:hover {
    color: #134e4a;
}

.map-wrapper {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
    height: 100%;
    min-height: 450px;
}

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

/* --- CTA --- */
.section-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #042f2e 0%, #134e4a 50%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.section-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 50% 80% at 0% 100%, rgba(13, 148, 136, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 100% 0%, rgba(20, 184, 166, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

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

.cta-content .section-heading {
    margin-bottom: 1rem;
}

.cta-contact-row {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.cta-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    color: rgba(240, 253, 250, 0.85);
    font-size: 0.9375rem;
    transition: color 0.2s;
}

.cta-contact-item:hover {
    color: #5eead4;
}

.cta-contact-item svg {
    flex-shrink: 0;
    opacity: 0.7;
}

/* --- Footer --- */
.site-footer {
    background: #0f172a;
    padding: 4rem 0 2rem;
    color: rgba(240, 253, 250, 0.6);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(240, 253, 250, 0.5);
}

.footer-links nav {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(240, 253, 250, 0.6);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #5eead4;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 2rem;
    font-size: 0.8125rem;
    color: rgba(240, 253, 250, 0.35);
}

.footer-link {
    color: rgba(240, 253, 250, 0.5);
    transition: color 0.2s;
}

.footer-link:hover {
    color: #5eead4;
}

/* --- Mobile Menu --- */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    z-index: 200;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: #1e293b;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 150;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.mobile-nav-link {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: #1e293b;
    transition: color 0.2s;
}

.mobile-nav-link:hover {
    color: #0d9488;
}

.mobile-call-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.875rem 2rem;
    background: #134e4a;
    color: #f0fdfa;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-weight: 500;
    transition: background 0.2s;
}

.mobile-call-btn:hover {
    background: #115e59;
}

/* --- Scroll Reveal --- */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .site-header .hidden {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 7rem 1.5rem 3rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.25rem;
    }

    .hero-stat-divider {
        width: 40px;
        height: 1px;
    }

    .section-intro-grid,
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .section-intro-image {
        order: -1;
    }

    .image-accent {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .cta-contact-row {
        flex-direction: column;
        align-items: center;
        gap: 1.25rem;
    }

    .footer-top {
        flex-direction: column;
    }

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

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-scroll-indicator {
        animation: none;
    }

    .feature-card:hover {
        transform: none;
    }

    .feature-card:hover .feature-card-image img {
        transform: none;
    }
}
