/* ============================================
   ROOT & VARIABLES
   ============================================ */
:root {
    --primary-dark: #1a2332;
    --secondary-dark: #2c3e50;
    --accent-orange: #ff6b35;
    --text-light: #ffffff;
    --text-gray: #e0e0e0;
    --text-dark: #333333;
    --border-light: #404d5c;
    --success: #27ae60;
    --error: #e74c3c;

    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-xxl: 64px;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    --transition: all 0.3s ease;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: white;
}

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

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: var(--transition);
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    background: var(--primary-dark);
    color: var(--text-light);
    padding: var(--spacing-sm) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
}

.logo {
    flex-shrink: 0;
}

.logo-placeholder {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-orange);
}

.nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    border-top: 2px solid var(--accent-orange);
    width: 100%;
    padding: var(--spacing-md) 0;
}

.nav.active {
    display: block;
}

.nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nav-link {
    display: block;
    padding: var(--spacing-sm) var(--spacing-sm);
    color: var(--text-light);
    border-bottom: 1px solid var(--border-light);
    font-weight: 500;
}

.nav-link:hover {
    background: var(--secondary-dark);
    color: var(--accent-orange);
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    width: 40px;
    height: 40px;
    padding: var(--spacing-xs);
    flex-shrink: 0;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--text-light);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

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

.call-btn,
.header-call-btn {
    background: var(--accent-orange);
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 14px;
}

.header-call-btn {
    display: none;
}

.call-btn:hover,
.header-call-btn:hover {
    background: #ff5520;
    transform: scale(1.05);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: var(--spacing-xl) var(--spacing-sm);
    overflow: hidden;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-headline {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

.hero-subheadline {
    font-size: 18px;
    margin-bottom: var(--spacing-lg);
    color: var(--text-gray);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
    align-items: center;
}

.btn {
    padding: var(--spacing-sm) var(--spacing-md);
    font-weight: 700;
    font-size: 16px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.hero-buttons .btn {
    width: 100%;
    max-width: 300px;
}

.btn-primary {
    background: var(--accent-orange);
    color: white;
}

.btn-primary:hover {
    background: #ff5520;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--accent-orange);
}

.btn-large {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trust-badges {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background: rgba(0, 0, 0, 0.7);
    border-radius: var(--radius-md);
}

.badge {
    font-size: 14px;
    font-weight: 600;
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--primary-dark);
}

.section-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: var(--spacing-lg);
}

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

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    background: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.service-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border-top: 4px solid var(--accent-orange);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
    color: var(--accent-orange);
    flex-shrink: 0;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-dark);
}

.service-card p {
    color: #666;
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */
.why-choose {
    background: var(--primary-dark);
    color: var(--text-light);
}

.why-choose .section-title {
    color: var(--text-light);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.feature-number {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
    color: var(--accent-orange);
    flex-shrink: 0;
}

.feature-number svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: var(--spacing-sm);
}

.feature-card p {
    color: var(--text-gray);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.about-image {
    width: 100%;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

.about-text p {
    margin-bottom: var(--spacing-md);
    color: #555;
    line-height: 1.8;
}

.about-text .btn {
    display: inline-block;
}

/* ============================================
   SERVICE AREAS SECTION
   ============================================ */
.service-areas {
    background: white;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
}

.area-card {
    background: linear-gradient(135deg, var(--secondary-dark), var(--primary-dark));
    color: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
}

.area-card:hover {
    border-color: var(--accent-orange);
    transform: scale(1.05);
}

/* ============================================
   EMERGENCY CTA SECTION
   ============================================ */
.emergency-cta {
    background: var(--accent-orange);
    color: white;
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.emergency-cta h2 {
    font-size: 32px;
    margin-bottom: var(--spacing-md);
}

.emergency-cta p {
    font-size: 18px;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    background: #f8f9fa;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.testimonial-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--accent-orange);
}

.stars {
    color: #ffc107;
    margin-bottom: var(--spacing-sm);
    font-size: 16px;
}

.testimonial-card p {
    color: #555;
    margin-bottom: var(--spacing-md);
    font-style: italic;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-dark);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}

.contact-info h3 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-sm);
    font-size: 16px;
}

.info-item {
    margin-bottom: var(--spacing-lg);
}

.info-item p {
    color: #666;
}

.info-item a {
    color: var(--accent-orange);
    font-weight: 600;
}

.contact-form {
    background: #f8f9fa;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 14px;
}

input,
textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid #ddd;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

input.error,
textarea.error {
    border-color: var(--error);
}

.form-message {
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    display: none;
}

.form-message.success {
    background: rgba(39, 174, 96, 0.1);
    color: var(--success);
    display: block;
}

.form-message.error {
    background: rgba(231, 76, 60, 0.1);
    color: var(--error);
    display: block;
}

.contact-form .btn {
    width: 100%;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--primary-dark);
    color: var(--text-light);
    padding: var(--spacing-xl) var(--spacing-sm) var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h4 {
    margin-bottom: var(--spacing-md);
    color: var(--accent-orange);
}

.footer-logo {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-orange);
    margin-bottom: var(--spacing-sm);
}

.footer-section p {
    color: var(--text-gray);
    margin-bottom: var(--spacing-sm);
}

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

.footer-section a {
    color: var(--text-gray);
}

.footer-section a:hover {
    color: var(--accent-orange);
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: var(--spacing-md);
    text-align: center;
    color: var(--text-gray);
    font-size: 14px;
}

/* ============================================
   TABLET STYLES (768px+)
   ============================================ */
@media (min-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }

    .hamburger {
        display: none;
    }

    .nav {
        display: block !important;
        position: static;
        border: none;
        padding: 0;
        background: transparent;
        width: auto;
    }

    .nav-list {
        flex-direction: row;
        gap: var(--spacing-lg);
    }

    .nav-link {
        padding: 0;
        border: none;
        position: relative;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--accent-orange);
        transition: width 0.3s ease;
    }

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

    .header-call-btn {
        display: inline-block;
    }

    .hero {
        min-height: 600px;
        padding: var(--spacing-xxl) var(--spacing-md);
    }

    .hero-headline {
        font-size: 44px;
    }

    .hero-subheadline {
        font-size: 20px;
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .hero-buttons .btn {
        width: auto;
    }

    .trust-badges {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .section-title {
        font-size: 36px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        flex-direction: row;
        align-items: center;
        gap: var(--spacing-xl);
    }

    .about-image {
        flex: 1;
        min-height: 400px;
    }

    .about-text {
        flex: 1;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrapper {
        grid-template-columns: 1fr 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================
   DESKTOP STYLES (1024px+)
   ============================================ */
@media (min-width: 1024px) {
    section {
        padding: var(--spacing-xxl) var(--spacing-md);
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .areas-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .contact-wrapper {
        grid-template-columns: 1fr 1.2fr;
    }

    .trust-badges {
        grid-template-columns: repeat(4, 1fr);
        max-width: 100%;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.mt-small {
    margin-top: var(--spacing-sm);
}

.mt-medium {
    margin-top: var(--spacing-md);
}

.mt-large {
    margin-top: var(--spacing-lg);
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }

    html {
        scroll-behavior: auto;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }
}
