
/* ==========================================================================
   Service Page Banner Custom
   ========================================================================== */
.main-body .body-banner.service-banner-custom {
    height: 400px;
    position: relative;
    overflow: hidden;
}
@media (max-width: 991px) {
    .main-body .body-banner.service-banner-custom {
        height: 300px;
    }
}
/* Body */
.main-body {
    padding-bottom: 30px;
    background-image: url('../images/smenu-bg.png');
    background-attachment: fixed !important;
}

.main-body .body-banner {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.body-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #D9D9D9;
    z-index: 1;
    opacity: 70%;
}

.main-body .body-banner img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.main-body .body-banner p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 64px;
    margin: 0;
    font-family: 'Inria Serif';
    z-index: 2;
}

.main-content {
    max-width: 1200px;
    padding: 0 24px;
    margin: 0 auto;
}

.banner-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 3;
    transform: rotate(180deg);
    
    /* Inherit the exact background image and properties from the body */
    background-image: url("../images/smenu-bg.png");
    background-attachment: fixed !important;
    background-color: var(--color-bg);

    /* Use the SVG wave as a mask so only the wave shape shows the background */
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%23000" /><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="%23000" /><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23000" /></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%23000" /><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="%23000" /><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23000" /></svg>');
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

@media (max-width: 768px) {
    .banner-wave {
        height: 40px;
    }
}

/* ==========================================================================
   What We Focus Section
   ========================================================================== */
.service-focus-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 80px auto 120px;
    padding: 0 20px;
}

.focus-text .focus-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary, #014F86);
    margin-bottom: 12px;
}

.focus-text h2 {
    font-family: 'Inria Serif', 'Playfair Display', serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--color-primary, #014F86);
    margin: 0 0 24px 0;
}

.focus-text p {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 35px;
    color: #555;
}

.focus-images {
    position: relative;
    width: 100%;
    padding: 25px; /* Offset for the blocks to stick out */
}

/* The solid blue block behind the image */
.focus-images::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    background-color: var(--color-primary, #014F86);
    z-index: 1;
}

/* The outline block behind the image */
.focus-images::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    border: 2px solid var(--color-primary, #014F86);
    z-index: 1;
}

.focus-images img {
    position: relative;
    z-index: 2;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .service-focus-section {
        grid-template-columns: 1fr;
        gap: 40px;
        margin: 50px auto 50px;
    }
    .service-focus-section .focus-text p {
        margin-bottom: 0;
    }
    .service-why-dining {
        margin: 0 0 60px;
    }
}


/* ==========================================================================
   Why Dining With Us Section
   ========================================================================== */
.service-why-dining {
    width: 100%;
    margin: 80px 0;
}

.wd-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    height: 650px;
    width: 100%;
}

.wd-item {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.wd-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wd-item-large {
    grid-column: span 1;
    grid-row: span 2;
}

.wd-item-tall {
    grid-column: 4;
    grid-row: span 2;
}

/* Explicit placement for middle items */
.wd-item:nth-child(2) { grid-column: 2; grid-row: 1; }
.wd-item:nth-child(3) { grid-column: 3; grid-row: 1; }
.wd-item:nth-child(4) { grid-column: 2; grid-row: 2; }
.wd-item:nth-child(5) { grid-column: 3; grid-row: 2; }

.wd-black-box {
    background-color: #F8F9FA;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
}

.wd-label-blue {
    color: var(--color-primary, #014F86);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.wd-black-box h3 {
    color: #111;
    font-family: 'Inria Serif', 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 400;
    margin: 0;
    line-height: 1.3;
}

/* Image overlays */
.wd-image-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 50%);
    z-index: 1;
}

.wd-overlay-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 2;
    color: #fff;
}

.wd-overlay-right {
    left: auto;
    right: 40px;
    text-align: right;
}

.wd-overlay-content .wd-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.wd-overlay-content h3 {
    color: #fff !important;
    font-family: 'Inria Serif', 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 400;
    margin: 0 0 10px 0;
}

.wd-overlay-content .wd-subtext {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
}

@media (max-width: 992px) {
    .wd-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        height: auto;
    }
    .wd-item {
        height: 300px;
    }
    .wd-item-large, .wd-item-tall {
        grid-column: span 2;
        grid-row: span 1;
        height: 400px;
    }
    .wd-item:nth-child(1) { order: 1; }
    .wd-item:nth-child(2) { grid-column: 1; grid-row: 2; order: 2; }
    .wd-item:nth-child(3) { grid-column: 2; grid-row: 2; order: 3; }
    .wd-item:nth-child(5) { grid-column: 1; grid-row: 3; order: 4; }
    .wd-item:nth-child(4) { grid-column: 2; grid-row: 3; order: 5; }
    .wd-item:nth-child(6) { grid-column: span 2; grid-row: 4; height: 400px; order: 6; }
}

@media (max-width: 768px) {
    .wd-item-large {
        height: 480px !important;
    }
    .wd-item.wd-item-square,
    .wd-item:nth-child(2),
    .wd-item:nth-child(5) {
        aspect-ratio: 1 / 1 !important;
        height: auto !important;
    }
}

@media (max-width: 576px) {
    .wd-grid {
        grid-template-columns: 1fr;
    }
    .wd-item {
        grid-column: span 1 !important;
        grid-row: auto !important;
    }
    .wd-item.wd-item-square,
    .wd-item:nth-child(2),
    .wd-item:nth-child(5) {
        aspect-ratio: 1 / 1 !important;
        height: auto !important;
    }
}




/* ==========================================================================
   Our Space Section
   ========================================================================== */
.service-our-space {
    max-width: 1200px;
    padding: 0 24px;
    margin: 100px auto 50px;
}

.space-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.space-item {
    position: relative;
    border-radius: 0; /* No rounded corners */
    overflow: hidden;
}

.space-item img {
    width: 100%;
    aspect-ratio: 4 / 5; /* Rectangular, like Sea to table */
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.space-item:hover img {
    transform: scale(1.05);
}

.space-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(1, 79, 134, 0.4); /* Blue overlay */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    opacity: 1; /* Visible by default */
    transition: opacity 0.4s ease;
}

.space-item:hover .space-overlay {
    opacity: 0;
}

.space-overlay h3 {
    font-family: 'Inria Serif', 'Playfair Display', serif;
    font-size: 26px;
    color: #fff;
    margin: 0 0 15px 0;
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.space-overlay p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #f1f1f1;
    margin: 0;
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.space-item:hover .space-overlay h3 { transform: translateY(-20px); }
.space-item:hover .space-overlay p { transform: translateY(20px); }

@media (max-width: 992px) {
    .space-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .space-grid {
        grid-template-columns: 1fr;
    }
    .space-header h2 {
        font-size: 35px !important;
        line-height: 1.3;
    }
}

/* Our Space Header */
.space-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}
.space-header .space-label {
    display: block;
    color: var(--color-primary, #014F86);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}
.space-header h2 {
    font-family: 'Inria Serif', 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 400;
    color: #111;
    margin: 0 0 20px 0;
}
.space-header p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

a.space-item {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

/* Bulletproof link styling */
a.space-item {
    display: block !important;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: relative;
    z-index: 10;
}
