@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Archivo:wght@400;600&display=swap');

:root {
    --bg-color: #f8f6f2; /* Warm parchment / Cream */
    --accent-blue-dark: #0f172a; /* Sophisticated Navy */
    --accent-blue-light: #38bdf8; /* Vibrant Azure */
    --accent-blue-mid: #1e40af;
    --wood-dark: #3d2b1f;
    --wood-mid: #5d4037;
    --text-color: #2d241e;
    --text-muted: #7a6f66;
    --font-heading: 'Montserrat', sans-serif;
    --font-main: 'Archivo', sans-serif;
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-premium: 0 40px 100px rgba(15, 23, 42, 0.1);
    --blue-gradient: linear-gradient(135deg, var(--accent-blue-dark), var(--accent-blue-light));
    --wood-texture: linear-gradient(135deg, #4a3728 0%, #3d2b1f 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

body {
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(15, 23, 42, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(56, 189, 248, 0.03) 0%, transparent 40%);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 100px 10%;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Header Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 8%;
    background: rgba(248, 246, 242, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-header.scroll-down {
    transform: translateY(-100%);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* Unified Salmora Logo Component */
.logo-salmora {
    font-family: var(--font-heading);
    font-weight: 900;
    text-transform: uppercase;
    color: var(--accent-blue-dark);
    position: relative;
    display: inline-block;
    transform: scaleY(1.05);
    line-height: 1;
    max-width: 100%; /* Prevent overflow */
    word-break: keep-all;
    font-size: clamp(2rem, 8vw, 6.5rem);
}

.logo-salmora .logo-o {
    position: relative;
    display: inline-block;
    margin: 0 0.05em;
}

.logo-salmora .logo-o::after {
    content: '';
    position: absolute;
    bottom: 0.1em; /* Proportional gap from the Hero section */
    left: 5%;
    width: 90%;
    height: 0.12em;
    background: currentColor;
}

.logo-salmora .logo-o-char {
    display: inline-block;
    transform: translateY(-0.18em) scale(0.75); /* Exact Hero proportions */
}

.logo-header {
    font-size: 1.5rem;
    letter-spacing: -1px;
}

.btn-primary {
    display: inline-block;
    padding: 0.7rem 1.8rem;
    background: linear-gradient(-45deg, rgba(15, 23, 42, 0.05), rgba(56, 189, 248, 0.1), rgba(14, 165, 233, 0.05));
    background-size: 300% 300%;
    animation: slow-flow 10s ease infinite;
    color: var(--accent-blue-dark);
    text-decoration: none;
    border-radius: 50px;
    border: 1px solid rgba(56, 189, 248, 0.3);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.btn-primary:hover {
    background: var(--blue-gradient);
    background-size: 100% 100%;
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.2);
}

@keyframes slow-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.main-nav {
    display: flex;
    gap: 2.5rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.header-cta {
    display: flex;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--accent-blue-dark);
    transition: var(--transition);
}

@media (max-width: 968px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .main-nav.active {
        right: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-cta {
        display: none; /* Hide button in header on mobile, can put inside nav if wanted */
    }
}

/* Hero Section */
.hero {
    padding: 0;
    display: grid;
    grid-template-columns: 45vw 1fr;
    min-height: 100vh;
}

.hero-video-container {
    height: 100vh;
    overflow: hidden;
    position: relative;
    background-color: var(--bg-color);
    mask-image: linear-gradient(to right, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
}

.hero-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10%;
    background-color: transparent; 
    position: relative;
}

.hero-content h1 {
    letter-spacing: -1px; 
    max-width: 600px;
    margin-bottom: 20px;
}

.hero-content .subtitle {
    font-size: 0.9rem;
    color: var(--accent-blue-mid);
    margin-top: 1rem;
    text-transform: uppercase;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 600px;
}

.hero-content .subtitle::before,
.hero-content .subtitle::after {
    content: '';
    flex: 1;
    height: 1px;
    background: currentColor;
    opacity: 0.3;
}

.hero-content .subtitle span {
    letter-spacing: 6px;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .hero-content .subtitle span {
        white-space: normal;
        letter-spacing: 3px;
        text-align: center;
    }
    
    .hero-content .subtitle {
        gap: 0.5rem;
    }
}



/* Experience Section */
.experience-section {
    padding: 120px 8%;
    background-color: var(--bg-color);
    position: relative;
    z-index: 1;
}

.experience-section .section-header {
    text-align: left;
    margin-bottom: 60px;
    max-width: 600px;
}

.experience-section .section-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

.experience-section .section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 30px;
    grid-auto-flow: dense; /* Fills the gaps automatically */
}

.grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.grid-item.tall {
    grid-row: span 2;
}

.grid-item.wide {
    grid-column: span 2;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.grid-item:hover img {
    transform: scale(1.08);
}

.grid-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(15, 23, 42, 0.4));
    opacity: 0;
    transition: var(--transition);
}

.grid-item:hover::after {
    opacity: 1;
}

/* Specific parallax-like offsets for premium feel - disabled on mobile to prevent overlap */
.experience-grid .grid-item:nth-child(even) {
    transform: translateY(30px);
}
@media (max-width: 768px) {
    .experience-grid .grid-item:nth-child(even) {
        transform: none;
    }
}

.food-gallery {
    padding: 120px 8%;
    background-color: transparent; /* Show the warmer body background */
    color: var(--text-color);
}

.food-gallery .container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header .eyebrow {
    display: block;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.8rem;
    margin-bottom: 15px;
    color: var(--accent-blue-mid);
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1;
    text-transform: uppercase;
}

.food-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.food-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.food-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.food-item:hover img {
    transform: scale(1.08);
}

.pricing-container-mini {
    max-width: 600px;
    margin: 80px auto 0;
    padding: 40px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border-top: 8px solid var(--wood-dark); /* Wood accent */
}

.pricing-list-mini {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pricing-item-mini {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pricing-item-mini .label {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.pricing-item-mini .dots {
    flex: 1;
    border-bottom: 1px dotted #cbd5e0;
}

.pricing-item-mini .price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-blue-mid);
}

.reveal {
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale {
    transform: scale(0.95) translateY(40px);
}

@media (max-width: 768px) {
    .reveal-scale {
        transform: scale(0.98) translateY(20px);
    }
}


.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal.active {
    opacity: 1;
    transform: scale(1) translate(0);
}

.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.3s;
}

/* Final Contact Section (Ref Image Style) */
.contact-section-final {
    position: relative;
    padding: 80px 0; /* Reduced vertical padding */
    overflow: hidden;
    min-height: 50vh; /* More compact height */
    display: flex;
    align-items: center;
}

.contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.contact-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(10px) brightness(0.3);
    transform: scale(1.1);
}

.contact-content {
    position: relative;
    z-index: 2;
    background: rgba(15, 23, 42, 0.5);
    padding: 60px 40px; /* Reduced box padding */
    max-width: 900px; /* Slightly narrower */
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    text-align: center;
}

.contact-eyebrow {
    display: block;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.7rem; /* Smaller eyebrow */
    margin-bottom: 20px;
    opacity: 0.8;
}

.contact-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem); /* Scaled down title */
    margin-bottom: 25px;
    font-weight: 700;
}

.contact-separator {
    width: 60px; /* Smaller separator */
    height: 1px;
    background: var(--accent-blue-light);
    margin: 0 auto 40px;
    opacity: 0.5;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.info-label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.7rem;
    margin-bottom: 10px;
    opacity: 0.6;
}

.info-text {
    font-size: clamp(1rem, 1.8vw, 1.4rem); /* Slightly smaller info text */
    font-weight: 400;
    letter-spacing: 1px;
}

.contact-actions-final {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-final {
    padding: 1rem 2.5rem; /* More compact buttons */
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-final:hover {
    background: #fff;
    color: var(--accent-blue-dark);
    border-color: #fff;
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    .contact-actions-final {
        flex-direction: column;
        align-items: center;
    }
    .btn-final {
        width: 100%;
    }
    .contact-content {
        padding: 60px 20px;
    }
}

/* Footer Adjustments */
footer {
    border-top: 1px solid rgba(15, 23, 42, 0.05);
}

.social-link {
    color: var(--text-muted);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.03);
}

.social-link:hover {
    color: var(--accent-blue-mid);
    background: rgba(15, 23, 42, 0.08);
    transform: translateY(-5px);
}
/* Comprehensive Responsive Overhaul */

/* Large Tablets & Small Desktops */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 100vh;
    }

    .hero-video-container {
        height: 50vh;
        width: 100%;
        mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
        -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    }

    .hero-content {
        padding: 60px 5%;
        text-align: center;
        width: 100%;
    }


}

/* Tablets & Large Phones */
@media (max-width: 768px) {
    section {
        padding: 80px 5%;
    }

    .experience-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 220px;
        gap: 15px;
    }

    .grid-item.wide {
        grid-column: span 2;
    }

    .food-masonry {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .contact-content {
        padding: 40px 20px;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* Small Phones */
/* Small Phones */
@media (max-width: 480px) {
    .logo-salmora {
        font-size: 2rem !important; /* Fixed size for mobile to prevent any overflow */
    }

    .hero-content h1 {
        font-size: 2.5rem !important; /* Slightly smaller for safety */
    }



    .header-container {
        padding: 0 15px;
    }

    .logo-header {
        font-size: 1.1rem !important;
    }

    .main-header {
        padding: 15px 0;
    }

    .experience-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
        gap: 30px; /* Increased gap for mobile */
    }


    .grid-item.wide, .grid-item.tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .food-masonry {
        grid-template-columns: 1fr;
        gap: 30px; /* Increased gap for better separation on mobile */
    }


    .contact-actions-final {
        flex-direction: column;
        gap: 15px;
    }

    .btn-final {
        width: 100%;
        padding: 1rem 1.5rem;
    }
}