/* Landing Page Styles - Interactive Flow */

:root {
    --primary: #00927E;
    --accent: #FB9A23;
    --dark: #111111;
    --darker: #0a0a0a;
    --white: #FFFFFF;
    --font-heading: 'Outfit', sans-serif;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--darker);
    color: var(--white);
    overflow-x: hidden;
    /* Prevent horizontal slide */
    width: 100%;
    position: relative;
    height: 100vh;
}

body.modal-open {
    overflow: hidden !important;
}

.hidden {
    display: none !important;
}

/* LOADER */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    width: 120px;
    margin-bottom: 2rem;
}

.loading-bar {
    width: 200px;
    height: 2px;
    background: #333;
    margin: 0 auto;
    overflow: hidden;
}

.bar-fill {
    width: 0%;
    height: 100%;
    background: var(--primary);
}

/* CONTAINER */
.experience-container {
    display: flex;
    height: 100vh;
    opacity: 0;
    visibility: hidden;
    /* JS toggles this */
}

/* LEFT SIDE - SHOP */
.left-side {
    flex: 1.2;
    /* Slightly larger */
    position: relative;
    background: #000;
    overflow: hidden;
    border-right: 4px solid var(--darker);
}

.side-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.7;
    transition: transform 1s ease;
}

.shop-bg {
    background: linear-gradient(45deg, #004d40, #000000);
}

/* Fallback */

.left-side:hover .side-bg {
    transform: scale(1.05);
}

.interactive-card {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    z-index: 2;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.4), transparent);
}

.card-content {
    text-align: center;
    transform: translateY(0);
    transition: transform 0.3s;
}

.interactive-card:hover .card-content {
    transform: translateY(-10px);
}

.icon-large-float {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1rem;
    display: block;
}

.interactive-card h2 {
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.interactive-card p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 2rem;
}

.btn-fake {
    padding: 12px 30px;
    border: 1px solid white;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
}

.interactive-card:hover .btn-fake {
    background: white;
    color: black;
}

/* RIGHT SIDE - SERVICES */
.right-side {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    background: var(--darker);
    border-left: 1px solid #222;
}

.service-block {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid var(--darker);
}

.service-block:last-child {
    border-bottom: none;
}

/* Visual State (Image) */
.block-visual {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.pointer-cursor {
    cursor: pointer;
}

.visual-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    transition: transform 0.5s;
}

.booking-bg {
    background: linear-gradient(to bottom, #2c3e50, #000000);
}

.tracking-bg {
    background: linear-gradient(to bottom, #16213e, #000000);
}

.service-block:hover .visual-bg {
    transform: scale(1.05);
    opacity: 0.7;
}

.visual-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.icon-medium {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
}

.visual-content h3 {
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.visual-content p {
    font-size: 0.9rem;
    color: #aaa;
}

/* Logic State as MODAL (Focus Layer) */
.block-logic {
    position: fixed;
    /* Changed from absolute to fixed for full screen center */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 500px;
    height: auto;
    background: #111;
    z-index: 999;
    /* High z-index */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
}

.block-logic.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

/* Backdrop Blur active state on Body/Container */
body.modal-open .experience-container {
    filter: blur(10px) brightness(0.4);
    pointer-events: none;
    /* Disable interaction with background */
    transition: filter 0.5s ease;
}

.logic-content {
    width: 80%;
    max-width: 350px;
}

.logic-content h3 {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.close-btn:hover {
    color: var(--accent);
}

/* Forms */
.modern-form .input-group {
    margin-bottom: 1rem;
}

.modern-form input {
    width: 100%;
    padding: 12px;
    background: #222;
    border: 1px solid #333;
    color: white;
    border-radius: 6px;
}

.modern-form input:focus {
    border-color: var(--primary);
    outline: none;
}

.input-group.row {
    display: flex;
    gap: 10px;
}

.submit-btn,
.track-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

.submit-btn:hover,
.track-btn:hover {
    background: #007a6a;
}

.tracking-interface {
    text-align: center;
}

.instruction {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #ccc;
}

.with-btn {
    display: flex;
    gap: 5px;
}

.scan-btn {
    width: 60px;
    background: #222;
    border: 1px solid #333;
    color: var(--primary);
    cursor: pointer;
    border-radius: 8px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scan-btn:hover {
    background: #333;
    border-color: var(--primary);
}

#timeSelect {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2300927E' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* Footer */
.floating-footer {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 15px;
    z-index: 20;
}

.contact-pill,
.social-pills a {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-pills {
    display: flex;
    gap: 5px;
}

.social-pills a {
    padding: 10px 14px;
}

/* Responsive */
@media (max-width: 900px) {
    .experience-container {
        flex-direction: column;
        height: auto;
        overflow-y: auto;
    }

    .left-side {
        height: 400px;
        flex: none;
    }

    .right-side {
        height: auto;
        flex: none;
    }

    .service-block {
        height: 300px;
    }

    .block-logic {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(1);
        width: 95%;
        max-width: 400px;
        height: auto;
        z-index: 9999;
        margin: 0;
        padding: 2rem 1.5rem;
    }

    /* Expand when active handled by base class */
}