:root {
    --primary: #F75001;
    /* Bytec Orange */
    --primary-blur: rgba(247, 80, 1, 0.2);
    --secondary: #04589D;
    /* Bytec Blue */
    --secondary-blur: rgba(4, 88, 157, 0.2);
    --bg-color: #0d1117;
    --surface-color: #161b22;
    --surface-hover: #21262d;
    --text-primary: #ffffff;
    --text-secondary: #8b949e;
    --border-color: rgba(255, 255, 255, 0.1);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-heading);
}

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

.w-full {
    width: 100%;
    display: inline-block;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Utilities */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}

.btn-large {
    padding: 14px 32px;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #ff7a33 100%);
    color: white;
    box-shadow: 0 4px 14px var(--primary-blur);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-blur);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(13, 17, 23, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

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

.logo-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.logo-primary {
    color: var(--primary);
    font-weight: 800;
}

.logo-secondary {
    color: var(--text-primary);
    font-weight: 800;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px;
    text-align: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(to right, #fff, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, var(--secondary-blur) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 1;
    pointer-events: none;
    filter: blur(40px);
}

/* 3D Map Section */
.map-section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-secondary);
    margin-bottom: 60px;
    font-size: 1.1rem;
}

.scene-container {
    perspective: 1500px;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    margin: 40px auto 0;
    max-width: 1000px;
}

.map-hint {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(247, 80, 1, 0.15);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.scene {
    position: relative;
    width: 300px;
    height: 900px;
    transform-style: preserve-3d;
    transform: scale(0.4) rotateX(25deg) rotateZ(0deg);
    transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.scene.zoomed-a {
    transform: scale(0.65) rotateX(15deg) rotateZ(0deg) translate(0%, -10%);
}

.scene.zoomed-b {
    transform: scale(0.8) rotateX(20deg) rotateZ(0deg) translate(0%, 30%);
}

.scene.zoomed-c {
    transform: scale(1.1) rotateX(10deg) rotateZ(0deg) translate(0%, 65%);
}

.floor {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--surface-color);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* 3D Rooms */
.room {
    position: absolute;
    transform-style: preserve-3d;
    transition: var(--transition);
}

.room.interactive {
    cursor: pointer;
}

.room.interactive:hover {
    transform: translateZ(20px);
}

.room-walls {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.wall {
    position: absolute;
    background: rgba(4, 88, 157, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    transition: var(--transition);
}

.wall-top {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform: translateZ(40px);
    background: rgba(255, 255, 255, 0.05);
}

.wall-front {
    width: 100%;
    height: 40px;
    left: 0;
    bottom: 0;
    transform: rotateX(-90deg) translateZ(20px) translateY(20px);
}

.wall-back {
    width: 100%;
    height: 40px;
    left: 0;
    top: 0;
    transform: rotateX(90deg) translateZ(20px) translateY(-20px);
}

.wall-left {
    width: 40px;
    height: 100%;
    left: 0;
    top: 0;
    transform: rotateY(-90deg) translateZ(20px) translateX(-20px);
}

.wall-right {
    width: 40px;
    height: 100%;
    right: 0;
    top: 0;
    transform: rotateY(90deg) translateZ(20px) translateX(20px);
}

.room.interactive:hover .wall {
    background: rgba(247, 80, 1, 0.6);
    box-shadow: 0 0 20px var(--primary-blur);
}

.room.interactive:hover .wall-top {
    background: rgba(255, 255, 255, 0.15);
}

.room-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(60px);
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    pointer-events: none;
    font-size: 1.2rem;
    white-space: nowrap;
    opacity: 0.8;
    transition: var(--transition);
}

.room.interactive:hover .room-label {
    opacity: 1;
    transform: translate(-50%, -50%) translateZ(80px) scale(1.1);
}

/* Layout Spaces (300w x 900h) */
.room-reception {
    width: 300px;
    height: 150px;
    top: 750px;
    left: 0;
    transform: translateZ(5px);
}

.room-bano-1 {
    width: 140px;
    height: 100px;
    top: 650px;
    left: 0;
    transform: translateZ(5px);
}

.room-a {
    width: 300px;
    height: 300px;
    top: 350px;
    left: 0;
    transform: translateZ(5px);
}

.room-bano-2 {
    width: 140px;
    height: 100px;
    top: 250px;
    left: 0;
    transform: translateZ(5px);
}

.room-b {
    width: 140px;
    height: 150px;
    top: 100px;
    left: 0;
    transform: translateZ(5px);
}

.room-c {
    width: 300px;
    height: 100px;
    top: 0;
    left: 0;
    transform: translateZ(5px);
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: var(--surface-color);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.service-card {
    background: var(--bg-color);
    padding: 32px 24px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    box-shadow: 0 10px 30px var(--secondary-blur);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 16px;
    display: inline-block;
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Modalities */
.modalities-section {
    padding: 100px 0;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.price-card {
    background: var(--surface-color);
    padding: 40px 32px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition);
}

.price-card:hover {
    border-color: var(--primary);
}

.price-card.popular {
    background: linear-gradient(180deg, rgba(247, 80, 1, 0.05) 0%, var(--surface-color) 100%);
    border-color: var(--primary);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.price-header {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.modalities-subtitle {
    font-size: 1.5rem;
    color: var(--primary);
    font-family: var(--font-heading);
    margin-top: 24px;
    margin-bottom: -16px;
    opacity: 0.9;
}

.price-desc {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 0.95rem;
    min-height: 48px;
}

.price-features {
    list-style: none;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: #cbd5e1;
}

.price-features i {
    color: var(--primary);
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: var(--surface-color);
    border-top: 1px solid var(--border-color);
}

.footer-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 40px 0;
}

.footer-copy {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 40px;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 90%;
    max-width: 600px;
    background: var(--surface-color);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.modal.active {
    opacity: 1;
    pointer-events: all;
    transform: translate(-50%, -50%) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-image-placeholder {
    height: 200px;
    background: linear-gradient(45deg, var(--secondary), var(--surface-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.2);
}

.modal-content {
    padding: 32px;
}

.modal-tag {
    display: inline-block;
    background: var(--secondary-blur);
    color: #60a5fa;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.modal-title {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.modal-capacity {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-desc {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.modal-equipment h4 {
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.modal-equipment ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 32px;
}

.modal-equipment li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #cbd5e1;
}

/* Responsiveness */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .scene-container {
        height: 400px;
        margin-top: 20px;
    }

    .map-hint {
        top: 0;
        font-size: 0.85rem;
        padding: 6px 14px;
        white-space: nowrap;
        width: max-content;
    }

    .scene {
        transform: scale(0.3) rotateX(30deg) rotateZ(0deg);
    }

    .price-card.popular {
        transform: scale(1);
    }

    .modal-equipment ul {
        grid-template-columns: 1fr;
    }

    .footer-cta {
        flex-direction: column;
    }
}