/* ============================================
   SHARON & CINDY'S PUB — Custom Styles
   Bold Editorial · Emerald & Cream
============================================ */

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

:root {
    --emerald-900: #042f23;
    --emerald-800: #064e3b;
    --emerald-700: #065f46;
    --emerald-600: #047857;
    --emerald-500: #059669;
    --emerald-400: #10b981;
    --cream-50: #faf8f4;
    --cream-100: #f5f0e8;
    --cream-200: #ede5d5;
    --cream-300: #e0d5c0;
    --ink-900: #1a1a1a;
    --ink-800: #2d2d2d;
    --ink-700: #3d3d3d;
    --ink-600: #555555;
    --ink-500: #6b6b6b;
    --gold: #c9a84c;
    --gold-light: #d4b96a;
    
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe 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;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-800);
    background-color: var(--cream-50);
    overflow-x: hidden;
}

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

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

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

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

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

/* ---------- NAVIGATION ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(4, 47, 35, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(245, 240, 232, 0.08);
    transition: background 0.3s var(--ease-smooth);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.nav-logo-mark {
    width: 36px;
    height: 36px;
    background: var(--cream-100);
    color: var(--emerald-800);
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.nav-logo-text {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--cream-100);
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.nav-link:hover {
    color: var(--cream-100);
}

.nav-cta-btn {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--emerald-900);
    background: var(--cream-100);
    padding: 0.55rem 1.25rem;
    border-radius: 100px;
    transition: background 0.2s var(--ease-smooth), transform 0.2s var(--ease-smooth);
}

.nav-cta-btn:hover {
    background: var(--cream-200);
    transform: translateY(-1px);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle-bar {
    width: 22px;
    height: 2px;
    background: var(--cream-100);
    border-radius: 2px;
    transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--emerald-900);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out);
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: var(--cream-100);
    padding: 8px;
}

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

.mobile-menu-link {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--cream-100);
    padding: 0.75rem 1rem;
    transition: color 0.2s var(--ease-smooth);
}

.mobile-menu-link:hover {
    color: var(--emerald-400);
}

.mobile-menu-phone {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--cream-200);
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(245, 240, 232, 0.2);
    border-radius: 100px;
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--emerald-900);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 6rem 2rem 4rem;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.6;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Hero Card */
.hero-card {
    position: relative;
    background: var(--cream-50);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(245, 240, 232, 0.1);
}

.hero-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--emerald-700), var(--emerald-500), var(--gold));
}

.hero-card-content {
    padding: 3rem;
}

.hero-tagline {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 1.25rem;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--ink-900);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.hero-headline em {
    font-style: italic;
    color: var(--emerald-700);
}

.hero-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--ink-600);
    margin-bottom: 2rem;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--cream-50);
    background: var(--emerald-800);
    padding: 0.875rem 1.75rem;
    border-radius: 100px;
    transition: background 0.2s var(--ease-smooth), transform 0.2s var(--ease-smooth), box-shadow 0.2s var(--ease-smooth);
}

.btn-primary:hover {
    background: var(--emerald-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -8px rgba(6, 78, 59, 0.5);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--emerald-800);
    background: transparent;
    padding: 0.875rem 1.75rem;
    border-radius: 100px;
    border: 1.5px solid var(--emerald-200, #a7f3d0);
    transition: background 0.2s var(--ease-smooth), border-color 0.2s var(--ease-smooth), transform 0.2s var(--ease-smooth);
}

.btn-secondary:hover {
    background: var(--emerald-50, #d1fae5);
    border-color: var(--emerald-500);
    transform: translateY(-2px);
}

.hero-card-image {
    position: relative;
    height: 400px;
}

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

.hero-card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4, 47, 35, 0.3) 0%, transparent 50%);
}

/* Floating Stat Cards */
.hero-float-cards {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.float-card {
    background: rgba(245, 240, 232, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(245, 240, 232, 0.12);
    border-radius: 20px;
    padding: 1.5rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--cream-100);
    transition: transform 0.3s var(--ease-out), background 0.3s var(--ease-smooth);
}

.float-card:hover {
    transform: translateX(8px);
    background: rgba(245, 240, 232, 0.15);
}

.float-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(245, 240, 232, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--emerald-400);
}

.float-card-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cream-100);
    line-height: 1;
}

.float-card-label {
    font-size: 0.8rem;
    color: rgba(245, 240, 232, 0.6);
    margin-top: 0.25rem;
}

/* Hero Scroll Indicator */
.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(245, 240, 232, 0.4);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(245, 240, 232, 0.4), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* ---------- SECTION COMMON ---------- */
.section-tag {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 1rem;
}

.section-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--ink-900);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.section-headline em {
    font-style: italic;
    color: var(--emerald-700);
}

/* ---------- ABOUT ---------- */
.about {
    padding: 8rem 2rem;
    background: var(--cream-50);
}

.about-container {
    max-width: 1280px;
    margin: 0 auto;
}

.about-layout {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-image-wrap img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 160px;
    height: 160px;
    background: var(--emerald-800);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.1;
}

.about-content {
    padding: 1rem 0;
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--ink-600);
    margin-bottom: 1.25rem;
}

.about-values {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.value-icon {
    width: 44px;
    height: 44px;
    background: var(--emerald-100, #d1fae5);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
    flex-shrink: 0;
}

.value-item strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink-900);
    margin-bottom: 0.15rem;
}

.value-item span {
    font-size: 0.9rem;
    color: var(--ink-500);
    line-height: 1.5;
}

/* ---------- EXPERIENCE ---------- */
.experience {
    padding: 8rem 2rem;
    background: var(--emerald-900);
    position: relative;
    overflow: hidden;
}

.experience::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(5, 150, 105, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.experience-container {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.experience-header {
    text-align: center;
    margin-bottom: 4rem;
}

.experience-header .section-tag {
    color: var(--emerald-400);
}

.experience-header .section-headline {
    color: var(--cream-100);
}

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

.exp-card {
    background: rgba(245, 240, 232, 0.05);
    border: 1px solid rgba(245, 240, 232, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.4s var(--ease-out), background 0.3s var(--ease-smooth);
}

.exp-card:hover {
    transform: translateY(-8px);
    background: rgba(245, 240, 232, 0.08);
}

.exp-card-image {
    height: 220px;
    overflow: hidden;
}

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

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

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

.exp-card-content h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--cream-100);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.exp-card-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(245, 240, 232, 0.6);
}

/* Divider */
.experience-divider {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: rgba(245, 240, 232, 0.15);
}

.divider-ornament {
    color: var(--emerald-500);
}

/* Quote */
.experience-quote {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.experience-quote blockquote {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.6;
    color: var(--cream-200);
    margin-bottom: 1.25rem;
}

.experience-quote cite {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-style: normal;
    font-weight: 500;
    color: rgba(245, 240, 232, 0.4);
    letter-spacing: 0.05em;
}

/* ---------- VISIT ---------- */
.visit {
    padding: 8rem 2rem;
    background: var(--cream-100);
}

.visit-container {
    max-width: 1280px;
    margin: 0 auto;
}

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

.visit-info {
    padding: 1rem 0;
}

.contact-items {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--emerald-800);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream-100);
    flex-shrink: 0;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.contact-detail strong {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-500);
}

.contact-detail span,
.contact-detail a {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--ink-800);
    line-height: 1.5;
}

.contact-detail a:hover {
    color: var(--emerald-700);
    text-decoration: underline;
}

.btn-maps {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 2.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--emerald-800);
    background: var(--cream-50);
    padding: 0.875rem 1.75rem;
    border-radius: 100px;
    border: 1.5px solid var(--emerald-200, #a7f3d0);
    transition: background 0.2s var(--ease-smooth), transform 0.2s var(--ease-smooth), box-shadow 0.2s var(--ease-smooth);
}

.btn-maps:hover {
    background: var(--emerald-50);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -8px rgba(6, 78, 59, 0.25);
}

/* Map */
.visit-map {
    position: relative;
}

.map-placeholder {
    background: var(--emerald-900);
    border-radius: 20px;
    height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--cream-200);
    position: relative;
    overflow: hidden;
}

.map-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(245, 240, 232, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 240, 232, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.map-pin {
    color: var(--emerald-400);
    position: relative;
    z-index: 1;
    animation: pinBounce 2s ease-in-out infinite;
}

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

.map-label {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--cream-100);
    position: relative;
    z-index: 1;
}

.map-note {
    font-size: 0.8rem;
    color: rgba(245, 240, 232, 0.4);
    position: relative;
    z-index: 1;
}

.visit-image-stack img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
    margin-top: 1rem;
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--emerald-900);
    padding: 4rem 2rem 2rem;
    color: var(--cream-100);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(245, 240, 232, 0.1);
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-logo-mark {
    width: 48px;
    height: 48px;
    background: var(--cream-100);
    color: var(--emerald-800);
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.footer-logo-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(245, 240, 232, 0.5);
    max-width: 280px;
    line-height: 1.6;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: rgba(245, 240, 232, 0.6);
    transition: color 0.2s var(--ease-smooth);
}

.footer-links a:hover {
    color: var(--cream-100);
}

.footer-bottom {
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

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

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr 340px;
        gap: 2rem;
    }
    
    .about-layout {
        gap: 3rem;
    }
    
    .experience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .experience-grid .exp-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding: 7rem 1.5rem 4rem;
        min-height: auto;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-card {
        order: 2;
    }
    
    .hero-float-cards {
        order: 1;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .float-card {
        flex: 1;
        min-width: 140px;
    }
    
    .hero-card-image {
        height: 260px;
    }
    
    .hero-card-content {
        padding: 2rem;
    }
    
    .hero-scroll-indicator {
        display: none;
    }
    
    .about {
        padding: 5rem 1.5rem;
    }
    
    .about-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .about-image-wrap img {
        height: 360px;
    }
    
    .experience {
        padding: 5rem 1.5rem;
    }
    
    .experience-grid {
        grid-template-columns: 1fr;
    }
    
    .experience-grid .exp-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }
    
    .visit {
        padding: 5rem 1.5rem;
    }
    
    .visit-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-top {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 6rem 1.25rem 3rem;
    }
    
    .hero-card-content {
        padding: 1.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        justify-content: center;
        width: 100%;
    }
    
    .hero-float-cards {
        flex-direction: column;
    }
    
    .float-card {
        min-width: auto;
    }
    
    .nav-container {
        padding: 0 1.25rem;
    }
    
    .experience-header .section-headline,
    .section-headline {
        font-size: 1.85rem;
    }
}
