/*
Theme Name: Omni Shine
Theme URI: https://omnishine.co.uk
Author: Omni Shine
Author URI: https://omnishine.co.uk
Description: Mobile-first professional cleaning services theme for Omni Shine - Optimized for local SEO and conversions
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: omnishine
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Header - Mobile First */
.header {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    color: white;
}

.logo::before {
    content: "✨";
    font-size: 1.6rem;
}

.header-cta {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.email-link {
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 0.8rem;
    background: rgba(255,255,255,0.2);
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.email-link:hover,
.email-link:active {
    background: rgba(255,255,255,0.3);
}

/* Hero Section - Mobile First */
.hero {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.95) 0%, rgba(59, 130, 246, 0.95) 100%), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23e0e7ff" width="1200" height="600"/><circle fill="%23c7d2fe" cx="200" cy="100" r="80"/><circle fill="%23c7d2fe" cx="800" cy="400" r="100"/><circle fill="%23a5b4fc" cx="1000" cy="150" r="60"/></svg>');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 2.5rem 15px;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 10px;
}

.btn {
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 140px;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background: #fbbf24;
    color: #1e40af;
}

.btn-primary:hover,
.btn-primary:active {
    background: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}

.btn-secondary {
    background: white;
    color: #1e40af;
}

.btn-secondary:hover,
.btn-secondary:active {
    background: #f3f4f6;
    transform: translateY(-2px);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Sections - Mobile First */
.section {
    padding: 2.5rem 15px;
}

.section-light {
    background: #f9fafb;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 1.6rem;
    color: #1e40af;
    margin-bottom: 2rem;
    line-height: 1.3;
    padding: 0 10px;
}

/* Services Grid - Mobile First */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.service-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.service-card:active {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.service-card h3 {
    color: #1e40af;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.service-card p {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.service-card ul {
    list-style: none;
    margin-top: 0.75rem;
}

.service-card li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
}

.service-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Areas Served - Mobile First */
.areas-served {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.areas-served > p {
    font-size: 0.95rem;
    padding: 0 5px;
}

.areas-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.area-item {
    padding: 0.6rem;
    background: #eff6ff;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
    color: #1e40af;
    font-size: 0.85rem;
}

/* Testimonials - Mobile First */
.testimonials {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.testimonial {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.stars {
    color: #fbbf24;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 0.75rem;
    color: #4b5563;
    font-size: 0.95rem;
}

.testimonial-author {
    font-weight: 600;
    color: #1e40af;
    font-size: 0.9rem;
}

/* Client Showcase - Mobile First */
.client-showcase {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    margin: 1.5rem auto;
}

.client-showcase h3 {
    color: #1e40af;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.client-logo-placeholder {
    background: #eff6ff;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.25rem 0;
    font-size: 1.5rem;
    color: #1e40af;
    font-weight: 700;
    line-height: 1.4;
}

.client-showcase p {
    font-size: 0.95rem;
}

/* Contact Form - Mobile First */
.contact-form {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group select {
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23374151" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25rem;
    padding-right: 2.5rem;
}

/* Features - Mobile First */
.features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-top: 1.5rem;
}

.feature {
    text-align: center;
    padding: 0 10px;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.feature h3 {
    color: #1e40af;
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}

.feature p {
    font-size: 0.95rem;
}

/* Footer - Mobile First */
.footer {
    background: #1f2937;
    color: white;
    padding: 2.5rem 15px 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer h4 {
    color: #fbbf24;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.footer ul {
    list-style: none;
}

.footer li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer a {
    color: #d1d5db;
    text-decoration: none;
}

.footer a:hover,
.footer a:active {
    color: #fbbf24;
}

.footer p {
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Sticky CTA - Mobile Optimized */
.sticky-cta {
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 999;
}

.sticky-cta .btn {
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    animation: pulse 2s infinite;
    font-size: 0.95rem;
    padding: 0.85rem 1.25rem;
}

/* Success/Error Messages */
.success-message {
    background: #d1fae5;
    color: #065f46;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.25rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
}

.error-message {
    background: #fee2e2;
    color: #991b1b;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.25rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1f2937;
    color: white;
    padding: 1rem 15px;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    display: none;
}

.cookie-consent.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

.cookie-text {
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-text a {
    color: #fbbf24;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.cookie-btn {
    padding: 0.6rem 1.25rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.cookie-accept {
    background: #fbbf24;
    color: #1e40af;
}

.cookie-decline {
    background: #374151;
    color: white;
}

/* Privacy Notice */
.privacy-notice {
    background: #eff6ff;
    padding: 1rem;
    border-left: 4px solid #3b82f6;
    margin: 1.5rem 0;
    font-size: 0.85rem;
    border-radius: 4px;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Tablet Styles (576px and up) */
@media (min-width: 576px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.15rem;
    }
    
    .section-title {
        font-size: 1.9rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .areas-list {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .client-logo-placeholder {
        font-size: 2rem;
    }
    
    .cookie-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* Desktop Styles (768px and up) */
@media (min-width: 768px) {
    .section {
        padding: 4rem 20px;
    }
    
    .hero {
        padding: 4rem 20px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .logo {
        font-size: 1.8rem;
    }
    
    .logo::before {
        font-size: 2rem;
    }
    
    .email-link {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
    }
    
    .btn {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .areas-list {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .features {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .contact-form {
        padding: 2.5rem;
    }
    
    .client-showcase {
        padding: 3rem 2rem;
    }
    
    .client-logo-placeholder {
        font-size: 2.5rem;
    }
    
    .sticky-cta {
        bottom: 20px;
        right: 20px;
    }
    
    .sticky-cta .btn {
        font-size: 1.1rem;
        padding: 1rem 2rem;
    }
}

/* Large Desktop (1024px and up) */
@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .testimonials {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    }
}

/* Print Styles */
@media print {
    .header,
    .sticky-cta,
    .cookie-consent,
    .cta-buttons {
        display: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .btn {
        border: 2px solid currentColor;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}