/* ========================================
   EWINGS - Global CSS with Brand Colors
   ======================================== */

/* CSS Custom Properties (CSS Variables) */
:root {
    /* Primary Brand Colors */
    --primary-color: #4C29B5;           /* Deep Violet/Blue */
    --primary-dark: #3A1F8A;           /* Darker shade for hover */
    --primary-light: #6B3FD4;          /* Lighter shade for active */
    
    /* Secondary Colors */
    --secondary-color: #92A1BD;        /* Slate Gray-Blue */
    --secondary-dark: #7A8BA8;         /* Darker shade */
    --secondary-light: #A8B5CC;        /* Lighter shade */
    
    /* Accent Colors */
    --accent-color: #D2D0E4;           /* Lavender Gray */
    --accent-dark: #B8B5D1;            /* Darker shade */
    --accent-light: #E8E6F2;           /* Lighter shade */
    
    /* Neutral Colors */
    --light-neutral: #DEE3EE;          /* Light Cool Gray */
    --base-neutral: #FFFFFF;           /* Pure White */
    --text-dark: #2C3E50;              /* Dark text color */
    --text-medium: #5A6C7D;            /* Medium text color */
    --text-light: #7F8C8D;             /* Light text color */
    
    /* Semantic Colors */
    --success-color: #27AE60;          /* Green for success */
    --warning-color: #F39C12;          /* Orange for warnings */
    --error-color: #E74C3C;            /* Red for errors */
    --info-color: #3498DB;             /* Blue for info */
    
    /* Shadows */
    --shadow-light: 0 2px 8px rgba(76, 41, 181, 0.1);
    --shadow-medium: 0 4px 16px rgba(76, 41, 181, 0.15);
    --shadow-heavy: 0 8px 32px rgba(76, 41, 181, 0.2);
    
    /* Border Radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 20px;
    
    /* Spacing */
    --spacing-xs: 0.25rem;             /* 4px */
    --spacing-sm: 0.5rem;              /* 8px */
    --spacing-md: 1rem;                /* 16px */
    --spacing-lg: 1.5rem;              /* 24px */
    --spacing-xl: 2rem;                /* 32px */
    --spacing-2xl: 3rem;               /* 48px */
    --spacing-3xl: 4rem;               /* 64px */
    
    /* Typography */
    --font-family-primary: 'Jost', sans-serif;
    --font-family-secondary:'Jost', sans-serif;
    --font-size-xs: 0.75rem;           /* 12px */
    --font-size-sm: 0.875rem;          /* 14px */
    --font-size-base: 1rem;            /* 16px */
    --font-size-lg: 1.125rem;          /* 18px */
    --font-size-xl: 1.25rem;           /* 20px */
    --font-size-2xl: 1.5rem;           /* 24px */
    --font-size-3xl: 1.875rem;         /* 30px */
    --font-size-4xl: 2.25rem;          /* 36px */
    --font-size-5xl: 3rem;             /* 48px */
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family-primary);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--base-neutral);
    font-size: var(--font-size-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   PRE HEADER STYLES
   ======================================== */

.pre-header {
    background: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 25%, #45B7D1 50%, #96CEB4 75%, #FFEAA7 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease-in-out infinite;
    color: var(--base-neutral);
    padding: var(--spacing-md) 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.pre-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.1) 75%, transparent 75%, transparent);
    background-size: 20px 20px;
    animation: moveStripes 2s linear infinite;
    opacity: 0.3;
}

.pre-header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    text-align: center;
    position: relative;
    z-index: 2;
}

.offer-icon {
    font-size: var(--font-size-xl);
    animation: pulse 2s infinite;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.offer-text {
    font-weight: 500;
    font-size: var(--font-size-sm);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    white-space: nowrap;
}

/* Countdown Timer Styles */

/* Pre-header Animations */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes moveStripes {
    0% { transform: translateX(0); }
    100% { transform: translateX(20px); }
}

@keyframes countdownPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes separatorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-secondary);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); }

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-medium);
    line-height: 1.7;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

strong, b {
    font-weight: 600;
    color: var(--text-dark);
}

/* ========================================
   LAYOUT & CONTAINERS
   ======================================== */

.container {
    max-width: 1200px; /* Example max-width, adjust as needed */
    margin: 0 auto;
     /* 10% left and right padding */
    width: 100%; /* Added */
    box-sizing: border-box; /* Added */
}

.container-fluid {
    width: 100%;
    padding: 0 10%; /* 10% left and right padding */
    box-sizing: border-box; /* Added */
}

.section {
    padding: var(--spacing-3xl) 0;
}

.section-sm {
    padding: var(--spacing-2xl) 0;
}

.section-lg {
    padding: var(--spacing-3xl) 0;
}

/* ========================================
   HEADER STYLES
   ======================================== */


/* ========================================
   BUTTON STYLES
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md) var(--spacing-xl);
    border: none;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: var(--font-size-sm);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

/* Primary Button */
.btn-primary {
    background: var(--primary-color);
    color: var(--base-neutral);
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

/* Secondary Button */
.btn-secondary {
    background: var(--secondary-color);
    color: var(--base-neutral);
    box-shadow: var(--shadow-light);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Outline Button */
.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--base-neutral);
    transform: translateY(-2px);
}

/* Button Sizes */
.btn-sm {
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-xs);
}

.btn-lg {
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-size: var(--font-size-lg);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--base-neutral);
    text-align: center;
    padding: var(--spacing-3xl) 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: var(--font-size-5xl);
    margin-bottom: var(--spacing-lg);
    color: var(--base-neutral);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-2xl);
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   PAGE HEADERS
   ======================================== */

.page-header {
    background: var(--light-neutral);
    padding: var(--spacing-3xl) 0;
    text-align: center;
    border-bottom: 1px solid var(--accent-color);
}

.page-header h1 {
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
}

.page-header p {
    color: var(--text-medium);
    font-size: var(--font-size-lg);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   CARDS & COMPONENTS
   ======================================== */

.card {
    background: var(--base-neutral);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    padding: var(--spacing-xl);
    transition: all var(--transition-normal);
    border: 1px solid var(--accent-color);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.card-header {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--accent-color);
}

.card-title {
    font-size: var(--font-size-xl);
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.card-body {
    color: var(--text-medium);
}

/* ========================================
   FOOTER STYLES
   ======================================== */

.site-footer {
    background: var(--text-dark);
    color: var(--base-neutral);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: var(--spacing-md);
    color: var(--base-neutral);
    font-size: var(--font-size-lg);
}

.footer-section p {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: var(--spacing-sm);
}

.footer-section a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
    display: inline-block;
    padding: var(--spacing-xs) 0;
}

.footer-section a:hover {
    color: var(--base-neutral);
    transform: translateX(4px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--secondary-color);
    color: var(--secondary-color);
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-accent { color: var(--accent-color); }
.text-light { color: var(--text-light); }
.text-white { color: var(--base-neutral); }

.bg-primary { background-color: var(--primary-color); }
.bg-secondary { background-color: var(--secondary-color); }
.bg-accent { background-color: var(--accent-color); }
.bg-light { background-color: var(--light-neutral); }
.bg-white { background-color: var(--base-neutral); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.p-0 { padding: 0; }
.p-1 { padding: var(--spacing-xs); }
.p-2 { padding: var(--spacing-sm); }
.p-3 { padding: var(--spacing-md); }
.p-4 { padding: var(--spacing-lg); }
.p-5 { padding: var(--spacing-xl); }

.rounded { border-radius: var(--border-radius-md); }
.rounded-sm { border-radius: var(--border-radius-sm); }
.rounded-lg { border-radius: var(--border-radius-lg); }
.rounded-xl { border-radius: var(--border-radius-xl); }

.shadow { box-shadow: var(--shadow-light); }
.shadow-md { box-shadow: var(--shadow-medium); }
.shadow-lg { box-shadow: var(--shadow-heavy); }

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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .header-content {
        /* flex-direction: column; */
        gap: var(--spacing-md);
    }
    
    .main-navigation ul {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
        padding: var(--spacing-md) 0;
    }
    
    .main-navigation a {
        display: block;
        padding: var(--spacing-md);
        border-bottom: 1px solid var(--accent-color);
    }
    
    .hero h1 {
        font-size: var(--font-size-4xl);
    }
    
    .hero p {
        font-size: var(--font-size-lg);
    }
    
    .page-header h1 {
        font-size: var(--font-size-3xl);
    }
    
    .page-header p {
        font-size: var(--font-size-base);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-lg);
    }
    
    .btn {
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: var(--font-size-sm);
    }
    
    .container {
        padding: 0 var(--spacing-md);
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    .site-header,
    .site-footer,
    .btn {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}

/* ========================================
   ACCESSIBILITY & UTILITIES
   ======================================== */

.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #4C29B5;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 6px;
}

/* ========================================
   MAIN CONTENT
   ======================================== */

.main-content {
    min-height: 100vh;
    padding-top: 0;
}
