/* PhoenixRCS - Main Styles */

/* CSS Variables for Color Scheme */
:root {
    --primary-red: #dc2626;
    --hover-red: #b91c1c;
    --dark-black: #1a1a1a;
    --pure-white: #ffffff;
    --light-gray: #f5f5f5;
    --text-gray: #666666;
    --border-gray: #e5e5e5;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: var(--dark-black);
    font-size: 16px;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

a {
    color: var(--primary-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--hover-red);
}

/* Section Styles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-black);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--pure-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}


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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    max-width: none;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark-black);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--dark-black);
    text-decoration: none;
    font-weight: 600;
    padding: 8px 0;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-red);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--primary-red);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    color: var(--pure-white);
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.hero > .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    color: var(--light-gray);
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    margin-top: 2rem;
}

.btn-call {
    background: var(--primary-red);
    color: var(--pure-white);
    padding: 20px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.3rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
    min-height: 56px;
}

.btn-call:hover {
    background: var(--hover-red);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.5);
    color: var(--pure-white);
}

/* Button Styles */
.btn-primary {
    background: var(--primary-red);
    color: var(--pure-white);
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1.1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
    background: var(--hover-red);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
    color: var(--pure-white);
}

.btn-secondary {
    background: transparent;
    color: var(--pure-white);
    border: 2px solid var(--pure-white);
    padding: 14px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1.1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--pure-white);
    color: var(--dark-black);
    transform: translateY(-2px);
}

.btn-large {
    font-size: 1.3rem;
    padding: 20px 40px;
    min-height: 56px;
}

/* Trust Indicators Section */
.trust-indicators {
    background: var(--light-gray);
    padding: 20px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.trust-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--pure-white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    position: relative;
}

.trust-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.trust-icon {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: var(--dark-black);
    color: white;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-item h3 {
    color: var(--dark-black);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.trust-item p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.5;
}

.urgent-response {
    animation: urgentPulse 3s infinite;
}

@keyframes urgentPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    }
    50% { 
        transform: scale(1.02);
        box-shadow: 0 8px 25px rgba(220, 38, 38, 0.2);
    }
}

/* Services Section */
.services {
    background: var(--pure-white);
    padding: 20px 0;
}

/* Restoration Services Section */
.restoration-services {
    background: var(--light-gray);
    padding: 20px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.service-card {
    background: var(--pure-white);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: var(--dark-black);
    color: white;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card h3 {
    color: var(--dark-black);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.5;
}

.btn-service {
    background: var(--primary-red);
    color: var(--pure-white);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    min-height: 44px;
    line-height: 20px;
    margin-top: auto;
}

.btn-service:hover {
    background: var(--hover-red);
    transform: translateY(-2px);
    color: var(--pure-white);
}

/* Emergency Service Cards */
.emergency-card {
    border-top: 4px solid var(--primary-red);
    background: #fff5f5;
}

/* Restoration Grid */
.restoration-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.compact-card {
    padding: 1.5rem;
}

.compact-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.compact-card p {
    font-size: 0.9rem;
}

/* Insurance Section */
.insurance-help {
    background: var(--light-gray);
    padding: 20px 0;
}

.insurance-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.insurance-benefits {
    list-style: none;
    margin: 1.5rem 0;
}

.insurance-benefits li {
    padding: 0.7rem 0;
    font-size: 1.05rem;
}

.insurance-partners {
    font-weight: 600;
    color: var(--primary-red);
    margin-top: 1rem;
}

.trust-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.badge {
    background: white;
    padding: 1rem;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    font-weight: bold;
    color: var(--dark-black);
}

/* Statistics Section */
.statistics {
    background: var(--dark-black);
    color: white;
    padding: 50px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-red);
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: #ccc;
    margin-top: 0.5rem;
    display: block;
}

/* Process Section */
.process {
    background: var(--light-gray);
    padding: 20px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.process-step {
    text-align: center;
    padding: 1.5rem;
    background: var(--pure-white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    position: relative;
}

.step-number {
    background: var(--primary-red);
    color: var(--pure-white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.process-step h3 {
    color: var(--dark-black);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.process-step p {
    color: var(--text-gray);
    line-height: 1.5;
}

/* Final CTA Section */
.final-cta {
    background: linear-gradient(135deg, var(--dark-black) 0%, #333333 100%);
    color: var(--pure-white);
    padding: 60px 0;
    text-align: center;
    position: relative;
}

.final-cta .container {
    max-width: 800px;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    color: var(--pure-white);
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: var(--light-gray);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
}

.btn-large {
    font-size: 1.2rem;
    padding: 18px 36px;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.service-area {
    margin-top: 1.5rem;
    font-size: 1rem;
    color: var(--light-gray);
}

/* Footer */
.footer {
    background: var(--dark-black);
    color: var(--pure-white);
    padding: 50px 0 25px;
}

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

.footer-column h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-column p, .footer-column li {
    color: #cccccc;
    margin-bottom: 0.5rem;
}

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

.footer-column ul li::before {
    content: '✓ ';
    color: var(--primary-red);
    font-weight: bold;
    margin-right: 5px;
}

.footer-column a {
    color: #cccccc;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary-red);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #888;
    font-size: 0.9rem;
}

/* Floating Call Button */
.floating-call-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.float-btn {
    background: var(--primary-red);
    color: var(--pure-white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4);
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.float-btn:hover {
    background: var(--hover-red);
    transform: scale(1.1);
    color: var(--pure-white);
    animation: none;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Responsive Grid Optimizations */
@media (min-width: 1400px) {
    .trust-grid, .services-grid, .process-steps {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 900px) and (max-width: 1399px) {
    .trust-grid, .services-grid, .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 600px) and (max-width: 899px) {
    .trust-grid, .services-grid, .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Optimizations */
@media (max-width: 480px) {
    .header-content {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    
    .nav-menu {
        order: 2;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .logo-img {
        height: 40px;
        width: auto;
        object-fit: contain;
    }
    
    .header-cta {
        font-size: 0.9rem;
        padding: 10px 16px;
    }
    
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .value-items {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .value-item {
        font-size: 0.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .trust-grid, .services-grid, .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .restoration-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .insurance-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .trust-badges {
        grid-template-columns: 1fr 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .trust-item, .service-card, .process-step {
        padding: 1.5rem;
    }
    
    .final-cta h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .floating-call-btn {
        bottom: 15px;
        right: 15px;
    }
    
    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-red: #e60000;
        --hover-red: #cc0000;
        --dark-black: #000000;
        --text-gray: #333333;
    }
}

/* Focus States for Keyboard Navigation */
a:focus,
button:focus,
.btn-primary:focus,
.btn-secondary:focus,
.header-cta:focus,
.btn-service:focus,
.float-btn:focus {
    outline: 3px solid var(--primary-red);
    outline-offset: 2px;
}

/* Loading State Optimization */
img {
    max-width: 100%;
    height: auto;
    loading: lazy;
}