/* ==========================================================================
   ArcticCare AC Repair - Ultra Mobile-Friendly & Responsive CSS
   ========================================================================== */

:root {
    /* Color Palette */
    --primary: #0077FF;
    --primary-dark: #0056C6;
    --primary-light: #E5F1FF;
    --accent: #00C853;
    --accent-hover: #00A344;
    --dark-bg: #0B1320;
    --surface-dark: #121E31;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-light: #94A3B8;
    --bg-light: #F8FAFC;
    --border-color: #E2E8F0;
    --glass-bg: rgba(255, 255, 255, 0.92);
    --glass-border: rgba(255, 255, 255, 0.6);
    --shadow-sm: 0 2px 8px rgba(0, 119, 255, 0.08);
    --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 119, 255, 0.15);

    /* Fonts */
    --font-heading: 'Noto Sans Georgian', 'Outfit', -apple-system, sans-serif;
    --font-body: 'Noto Sans Georgian', -apple-system, sans-serif;

    /* Spacing & Transitions */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Global */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 70px; /* Space for fixed mobile call bar */
}

@media (min-width: 769px) {
    body {
        padding-bottom: 0;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary);
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #00C6FF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.sub-title {
    display: inline-block;
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 36px;
}

.section-header h2 {
    font-size: clamp(1.6rem, 4vw, 2.25rem);
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    touch-action: manipulation;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 119, 255, 0.3);
}

.btn-primary:active, .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 119, 255, 0.4);
}

.btn-hero-primary {
    background: linear-gradient(135deg, #0077FF 0%, #0056C6 100%);
    color: #ffffff;
    font-size: clamp(1rem, 3vw, 1.15rem);
    padding: 16px 32px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(0, 119, 255, 0.35);
    width: 100%;
    max-width: 400px;
}

.btn-hero-primary:active, .btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 119, 255, 0.45);
}

.btn-block {
    width: 100%;
}

.btn-lg-call {
    font-size: 1.15rem;
    padding: 18px 24px;
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 200, 83, 0.3);
}

.btn-lg-call:active, .btn-lg-call:hover {
    background: var(--accent-hover);
}

/* Top Announcement Bar */
.top-bar {
    background: var(--dark-bg);
    color: #ffffff;
    padding: 8px 0;
    font-size: 0.825rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 200, 83, 0.15);
    color: #00E676;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #00E676;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 230, 118, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

.top-contacts {
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-phone {
    color: #38BDF8;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Header & Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 14px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark-bg);
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary) 0%, #00C6FF 100%);
    color: #ffffff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 119, 255, 0.3);
}

.brand-logo .highlight {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-secondary);
    padding: 6px 0;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: transparent;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0;
}

.hamburger-bar {
    width: 20px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobile Drawer */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(11, 19, 32, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 48px 0 64px;
    background: radial-gradient(circle at top right, rgba(0, 119, 255, 0.08), transparent 50%),
                radial-gradient(circle at bottom left, rgba(0, 200, 83, 0.05), transparent 40%);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 36px;
    align-items: center;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 16px;
}

.hero-title {
    font-size: clamp(1.8rem, 5vw, 3rem);
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.hero-description {
    font-size: clamp(0.95rem, 2.5vw, 1.15rem);
    color: var(--text-secondary);
    margin-bottom: 28px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.hero-trust {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Hero Highlight Card */
.hero-card {
    padding: 32px 24px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    text-align: center;
}

.emergency-icon-box {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.card-header h3 {
    font-size: 1.35rem;
    margin-bottom: 6px;
}

.card-header p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.quick-call-box {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.phone-number-display {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 5vw, 2.25rem);
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.working-hours-tag {
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 16px;
}

.btn-submit-hero {
    width: 100%;
    background: var(--accent);
    color: #ffffff;
    font-size: 1.05rem;
    padding: 15px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(0, 200, 83, 0.25);
}

.btn-submit-hero:hover {
    background: var(--accent-hover);
}

/* Stats Bar */
.stats-bar {
    background: var(--dark-bg);
    color: #ffffff;
    padding: 32px 0;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: center;
}

.stat-card {
    text-align: center;
}

.stat-number, .stat-number-text {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #38BDF8;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 500;
}

.stat-divider {
    display: none;
}

/* Services Section */
.services-section {
    padding: 64px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 119, 255, 0.3);
}

.service-icon {
    width: 52px;
    height: 52px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: #ffffff;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.service-link {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
}

/* Call Banner CTA */
.call-banner {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--surface-dark) 100%);
    color: #ffffff;
    padding: 48px 0;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.banner-text h2 {
    color: #ffffff;
    font-size: clamp(1.4rem, 4vw, 2rem);
    margin-bottom: 6px;
}

.banner-text p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.btn-banner {
    background: #ffffff;
    color: var(--dark-bg);
    font-size: 1.05rem;
    padding: 15px 28px;
    box-shadow: 0 10px 25px rgba(255,255,255,0.1);
}

/* Testimonials */
.reviews-section {
    padding: 64px 0;
    background: #ffffff;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.review-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: var(--radius-md);
}

.stars {
    color: #FFB800;
    font-size: 1rem;
    margin-bottom: 10px;
}

.review-text {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.review-author span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Contact Section */
.contact-section {
    padding: 64px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
}

.contact-info h2 {
    font-size: clamp(1.6rem, 4vw, 2.25rem);
    margin-bottom: 10px;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.d-icon {
    width: 46px;
    height: 46px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-highlight {
    display: block;
    font-size: 1.4rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary);
}

.contact-call-card {
    padding: 32px 24px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    text-align: center;
}

.c-card-header h3 {
    font-size: 1.35rem;
    margin: 12px 0 6px;
}

.c-card-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: #ffffff;
    padding: 48px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand-logo {
    color: #ffffff;
    margin-bottom: 14px;
}

.footer-brand p {
    color: var(--text-light);
    font-size: 0.9rem;
    max-width: 360px;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1rem;
    margin-bottom: 14px;
    color: #ffffff;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-contact p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.footer-phone {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: #38BDF8;
}

.footer-bottom {
    padding: 16px 0;
    text-align: center;
    color: var(--text-light);
    font-size: 0.8rem;
}

/* Bottom Fixed Mobile Call Bar (Visible only on Mobile <= 768px) */
.mobile-bottom-call-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 10px 16px;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    display: none;
}

.mobile-bottom-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: linear-gradient(135deg, var(--accent) 0%, #00A344 100%);
    color: #ffffff;
    padding: 14px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 14px rgba(0, 200, 83, 0.3);
}

/* Floating Call Button for Tablet/Desktop */
.floating-call-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: var(--accent);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 200, 83, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.call-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.6;
    animation: ripple 2s infinite;
    z-index: -1;
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 768px) {
    /* Show Mobile Bottom Call Bar */
    .mobile-bottom-call-bar {
        display: block;
    }

    .floating-call-btn {
        display: none; /* Hide floating circle in favor of sticky bottom full bar */
    }

    .top-contacts span {
        display: none; /* Hide secondary text on top bar for small screens */
    }

    .btn-call {
        display: none; /* Hide header button on small screen since bottom bar is present */
    }

    .mobile-toggle {
        display: flex;
    }

    /* Navigation Drawer */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 82%;
        max-width: 300px;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        padding: 80px 24px 32px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        z-index: 1001;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.15rem;
        padding: 12px 0;
        border-bottom: 1px solid var(--bg-light);
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 12px;
    }

    .banner-content {
        flex-direction: column;
        text-align: center;
    }

    .btn-banner {
        width: 100%;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-card, .contact-call-card {
        padding: 24px 16px;
    }

    .service-card {
        padding: 20px 16px;
    }

    .phone-number-display {
        font-size: 1.8rem;
    }
}

/* =========================================
   NEW UI/UX ENHANCEMENTS
   ========================================= */

/* Snowflakes Animation */
#snowflakes-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -10px;
    background: #fff;
    border-radius: 50%;
    opacity: 0.8;
    animation: snowfall linear infinite;
    box-shadow: 0 0 10px rgba(255,255,255,0.8);
}

@keyframes snowfall {
    0% { transform: translateY(-10px) rotate(0deg); opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.6; }
    100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
}

/* Service Card Cyan Glow Hover */
.service-card.hover-glow {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card.hover-glow:hover {
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.4);
    border-color: #00E5FF;
    transform: translateY(-5px);
}

/* Temperature Drop Widget */
.temp-drop-widget {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 198, 255, 0.1);
    border: 1px solid rgba(0, 198, 255, 0.3);
    padding: 8px 16px;
    border-radius: 30px;
    gap: 8px;
    font-family: var(--font-heading);
    color: #0077FF;
    font-weight: 700;
    font-size: 1.4rem;
    box-shadow: inset 0 0 10px rgba(0, 198, 255, 0.1);
}

.temp-value {
    color: #00C6FF;
    font-size: 1.6rem;
    transition: color 0.3s;
}
.temp-value.cool {
    color: #0077FF;
}
.temp-unit {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Sticky Pulse on Floating CTA */
.sticky-pulse {
    animation: sticky-pulse 2s infinite;
}

@keyframes sticky-pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 200, 83, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(0, 200, 83, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 200, 83, 0); }
}
