/* ===== HOME PAGE SPECIFIC STYLES ===== */
/* This file contains only styles specific to the home page */
/* Common styles like header, footer, navigation are in custom.css */

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, #dc2626 0%, #dc2626 45%, #1f1f1f 55%, #1f1f1f 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero .company-name {
    color: #fbbf24;
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
}

.hero .owner-info {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-lightning {
    position: absolute;
    top: 20%;
    right: 10%;
    font-size: 8rem;
    color: #fbbf24;
    opacity: 0.1;
    transform: rotate(15deg);
    z-index: 1;
}

/* ===== CTA BUTTONS ===== */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== SECTIONS ===== */
.section {
    padding: 4rem 0;
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.section.active {
    display: block;
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.section h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #dc2626, #fbbf24);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== SERVICES GRID ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border-left: 4px solid #dc2626;
    border-top: 2px solid #fbbf24;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-top: 30px solid #fbbf24;
    opacity: 0.1;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(251,191,36,0.3) 0%, rgba(220,38,38,0.1) 50%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(220,38,38,0.3);
    border-left-color: #fbbf24;
}

.service-card:hover::after {
    width: 150%;
    height: 150%;
}

.service-card h3,
.service-card p,
.service-icon {
    position: relative;
    z-index: 1;
}

.service-card h3 {
    color: #dc2626;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fbbf24;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

/* ===== COMPANY STATS ===== */
.stats {
    background: linear-gradient(135deg, #1f1f1f 0%, #1f1f1f 50%, #dc2626 50%, #dc2626 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stats::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23fbbf24"><path d="M7 2v11h3v9l7-12h-4l3-8z"/></svg>');
    background-size: 120px auto;
    background-repeat: no-repeat;
    background-position: center center;
    opacity: 0.15;
    z-index: 1;
}

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

.stat-item h3 {
    font-size: 2.5rem;
    color: #fbbf24;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* ===== LICENSES SECTION ===== */
.licenses {
    background: #f8f9fa;
    padding: 2rem 0;
    text-align: center;
}

.licenses-heading {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f1f1f;
    margin-bottom: 1rem;
}

.license-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.license-item {
    background: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border: 2px solid #fbbf24;
}

.license-item strong {
    color: #dc2626;
    font-size: 1.1rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    background: #f3f4f6;
    padding: 4rem 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #fbbf24;
}

.stars {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* ===== CONTACT FORM ===== */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
    border-top: 4px solid #dc2626;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #1f1f1f;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #fbbf24;
    box-shadow: 0 0 0 3px rgba(251,191,36,0.1);
}

/* ===== SERVICE AREA SECTION ===== */
.service-area-section {
    background: white;
    padding: 4rem 0;
}

.service-area-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1f1f1f;
    position: relative;
}

.service-area-section h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #dc2626, #fbbf24);
}

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

.area-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #dc2626;
    border-top: 2px solid #fbbf24;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.area-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-top: 30px solid #fbbf24;
    opacity: 0.1;
}

.area-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(220,38,38,0.2);
    border-left-color: #fbbf24;
}

.area-section h3 {
    color: #dc2626;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: bold;
    position: relative;
    z-index: 1;
}

.area-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

.area-section li {
    color: #666;
    margin-bottom: 0.5rem;
    padding-left: 20px;
    position: relative;
    transition: color 0.3s ease;
}

.area-section li::before {
    content: "⚡";
    color: #fbbf24;
    font-size: 0.8rem;
    position: absolute;
    left: 0;
    top: 0;
}

.area-section:hover li {
    color: #333;
}

.service-note {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

/* ===== SERVICE MAP SECTION ===== */
.service-map-section {
    background: #f8f9fa;
    padding: 4rem 0;
}

.service-map-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1f1f1f;
    position: relative;
}

.service-map-section h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #dc2626, #fbbf24);
}

.map-container {
    position: relative;
    margin: 2rem 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.google-map {
    position: relative;
    width: 100%;
    height: 400px;
}

.google-map iframe {
    border-radius: 15px;
}

.map-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    z-index: 10;
}

.map-legend h4 {
    color: #dc2626;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: bold;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #333;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.legend-dot.primary {
    background: #dc2626;
    box-shadow: 0 0 10px rgba(220,38,38,0.5);
}

.legend-dot.secondary {
    background: #fbbf24;
    box-shadow: 0 0 10px rgba(251,191,36,0.5);
}

.legend-dot.tertiary {
    background: #1f1f1f;
}

/* Mobile Responsive Styles for Map */
@media (max-width: 768px) {
    /* Hide the overlay on mobile to show full map */
    .map-overlay {
        display: none;
    }
    
    /* Reduce map height slightly on mobile */
    .google-map {
        height: 300px;
    }
    

    
    /* Create mobile legend below map */
    .mobile-map-legend {
        display: block;
        background: rgba(255, 255, 255, 0.95);
        padding: 1rem;
        border-radius: 0 0 15px 15px;
        border-top: 1px solid #e5e7eb;
        margin-top: -1px;
    }
    
    .mobile-map-legend h4 {
        color: #dc2626;
        margin-bottom: 0.5rem;
        font-size: 1rem;
        font-weight: bold;
        text-align: center;
    }
    
    .mobile-legend-items {
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .mobile-legend-item {
        display: flex;
        align-items: center;
        font-size: 0.8rem;
        color: #333;
    }
    
    .mobile-legend-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        margin-right: 0.4rem;
        flex-shrink: 0;
    }
    
    .mobile-legend-dot.primary {
        background: #dc2626;
        box-shadow: 0 0 5px rgba(220,38,38,0.5);
    }
    
    .mobile-legend-dot.secondary {
        background: #fbbf24;
        box-shadow: 0 0 5px rgba(251,191,36,0.5);
    }
    
    .mobile-legend-dot.tertiary {
        background: #1f1f1f;
    }
    
    .map-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .map-info-card {
        padding: 1.5rem;
    }
}

/* Desktop - hide mobile legend */
.mobile-map-legend {
    display: none;
}

.custom-service-map {
    margin: 2rem 0;
}

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

.map-info-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #dc2626;
    border-top: 2px solid #fbbf24;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.map-info-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-top: 30px solid #fbbf24;
    opacity: 0.1;
}

.map-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(220,38,38,0.2);
    border-left-color: #fbbf24;
}

.map-info-card h3 {
    color: #dc2626;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.map-info-card p {
    color: #666;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.map-info-card strong {
    color: #1f1f1f;
}

.service-area-links {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-top: 4px solid #dc2626;
}

.service-area-links h3 {
    color: #dc2626;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.area-quick-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.area-link {
    background: #f8f9fa;
    color: #dc2626;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #dc2626;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.area-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(251,191,36,0.4), transparent);
    transition: left 0.4s;
}

.area-link:hover::before {
    left: 100%;
}

.area-link:hover {
    background: #dc2626;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220,38,38,0.3);
}

/* ===== CAROUSEL/SPLIDE ENHANCEMENTS ===== */
.splide__arrow {
    width: 70px;
    height: 70px;
    background: #fbbf24 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    border-radius: 50% !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3) !important;
    transition: all 0.3s ease !important;
}

.splide__arrow:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.5) !important;
}

.splide__arrow svg {
    width: 32px !important;
    height: 32px !important;
    display: block !important;
    margin: 0 auto !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    flex-shrink: 0 !important;
    fill: #1f1f1f !important;
}

.splide__arrow--prev {
    left: 20px !important;
}

.splide__arrow--next {
    right: 20px !important;
}

.splide__slide .item {
    height: 100%;
    min-height: 400px;
}

.splide__slide .container {
    height: 100%;
}

@keyframes swipeDemo {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

.swipe-demo-animation {
    animation: swipeDemo 2s ease-in-out infinite;
}

/* Force Tailwind background colors for carousels */
.splide.bg-red-600 {
    background-color: #dc2626 !important;
}

.splide.bg-blue-600 {
    background-color: #2563eb !important;
}

.splide.bg-gray-50 {
    background-color: #f9fafb !important;
}

.splide.bg-white {
    background-color: #ffffff !important;
}

/* ===== LIGHTNING EFFECTS ===== */
.lightning-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
}

.lightning-effect {
    position: relative;
}

.lightning-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(251,191,36,0.8) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: -1;
}

.lightning-effect:hover::after {
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(251,191,36,0.2) 0%, rgba(220,38,38,0.1) 50%, transparent 70%);
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero .company-name {
        font-size: 2.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .license-info {
        flex-direction: column;
        align-items: center;
    }

    .map-overlay {
        position: relative;
        top: auto;
        right: auto;
        margin-top: 1rem;
        background: white;
        border: 2px solid #fbbf24;
    }

    .map-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .area-quick-links {
        flex-direction: column;
        align-items: center;
    }

    .area-link {
        width: 200px;
        text-align: center;
    }

    .mobile-image-container {
        height: 250px !important;
        min-height: 250px !important;
    }
    
    .mobile-content-container {
        min-height: 300px !important;
    }
    
    .splide__arrow {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .hero .company-name {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .section h2 {
        font-size: 2rem;
    }
}