/* ============================================
   Tashkent Hotels - Luxury Hospitality Design
   Color Scheme: Uzbek Blue Luxury
   ============================================ */

/* CSS Variables for Color Palette */
:root {
    /* Uzbek Blue */
    --uzbek-blue-dark: #1E3A8A;
    --uzbek-blue: #2563EB;
    --turquoise: #40E0D0;
    --turquoise-light: #48D1CC;

    /* Gold & Luxury */
    --gold: #D4AF37;
    --gold-light: #F4C430;

    /* Terracotta & Warm */
    --terracotta: #CD853F;
    --terracotta-dark: #D2691E;

    /* Neutrals */
    --cream: #FFF8F0;
    --cream-light: #FAF6F0;
    --white: #FFFFFF;
    --navy: #0F172A;
    --warm-brown: #3E2723;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

/* ============================================
   Global Styles & Reset
   ============================================ */

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

body {
    font-family: var(--font-body);
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 50%, var(--cream-light) 100%);
    color: var(--navy);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   Uzbek Pattern Background Overlay
   ============================================ */

.pattern-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    animation: fadeInPattern 2s ease-in-out 0.5s forwards;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(64, 224, 208, 0.03) 0%, transparent 50%),
        repeating-linear-gradient(45deg, transparent, transparent 50px, rgba(212, 175, 55, 0.02) 50px, rgba(212, 175, 55, 0.02) 51px);
}

/* Uzbek Tile Pattern using CSS */
.pattern-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-conic-gradient(from 0deg at 10% 10%,
            transparent 0deg,
            transparent 60deg,
            rgba(37, 99, 235, 0.02) 60deg,
            rgba(37, 99, 235, 0.02) 120deg);
    opacity: 0.5;
}

/* ============================================
   Floating Hotel Keys Animation
   ============================================ */

.floating-keys {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.key {
    position: absolute;
    width: 30px;
    height: 30px;
    opacity: 0;
    animation: floatUp 15s infinite ease-in-out;
}

.key::before {
    content: '🔑';
    font-size: 24px;
    filter: grayscale(100%) brightness(1.5) sepia(100%) hue-rotate(25deg) saturate(5);
}

.key-1 {
    left: 10%;
    animation-delay: 0s;
}

.key-2 {
    left: 30%;
    animation-delay: 5s;
}

.key-3 {
    left: 60%;
    animation-delay: 10s;
}

.key-4 {
    left: 85%;
    animation-delay: 3s;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.4;
        transform: translateY(50vh) translateX(20px) rotate(180deg);
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-20vh) translateX(-20px) rotate(360deg);
        opacity: 0;
    }
}

/* ============================================
   Main Container
   ============================================ */

.container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 900px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* ============================================
   Content Card - Luxury Hotel Aesthetic
   ============================================ */

.content-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 60px 50px;
    box-shadow:
        0 20px 60px rgba(30, 58, 138, 0.15),
        0 0 0 1px rgba(212, 175, 55, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.9);
    animation: doorOpen 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        var(--uzbek-blue) 0%,
        var(--turquoise) 25%,
        var(--gold) 50%,
        var(--turquoise) 75%,
        var(--uzbek-blue) 100%);
}

@keyframes doorOpen {
    0% {
        opacity: 0;
        transform: scale(0.9) rotateY(-15deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateY(0deg);
    }
}

@keyframes fadeInPattern {
    to {
        opacity: 1;
    }
}

/* ============================================
   Uzbek Ornamental Borders
   ============================================ */

.uzbek-ornament-top,
.uzbek-ornament-bottom {
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--gold) 20%,
        var(--uzbek-blue) 50%,
        var(--gold) 80%,
        transparent 100%);
    margin: 0 auto;
    position: relative;
}

.uzbek-ornament-top {
    margin-bottom: 30px;
}

.uzbek-ornament-bottom {
    margin-top: 40px;
}

.uzbek-ornament-top::before,
.uzbek-ornament-bottom::before {
    content: '◆';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: var(--gold);
    font-size: 20px;
    background: white;
    padding: 0 15px;
}

/* ============================================
   Icon Container
   ============================================ */

.icon-container {
    position: relative;
    margin: 0 auto 30px;
    width: 200px;
    height: 120px;
}

.uzbek-arch {
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: archReveal 1s ease-out 0.8s forwards;
}

.arch-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 8px rgba(212, 175, 55, 0.3));
}

@keyframes archReveal {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hotel-key {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 40px;
    opacity: 0;
    animation: keyAppear 1s ease-out 1.2s forwards, gentleFloat 3s ease-in-out 2.2s infinite;
}

.key-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.5));
}

@keyframes keyAppear {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px) rotate(-10deg);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0) rotate(0deg);
    }
}

@keyframes gentleFloat {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ============================================
   Typography - Elegant Luxury
   ============================================ */

.main-heading {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--uzbek-blue-dark);
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1s forwards;
    position: relative;
}

.main-heading::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    animation: underlineGrow 1s ease-out 1.5s forwards;
}

@keyframes underlineGrow {
    to {
        width: 100%;
    }
}

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

/* ============================================
   Five Stars Rating Animation
   ============================================ */

.stars-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 25px 0;
    font-size: 2rem;
}

.star {
    color: var(--gold);
    opacity: 0;
    transform: scale(0) rotate(-180deg);
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.4));
    animation: starAppear 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.star[data-index="0"] { animation-delay: 1.3s; }
.star[data-index="1"] { animation-delay: 1.5s; }
.star[data-index="2"] { animation-delay: 1.7s; }
.star[data-index="3"] { animation-delay: 1.9s; }
.star[data-index="4"] { animation-delay: 2.1s; }

@keyframes starAppear {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    70% {
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.star:hover {
    animation: starGlow 0.6s ease-in-out infinite alternate;
}

@keyframes starGlow {
    from {
        filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.4));
        transform: scale(1);
    }
    to {
        filter: drop-shadow(0 4px 12px rgba(244, 196, 48, 0.8));
        transform: scale(1.1);
    }
}

/* ============================================
   Tagline & Messages
   ============================================ */

.tagline {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--uzbek-blue);
    font-style: italic;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 2.3s forwards;
}

/* ============================================
   Decorative Divider
   ============================================ */

.divider {
    width: 60%;
    margin: 30px auto;
    position: relative;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--turquoise) 50%,
        transparent 100%);
    opacity: 0;
    animation: fadeIn 1s ease-out 2.5s forwards;
}

.divider-pattern {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: white;
}

.divider-pattern::before {
    content: '✦';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--gold);
    font-size: 24px;
    animation: rotate360 20s linear infinite;
}

@keyframes rotate360 {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* ============================================
   Welcome Message Section
   ============================================ */

.welcome-message {
    margin: 30px 0;
    opacity: 0;
    animation: fadeInUp 1s ease-out 2.7s forwards;
}

.uzbek-greeting {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--turquoise);
    margin-bottom: 8px;
    font-style: italic;
}

.english-greeting {
    font-size: 1.2rem;
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 12px;
}

.description {
    font-size: 1rem;
    color: var(--warm-brown);
    line-height: 1.6;
}

/* ============================================
   Hotel Stats Section
   ============================================ */

.stats-container {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    margin: 40px 0;
    opacity: 0;
    animation: fadeInUp 1s ease-out 2.9s forwards;
}

.stat {
    text-align: center;
    flex: 1;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: inline-block;
    animation: bounceIn 1s ease-out 3.2s both;
}

.stat:nth-child(1) .stat-icon { animation-delay: 3.2s; }
.stat:nth-child(2) .stat-icon { animation-delay: 3.4s; }
.stat:nth-child(3) .stat-icon { animation-delay: 3.6s; }

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.stat-text {
    font-size: 0.9rem;
    color: var(--navy);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   Message Box - Coming Soon
   ============================================ */

.message-box {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(64, 224, 208, 0.05) 100%);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    opacity: 0;
    animation: fadeInUp 1s ease-out 3.8s forwards;
}

.message-text {
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 15px;
    font-weight: 500;
}

.contact-intro {
    font-size: 0.95rem;
    color: var(--warm-brown);
    margin-bottom: 15px;
}

.email-link {
    display: inline-block;
    font-size: 1.1rem;
    color: var(--uzbek-blue);
    text-decoration: none;
    padding: 12px 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(250, 246, 240, 0.9) 100%);
    border: 2px solid var(--gold);
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.email-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(244, 196, 48, 0.3), transparent);
    transition: left 0.5s ease;
}

.email-link:hover::before {
    left: 100%;
}

.email-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
    border-color: var(--gold-light);
    color: var(--uzbek-blue-dark);
}

.email-link:active {
    transform: translateY(0);
}

/* ============================================
   Footer Pattern
   ============================================ */

.footer-pattern {
    margin-top: 40px;
    text-align: center;
    opacity: 0;
    animation: fadeIn 1s ease-out 4s forwards;
}

.silk-road-text {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--uzbek-blue);
    font-style: italic;
    letter-spacing: 1px;
}

/* ============================================
   Responsive Design - Mobile First
   ============================================ */

/* Tablets */
@media (max-width: 768px) {
    .content-card {
        padding: 40px 30px;
    }

    .main-heading {
        font-size: 3rem;
        letter-spacing: 2px;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .stats-container {
        flex-direction: column;
        gap: 20px;
    }

    .stat-icon {
        font-size: 2rem;
    }

    .divider {
        width: 80%;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .container {
        padding: 20px 15px;
    }

    .content-card {
        padding: 30px 20px;
        border-radius: 15px;
    }

    .main-heading {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }

    .stars-container {
        font-size: 1.5rem;
        gap: 5px;
    }

    .tagline {
        font-size: 1rem;
    }

    .uzbek-greeting {
        font-size: 1.1rem;
    }

    .english-greeting {
        font-size: 1rem;
    }

    .description {
        font-size: 0.9rem;
    }

    .stat-icon {
        font-size: 1.8rem;
    }

    .stat-text {
        font-size: 0.8rem;
    }

    .message-box {
        padding: 20px;
    }

    .email-link {
        font-size: 1rem;
        padding: 10px 20px;
    }

    .icon-container {
        width: 150px;
        height: 90px;
    }

    .hotel-key {
        width: 60px;
        height: 30px;
    }

    .silk-road-text {
        font-size: 0.8rem;
    }

    /* Reduce floating keys on mobile */
    .key-3, .key-4 {
        display: none;
    }
}

/* Large Desktops */
@media (min-width: 1440px) {
    .container {
        max-width: 1000px;
    }

    .content-card {
        padding: 70px 60px;
    }

    .main-heading {
        font-size: 4.5rem;
    }
}

/* ============================================
   Accessibility - High Contrast Mode
   ============================================ */

@media (prefers-contrast: high) {
    .content-card {
        border: 3px solid var(--navy);
    }

    .email-link {
        border-width: 3px;
    }

    .star {
        filter: none;
    }
}

/* ============================================
   Print Styles
   ============================================ */

@media print {
    .floating-keys,
    .pattern-overlay {
        display: none;
    }

    .content-card {
        box-shadow: none;
        border: 2px solid var(--navy);
    }

    body {
        background: white;
    }
}
