/* Base styles and CSS custom properties */
:root {
    /* Color Palette */
    --primary-color: #20304B;
    --secondary-color: #152233;
    --tertiary-color: #3a5687;
    --accent-gradient: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 50%, var(--tertiary-color) 100%);
    --shaded-white: #f8f9fa;
    --section-bg: #f0f2f5;
    
    /* Typography */
    --font-weight-light: 300;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 6rem;
    
    /* Dimensions */
    --hero-height: 60vh;
    --waves-height: 15vh;
    --waves-min-height: 100px;
    --waves-max-height: 150px;
    --logo-max-width: 300px;
    --device-showcase-height: 500px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 6px 8px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 10px 15px rgba(0, 0, 0, 0.2);
    
    /* Transitions */
    --transition-fast: 0.2s;
    --transition-normal: 0.3s;
    --transition-slow: 0.5s;
    
    /* Z-index scale */
    --z-waves: 1;
    --z-device: 3;
    --z-content: 5;
    --z-hero: 10;
    --z-scroll-indicator: 15;
    --z-buttons: 20;
    --z-navbar: 1000;
}

/* Global overrides for landing page */
#content {
    padding: 0 !important;
    max-width: 100% !important;
}

/* Base animation classes */
.animate-bounce {
    animation: bounce 2s infinite;
}

.animate-fade-bounce {
    animation: fade-bounce 2s infinite;
}

.animate-move-forever {
    animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

/* Focus indicators for accessibility */
.btn:focus,
.scroll-indicator:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Utility classes */
.emphasis {
    font-weight: var(--font-weight-semibold);
}

/* Override Bootstrap's light backgrounds */
.bg-light {
    background-color: var(--section-bg) !important;
}

.text-shadow {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.drop-shadow {
    filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.3));
}