/*
Theme Name: Atrosphere
Theme URI: https://atrosphere.com
Author: Atrosphere Team
Author URI: https://atrosphere.com
Description: A modern, professional WordPress theme for Atrosphere - transforming businesses through innovative digital solutions. Features a clean light blue design with gradient accents, responsive layout, and conversion-focused components.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: atrosphere
Tags: business, corporate, modern, blue, gradient, responsive, custom-menu, featured-images, translation-ready
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-family-body);
    font-size: var(--font-size-base);
    line-height: 1.625;
    color: #64748B;
    background-color: #F8FBFF;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* CSS Variables - Design System (Color Psychology: Blue for Trust, Gold for Action) */
:root {
    /* Primary Colors - Blue (Trust, Reliability, Professionalism) */
    --primary-blue: #2563EB;
    --primary-blue-dark: #1E40AF;
    --primary-blue-darker: #1E3A8A;
    --primary-blue-light: #3B82F6;
    --primary-blue-lighter: #60A5FA;
    --primary-blue-lightest: #DBEAFE;

    /* Accent Colors - Gold/Yellow (Energy, Action, Optimism) - Used strategically for CTAs */
    --accent-gold: #F59E0B;
    --accent-gold-dark: #D97706;
    --accent-gold-darker: #B45309;
    --accent-gold-light: #FBBF24;
    --accent-gold-lighter: #FCD34D;
    --accent-gold-lightest: #FEF3C7;

    /* Brand Colors - Psychology-based usage */
    --brand-primary: #2563EB;
    /* Trust - Primary actions */
    --brand-accent: #F59E0B;
    /* Energy - CTAs and highlights */
    --brand-gradient-subtle: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);

    /* Background Colors - Calm, Professional */
    --background-primary: #F8FBFF;
    --background-white: #FFFFFF;
    --background-secondary: #EFF6FF;
    --background-muted: #F0F9FF;
    --background-accent: #FFFBEB;
    /* Subtle gold tint for highlights */

    /* Text Colors */
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --text-on-blue: #FFFFFF;
    --text-on-gold: #78350F;
    --text-blue: #1E40AF;

    /* Border Colors */
    --border-light: rgba(37, 99, 235, 0.1);
    --border-medium: rgba(37, 99, 235, 0.2);
    --border-blue: #BFDBFE;
    --border-gold: rgba(245, 158, 11, 0.15);

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Typography - Font Families */
    --font-family-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    --font-family-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    --font-family-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    --font-family-button: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;

    /* Typography - Font Weights */
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;

    /* Typography - Fluid Font Sizes (Scale automatically from 375px to 1440px) */
    --font-size-h1: clamp(2rem, 5vw + 1rem, 4rem);
    --font-size-h2: clamp(1.75rem, 4vw + 1rem, 3rem);
    --font-size-h3: clamp(1.5rem, 3vw + 0.5rem, 2.25rem);
    --font-size-h4: clamp(1.25rem, 2vw + 0.5rem, 1.75rem);
    --font-size-h5: clamp(1.125rem, 1.5vw + 0.5rem, 1.25rem);
    --font-size-h6: clamp(1rem, 1vw + 0.5rem, 1.125rem);

    /* Typography - Font Sizes for Body & UI Elements */
    --font-size-base: 1rem;
    --font-size-lg: clamp(1.125rem, 1vw + 0.8rem, 1.25rem);
    --font-size-md: 0.9375rem;
    --font-size-sm: 0.875rem;
    --font-size-xs: 0.75rem;

    /* Typography - Font Sizes for Buttons */
    --font-size-btn: 1rem;
    /* 16px - Default button */
    --font-size-btn-lg: 1.125rem;
    /* 18px - Large button */
    --font-size-btn-sm: 0.875rem;
    /* 14px - Small button */

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

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.1), 0 2px 4px -1px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -2px rgba(15, 23, 42, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
    --shadow-blue: 0 10px 30px -5px rgba(37, 99, 235, 0.25);
    --shadow-blue-hover: 0 15px 40px -5px rgba(37, 99, 235, 0.35);
    --shadow-gold: 0 10px 30px -5px rgba(245, 158, 11, 0.3);
    --shadow-gold-hover: 0 15px 40px -5px rgba(245, 158, 11, 0.4);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-primary);
    font-weight: var(--font-medium);
    line-height: 1.2;
    margin-bottom: var(--space-6);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family-heading);
    color: var(--text-primary);
    font-weight: var(--font-medium);
    line-height: 1.2;
    margin-bottom: var(--space-6);
}

h1 {
    font-size: var(--font-size-h1);
    line-height: 1.2;
    font-weight: 500;
}

h2 {
    font-size: var(--font-size-h2);
    line-height: 1.3;
    font-weight: 500;
}

h3 {
    font-size: var(--font-size-h3);
    line-height: 1.4;
    font-weight: 500;
}

h4 {
    font-size: var(--font-size-h4);
    line-height: 1.5;
    font-weight: 500;
}

h5 {
    font-size: var(--font-size-h5);
    line-height: 1.5;
    font-weight: 500;
}

h6 {
    font-size: var(--font-size-h6);
    line-height: 1.5;
    font-weight: 500;
}

p {
    font-family: var(--font-family-body);
    margin-bottom: var(--space-4);
    line-height: 1.625;
    font-size: var(--font-size-base);
    color: var(--text-secondary);
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 200ms ease;
}

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

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-6);
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 var(--space-8);
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-accent {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
}

.bg-gradient-hero {
    background: linear-gradient(135deg, #EBF5FF 0%, #FFFFFF 50%, #EBF5FF 100%);
}

.section-padding {
    padding: var(--space-20) 0;
}

@media (min-width: 768px) {
    .section-padding {
        padding: var(--space-24) 0;
    }
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-family-button);
    font-size: var(--font-size-btn);
    font-weight: var(--font-medium);
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all 300ms ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--text-on-blue);
    box-shadow: var(--shadow-blue);
}

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

.btn-cta {
    background: var(--accent-gold);
    color: var(--text-on-gold);
    box-shadow: var(--shadow-gold);
}

.btn-cta:hover {
    background: var(--accent-gold-dark);
    box-shadow: var(--shadow-gold-hover);
    transform: translateY(-2px);
    color: var(--text-on-gold);
}

.btn-secondary {
    background: var(--background-white);
    color: var(--primary-blue);
    border: 2px solid var(--border-blue);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--primary-blue-lightest);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
    color: var(--primary-blue-dark);
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    background: var(--primary-blue-lightest);
    color: var(--primary-blue-dark);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-family: var(--font-family-body);
    font-size: var(--font-size-sm);
    font-weight: var(--font-medium);
    margin-bottom: var(--space-6);
    border: 1px solid var(--border-blue);
}

.badge-accent {
    background: var(--accent-gold-lightest);
    color: var(--accent-gold-darker);
    border-color: var(--border-gold);
}

.badge svg {
    margin-right: var(--space-2);
    width: 16px;
    height: 16px;
}

/* Card */
.card {
    background: var(--background-white);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all 300ms ease;
}

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

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: var(--font-size-h1-mobile);
        line-height: 1.2;
    }

    h2 {
        font-size: var(--font-size-h2-mobile);
        line-height: 1.3;
    }

    h3 {
        font-size: var(--font-size-h3-mobile);
        line-height: 1.4;
    }

    h4 {
        font-size: var(--font-size-h4-mobile);
        line-height: 1.5;
    }

    .section-padding {
        padding: var(--space-16) 0;
    }
}

/* Extra Small Devices */
@media (max-width: 400px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 var(--space-3);
    }

    .btn {
        padding: 0.85rem 1.5rem;
        width: 100%;
    }
}

/* WordPress Core Styles */
.wp-block-image {
    margin-bottom: var(--space-6);
}

.wp-block-image img {
    border-radius: var(--radius-xl);
}

.alignwide {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* ──────────────────────────────────────────────────────────────
   PREMIUM DESIGN SYSTEM - ATROSPHERE
   ────────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --p-blue: #2563EB;
    --p-gold: #F59E0B;
    --p-dark: #0F172A;
    --p-slate: #475569;
    --p-light: #F8FAFF;
    --p-white: #FFFFFF;
    --p-grad: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
    --p-grad-alt: linear-gradient(135deg, #2563EB 0%, #8B5CF6 100%);
    --p-shadow: 0 20px 50px -12px rgba(30, 58, 138, 0.12);
    --p-shadow-hover: 0 30px 60px -12px rgba(30, 58, 138, 0.2);
}

.atros-premium-page {
    background: var(--p-light);
    color: var(--p-dark);
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
}

/* Reveal Animation */
.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-item.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.p-hero {
    position: relative;
    height: 88vh;
    min-height: 750px;
    display: flex;
    align-items: center;
    background: #000;
    overflow: hidden;
    margin-top: -80px; /* Offset for transparent header if needed */
}

.p-hero-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    transform: scale(1.1);
    animation: heroZoom 20s infinite alternate ease-in-out;
}

@keyframes heroZoom {
    from { transform: scale(1); }
    to { transform: scale(1.15); }
}

.p-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.98) 25%, rgba(15, 23, 42, 0.5) 60%, rgba(15, 23, 42, 0) 100%);
}

.p-hero .container {
    position: relative;
    z-index: 10;
    width: 100%;
}

.p-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -2px;
}

.p-hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 680px;
}

/* Buttons */
.p-btn-gold {
    display: inline-flex;
    align-items: center;
    padding: 18px 40px;
    background: var(--p-gold);
    color: #fff;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

.p-btn-gold:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.4);
    color: #fff;
}

/* Sections */
.p-section {
    padding: 90px 0;
}

.section-head {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-head h2 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 20px;
}

/* Stats Strip */
.stats-strip {
    background: var(--p-grad);
    padding: 40px 0;
    color: #fff;
    border-radius: 24px;
    margin-top: -50px;
    position: relative;
    z-index: 20;
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    width: 100%;
}

.stat-box {
    flex: 1;
    padding: 10px;
}

.stat-num {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.8;
}

/* Service Cards */
.p-slider-card {
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: var(--p-shadow);
    transition: all 0.4s;
    border: 1px solid rgba(0,0,0,0.05);
}

.p-slider-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--p-shadow-hover);
}

.p-slider-image {
    flex: 0 0 40%;
    border-radius: 16px;
    overflow: hidden;
    height: 250px;
}

.p-slider-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-slider-info {
    flex: 1;
}

.p-slider-info h3 {
    font-size: 1.75rem;
    margin-bottom: 15px;
    font-weight: 800;
}

/* Why Section */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.why-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 24px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.why-card:hover {
    border-color: var(--p-blue);
    transform: translateY(-5px);
}

.why-icon {
    width: 60px;
    height: 60px;
    background: var(--p-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--p-blue);
    margin-bottom: 25px;
}

/* Problem Cards */
.prob-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.prob-card {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    border-left: 4px solid #EF4444;
    box-shadow: var(--p-shadow);
}

/* Footer CTA */
.p-cta-section {
    background: var(--p-dark);
    padding: 80px 40px;
    border-radius: 32px;
    text-align: center;
    color: #fff;
}

/* Keyword Section */
.kw-overview-heading-sp {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 30px;
}

.kw-accent-sp {
    color: var(--p-blue);
}

.kw-divider-sp {
    height: 2px;
    background: var(--p-blue);
    width: 80px;
    margin: 0 0 40px;
    border: none;
}

.kw-body-grid-sp {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    .kw-body-grid-sp {
        grid-template-columns: 1fr;
    }
    
    .p-slider-card {
        flex-direction: column;
    }
    
    .p-slider-image {
        flex: 0 0 100%;
        width: 100%;
    }
    
    .stats-grid {
        flex-direction: column;
        gap: 30px;
    }
    
    .p-hero h1 {
        font-size: 2.5rem;
    }
}