:root {
    --bg-dark: #0a0a0a;
    --accent: #00e5ff;
    --text-light: #f4f4f4;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }

body { background-color: var(--bg-dark); color: var(--text-light); overflow-x: hidden; }

/* Floating Nav */
.floating-nav {
    position: fixed; top: 0; width: 100%; padding: 20px 40px;
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(10, 10, 10, 0.8); backdrop-filter: blur(10px);
    z-index: 1000;
}

.logo { font-size: 1.5rem; font-weight: bold; letter-spacing: 2px; color: var(--accent); }

/* Hamburger Menu */
.hamburger { display: none; flex-direction: column; cursor: pointer; z-index: 1001; }
.hamburger span { height: 3px; width: 25px; background: var(--text-light); margin: 4px; transition: 0.3s; }
.nav-links { display: flex; list-style: none; gap: 30px; }
.nav-links a { color: var(--text-light); text-decoration: none; font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: var(--accent); }

/* Hero Section */
.hero-section {
    height: 100vh; display: flex; align-items: center; justify-content: center;
    text-align: center; position: relative;
    background: url('placeholder-bg.jpg') no-repeat center center/cover;
}
.hero-bg-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 20px; }
.hero-content h1 { font-size: 4rem; margin-bottom: 20px; text-transform: uppercase; }
.hero-content p { font-size: 1.2rem; margin-bottom: 30px; color: #ccc; }

/* Buttons */
.cta-btn, .action-btn {
    padding: 15px 30px; border: 2px solid var(--accent); background: transparent;
    color: var(--accent); font-size: 1.1rem; cursor: pointer; transition: 0.3s;
}
.cta-btn:hover, .action-btn:hover { background: var(--accent); color: var(--bg-dark); }

/* Sections & Grid */
.content-section { padding: 100px 20px; }
.container { max-width: 1200px; margin: 0 auto; text-align: center; }
.grid-wrapper { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; margin-top: 50px; }

/* Critical: Responsive Iframe Handling */
.tour-card { background: #1a1a1a; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.iframe-container {
    position: relative; width: 100%; padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
}
.iframe-container iframe {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none;
}
.tour-info { padding: 20px; }
.tour-info h3 { margin-bottom: 15px; }

/* Mobile Stacking */
@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-links {
        position: fixed; top: 0; right: -100%; height: 100vh; width: 250px;
        background: #111; flex-direction: column; align-items: center; justify-content: center;
        transition: 0.4s ease-in-out;
    }
    .nav-links.active { right: 0; }
    .hero-content h1 { font-size: 2.5rem; }
    .floating-nav { padding: 15px 20px; }
}

/* Footer Styles */
.global-footer { background: #0a0a0a; border-top: 1px solid #222; padding: 60px 20px 20px; margin-top: 60px; }
.footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.footer-col h3 { color: var(--accent); margin-bottom: 20px; font-size: 1.2rem; }
.footer-col p, .footer-col a { color: #aaa; text-decoration: none; line-height: 1.6; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a:hover { color: var(--text-light); }
.footer-btn { display: inline-block; padding: 10px 20px; border: 1px solid var(--accent); color: var(--accent); margin-top: 15px; border-radius: 4px; }
.footer-bottom { text-align: center; border-top: 1px solid #222; margin-top: 40px; padding-top: 20px; color: #666; }

/* Subpage & Legal Styles */
.subpage-hero { padding: 150px 20px 50px; text-align: center; background: #111; border-bottom: 1px solid #222; }
.legal-section { padding: 120px 20px; }
.legal-container { max-width: 800px; margin: 0 auto; background: #111; padding: 40px; border-radius: 8px; }
.legal-container h2 { color: var(--accent); margin-bottom: 10px; }
.legal-container h3 { margin: 30px 0 15px; color: #fff; }
.last-updated { color: #666; font-style: italic; margin-bottom: 30px; }

/* Cookie Popup */
.cookie-popup { position: fixed; bottom: -100px; left: 0; width: 100%; background: #1a1a1a; padding: 20px; z-index: 9999; border-top: 2px solid var(--accent); transition: bottom 0.5s ease; }
.cookie-popup.show { bottom: 0; }
.cookie-content { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.cookie-content p { color: #ccc; flex: 1; min-width: 300px; }
.cookie-content a { color: var(--accent); }
.cookie-buttons { display: flex; gap: 10px; }

/* --- TEMPLATE SPECIFIC STYLES --- */

/* Glassmorphism Panels */
.floating-glass-panel, .glass-menu-sidebar, .booking-sidebar, .spec-sheet {
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 12px;
    padding: 30px;
}

/* Neon Typography Adjustments */
.neon-title { font-size: 2.5rem; color: var(--text-light); text-shadow: 0 0 10px rgba(0,229,255,0.3); margin-bottom: 5px; }

/* City Explorer */
.vr-hero-background { position: relative; height: 80vh; width: 100%; overflow: hidden; display: flex; align-items: center; padding: 50px; }
.vr-hero-background iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; border: none; pointer-events: none; /* Pointer events none allows UI to sit cleanly on top until interacted with */ }
.left-aligned { position: relative; z-index: 2; max-width: 450px; }
.district-scroller { display: flex; gap: 10px; margin: 20px 0; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; }
.district-node { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: #fff; padding: 10px 15px; border-radius: 30px; white-space: nowrap; cursor: pointer; transition: 0.3s; }
.district-node.active, .district-node:hover { background: rgba(0,229,255,0.2); border-color: var(--accent); color: var(--accent); }
.live-status { font-size: 0.9rem; color: #aaa; display: flex; align-items: center; gap: 8px; margin-bottom: 15px; }
.dot.pulse { width: 8px; height: 8px; background: #00ff00; border-radius: 50%; box-shadow: 0 0 10px #00ff00; animation: pulse 2s infinite; }

/* Automotive Split Layout */
.split-layout { display: flex; height: 90vh; background: #050505; }
.vr-half { width: 60%; position: relative; }
.data-half { width: 40%; display: flex; align-items: center; padding: 40px; }
.full-height { height: 100%; padding-bottom: 0; }
.tech-specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 30px 0; border-top: 1px solid #333; border-bottom: 1px solid #333; padding: 20px 0; }
.spec-item { display: flex; flex-direction: column; }
.spec-item .label { font-size: 0.8rem; color: #888; text-transform: uppercase; }
.spec-item .value { font-size: 1.5rem; color: var(--accent); font-weight: bold; }
.vr-overlay-hint { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,0.8); padding: 10px 20px; border-radius: 20px; font-size: 0.9rem; color: #fff; border: 1px solid #333; pointer-events: none; }

/* Restaurant Full Screen with Menu */
.full-screen-vr { position: relative; height: 100vh; width: 100%; overflow: hidden; }
.absolute-fill iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.right-aligned { position: absolute; right: 40px; top: 50%; transform: translateY(-50%); width: 380px; max-height: 80vh; overflow-y: auto; z-index: 10; }
.item-row { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 15px 0; }
.item-details h4 { color: #fff; margin-bottom: 4px; }
.item-details p { font-size: 0.8rem; color: #aaa; }
.item-action { display: flex; align-items: center; gap: 15px; }
.add-to-cart { background: var(--accent); color: #000; border: none; width: 30px; height: 30px; border-radius: 50%; font-weight: bold; cursor: pointer; transition: 0.2s; }
.add-to-cart:hover { transform: scale(1.1); box-shadow: 0 0 10px var(--accent); }

/* Hospitality Layout */
.layout-with-sidebar { display: grid; grid-template-columns: 2.5fr 1fr; gap: 40px; align-items: start; }
.room-gallery { display: flex; gap: 15px; margin-top: 15px; overflow-x: auto; padding-bottom: 10px; }
.room-thumbnail { width: 150px; height: 100px; background-size: cover; background-position: center; border-radius: 8px; position: relative; cursor: pointer; border: 2px solid transparent; transition: 0.3s; }
.room-thumbnail.active, .room-thumbnail:hover { border-color: var(--accent); }
.room-thumbnail span { position: absolute; bottom: 0; left: 0; width: 100%; background: rgba(0,0,0,0.7); padding: 5px; font-size: 0.8rem; text-align: center; }
.dark-input { width: 100%; padding: 12px; margin: 8px 0 20px; background: rgba(0,0,0,0.5); border: 1px solid #333; color: #fff; border-radius: 4px; color-scheme: dark; }

/* Utilities */
.mt-20 { margin-top: 20px; }
.full-width { width: 100%; }
.outline { background: transparent; border: 1px solid var(--accent); }

@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0,255,0,0.4); } 70% { box-shadow: 0 0 0 10px rgba(0,255,0,0); } 100% { box-shadow: 0 0 0 0 rgba(0,255,0,0); } }

/* Mobile Adaptations */
@media (max-width: 992px) {
    .split-layout, .layout-with-sidebar { display: flex; flex-direction: column; height: auto; }
    .vr-half, .data-half { width: 100%; }
    .vr-half { height: 50vh; }
    .right-aligned { position: relative; right: auto; top: auto; transform: none; width: 100%; margin-top: 20px; border-radius: 0; }
    .full-screen-vr { height: auto; }
    .absolute-fill iframe { position: relative; height: 50vh; }
}