/* ============================================
   CSS RESET & NORMALIZE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
}

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    /* Colors - Tashkent Food Palette */
    --color-primary: #0891B2;
    --color-primary-light: #06B6D4;
    --color-secondary: #F97316;
    --color-secondary-light: #FB923C;
    --color-accent: #10B981;
    --color-accent-light: #34D399;
    --color-neutral: #FEF3C7;
    --color-neutral-light: #FEFCE8;
    --color-dark: #1F2937;
    --color-white: #FFFFFF;
    --color-text: #1F2937;
    --color-text-light: #4B5563;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    --gradient-warm: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-light) 100%);
    --gradient-background: linear-gradient(135deg, #FEFCE8 0%, #FEF3C7 50%, #FED7AA 100%);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-size-base: 16px;
    --font-size-sm: 0.875rem;
    --font-size-md: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 2rem;
    --font-size-3xl: 2.5rem;
    --font-size-4xl: 3.5rem;
    --line-height-tight: 1.2;
    --line-height-normal: 1.6;
    --line-height-relaxed: 1.8;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(8, 145, 178, 0.3);
}

/* ============================================
   BASE STYLES
   ============================================ */
body {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    color: var(--color-text);
    background: var(--gradient-background);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ============================================
   BACKGROUND DECORATION
   ============================================ */
.background-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    font-size: 3rem;
    opacity: 0.15;
    animation: float 20s infinite ease-in-out;
}

.food-icon-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.food-icon-2 {
    top: 20%;
    right: 15%;
    animation-delay: 2s;
}

.food-icon-3 {
    bottom: 30%;
    left: 5%;
    animation-delay: 4s;
}

.food-icon-4 {
    bottom: 15%;
    right: 10%;
    animation-delay: 6s;
}

.food-icon-5 {
    top: 50%;
    left: 20%;
    animation-delay: 8s;
}

.food-icon-6 {
    top: 60%;
    right: 25%;
    animation-delay: 10s;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-lg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
}

/* ============================================
   HEADER COMPONENT
   ============================================ */
.header {
    text-align: center;
}

.logo-section {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.site-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-4xl);
    font-weight: 800;
    line-height: var(--line-height-tight);
    letter-spacing: -0.02em;
}

.title-main {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: var(--shadow-glow);
}

.title-accent {
    display: block;
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-subtitle {
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--color-text-light);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    text-align: center;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
}

.coming-soon-badge {
    display: inline-flex;
    padding: var(--space-sm) var(--space-lg);
    background: var(--gradient-warm);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: var(--font-size-md);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
}

.badge-text {
    display: inline-block;
}

.hero-heading {
    font-family: var(--font-heading);
    font-size: var(--font-size-3xl);
    font-weight: 700;
    line-height: var(--line-height-tight);
    color: var(--color-dark);
}

.hero-tagline {
    font-size: var(--font-size-lg);
    color: var(--color-text-light);
    line-height: var(--line-height-relaxed);
    font-weight: 500;
}

/* ============================================
   CONTENT SECTION
   ============================================ */
.content {
    max-width: 700px;
    width: 100%;
}

.description-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.description-text {
    font-size: var(--font-size-lg);
    line-height: var(--line-height-relaxed);
    color: var(--color-text);
    text-align: center;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    max-width: 600px;
    width: 100%;
}

.contact-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-sm);
}

.contact-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: var(--space-sm);
}

.contact-text {
    font-size: var(--font-size-md);
    color: var(--color-text-light);
}

.email-link {
    display: inline-block;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: all var(--transition-normal);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
}

.email-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
}

.email-link:hover {
    color: var(--color-primary-light);
    background: rgba(6, 182, 212, 0.1);
    transform: translateY(-2px);
}

.email-link:hover::after {
    width: 100%;
}

.email-link:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    margin-top: var(--space-lg);
}

.footer-decoration {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    justify-content: center;
    opacity: 0.8;
}

.decoration-icon {
    font-size: var(--font-size-xl);
}

.footer-text {
    font-family: var(--font-heading);
    font-size: var(--font-size-md);
    font-weight: 500;
    color: var(--color-text-light);
    letter-spacing: 0.05em;
}

/* ============================================
   ANIMATIONS & TRANSITIONS
   ============================================ */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(-5deg);
    }
    75% {
        transform: translateY(-15px) rotate(3deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: var(--shadow-md);
    }
    50% {
        transform: scale(1.05);
        box-shadow: var(--shadow-lg);
    }
}

.pulse {
    animation: pulse 2s infinite ease-in-out;
}

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

.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

.fade-in:nth-child(1) {
    animation-delay: 0.1s;
}

.fade-in:nth-child(2) {
    animation-delay: 0.3s;
}

.fade-in:nth-child(3) {
    animation-delay: 0.5s;
}

.fade-in:nth-child(4) {
    animation-delay: 0.7s;
}

.fade-in:nth-child(5) {
    animation-delay: 0.9s;
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ============================================ */

/* Mobile (default styles above are mobile-first) */

/* Tablet: 640px and up */
@media (min-width: 640px) {
    :root {
        --font-size-base: 18px;
        --font-size-4xl: 4rem;
    }

    .container {
        padding: var(--space-xl);
        gap: var(--space-2xl);
    }

    .floating-element {
        font-size: 4rem;
    }

    .description-card {
        padding: var(--space-2xl);
    }

    .contact-card {
        padding: var(--space-xl);
    }
}

/* Desktop: 1024px and up */
@media (min-width: 1024px) {
    :root {
        --font-size-4xl: 5rem;
        --font-size-3xl: 3rem;
    }

    .container {
        gap: var(--space-3xl);
    }

    .hero-heading {
        font-size: var(--font-size-3xl);
    }

    .floating-element {
        font-size: 5rem;
    }

    .description-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
        transition: all var(--transition-normal);
    }

    .contact-card:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
        transition: all var(--transition-normal);
    }
}

/* Large Desktop: 1440px and up */
@media (min-width: 1440px) {
    :root {
        --font-size-4xl: 5.5rem;
    }

    .container {
        max-width: 1400px;
    }

    .floating-element {
        font-size: 6rem;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .floating-element {
        animation: none;
    }

    .pulse {
        animation: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .description-card,
    .contact-card {
        border: 3px solid var(--color-dark);
    }

    .email-link {
        text-decoration: underline;
    }
}

/* Focus visible for keyboard navigation */
:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 4px;
    border-radius: var(--radius-sm);
}
