/* assets/css/home-elevation.css */
/* Luxury Editorial Elevation Styles */

:root {
    --elevation-spacing: 120px;
    --elevation-spacing-mobile: 48px;
    --anim-timing: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    /* Homepage Specific Colors (Restored from Original DNA) */
    --home-navy: #0A2A3A;
    --home-ivory: #F0EBDD;
    --home-peach: #E0955E;
    --home-sage: #D9E6DC;
    --home-wine: #5A2230;
    --home-gold: #B89968;
}

/* Restored Arch Utilities */
.arch {
    border-top-left-radius: 50% 30%;
    border-top-right-radius: 50% 30%;
    overflow: hidden;
}
.arch-tall {
    border-top-left-radius: 50% 22%;
    border-top-right-radius: 50% 22%;
    overflow: hidden;
}

/* Handwritten Typography */
.handwritten {
    font-family: 'Caveat', cursive;
}

/* Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--anim-timing), transform 0.8s var(--anim-timing);
}
.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* General Layout */
.elevation-section {
    padding: var(--elevation-spacing) 0;
}
@media (max-width: 768px) {
    .elevation-section {
        padding: var(--elevation-spacing-mobile) 0;
    }
}

/* 1. Hero Elevation */
.hero-elevated {
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: var(--home-navy);
}
.hero-elevated .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(8,38,61,0.3) 0%, rgba(8,38,61,0.6) 100%);
    z-index: 1;
}
.hero-elevated .hero-inner {
    position: relative;
    z-index: 2;
}

/* 2. Booking Widget */
.booking-widget-wrapper {
    position: relative;
    margin-top: -60px; /* Pull up over hero */
    z-index: 10;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}
.booking-widget-card {
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(8, 38, 61, 0.08);
    border-radius: 4px;
    padding: 30px 40px;
}
.bw-fields {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    justify-content: space-between;
}
.bw-field {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.bw-field label {
    font-family: var(--ds-font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(8, 38, 61, 0.6);
    margin-bottom: 8px;
}
.bw-select, .bw-input {
    appearance: none;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(8, 38, 61, 0.2);
    color: var(--home-navy);
    font-family: var(--ds-font-sans);
    font-size: 1.1rem;
    padding: 10px 0;
    cursor: pointer;
    border-radius: 0;
}
.bw-select:focus, .bw-input:focus {
    outline: none;
    border-bottom-color: var(--home-peach);
}
.bw-action {
    flex: 0 0 auto;
}
.bw-btn {
    padding: 16px 40px;
    width: 100%;
}
@media (max-width: 900px) {
    .booking-widget-wrapper {
        margin-top: -40px;
    }
    .bw-fields {
        flex-direction: column;
        align-items: stretch;
        gap: 25px;
    }
    .bw-action {
        margin-top: 10px;
    }
}

/* 3. Menu Split */
.menu-split-container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 30px 60px rgba(8, 38, 61, 0.05);
}
.menu-split-image {
    flex: 1;
    min-height: 600px;
    background-size: cover;
    background-position: center;
}
.menu-split-content {
    flex: 1;
    padding: 100px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media (max-width: 900px) {
    .menu-split-container {
        flex-direction: column;
    }
    .menu-split-image {
        min-height: 400px;
    }
    .menu-split-content {
        padding: 60px 30px;
    }
}

/* 4. Restaurant Carousel */
.dest-carousel-track {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
    padding-bottom: 20px;
}
.dest-carousel-track::-webkit-scrollbar {
    display: none;
}
.dest-card {
    flex: 0 0 calc(25% - 22.5px); /* 4 visible on desktop */
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}
.dest-img-wrapper {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    margin-bottom: 25px;
}
.dest-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
}
.dest-card:hover .dest-img {
    transform: scale(1.05);
}
.dest-content h3 {
    font-family: var(--ds-font-serif);
    font-size: 1.8rem;
    color: var(--home-navy);
    margin-bottom: 10px;
}
.dest-content p {
    font-family: var(--ds-font-minion);
    font-size: 1rem;
    color: rgba(8, 38, 61, 0.7);
    margin-bottom: 15px;
}
.dest-content a {
    font-family: var(--ds-font-neutra);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    color: var(--home-peach);
    font-weight: 600;
    text-decoration: none;
}
.dest-arrow {
    position: absolute;
    top: 35%; /* align roughly to center of image */
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(8,38,61,0.1);
    box-shadow: 0 10px 20px rgba(8,38,61,0.05);
    color: var(--home-navy);
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.dest-arrow:hover {
    background: var(--home-navy);
    color: #fff;
}
.dest-prev { left: -25px; }
.dest-next { right: -25px; }

@media (max-width: 1200px) {
    .dest-card { flex: 0 0 calc(33.333% - 20px); }
}
@media (max-width: 900px) {
    .dest-card { flex: 0 0 calc(50% - 15px); }
    .dest-arrow { display: none; } /* Hide arrows on touch devices */
}

/* 5. Editorial Journal Grid */
.journal-grid {
    display: flex;
    gap: 60px;
    align-items: stretch;
}
.journal-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}
.journal-img-wrap {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}
.journal-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
}
.journal-card:hover .journal-img {
    transform: scale(1.05);
}
.journal-topic {
    font-family: var(--ds-font-neutra);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: var(--home-peach);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}
.journal-title {
    font-family: var(--ds-font-abruzzo);
    font-size: 2.2rem;
    color: var(--home-navy);
    line-height: 1.1;
    margin-bottom: 15px;
}
.journal-excerpt {
    font-family: var(--ds-font-minion);
    font-size: 1.1rem;
    color: rgba(8, 38, 61, 0.7);
    line-height: 1.6;
}

.lead-story {
    flex: 2;
}
.lead-story .journal-img-wrap {
    aspect-ratio: 4 / 3;
}
.lead-story .journal-title {
    font-size: 3rem;
}

.journal-stack {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.secondary-story {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid rgba(8, 38, 61, 0.1);
    padding-bottom: 30px;
}
.secondary-story:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.secondary-story .journal-img-wrap {
    flex: 0 0 120px;
    height: 120px;
    margin-bottom: 0;
}
.secondary-story .journal-title {
    font-size: 1.5rem;
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .journal-grid {
        flex-direction: column;
    }
    .secondary-story .journal-img-wrap {
        flex: 0 0 100px;
        height: 100px;
    }
}

@media (max-width: 600px) {
    .dest-card { flex: 0 0 85%; }
}

/* 6. What We Love Grid */
.dish-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.dish-card {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    border-radius: 4px;
}
.dish-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
}
.dish-card:hover .dish-img {
    transform: scale(1.05);
}
.dish-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(10,42,58,0.88));
    z-index: 1;
}
.dish-content {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    z-index: 2;
    color: var(--home-ivory);
}
.dish-content .we-love {
    font-size: 2rem;
    color: var(--home-peach);
    display: block;
    line-height: 1;
    margin-bottom: 5px;
}
.dish-content h3 {
    font-family: var(--ds-font-abruzzo);
    font-size: 2.2rem;
    line-height: 1.1;
    margin: 0;
}

@media (max-width: 900px) {
    .dish-gallery {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* 7. Travel Stories Grid */
.travel-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.travel-card {
    text-align: center;
}
.travel-img {
    position: relative;
    aspect-ratio: 3/4;
    background-size: cover;
    background-position: center;
    margin-bottom: 20px;
    overflow: hidden;
}
.travel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(10,42,58,0.7));
    z-index: 1;
}
.travel-label {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    z-index: 2;
}
.travel-label .place {
    font-family: var(--ds-font-abruzzo);
    font-size: 2.2rem;
    color: var(--home-ivory);
    line-height: 1;
}
.travel-caption {
    font-family: var(--ds-font-minion);
    font-size: 1rem;
    color: rgba(240,235,221,0.7);
    line-height: 1.5;
    padding: 0 10px;
}

@media (max-width: 1100px) {
    .travel-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}
@media (max-width: 600px) {
    .travel-grid {
        grid-template-columns: 1fr;
    }
}

/* Newsletter Form Styling */
.nl-form {
    transition: all 0.3s ease;
}

.nl-form.is-submitting .nl-submit {
    cursor: not-allowed;
}

.nl-form-message {
    padding: 16px 20px;
    border-radius: 4px;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Success Message */
.nl-form-message[style*="color: var(--ds-navy"] {
    background-color: rgba(30, 140, 70, 0.08);
    border-left: 4px solid #1e8c46;
}

/* Error Message */
.nl-form-message[style*="color: #d32f2f"] {
    background-color: rgba(211, 47, 47, 0.08);
    border-left: 4px solid #d32f2f;
}










