/* 
    Sanook Somerset Replica Styles 
    Boxed Premium Layout with refined spacing, shadows, and subtle elegance.
*/

:root {
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;

    /* Premium Color Palette (Derived from screenshot but elevated) */
    --clr-bg-main: #F2F3EE;
    /* Very soft, airy stone background */
    --clr-box-left: #AAB09D;
    /* Refined Sage / Soft Olive */
    --clr-box-right: #FAFBF8;
    /* Crisp, warm ivory for the main content area */

    --clr-text-white: #FFFFFF;
    --clr-text-dark: #2D302C;
    /* Softer than pure black for luxury feel */
    --clr-text-secondary: #5A5D57;

    --clr-graphic: #D1B8AE;
    /* Elegant dusty rose for circles */
    --clr-graphic-light: #C0C5B3;
    /* For waves/dots */

    --border-radius: 4px;
    /* Very subtle rounding */
    --box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
    /* Soft, premium lift */

    --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg-main);
    color: var(--clr-text-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* ========================================= */
/* 1. Boxed Slider Area                      */
/* ========================================= */

.slider-wrapper-layout {
    padding: 20px 20px 0;
    background-color: var(--clr-bg-main);
}

.rev-slider-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    height: 55vh;
    min-height: 450px;
    overflow: hidden;
    background-color: #000;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.slider-backgrounds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 6s ease-out;
    transform: scale(1.03);
    /* Subtle scale for elegance */
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.slider-overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

/* Logo Top Left */
.slider-logo {
    position: absolute;
    top: 30px;
    left: 40px;
    pointer-events: auto;
    z-index: 20;
}

.slider-logo img {
    height: auto;
    width: 220px;
}

/* Elegant MAIN MENU button floating over the image */
.slider-main-menu {
    position: absolute;
    bottom: 25px;
    right: 30px;
    background-color: var(--clr-box-right);
    padding: 15px 35px;
    pointer-events: auto;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--clr-text-dark);
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.slider-main-menu:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
}

/* ========================================= */
/* 2. Main Content Section (Boxed layout)    */
/* ========================================= */

.content-section {
    padding: 10px 20px 40px;
    background-color: var(--clr-bg-main);
}

.content-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    /* Elegant 10px track between boxes */
}

/* Left Column - Sage Box */
.col-left {
    flex: 0 0 350px;
    background-color: var(--clr-box-left);
    padding: 70px 50px;
    color: var(--clr-text-white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.col-left h2 {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 5px;
    line-height: 1.8;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.address-details p {
    font-size: 13px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-link {
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.contact-link:hover {
    opacity: 0.6;
}

.kitchen-hours-title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* Right Column - Cream Box */
.col-right {
    flex: 1;
    min-width: 600px;
    background-color: var(--clr-box-right);
    padding: 90px 100px;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.intro-text p {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 3px;
    line-height: 2.2;
    color: var(--clr-text-secondary);
    margin-bottom: 60px;
    max-width: 800px;
}

/* View Menu Button */
.view-menu-btn-wrap {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 5;
    /* Keep above graphics */
}

.strike-button {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--clr-text-dark);
    text-transform: uppercase;
    position: relative;
    padding-left: 55px;
    transition: var(--transition-smooth);
}

.strike-button:before {
    content: '';
    position: absolute;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--clr-text-dark);
    top: 50%;
    transform: translateY(-50%);
    transition: width var(--transition-smooth);
}

.strike-button:hover {
    color: #000;
}

.strike-button:hover:before {
    width: 45px;
    background-color: #000;
}


/* ========================================= */
/* Graphics & Decorations on Right Box       */
/* ========================================= */

.graphic-circles {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
}

.circle-large {
    width: 100px;
    height: 100px;
    border: 8px solid var(--clr-graphic);
    border-radius: 50%;
    margin-bottom: 25px;
    margin-left: -20px;
    opacity: 0.9;
}

.circle-medium {
    width: 50px;
    height: 50px;
    border: 5px solid var(--clr-graphic);
    border-radius: 50%;
    position: absolute;
    top: -70px;
    right: -30px;
    opacity: 0.8;
}

.circle-small {
    width: 16px;
    height: 16px;
    background-color: var(--clr-graphic);
    border-radius: 50%;
    position: absolute;
    top: -130px;
    right: 15px;
    opacity: 0.8;
}

.graphic-dots {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 250px;
    height: 180px;
    background-image: radial-gradient(var(--clr-graphic-light) 2px, transparent 2px);
    background-size: 25px 25px;
    opacity: 0.6;
}

.graphic-waves {
    position: absolute;
    bottom: 30px;
    left: 40px;
    width: 400px;
    height: 100px;
    opacity: 0.5;
}

.wave {
    width: 100%;
    height: 24px;
    margin-bottom: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="20" viewBox="0 0 100 20"><path d="M0,10 Q25,20 50,10 T100,10" fill="none" stroke="%23AAB09D" stroke-width="2"/></svg>');
    background-repeat: repeat-x;
}


/* ========================================= */
/* 3. Footer Section                         */
/* ========================================= */

.site-footer {
    padding: 20px 0 20px 0;
    background-color: var(--clr-bg-main);
    text-align: center;
}

.social-icons {
    margin-bottom: 30px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: var(--clr-text-dark);
    font-size: 18px;
    margin: 0 10px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-3px);
    color: var(--clr-box-left);
}

.copyright p {
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--clr-text-secondary);
    text-transform: uppercase;
    padding-left: 20px;
    padding-right: 20px;
}

/* Mobile Adjustments */
@media (max-width: 992px) {
    .content-container {
        flex-direction: column;
    }

    .rev-slider-container {
        height: 40vh;
        min-height: 300px;
    }

    .slider-logo {
        top: 20px;
        left: 20px;
    }

    .slider-logo img {
        width: 160px;
    }

    .slider-main-menu {
        bottom: 15px;
        right: 15px;
        padding: 12px 20px;
    }

    .col-left {
        flex: auto;
        width: 100%;
        padding: 50px 30px;
    }

    .col-right {
        min-width: 100%;
        padding: 60px 30px;
    }

    .graphic-circles,
    .graphic-dots,
    .graphic-waves {
        display: none;
    }
}

/* ========================================= */
/* Animations                                */
/* ========================================= */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fade-in-up-delay {
    opacity: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

/* ========================================= */
/* 4. Cinematic Menu Modal                   */
/* ========================================= */

.menu-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.menu-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.modal-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    padding: 60px 20px;
}

/* Smooth scrollbar for the modal */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.close-btn {
    position: fixed;
    top: 30px;
    right: 40px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.3s ease;
}

.close-btn:hover {
    transform: scale(1.1);
}

.pdf-viewer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.pdf-page-canvas {
    max-width: 100%;
    height: auto;
    margin-bottom: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.pdf-page-canvas.loaded {
    opacity: 1;
    transform: translateY(0);
}

.loading-indicator {
    color: #fff;
    font-size: 18px;
    letter-spacing: 2px;
    font-weight: 300;
    margin-top: 20vh;
}