/* ARHotel TV - Clean Complete Styles */

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    height: 100dvh;
    margin: 0;
    padding: 0;
    user-select: none;
    -webkit-user-select: none;
    overflow: hidden;
    background: #000;
}

h1:focus { outline: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
button:disabled { cursor: not-allowed; }
input { font-family: inherit; }

/* ===== POSITION ===== */
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.sticky { position: sticky; top: 0; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.top-6 { top: 1.5rem; }
.top-11 { top: 2.75rem; }
.bottom-0 { bottom: 0; }
.bottom-6 { bottom: 1.5rem; }
.bottom-8 { bottom: 2rem; }
.left-0 { left: 0; }
.left-1/2 { left: 50%; }
.right-0 { right: 0; }
.right-6 { right: 1.5rem; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

/* ===== DISPLAY ===== */
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }

/* ===== FLEXBOX ===== */
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }

/* ===== SIZING ===== */
.h-screen { height: 100vh; }
.w-screen { width: 100vw; }
.h-full { height: 100%; }
.w-full { width: 100%; }
.min-h-screen { min-height: 100vh; }
.h-2/3 { height: 66.666667%; }
.w-1/2 { width: 50%; }
.h-3 { height: 0.75rem; }
.w-3 { width: 0.75rem; }
.h-5 { height: 1.25rem; }
.w-5 { width: 1.25rem; }
.h-16 { height: 4rem; }
.w-16 { width: 4rem; }
.h-48 { height: 12rem; }
.w-48 { width: 12rem; }
.h-[9vh] { height: 9vh; }
.h-[10vh] { height: 10vh; }
.h-[15vh] { height: 15vh; }
.h-[25vh] { height: 25vh; }
.h-[70px] { height: 70px; }
.w-[18vw] { width: 18vw; }
.w-[23vw] { width: 23vw; }
.w-[70px] { width: 70px; }
.max-h-[70vh] { max-height: 70vh; }
.max-w-[90vw] { max-width: 90vw; }
.max-w-6xl { max-width: 72rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }
.min-h-0 { min-height: 0; }

/* ===== SPACING ===== */
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-8 { padding: 2rem; }
.p-12 { padding: 3rem; }
.p-[2vh] { padding: 2vh; }
.p-[0.5vh] { padding: 0.5vh; }
.px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-[1vw] { padding-left: 1vw; padding-right: 1vw; }
.px-[2vw] { padding-left: 2vw; padding-right: 2vw; }
.px-[3vw] { padding-left: 3vw; padding-right: 3vw; }
.px-[0.5vh] { padding-left: 0.5vh; padding-right: 0.5vh; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-[1vh] { padding-top: 1vh; padding-bottom: 1vh; }
.py-[2vh] { padding-top: 2vh; padding-bottom: 2vh; }
.pt-3 { padding-top: 0.75rem; }
.pt-8 { padding-top: 2rem; }
.pt-[1.5vh] { padding-top: 1.5vh; }
.pb-[1.5vh] { padding-bottom: 1.5vh; }
.m-2 { margin: 0.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.my-4 { margin-top: 1rem; margin-bottom: 1rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-12 { margin-top: 3rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }
.ml-3 { margin-left: 0.75rem; }
.ml-[18vw] { margin-left: 18vw; }
.-ml-1 { margin-left: -0.25rem; }
.ms-4 { margin-inline-start: 1rem; }
.space-x-1 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.25rem; margin-right: 0.25rem; }
.space-x-2 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.5rem; margin-right: 0.5rem; }
.space-x-3 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.75rem; margin-right: 0.75rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; margin-bottom: 1rem; }

/* ===== TYPOGRAPHY ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-[1.5vw] { font-size: 1.5vw; }
.text-[1.8vw] { font-size: 1.8vw; }
.text-[2vw] { font-size: 2vw; }
.text-[3vh] { font-size: 3vh; }
.leading-tight { line-height: 1.2; }
.leading-relaxed { line-height: 1.625; }
.leading-[2.4vh] { line-height: 2.4vh; }
.whitespace-pre-wrap { white-space: pre-wrap; }
.break-words { overflow-wrap: break-word; word-break: break-word; }

/* ===== COLORS ===== */
.text-white { color: #ffffff; }
.text-gray-100 { color: #f3f4f6; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-700 { color: #374151; }
.text-gray-800 { color: #1f2937; }
.text-blue-400 { color: #60a5fa; }
.text-blue-500 { color: #3b82f6; }
.text-yellow-600 { color: #ca8a04; }
.bg-white { background-color: #ffffff; }
.bg-black { background-color: #000000; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-400 { background-color: #9ca3af; }
.bg-gray-700 { background-color: #374151; }
.bg-gray-900 { background-color: #111827; }
.bg-black/60 { background-color: rgb(0 0 0 / 0.6); }
.text-white/90 { color: rgb(255 255 255 / 0.9); }

/* ===== BACKGROUNDS & GRADIENTS ===== */
.bg-cover { background-size: cover; }
.bg-center { background-position: center; }
.bg-contain { background-size: contain; }
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops)); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.bg-gradient-to-t { background-image: linear-gradient(to top, var(--tw-gradient-stops)); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.from-black { --tw-gradient-from: #000; --tw-gradient-to: rgb(0 0 0 / 0); }
.from-gray-900 { --tw-gradient-from: #111827; --tw-gradient-to: rgb(17 24 39 / 0); }
.from-black/80 { --tw-gradient-from: rgb(0 0 0 / 0.8); --tw-gradient-to: rgb(0 0 0 / 0); }
.via-black/40 { --tw-gradient-stops: var(--tw-gradient-from), rgb(0 0 0 / 0.4), var(--tw-gradient-to); }
.to-transparent { --tw-gradient-to: transparent; }
.to-gray-800 { --tw-gradient-to: #1f2937; }

/* ===== BORDERS ===== */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-t-4 { border-top-width: 4px; }
.border-b { border-bottom-width: 1px; }
.border-r { border-right-width: 1px; }
.border-gray-100 { border-color: #f3f4f6; }
.border-gray-300 { border-color: #d1d5db; }
.border-gray-700 { border-color: #374151; }
.border-blue-500 { border-color: #3b82f6; }
.border-yellow-400 { border-color: #facc15; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }
.rounded-[20%] { border-radius: 20%; }

/* ===== OVERFLOW ===== */
.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }
.overflow-x-auto { overflow-x: auto; }

/* ===== OBJECT FIT ===== */
.object-contain { object-fit: contain; }
.object-cover { object-fit: cover; }

/* ===== OPACITY ===== */
.opacity-0 { opacity: 0; }
.opacity-25 { opacity: 0.25; }
.opacity-30 { opacity: 0.3; }
.opacity-60 { opacity: 0.6; }
.opacity-70 { opacity: 0.7; }
.opacity-75 { opacity: 0.75; }
.opacity-80 { opacity: 0.8; }
.opacity-90 { opacity: 0.9; }
.opacity-100 { opacity: 1; }

/* ===== TRANSFORM ===== */
.transform { transform: translate(var(--tw-translate-x), var(--tw-translate-y)) scale(var(--tw-scale-x), var(--tw-scale-y)); }
.-translate-x-1/2 { --tw-translate-x: -50%; transform: translateX(-50%); }
.scale-105 { --tw-scale-x: 1.05; --tw-scale-y: 1.05; transform: scale(1.05); }

/* ===== TRANSITIONS ===== */
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.duration-700 { transition-duration: 700ms; }
.duration-1000 { transition-duration: 1000ms; }

/* ===== GRID ===== */
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-rows-[73%_27%] { grid-template-rows: 73% 27%; }
.row-span-1 { grid-row: span 1 / span 1; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }

/* ===== BACKDROP ===== */
.backdrop-blur-sm { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

/* ===== SCROLLBAR ===== */
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

/* ===== SHADOWS ===== */
.shadow-sm { box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); }

/* ===== CURSOR ===== */
.cursor-pointer { cursor: pointer; }
.cursor-wait { cursor: wait; }
.cursor-not-allowed { cursor: not-allowed; }

/* ===== FONT FAMILIES ===== */
.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.font-playfair { font-family: 'Playfair Display', Georgia, serif; }

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-svg { to { transform: rotate(360deg); } }
@keyframes fadeInUp { from { opacity: 0; transform: translate3d(0, 30px, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(100px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes fadeInMenu { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes logoFloat { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-20px); } }
@keyframes loadingBounce { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

.animate-spin { animation: spin-svg 1s linear infinite; }
.fade-in-up { animation: fadeInUp 0.6s ease-out forwards; opacity: 0; }
.welcome-animation { animation: fadeIn 2s ease-out, slideUp 2s ease-out; animation-fill-mode: both; }
.logo-float-animation { animation: logoFloat 4s ease-in-out infinite; opacity: 0; animation-fill-mode: forwards; animation-delay: 0.5s; }
.loaded { opacity: 1 !important; transition: opacity 1s ease-in-out; }
.loading-dot-1 { animation: loadingBounce 1.4s infinite ease-in-out both; }
.loading-dot-2 { animation: loadingBounce 1.4s infinite ease-in-out both; animation-delay: 0.16s; }
.loading-dot-3 { animation: loadingBounce 1.4s infinite ease-in-out both; animation-delay: 0.32s; }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.fade-in { animation: fadeInMenu 0.6s ease-out forwards; opacity: 0; }
.animate-fade-in { animation: fadeInMenu 0.8s ease-in-out forwards; opacity: 0; }
.animate-fade-in-delay { animation: fadeInMenu 0.8s ease-in-out forwards; animation-delay: 0.2s; opacity: 0; }
.animate-fade-in-delay-2 { animation: fadeInMenu 0.8s ease-in-out forwards; animation-delay: 0.4s; opacity: 0; }
.animate-fade-in-delay-3 { animation: fadeInMenu 0.8s ease-in-out forwards; animation-delay: 0.6s; opacity: 0; }
.animate-fade-in-delay-4 { animation: fadeInMenu 0.8s ease-in-out forwards; animation-delay: 0.8s; opacity: 0; }

/* ==========================================
   COMPONENT STYLES
   ========================================== */

/* Logo Screen */
#pre-logo-screen, #logo-screen {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: flex;
    height: 100vh;
    width: 100vw;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease-in-out;
}
#pre-logo-screen img, #logo-screen img {
    height: auto;
    max-height: 80%;
    width: auto;
    max-width: 80%;
    object-fit: contain;
}
#router-outlet {
    width: 100vw;
    height: 100vh;
    position: relative;
}
#app {
    width: 100vw;
    height: 100vh;
}

/* Loader */
.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #fff;
}
.modern-loader {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.loader-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: #4f46e5;
    animation: spin 1.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}
.loader-ring:nth-child(2) {
    border-top-color: #7c3aed;
    animation-delay: -0.5s;
}
.loader-ring:nth-child(3) {
    border-top-color: #0d9488;
    animation-delay: -1s;
}

/* Login Page */
.login-container {
    display: flex !important;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: fixed;
    inset: 0;
    z-index: 100;
}
.login-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 400px;
    position: relative;
    z-index: 101;
}
.input-group { margin-bottom: 1rem; }
.input-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}
.input-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: #fff;
}
.input-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.input-group input:disabled { background: #f3f4f6; cursor: not-allowed; }
.status-text {
    text-align: center;
    font-weight: 500;
    padding: 0.75rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}
.status-text.error { background-color: #fee2e2; color: #dc2626; border: 1px solid #fecaca; }
.status-text.success { background-color: #dcfce7; color: #16a34a; border: 1px solid #bbf7d0; }
.login-button {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    transition: all 0.2s ease;
}
.login-button:not(:disabled) {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.login-button:not(:disabled):hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    transform: translateY(-1px);
}
.login-button:disabled {
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
    cursor: not-allowed;
}

/* Menu Component */
.services-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #000;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    overflow: hidden;
    outline: none;
}
.services-container:focus { outline: none; }
.sidebar-item:hover { background-color: rgba(200, 169, 126, 0.1); }
.active-nav { background-color: rgba(200, 169, 126, 0.15); color: #c8a97e; font-weight: 700; }
.service-thumbnail { transition: all 0.3s ease; }
.service-thumbnail:hover { transform: translateY(-8px); }
.active-service {
    background-color: rgba(200, 169, 126, 0.2);
    transform: translateY(-10px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.full-image { transition: transform 0.7s ease; object-fit: cover; }
.scroll-container { height: 91vh; padding-right: 2%; padding-left: 2%; }

/* TV Menu */
.active {
    background-color: #1e40af;
    color: white;
    border-radius: 12px;
    box-shadow: 0 0 0 2px rgba(30, 64, 175, 0.5);
}

/* Focus states */
button:focus, input:focus { outline: none; }
span { cursor: default; }

/* Video iframe */
#video-iframe {
    width: 100vw !important;
    height: 100vh !important;
    left: 0 !important;
    top: 0 !important;
    position: absolute;
}
.iframe-loaded { opacity: 1; }

/* Group hover */
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:scale-110 { transform: scale(1.1); }
.group:hover .group-hover\:-translate-y-1 { transform: translateY(-0.25rem); }
.group:hover .group-hover\:shadow-xl { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1); }
.group:hover .group-hover\:text-blue-400 { color: #60a5fa; }

/* Responsive */
@media (min-width: 640px) {
    .sm\:text-2xl { font-size: 1.5rem; }
    .sm\:text-4xl { font-size: 2.25rem; }
    .sm\:text-6xl { font-size: 3.75rem; }
    .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
    .md\:p-8 { padding: 2rem; }
    .md\:text-xl { font-size: 1.25rem; }
    .md\:text-3xl { font-size: 1.875rem; }
    .md\:text-4xl { font-size: 2.25rem; }
    .md\:text-7xl { font-size: 4.5rem; }
    .md\:w-1/2 { width: 50%; }
    .md\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .lg\:text-4xl { font-size: 2.25rem; }
    .lg\:text-8xl { font-size: 6rem; }
}
@media (max-aspect-ratio: 16/9) {
    .services-container { max-height: 100vh; }
}
