/*! JOZZBY Optimized CSS Bundle - Combined & Minified */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Performance Optimizations */
img {
    max-width: 100%;
    height: auto;
    display: block;
    loading: lazy;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(245, 166, 35, 0.3);
    border-top: 3px solid #f5a623;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    background: #2c2c2c;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
}

.logo img {
    height: 40px;
    width: 40px;
    object-fit: contain;
    z-index: 2;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #f5a623;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #fff;
    transform: translateY(-2px);
}

.mobile-menu {
    display: none;
    background: none;
    border: none;
    color: #f5a623;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Slider - OPTIMIZED */
.hero-slider {
    height: 70vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-top: 70px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
}

/* Slide backgrounds - OPTIMIZED IMAGES */
.slide:nth-child(1) { background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/herobg_optimized.jpg') no-repeat center center/cover; }
.slide:nth-child(2) { background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/skimming_optimized.jpg') no-repeat center center/cover; }
.slide:nth-child(3) { background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/herobg3_optimized.jpg') no-repeat center center/cover; }
.slide:nth-child(4) { background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/360.jpeg') no-repeat center center/cover; }
.slide:nth-child(5) { background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/herobg5_optimized.jpg') no-repeat center center/cover; }
.slide:nth-child(6) { background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/construction.png') no-repeat center center/cover; }

.slide-content {
    max-width: 800px;
    padding: 0 2rem;
    text-align: center;
}

.slide h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #f5a623;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: bold;
}

.slide .service-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #f5a623;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.slide p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-button {
    background: linear-gradient(135deg, #f5a623, #e8941a);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 166, 35, 0.4);
}

/* FIXED Slider Navigation - Clean & Simple */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    z-index: 10;
    user-select: none;
}

.arrow:hover { background: rgba(0, 0, 0, 0.7); }
.arrow.prev { left: 20px; }
.arrow.next { right: 20px; }

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    padding: 10px;
}

.nav-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    border: 2px solid transparent;
}

.nav-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.nav-dot:hover {
    background: rgba(245, 166, 35, 0.7);
    transform: scale(1.1);
    border-color: rgba(245, 166, 35, 0.5);
}

.nav-dot.active {
    background: linear-gradient(135deg, #f5a623, #e8941a);
    transform: scale(1.3);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.3);
}

.nav-dot.active::before {
    opacity: 1;
    animation: pulse-dot 2s infinite;
}

.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #f5a623, #e8941a);
    width: 0;
    border-radius: 0 0 15px 15px;
    animation: progress 5s linear infinite;
}

/* Enhanced Communication Panel */
.communication-panel {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-btn {
    background: linear-gradient(135deg, #f5a623, #e8941a);
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    text-decoration: none;
    min-width: 60px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 166, 35, 0.4);
}

.floating-btn i { font-size: 1.2rem; flex-shrink: 0; }

.btn-text {
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.floating-btn:hover .btn-text {
    opacity: 1;
    max-width: 100px;
    margin-left: 5px;
}

/* Enhanced Tooltips */
.btn-tooltip {
    position: absolute;
    right: 120%;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10002;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: rgba(0, 0, 0, 0.9);
}

.floating-btn:hover .btn-tooltip {
    opacity: 1;
    visibility: visible;
    right: 130%;
}

/* Button Variants */
.whatsapp-btn { background: linear-gradient(135deg, #25D366, #20BA5A); }
.whatsapp-btn:hover { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4); }
.call-btn { background: linear-gradient(135deg, #007BFF, #0056B3); }
.call-btn:hover { box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4); }
.quote-btn { background: linear-gradient(135deg, #f5a623, #e8941a); animation: pulse 2s infinite; }

/* Service Areas with Google Maps */
.service-areas {
    background: #2c2c2c;
    color: white;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

.service-areas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f5a623, #e8941a, #f5a623);
}

.service-areas h3 {
    color: #f5a623;
    margin-bottom: 10px;
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
}

.service-coverage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.areas-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.area-tag {
    background: rgba(245, 166, 35, 0.2);
    color: #f5a623;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.9rem;
    border: 2px solid rgba(245, 166, 35, 0.3);
    transition: all 0.3s ease;
    font-weight: 500;
}

.area-tag.primary {
    background: linear-gradient(135deg, #f5a623, #e8941a);
    color: white;
    border-color: #f5a623;
    font-weight: 600;
}

.area-tag:hover {
    background: rgba(245, 166, 35, 0.3);
    border-color: #f5a623;
    transform: translateY(-2px);
}

.service-map {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.service-map iframe {
    width: 100%;
    height: 350px;
    border: none;
    border-radius: 15px;
}

.map-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(245, 166, 35, 0.9);
    color: white;
    padding: 10px 15px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Social Media Icons - ENHANCED */
.social-links a {
    display: inline-flex;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin: 0 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #fff;
    border: 2px solid transparent;
}

.social-links a i {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

/* Platform-specific hover colors */
.social-links a[href*="facebook"]:hover {
    background: #1877F2;
    border-color: #1877F2;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
}

.social-links a[href*="instagram"]:hover {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D, #F56040, #F77737, #FCAF45, #FFDC80);
    border-color: #E1306C;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(225, 48, 108, 0.4);
}

.social-links a[href*="whatsapp"]:hover,
.social-links a[href*="wa.me"]:hover {
    background: #25D366;
    border-color: #25D366;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.social-links a[href*="tiktok"]:hover {
    background: #000;
    border-color: #ff0050;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 0, 80, 0.4);
}

.social-links a[href*="tiktok"]:hover i {
    background: linear-gradient(45deg, #ff0050, #00f2ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-links a:hover i { transform: scale(1.1); }

/* ANIMATIONS */
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes pulse { 0% { box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3); } 50% { box-shadow: 0 8px 25px rgba(245, 166, 35, 0.6); } 100% { box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3); } }
@keyframes pulse-dot { 0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; } 50% { transform: translate(-50%, -50%) scale(1.5); opacity: 0.5; } }
@keyframes progress { 0% { width: 0%; } 100% { width: 100%; } }

/* MOBILE RESPONSIVE - OPTIMIZED */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(44, 44, 44, 0.95);
        padding: 1rem 0;
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    .nav-links.mobile-open { display: flex; }
    .mobile-menu { display: block; }

    .slide h1 { font-size: 2.5rem; }
    .slide .service-title { font-size: 2rem; }
    .slide p { font-size: 1.1rem; }
    .slide-content { padding: 0 1rem; }

    .arrow { padding: 8px 12px; font-size: 16px; }
    .arrow.prev { left: 10px; }
    .arrow.next { right: 10px; }

    .slider-nav { bottom: 20px; padding: 12px 20px; gap: 12px; }
    .nav-dot { width: 12px; height: 12px; }
    .nav-dot.active { transform: scale(1.2); }

    .communication-panel { bottom: 10px; right: 10px; }
    .floating-btn { padding: 12px 15px; min-width: 50px; }
    .floating-btn:hover .btn-text { max-width: 120px; font-size: 0.8rem; }
    .btn-tooltip { display: none; }

    .service-coverage { grid-template-columns: 1fr; gap: 30px; }
    .coverage-info { text-align: center; }
    .service-map iframe { height: 250px; }
    .areas-list { gap: 8px; justify-content: center; }
    .area-tag { font-size: 0.8rem; padding: 8px 14px; }
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #f5a623, #e8941a);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Accessibility Improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

button:focus,
a:focus,
input:focus,
textarea:focus {
    outline: 2px solid #f5a623;
    outline-offset: 2px;
}

/* Performance - Reduce Paint & Reflow */
.slide,
.floating-btn,
.nav-dot {
    will-change: transform;
}

.hero-slider {
    contain: layout style paint;
}

/* Critical loading performance */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}