/* Custom Styles for Legacy Cleaning Plus - WHERE CLEANING BECOMES ART */

/* ==========================================
   LEGACY CLEANING PLUS BRAND COLORS
   Primary Blue: #214197
   Secondary Gold: #B8860B
   Accent Gold: #FFD700
   Light Gray: #F5F5F5
   Dark: #000000
   ========================================== */

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

html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
}

body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
}

/* Ensure containers don't exceed viewport on mobile */
@media (max-width: 768px) {
    .container {
        max-width: 100% !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* ==========================================
   HERO SECTION - Legacy Branded
   ========================================== */
.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero-swiper .swiper-slide {
    position: relative;
}

/* Gold pagination bullets */
.hero-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #B8860B;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.hero-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: #FFD700;
    width: 30px;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Blue navigation buttons with gold hover */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    color: #FFD700;
    background: rgba(33, 65, 151, 0.7);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 2px solid #B8860B;
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
    background: rgba(184, 134, 11, 0.9);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
    font-size: 20px;
}

/* Responsive Hero Navigation */
@media (max-width: 768px) {
    .hero-swiper .swiper-button-next,
    .hero-swiper .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .hero-swiper .swiper-button-next::after,
    .hero-swiper .swiper-button-prev::after {
        font-size: 16px;
    }
}

/* ==========================================
   HEADER STYLES - Premium Blue/Gold
   ========================================== */
.logo-container img {
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(33, 65, 151, 0.1));
}

.logo-container:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(184, 134, 11, 0.3));
}

/* Navigation Links - Gold accent on hover */
.nav-link {
    position: relative;
    color: #000000;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #B8860B 0%, #FFD700 100%);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #214197;
}

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

/* Mobile Navigation - Blue/Gold gradient */
.mobile-nav-link {
    position: relative;
    padding-left: 1rem;
    transition: all 0.3s ease;
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #FFD700 0%, transparent 100%);
    transition: width 0.3s ease;
    z-index: -1;
}

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

.mobile-nav-link:hover {
    padding-left: 1.5rem;
    color: #FFD700 !important;
}

/* Language Toggle - Blue/Gold theme */
.lang-btn {
    background: transparent;
    color: #666;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    color: #214197;
    border-color: #B8860B;
}

.lang-btn.active {
    background: linear-gradient(135deg, #214197 0%, #B8860B 100%);
    color: white;
    border-color: #B8860B;
    font-weight: 600;
}

/* ==========================================
   BUTTONS - Legacy Blue/Gold Styling
   ========================================== */
.btn-primary {
    background: linear-gradient(135deg, #214197 0%, #1a3270 100%);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(33, 65, 151, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #B8860B 0%, #FFD700 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(184, 134, 11, 0.4);
    border-color: #FFD700;
}

.btn-secondary {
    background: white;
    color: #214197;
    border: 2px solid #214197;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #B8860B 0%, #FFD700 100%);
    color: white;
    border-color: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(184, 134, 11, 0.4);
}

/* ==========================================
   DECORATIVE ELEMENTS - Gold Accents
   ========================================== */
.section-divider {
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #B8860B 50%, transparent 100%);
    margin: 3rem auto;
    max-width: 300px;
}

.gold-underline {
    height: 3px;
    width: 80px;
    background: linear-gradient(90deg, #B8860B 0%, #FFD700 100%);
    margin: 1rem auto;
}

/* ==========================================
   FORM STYLES - Legacy Branded
   ========================================== */
.form-input,
.form-textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #E5E7EB;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #214197;
    box-shadow: 0 0 0 3px rgba(33, 65, 151, 0.1);
}

.form-input:hover,
.form-textarea:hover {
    border-color: #B8860B;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.form-error {
    color: #DC2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Radio Button Styling - Blue/Gold */
.radio-option {
    padding: 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #E5E7EB;
    display: flex;
    align-items: start;
    gap: 0.75rem;
}

.radio-option:hover {
    border-color: #B8860B;
    background: rgba(184, 134, 11, 0.05);
}

.radio-option.selected {
    border-color: #214197;
    background: linear-gradient(135deg, rgba(33, 65, 151, 0.1) 0%, rgba(184, 134, 11, 0.1) 100%);
}

.radio-option input[type="radio"] {
    accent-color: #214197;
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* ==========================================
   SERVICE CARDS - Premium Styling
   ========================================== */
.service-card {
    transition: all 0.3s ease;
    border: 1px solid #E5E7EB;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(33, 65, 151, 0.15);
    border-color: #B8860B;
}

.service-card:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #214197 0%, #B8860B 50%, #FFD700 100%);
    border-radius: 0.75rem 0.75rem 0 0;
}

/* ==========================================
   BEFORE/AFTER SLIDER - Enhanced
   ========================================== */
.before-after-slider {
    position: relative;
    overflow: hidden;
    cursor: ew-resize;
    user-select: none;
}

.before-image-wrapper {
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
}

.slider-handle {
    background: linear-gradient(180deg, #214197 0%, #B8860B 100%);
    box-shadow: 0 0 15px rgba(33, 65, 151, 0.5);
}

.slider-handle > div {
    background: linear-gradient(135deg, #214197 0%, #B8860B 100%);
    border: 3px solid #FFD700;
}

.slider-handle:hover {
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.7);
}

/* ==========================================
   PAIN POINTS CARDS - Legacy Styling
   ========================================== */
.pain-point-card {
    transition: all 0.3s ease;
}

.pain-point-card:hover {
    transform: translateX(8px);
    box-shadow: -4px 0 0 0 #B8860B, 0 10px 30px rgba(33, 65, 151, 0.15);
}

/* ==========================================
   STATS CARDS - Unique Legacy Design
   ========================================== */
.bg-gradient-to-br {
    position: relative;
    overflow: hidden;
}

.bg-gradient-to-br::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-10%, -10%); }
}

/* ==========================================
   WHATSAPP BUTTON - Legacy Styled
   ========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    border: 3px solid #FFD700;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    border-color: #B8860B;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 26px;
        bottom: 20px;
        right: 20px;
    }
}

/* ==========================================
   SCROLL ANIMATIONS - Enhanced
   ========================================== */
[data-aos] {
    transition-property: transform, opacity;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

/* ==========================================
   FOOTER - Premium Dark with Gold
   ========================================== */
footer {
    background: linear-gradient(135deg, #000000 0%, #1a3270 50%, #214197 100%);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #B8860B 0%, #FFD700 50%, #B8860B 100%);
}

footer a:hover {
    color: #FFD700 !important;
}

/* ==========================================
   UTILITY CLASSES - Legacy Theme
   ========================================== */
.text-primary {
    color: #214197 !important;
}

.text-secondary {
    color: #B8860B !important;
}

.text-accent {
    color: #FFD700 !important;
}

.bg-primary {
    background-color: #214197 !important;
}

.bg-secondary {
    background-color: #B8860B !important;
}

.bg-accent {
    background-color: #FFD700 !important;
}

.border-primary {
    border-color: #214197 !important;
}

.border-secondary {
    border-color: #B8860B !important;
}

.border-accent {
    border-color: #FFD700 !important;
}

/* Gold glow effect for special elements */
.gold-glow {
    box-shadow: 0 0 20px rgba(184, 134, 11, 0.5);
}

.gold-glow:hover {
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.7);
}

/* ==========================================
   RESPONSIVE ADJUSTMENTS
   ========================================== */
@media (max-width: 1024px) {
    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .btn-primary,
    .btn-secondary {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .gold-underline {
        width: 60px;
    }
}

/* ==========================================
   PRINT STYLES
   ========================================== */
@media print {
    .whatsapp-float,
    .swiper-button-next,
    .swiper-button-prev,
    .swiper-pagination {
        display: none !important;
    }
}
