:root {
    --primary-gray-orange: #dbb88e;
    --primary-dark-crimson: #5d1929;
    --sub-color-1: #dfb79c;
    --sub-color-2: #5c2c22;
    --sub-color-3: #a67366;
}

h1, h2, h3, h4, h5, h6, .title-font {
    font-family: 'Poppins', sans-serif !important;
    font-display: swap;
}

body, p, span, div, a, button, .btn {
    font-family: 'Montserrat', sans-serif !important;
    font-display: swap;
}

section:not(#home):not(.hero-section):not(.story-hero):not(.owner-section) {
    background-color: #FFFFFF !important;
    content-visibility: auto;
    contain-intrinsic-size: 0 500px;
}

.site-logo {
    height: 85px;
    width: auto;
}

@media (max-width: 767px) {
    .site-logo {
        height: 85px;
    }
}

.story-hero {
    background: transparent;
    position: relative;
}

.story-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.0);
    z-index: 1;
}

.story-hero .container {
    position: relative;
    z-index: 2;
}

.owner-section {
    background-color: #2c3e2d;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.owner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 1;
}

.owner-section .container {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .owner-section {
        min-height: 100vh;
        background-position: 45% center !important;
    }
}

@media (max-width: 480px) {
    .owner-section {
        min-height: 100vh;
        background-position: 45% center !important;
    }
}

.owner-image {
    max-width: 200px;
}

@media (min-width: 768px) {
    .owner-image {
        max-width: 300px !important;
    }
}

@media (min-width: 992px) {
    .owner-image {
        max-width: 350px !important;
    }
}

@media (min-width: 1200px) {
    .owner-image {
        max-width: 350px !important;
    }
}

body {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
    padding-top: 60px; /* Reduced from 80px to minimize layout shifts */
}

html {
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

.container {
    max-width: 100%;
}

header {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    position: fixed !important;
    z-index: 2000 !important;
}

section {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.nav-link:hover {
    color: #5c2c22 !important;
    transition: color 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
    transition: transform 0.5s ease;
}

.hover-overlay:hover {
    opacity: 1 !important;
    transition: opacity 0.3s ease;
}

.hover-shadow-lg:hover {
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175) !important;
    transition: box-shadow 0.3s ease;
}

.cursor-pointer {
    cursor: pointer;
}

#back-to-top {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.grid {
    width: 100%;
}

.flex {
    min-width: 0;
}

img {
    max-width: 100%;
    height: auto;
}

.title-font {
    font-family: 'Playfair Display', serif;
}

.hero-section {
    position: relative;
    overflow: hidden;
    transition: none !important;
    animation: none !important;
    height: 100vh;
    min-height: 100vh;
}

.hero-title-strip {
    position: absolute;
    top: calc(var(--header-height, 60px) + 2px);
    left: 0;
    right: 0;
    z-index: 1020;
    background-color: #FFFFFF;
    padding: 20px 0 18px 0;
    min-height: 80px;
    contain: layout style;
}

.hero-title-container {
    max-width: 100%;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.hero-title {
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 3px 18px;
    display: block;
    text-align: center;
    word-break: normal;
    hyphens: none;
    font-size: clamp(0.95rem, 2.6vw, 1.5rem);
    line-height: 1.05;
    max-width: 920px;
    margin-top: 4px;
}

.hero-section {
    padding-top: 0;
}

@media (max-width: 768px) {
    .hero-title-container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .hero-title {
        font-size: clamp(0.9rem, 4.2vw, 1rem);
        max-width: 100%;
        padding: 0 10px;
        line-height: 1.05;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title-container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    will-change: opacity;
}

.hero-slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    will-change: opacity;
}

.hero-slideshow .slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(93, 25, 41, 0.3);
    z-index: 2;
    will-change: auto;
}

#menu {
    background: linear-gradient(135deg, #4a2c2a 0%, #6b3e3a 50%, #8b4513 100%);
    transition: background 0.8s ease-in-out;
    min-height: auto;
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
}

#menu .mx-auto {
    max-height: none;
    overflow: visible;
}

@media (max-width: 1024px) {
    #menu .mx-auto { max-height: none; }
    #menu { min-height: auto; padding: 1.25rem 0; }
}

@media (max-width: 768px) {
    #menu .mx-auto { max-height: none; }
    #menu { min-height: auto; padding: 1rem 0; }
}

.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.mobile-menu.open {
    max-height: 300px;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-gray-orange);
}

.nav-link:hover::after {
    width: 100%;
}

/* About section image container - center on mobile, align properly on desktop */
.about-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 300px;
}

@media (min-width: 992px) {
    .about-image-container {
        justify-content: flex-start;
        padding-left: 1rem;
        min-height: 400px;
        align-items: flex-start;
        padding-top: 2rem;
    }
}

.about-story-image {
    max-width: 280px;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    display: block;
}

@media (min-width: 768px) {
    .about-story-image {
        max-width: 420px;
    }
}

@media (min-width: 992px) {
    .about-story-image {
        max-width: 480px;
        margin: 0;
        height: 320px;
        object-fit: cover;
    }
}

/* Hero content positioning to prevent layout shifts */
.hero-content-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding-bottom: 4rem;
}

.hero-quote-container {
    margin-bottom: 2rem;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-buttons-container {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Full Menu Page Specific Styles */
.full-menu-header {
    margin-bottom: 3rem !important;
}
