/*
EcoShine Services Custom Styles
Eco-friendly cleaning company theme customizations
*/

/* ===== ECOSHINE BRAND COLORS - PROFESSIONAL WATER & GREEN ===== */
:root {
    --ecoshine-primary: #1B4D3E;     /* Deep Forest Green */
    --ecoshine-secondary: #2E8B7A;    /* Teal Green */
    --ecoshine-accent: #4A90A4;      /* Water Blue */
    --ecoshine-light: #87CEEB;       /* Sky Blue */
    --ecoshine-dark: #0F2A1F;        /* Dark Forest */
    --ecoshine-water: #5DADE2;       /* Professional Blue */
    --ecoshine-white: #F0F8FF;       /* Alice Blue */
    --ecoshine-mint: #E8F6F3;        /* Mint White */
}

/* ===== HEADER CUSTOMIZATIONS ===== */
.site-header {
    background: linear-gradient(135deg, #0F2A1F 0%, #1B4D3E 50%, #2E8B7A 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-bottom: none;
    position: relative;
    overflow: hidden;
}

.site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.08) 0%, transparent 50%, rgba(255,255,255,0.03) 100%);
    pointer-events: none;
}

/* ===== PROFESSIONAL CLEANING LOGO ===== */
.ecoshine-custom-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.2);
    padding: 15px 25px;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.ecoshine-custom-logo:hover {
    transform: scale(1.08);
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.logo-circle {
    position: relative;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #87CEEB 0%, #4A90A4 50%, #2E8B7A 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 2px 5px rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.4);
    overflow: hidden;
}

.sparkle {
    position: absolute;
    font-size: 12px;
    color: white;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    animation: sparkleFloat 3s ease-in-out infinite;
}

.sparkle-1 {
    top: 8px;
    left: 12px;
    animation-delay: 0s;
}

.sparkle-2 {
    top: 15px;
    right: 8px;
    animation-delay: 1s;
}

.sparkle-3 {
    bottom: 10px;
    left: 8px;
    animation-delay: 2s;
}

@keyframes sparkleFloat {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.water-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    border-radius: 0 0 50px 50px;
    animation: waveFlow 2s ease-in-out infinite;
}

@keyframes waveFlow {
    0%, 100% { transform: translateX(-10px); opacity: 0.5; }
    50% { transform: translateX(10px); opacity: 0.8; }
}

.leaf-icon {
    font-size: 24px;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    animation: leafBounce 4s ease-in-out infinite;
}

@keyframes leafBounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
}

.leaf::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1px;
    height: 20px;
    background: var(--ecoshine-primary);
    transform: translate(-50%, -50%) rotate(-45deg);
}

@keyframes waterShimmer {
    0%, 100% { opacity: 1; transform: rotate(-45deg) scale(1); }
    50% { opacity: 0.8; transform: rotate(-45deg) scale(1.1); }
}

@keyframes leafSway {
    0%, 100% { transform: rotate(45deg); }
    50% { transform: rotate(50deg); }
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text .eco {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7), 0 0 10px rgba(46, 139, 122, 0.5);
    letter-spacing: -1px;
}

.logo-text .shine {
    font-size: 2rem;
    font-weight: 800;
    color: #87CEEB;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7), 0 0 10px rgba(135, 206, 235, 0.5);
    margin-left: -5px;
    letter-spacing: -1px;
}

.logo-text .services {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: -3px;
}

.site-header .site-branding {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-header .site-branding a {
    display: block;
    margin-bottom: 0;
    flex-shrink: 0;
}

.site-branding-text {
    flex-grow: 1;
}

.site-header .site-branding .site-description {
    color: var(--ecoshine-white) !important;
    font-style: italic;
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: left;
}

/* ===== LOGO STYLING ===== */
.logo {
    max-width: 200px;
    width: 100%;
    height: auto;
    display: block;
    margin: 15px 0;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(135,206,235,0.1) 100%);
    padding: 8px;
    backdrop-filter: blur(5px);
    border: 2px solid rgba(46,139,122,0.2);
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.25));
    border-color: rgba(46,139,122,0.4);
}

.ecoshine-custom-logo {
    max-width: 260px;
    width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
    background: linear-gradient(135deg, var(--ecoshine-primary) 0%, var(--ecoshine-water) 50%, var(--ecoshine-secondary) 100%);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    border: 3px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.ecoshine-custom-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.25));
}

.site-header .site-branding h1.site-title a:hover,
.site-header .site-branding p.site-title a:hover {
    color: var(--ecoshine-light) !important;
}

/* ===== NAVIGATION MENU ===== */
.main-navigation ul li a {
    color: var(--ecoshine-white) !important;
    font-weight: 600;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.main-navigation ul li:hover > a,
.main-navigation ul li a:hover {
    color: var(--ecoshine-light) !important;
    transform: translateY(-2px);
}

.main-navigation ul li a:hover {
    border-bottom: 3px solid var(--ecoshine-light) !important;
}

/* ===== BUTTONS & CALL-TO-ACTION ===== */
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.more-link {
    background: linear-gradient(135deg, var(--ecoshine-primary) 0%, var(--ecoshine-accent) 100%);
    border: none;
    border-radius: 25px;
    color: white;
    padding: 12px 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 139, 87, 0.3);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.button:hover,
.more-link:hover {
    background: linear-gradient(135deg, var(--ecoshine-accent) 0%, var(--ecoshine-dark) 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 139, 87, 0.4);
}

/* ===== ECOSHINE SERVICES SECTION ===== */
.ecoshine-services {
    background: linear-gradient(135deg, var(--ecoshine-mint) 0%, var(--ecoshine-white) 50%, #f0f8ff 100%);
    padding: 80px 0;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.ecoshine-services::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(135, 206, 235, 0.1) 0%, transparent 70%);
    animation: waterFlow 20s linear infinite;
    pointer-events: none;
}

@keyframes waterFlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ecoshine-services h2 {
    text-align: center;
    color: var(--ecoshine-primary);
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
}

.ecoshine-services h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--ecoshine-secondary);
    margin: 20px auto;
    border-radius: 2px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fdff 100%);
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(27, 77, 62, 0.1), 0 4px 15px rgba(74, 144, 164, 0.1);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(135, 206, 235, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(27, 77, 62, 0.15), 0 8px 25px rgba(74, 144, 164, 0.2);
    border-color: var(--ecoshine-accent);
    background: linear-gradient(145deg, #ffffff 0%, #f0f8ff 100%);
}

.service-icon {
    font-size: 3rem;
    color: var(--ecoshine-primary);
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    color: var(--ecoshine-primary);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

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

/* ===== ECO-FRIENDLY BADGES ===== */
.eco-badge {
    display: inline-block;
    background: var(--ecoshine-secondary);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 5px;
    box-shadow: 0 2px 8px rgba(50, 205, 50, 0.3);
}

.eco-features {
    background: var(--ecoshine-primary);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.eco-features h3 {
    color: white;
    margin-bottom: 30px;
}

/* ===== TESTIMONIALS SECTION ===== */
.ecoshine-testimonials {
    background: #f8fff8;
    padding: 60px 0;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin: 20px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--ecoshine-secondary);
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--ecoshine-primary);
}

/* ===== CONTACT SECTION ===== */
.ecoshine-contact {
    background: linear-gradient(135deg, var(--ecoshine-primary) 0%, var(--ecoshine-accent) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.ecoshine-contact h2 {
    color: white;
    margin-bottom: 30px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-item {
    text-align: center;
}

.contact-item i {
    font-size: 2rem;
    margin-bottom: 15px;
    color: white;
    background: var(--ecoshine-secondary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    box-shadow: 0 4px 15px rgba(46, 139, 122, 0.3);
}

.contact-item h4 {
    color: white;
    margin-bottom: 10px;
}

.contact-item p {
    color: var(--ecoshine-light);
}

/* ===== FOOTER CUSTOMIZATIONS ===== */
.site-footer .footer-main {
    background: linear-gradient(135deg, #1a5d3a 0%, var(--ecoshine-dark) 100%);
}

.site-footer .bottom-bar {
    background: var(--ecoshine-dark);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Mobile First - Base styles for mobile */
.site-header .site-branding {
    flex-direction: column;
    text-align: center;
    gap: 10px;
}

.logo {
    max-width: 150px;
}

.main-navigation ul {
    flex-direction: column;
    gap: 10px;
}

/* Tablet - 768px and up */
@media (min-width: 768px) {
    .site-header .site-branding {
        flex-direction: row;
        text-align: left;
        gap: 20px;
    }
    
    .logo {
        max-width: 180px;
    }
    
    .main-navigation ul {
        flex-direction: row;
        gap: 20px;
    }
    
    .ecoshine-hero h1 {
        font-size: 2.5rem;
    }
    
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop - 1024px and up */
@media (min-width: 1024px) {
    .logo {
        max-width: 200px;
    }
    
    .ecoshine-hero h1 {
        font-size: 3.5rem;
    }
    
    .service-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile specific adjustments */
@media (max-width: 767px) {
    .site-header {
        padding: 15px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .ecoshine-hero {
        padding: 60px 0;
        text-align: center;
    }
    
    .ecoshine-hero h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .ecoshine-hero p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .hero-cta .button {
        display: block;
        margin: 10px auto;
        width: 80%;
        max-width: 250px;
    }
    
    .ecoshine-services {
        padding: 40px 0;
    }
    
    .ecoshine-services h2 {
        font-size: 1.8rem;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 20px;
        margin: 0 10px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .testimonial-card {
        margin: 10px;
        padding: 20px;
    }
    
    .footer-main .widget-count-3 {
        width: 100% !important;
        float: none !important;
        margin-right: 0 !important;
        margin-bottom: 30px;
    }
    
    .main-navigation ul {
        padding: 10px 0;
    }
    
    .main-navigation ul li {
        margin: 5px 0;
    }
    
    .main-navigation ul li a {
        padding: 10px 15px;
        display: block;
        text-align: center;
        border-radius: 5px;
        background: rgba(255,255,255,0.1);
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover {
        transform: none;
    }
    
    .logo:hover {
        transform: none;
    }
    
    .button {
        min-height: 44px;
        padding: 12px 20px;
    }
    
    .main-navigation ul li a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* ===== CLEANING SPECIFIC ICONS ===== */
.cleaning-icon-home:before { content: "🏠"; }
.cleaning-icon-office:before { content: "🏢"; }
.cleaning-icon-eco:before { content: "🌿"; }
.cleaning-icon-deep:before { content: "✨"; }
.cleaning-icon-carpet:before { content: "🧽"; }
.cleaning-icon-window:before { content: "🪟"; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* ===== HERO SECTION ===== */
.ecoshine-hero {
    background: linear-gradient(135deg, rgba(27, 77, 62, 0.95) 0%, rgba(74, 144, 164, 0.9) 50%, rgba(46, 139, 122, 0.95) 100%), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="water" patternUnits="userSpaceOnUse" width="60" height="60"><circle cx="30" cy="30" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="15" cy="45" r="1" fill="rgba(135,206,235,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23water)"/></svg>');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ecoshine-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(135, 206, 235, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.ecoshine-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.hero-cta {
    margin-top: 40px;
}

.hero-cta .button {
    font-size: 1.2rem;
    padding: 15px 35px;
    margin: 0 10px;
}

/* ===== SPECIALTY STYLES ===== */
.green-highlight {
    color: var(--ecoshine-primary);
    font-weight: 600;
}

.eco-friendly-badge {
    background: var(--ecoshine-secondary);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-left: 10px;
}