/* Base Styles - Variables and Global Styles */
:root {
    /* Premium Blue Primary Palette (from logo) */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --primary-lighter: #60a5fa;
    
    /* Teal/Cyan Accent Colors */
    --teal: #14b8a6;
    --teal-dark: #0d9488;
    --teal-light: #2dd4bf;
    --cyan: #06b6d4;
    --cyan-dark: #0891b2;
    --cyan-light: #22d3ee;
    
    /* Legacy colors mapped to new palette */
    --emerald: #2563eb;
    --gold: #2563eb;
    --sand: #eff6ff;
    --white: #ffffff;
    --dark: #1e3a5f;
    --gray: #93c5fd;
    
    /* Premium Gradients - Blue Primary */
    --gradient-primary: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #3b82f6 100%);
    --gradient-secondary: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    --gradient-accent: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    --gradient-dark: linear-gradient(135deg, #1e3a5f 0%, #1d4ed8 100%);
    --gradient-light: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    
    /* Glass Morphism */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px rgba(37, 99, 235, 0.1);
    
    /* Soft Shadows - Blue tinted */
    --shadow-sm: 0 2px 8px rgba(37, 99, 235, 0.08);
    --shadow-md: 0 4px 16px rgba(37, 99, 235, 0.12);
    --shadow-lg: 0 8px 32px rgba(37, 99, 235, 0.16);
    --shadow-xl: 0 16px 48px rgba(37, 99, 235, 0.2);
    --shadow-hover: 0 12px 40px rgba(37, 99, 235, 0.25);
    
    /* Border Radius - 2xl/3xl */
    --radius-sm: 0.75rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --radius-2xl: 2.5rem;
    --radius-3xl: 3rem;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark theme overrides */
[data-theme="dark"] header {
    background: rgba(30, 58, 95, 0.95);
    border-bottom-color: var(--primary-dark);
}

[data-theme="dark"] .brand img {
    filter: brightness(0) invert(1);
}

[data-theme="dark"] nav a {
    color: #ccfbf1;
}

[data-theme="dark"] nav a:hover {
    color: var(--cyan-light);
}

[data-theme="dark"] .dark-mode-toggle {
    color: #ccfbf1;
}

[data-theme="dark"] .btn-book {
    background: var(--gradient-secondary);
    color: white;
}

/* Smooth rendering for better performance */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Account for fixed header */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

body {
    background: var(--gradient-light);
    color: var(--dark);
    line-height: 1.6;
    transition: all var(--transition-normal);
    min-height: 100vh;
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--sand);
}

::-webkit-scrollbar-thumb {
    background: var(--gray);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--emerald);
}

/* ===== ANIMATIONS ===== */

/* Slide Up Animation */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scale In Animation */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Float Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Gradient Shift Animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Animation Classes */
.animate-slide-up {
    animation: slideUp 0.6s ease-out forwards;
}

.animate-scale-in {
    animation: scaleIn 0.5s ease-out forwards;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

/* Staggered Animation Delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
