/* ===================================
   The Old Mine House — Styles
   Color Palette: Teal + Slate Grey
   =================================== */

/* CSS Custom Properties */
:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;
    
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Montserrat', -apple-system, sans-serif;
    
    --transition: all 0.3s ease;
}

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

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--slate-800);
    background-color: #ffffff;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 300;
    line-height: 1.2;
}

em {
    font-style: italic;
    font-weight: 300;
}

/* Section Tag */
.section-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 1rem;
}

/* Section Title */
.section-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    color: var(--slate-900);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

/* Lead Text */
.lead-text {
    font-size: 1.125rem;
    color: var(--slate-600);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.25rem;
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 0.8125rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 0;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--teal-700);
    color: #ffffff;
    border-color: var(--teal-700);
}

.btn-primary:hover {
    background-color: var(--teal-800);
    border-color: var(--teal-800);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

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

.btn-outline:hover {
    background-color: #ffffff;
    color: var(--slate-800);
    border-color: #ffffff;
}

/* Divider */
.divider {
    display: flex;
    justify-content: center;
    padding: 1rem 0;
}

.divider-line {
    width: 80px;
    height: 1px;
    background-color: var(--slate-200);
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--slate-100);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

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

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--slate-800);
    letter-spacing: 0.02em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--slate-600);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--teal-600);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--teal-700);
}

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

.nav-cta {
    color: var(--teal-700) !important;
    font-weight: 500;
}

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

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle-line {
    width: 24px;
    height: 1px;
    background-color: var(--slate-700);
    transition: var(--transition);
}

/* ===================================
   Hero
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--slate-900);
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15, 23, 42, 0.4) 0%,
        rgba(15, 23, 42, 0.6) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-tagline {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--teal-300);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.hero-title em {
    color: var(--teal-200);
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* ===================================
   About
   =================================== */
.about {
    padding: 8rem 0;
    background-color: #ffffff;
}

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

.about-image {
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

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

/* ===================================
   Menu
   =================================== */
.menu {
    padding: 8rem 0;
    background-color: var(--slate-50);
}

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

.menu-intro {
    font-size: 1.0625rem;
    color: var(--slate-500);
    line-height: 1.8;
}

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

.category-title {
    font-size: 1.5rem;
    color: var(--slate-900);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--slate-200);
    font-weight: 400;
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.menu-item {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--slate-100);
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.375rem;
}

.menu-item-name {
    font-family: var(--font-serif);
    font-size: 1.1875rem;
    font-weight: 400;
    color: var(--slate-800);
}

.menu-item-price {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: var(--teal-700);
    font-weight: 400;
    white-space: nowrap;
    margin-left: 1rem;
}

.menu-item-desc {
    font-size: 0.875rem;
    color: var(--slate-500);
    line-height: 1.6;
}

.menu-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--slate-400);
    font-style: italic;
}

/* ===================================
   Experience
   =================================== */
.experience {
    padding: 8rem 0;
    background-color: #ffffff;
}

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

.experience-features {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.experience-feature {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--slate-200);
    color: var(--teal-600);
}

.feature-text h4 {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--slate-800);
    margin-bottom: 0.375rem;
}

.feature-text p {
    font-size: 0.9375rem;
    color: var(--slate-500);
    line-height: 1.6;
}

.experience-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.exp-img {
    overflow: hidden;
}

.exp-img-1 img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.exp-img-2 img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* ===================================
   Visit
   =================================== */
.visit {
    padding: 8rem 0;
    background-color: var(--slate-900);
    color: #ffffff;
}

.visit .section-tag {
    color: var(--teal-400);
}

.visit .section-title {
    color: #ffffff;
}

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

.visit-details {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.visit-detail {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.detail-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--teal-400);
}

.detail-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-400);
    margin-bottom: 0.375rem;
}

.detail-text p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.detail-link {
    color: var(--teal-400);
    transition: var(--transition);
}

.detail-link:hover {
    color: var(--teal-300);
}

.hours-text {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7) !important;
}

.visit-map {
    min-height: 450px;
    background-color: var(--slate-800);
}

.visit-map iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
    filter: grayscale(0.4) contrast(1.1);
}

/* ===================================
   Footer
   =================================== */
.footer {
    padding: 4rem 0 2rem;
    background-color: var(--slate-900);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 3rem;
    align-items: start;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--slate-400);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.footer-links a {
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--teal-400);
}

.footer-phone {
    font-size: 1.125rem;
    color: var(--teal-400);
    margin-bottom: 0.375rem;
    transition: var(--transition);
}

.footer-phone:hover {
    color: var(--teal-300);
}

.footer-address {
    font-size: 0.875rem;
    color: var(--slate-400);
    line-height: 1.6;
}

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--slate-500);
}

/* ===================================
   Scroll Reveal (Progressive Enhancement)
   =================================== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Content is always visible by default for accessibility */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ===================================
   Responsive
   =================================== */
@media (max-width: 1024px) {
    .about-grid,
    .experience-grid,
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image img {
        height: 400px;
    }
    
    .menu-categories {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-links {
        flex-direction: row;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--slate-100);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .menu-categories {
        grid-template-columns: 1fr;
    }
    
    .about,
    .menu,
    .experience,
    .visit {
        padding: 5rem 0;
    }
    
    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1.25rem;
    }
    
    .hero-content {
        padding: 0 1.25rem;
    }
    
    .section-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
}
