/* ============================================
   VAYUPAKSHA AEROSPACE - THEME UPGRADE
   Apple x SpaceX Balance Theme
   ============================================ */

/* ============================================
   ROOT VARIABLES - STRUCTURED HIERARCHY
   ============================================ */
:root {
    /* Bright Base (60%) */
    --bg-main: #f8fbff;
    --bg-surface: #ffffff;
    --bg-soft: #eef5fb;
    
    /* Blue Scale (30%) */
    --blue-primary: #1e3a8a;
    --blue-accent: #2563eb;
    --blue-soft: #3b82f6;
    
    /* Dark Section (10%) */
    --dark-section: #0b1120;
    
    /* Accent Red (10%) */
    --accent-red: #e10600;
    
    /* Text Colors */
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-light: #ffffff;
    
    /* Shadows */
    --shadow-soft: 0 8px 25px rgba(0,0,0,0.08);
    --shadow-premium: 0 20px 60px rgba(0,0,0,0.12);
}

/* ============================================
   LEGACY VARIABLES (for compatibility)
   ============================================ */
:root {
    --bg-primary: var(--bg-main);
    --bg-secondary: var(--bg-soft);
    --bg-elevated: var(--bg-surface);
    --blue-electric: var(--blue-accent);
    --blue-deep: var(--blue-primary);
    --blue-hover: var(--blue-soft);
    --bg-dark: var(--dark-section);
    --text-white: var(--text-light);
    --shadow-elevated: var(--shadow-premium);
}

/* ============================================
   BODY & BASE STYLES
   ============================================ */
body {
    background-color: var(--bg-main);
    color: var(--text-secondary);
}

/* ============================================
   CARDS
   ============================================ */
.card-aero,
.product-card,
.service-card,
.about-section,
.contact-form-wrapper,
.contact-info-item,
.team-member {
    background: var(--bg-surface);
}

/* ============================================
   PREMIUM SECTIONS (Dark)
   ============================================ */
.hero-aerospace,
footer,
.bg-aero-deep {
    background: var(--dark-section);
}

/* ============================================
   HEADINGS
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
}

/* ============================================
   LINKS & BUTTONS
   ============================================ */
a {
    color: var(--blue-accent);
}

a:hover {
    color: var(--blue-primary);
}

.btn-primary-aero,
.btn-primary {
    background: var(--blue-accent);
    color: var(--text-light);
}

.btn-primary-aero:hover,
.btn-primary:hover {
    background: var(--blue-primary);
}

.btn-secondary-aero,
.btn-secondary {
    color: var(--blue-accent);
    border-color: var(--blue-accent);
}

.btn-secondary-aero:hover,
.btn-secondary:hover {
    background: rgba(37, 99, 235, 0.1);
    color: var(--blue-accent);
}

/* ============================================
   CTA - DANGER/RED
   ============================================ */
.btn-cta-aero,
.btn-cta,
.checkout-btn,
.remove-btn:hover,
.qty-btn:hover {
    background: var(--accent-red);
    color: var(--text-light);
}

.btn-cta-aero:hover,
.btn-cta:hover {
    background: #c90500;
}

/* ============================================
   RADIAL GRADIENT UTILITIES
   ============================================ */
.radial-blue-glow {
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
}

.radial-dark {
    background: radial-gradient(ellipse at center top, var(--dark-section) 0%, var(--dark-section) 100%);
}

/* ============================================
   HERO BACKGROUND STYLE
   ============================================ */
.hero-aerospace {
    background: 
        radial-gradient(circle at 50% 30%, rgba(37, 99, 235, 0.25), transparent 60%),
        radial-gradient(circle at 50% 100%, rgba(225, 6, 0, 0.15), transparent 70%),
        linear-gradient(180deg, #ffffff 0%, #eef5fb 100%);
    backdrop-filter: blur(4px);
    box-shadow: var(--shadow-premium);
    position: relative;
    padding: 120px 40px 80px;
}

.hero-aerospace::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Hero Content Styling */
.hero-content h1 {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.hero-content p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 24px;
}

.hero-content .btn-primary {
    background: var(--blue-accent);
    color: var(--text-light);
}

.hero-content .btn-primary:hover {
    background: var(--blue-primary);
    box-shadow: 0 0 25px rgba(37, 99, 235, 0.4);
}

.hero-content .btn-secondary {
    color: var(--accent-red);
    border-color: var(--accent-red);
    box-shadow: 0 0 15px rgba(225, 6, 0, 0.3);
}

.hero-content .btn-secondary:hover {
    background: rgba(225, 6, 0, 0.1);
    box-shadow: 0 0 25px rgba(225, 6, 0, 0.5);
}

/* ============================================
   BUTTON GLOW HOVER EFFECT
   ============================================ */
.btn-glow-hover {
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.btn-glow-hover:hover {
    box-shadow: 0 0 25px rgba(37, 99, 235, 0.4);
    transform: translateY(-2px);
}

/* ============================================
   PRIMARY BUTTON - Blue Base
   ============================================ */
.btn-primary-aero {
    background: var(--blue-accent);
    color: var(--text-light);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-aero:hover {
    background: var(--blue-primary);
    box-shadow: 0 0 25px rgba(37, 99, 235, 0.4);
    transform: translateY(-2px);
}

/* ============================================
   SECONDARY BUTTON - Blue Surface
   ============================================ */
.btn-secondary-aero {
    background: transparent;
    color: var(--blue-accent);
    border: 1px solid var(--blue-accent);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary-aero:hover {
    background: rgba(37, 99, 235, 0.08);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.25);
    transform: translateY(-2px);
}

/* ============================================
   CTA BUTTON - Red Accent
   ============================================ */
.btn-cta-aero {
    background: var(--accent-red);
    color: var(--text-light);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-cta-aero:hover {
    background: #c90500;
    box-shadow: 0 0 25px rgba(225, 6, 0, 0.4);
    transform: translateY(-2px);
}

/* ============================================
   BLUE GLOW BORDER EFFECT
   ============================================ */
.blue-glow-border {
    border: 1px solid var(--blue-accent);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.2);
}

/* ============================================
   RED GLOW BORDER EFFECT
   ============================================ */
.red-glow-border {
    border: 1px solid var(--accent-red);
    box-shadow: 0 0 15px rgba(225, 6, 0, 0.2);
}

/* ============================================
   GLASS SURFACE WITH BLUE TINT
   ============================================ */
.glass-aero {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(37, 99, 235, 0.15);
}

/* ============================================
   CARD WITH AEROSPACE STYLING
   ============================================ */
.card-aero {
    background: var(--bg-surface);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.card-aero:hover {
    border-color: var(--blue-accent);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.12);
    transform: translateY(-4px);
}

/* ============================================
   TEXT GLOW EFFECTS
   ============================================ */
.text-glow-blue {
    text-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
}

.text-glow-red {
    text-shadow: 0 0 20px rgba(225, 6, 0, 0.4);
}

/* ============================================
   BACKGROUND LAYER CLASSES
   ============================================ */
.bg-aero-deep {
    background: var(--dark-section);
}

.bg-aero-surface {
    background: var(--bg-surface);
}

.bg-aero-elevated {
    background: var(--bg-elevated);
}

/* ============================================
   FULL-WIDTH CTA SECTION (After Product Grid)
   ============================================ */
.cta-section-full {
    background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-soft) 100%);
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section-full::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.3), transparent);
}

.cta-section-full h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.cta-section-full p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   DARK CTA STRIP (Before Footer)
   ============================================ */
.cta-strip-dark {
    background: var(--dark-section);
    padding: 60px 40px;
    text-align: center;
    position: relative;
}

.cta-strip-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(225, 6, 0, 0.5), transparent);
}

.cta-strip-dark h2 {
    font-size: 1.75rem;
    margin-bottom: 12px;
    color: var(--text-light);
}

.cta-strip-dark p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

/* ============================================
   CTA BUTTON STYLES
   ============================================ */
.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-premium);
}

/* Primary CTA - Blue */
.cta-btn-primary {
    background: var(--blue-accent);
    color: var(--text-light);
}

.cta-btn-primary:hover {
    background: var(--blue-primary);
}

/* High Urgency CTA - Red */
.cta-btn-danger {
    background: var(--accent-red);
    color: var(--text-light);
}

.cta-btn-danger:hover {
    background: #c90500;
}

/* ============================================
   COLOR PSYCHOLOGY OPTIMIZATION
   ============================================ */

/* Spec Highlights - Blue Left Border */
.spec-highlight,
.specs li,
.feature-item {
    border-left: 3px solid var(--blue-accent);
    padding-left: 16px;
}

/* Important Stats - Blue Text */
.stat-value,
.important-stat,
.price {
    color: var(--blue-accent);
    font-weight: 700;
}

/* Sale/Limited Tag - Red Badge */
.sale-badge,
.limited-badge,
.tag-sale,
.tag-limited {
    background: var(--accent-red);
    color: var(--text-light);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer - Dark Section for Authority Contrast */
footer {
    background: var(--dark-section);
    color: rgba(255, 255, 255, 0.9);
}

footer h4,
footer h3,
footer h2 {
    color: var(--text-light);
}

footer p,
footer a {
    color: rgba(255, 255, 255, 0.7);
}

footer a:hover {
    color: var(--text-light);
}

/* ============================================
   SPACING & WHITESPACE OPTIMIZATION
   ============================================ */

/* Bright Sections - Increased Padding */
section,
.hero-aerospace,
.featured-products,
.services-overview,
.products-catalog,
.product-detail,
.about,
.contact,
.cta-section-full {
    padding: 80px 40px;
}

/* Minimum 80px Vertical Spacing Between Sections */
section + section {
    margin-top: 80px;
}

/* Product Grid Spacing */
.product-grid {
    gap: 40px;
    padding: 40px 0;
}

/* Card Internal Spacing */
.product-card,
.service-card,
.card-aero {
    padding: 32px;
}

/* Section Headers */
.featured-products h2,
.services-overview h2,
.products-catalog h1 {
    margin-bottom: 48px;
}

/* Footer Spacing */
footer {
    padding: 80px 40px 40px;
}

.footer-content {
    gap: 48px;
    margin-bottom: 48px;
}

/* CTA Section Spacing */
.cta-section-full {
    padding: 100px 40px;
}

.cta-strip-dark {
    padding: 80px 40px;
}

/* ============================================
   CONTRAST OPTIMIZATION
   ============================================ */

/* Ensure Light Text on Dark Backgrounds */
.hero-aerospace,
footer,
.cta-strip-dark,
.bg-aero-deep {
    color: rgba(255, 255, 255, 0.9);
}

.hero-aerospace h1,
.hero-aerospace h2,
.hero-aerospace h3,
footer h4,
footer h3,
footer h2,
.cta-strip-dark h2,
.cta-strip-dark h3 {
    color: var(--text-light);
}

/* Ensure Dark Text on Light Backgrounds */
body,
.featured-products,
.services-overview,
.products-catalog,
.product-detail,
.about,
.contact,
.cta-section-full {
    color: var(--text-secondary);
}

.featured-products h2,
.services-overview h2,
.products-catalog h1,
.product-detail h1,
.about h1,
.contact h1,
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
}
