/* CSS Variables for unifying the theme */
:root {
    --primary: #0066ff; /* vibrant blue */
    --primary-light: #4d94ff;
    --primary-dark: #0047b3;
    --secondary: #1a1a2e; /* dark navy */
    --accent: #00e676; /* vibrant green for success/whatsapp */
    --text-dark: #2d3748;
    --text-light: #718096;
    --bg-main: #ffffff;
    --bg-light: #f7fafc;
    --border-color: #e2e8f0;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-main);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--secondary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.text-center { text-align: center; }
.text-primary { color: var(--primary) !important; }
.text-white { color: #ffffff !important; }
.text-primary-light { color: var(--primary-light) !important; }
.bg-light { background-color: var(--bg-light); }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 0.5rem; }
.font-weight-bold { font-weight: 700; }

.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 14px 0 rgba(0, 102, 255, 0.39);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(0, 102, 255, 0.05);
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    padding: 15px 0;
}

/* Header */
.glass-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.3);
    z-index: 1000;
    transition: var(--transition);
}

.glass-header.scrolled {
    box-shadow: var(--shadow-sm);
    background: rgba(255, 255, 255, 0.95);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary);
}

.logo i {
    font-size: 2rem;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary);
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px; /* offset header */
    background: #f0f4f8; /* Soft background color, gradient will be applied via JS if no image */
    background-image: linear-gradient(135deg, #e0eafc 0%, #cfdef3 100%);
    overflow: hidden;
}

/* Adding a dynamic decorative blob behind text */
.hero-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,102,255,0.1) 0%, rgba(255,255,255,0) 70%);
    top: 50%;
    transform: translateY(-50%);
    right: -100px;
    border-radius: 50%;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCI+CiAgPHBhdGggZD0iTTIwIDIwYy0xLjEwNSAwLTIgLjg5NS0yIDJzLjg5NSAyIDIgMiAyLS44OTUgMi0ydjJoNHYyaC00Yy0xLjEwNSAwLTIgLjg5NS0yIDJzLjg5NSAyIDIgMiAyLS44OTUgMi0ydjJoMHptMTAgMTBjLTEuMTA1IDAtMiAuODk1LTIgMnMuODk1IDIgMiAyIDItLjg5NSAyLTJ2Mmg0djJoLTRjLTEuMTA1IDAtMiAuODk1LTIgMnMuODk1IDIgMiAyIDItLjg5NSAyLTJ2MmgtNHptLTEwIDEwYy0xLjEwNSAwLTIgLjg5NS0yIDJzLjg5NSAyIDIgMiAyLS44OTUgMi0ydjJoNHYyaC00Yy0xLjEwNSAwLTIgLjg5NS0yIDJzLjg5NSAyIDIgMiAyLS44OTUgMi0ydjJoMnoiIGZpbGw9IiNmZmYiIGZpbGwtb3BhY2l0eT0iMC4wNSIgZmlsbC1ydWxlPSJldmVub2RkIi8+Cjwvc3ZnPg==') repeat;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.hero-images {
    position: relative;
    flex: 1;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img-main {
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    width: 100%;
    position: relative;
    z-index: 2;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.hero-img-sub {
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    width: 55%;
    position: absolute;
    bottom: -30px;
    left: -30px;
    z-index: 3;
    border: 6px solid var(--bg-main);
    object-fit: cover;
    aspect-ratio: 1/1;
}

.hero-text {
    max-width: 650px;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-text h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero-text h1 span {
    color: var(--primary);
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.trust-indicators {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--secondary);
}

.indicator i {
    color: var(--accent);
    font-size: 1.2rem;
}

/* Services Grid */
.grid {
    display: grid;
    gap: 30px;
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background: var(--primary);
    color: white;
    transform: rotate(10deg);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
}

/* Estimator Section */
.estimator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.estimator-benefits {
    margin-top: 30px;
}

.estimator-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 500;
}

.estimator-benefits i {
    background: rgba(0, 102, 255, 0.1);
    padding: 8px;
    border-radius: 50%;
    font-size: 0.9rem;
}

.glass-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    position: relative;
    border: 1px solid rgba(255,255,255,0.5);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--secondary);
}

.form-control {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    background: #fafafa;
    color: var(--text-dark);
    transition: var(--transition);
    appearance: none; /* remove default arrow */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
}

.estimate-result {
    margin-top: 30px;
    padding: 25px;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid var(--accent);
    transform-origin: top;
    animation: slideDown 0.3s ease forwards;
}

.estimate-result.hidden {
    display: none;
}

.estimate-title {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.estimate-price {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 10px;
}

.estimate-note {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

@keyframes slideDown {
    from { opacity: 0; transform: scaleY(0.8); }
    to { opacity: 1; transform: scaleY(1); }
}

/* Gallery Section */
.gallery-section {
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Coverage Area */
.coverage-section {
    background: white;
}

.coverage-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.area-chip {
    padding: 12px 24px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-weight: 500;
    color: var(--secondary);
    transition: var(--transition);
    cursor: default;
}

.area-chip:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 102, 255, 0.2);
}

/* Reviews Section */
.rating-overall {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    font-weight: 500;
}

.rating-overall .stars i {
    color: #f59e0b; /* yellow */
}

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

.review-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-light);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

.text-bg-alt { background: #8b5cf6; }
.text-bg-dark { background: #10b981; }

.user-info h4 {
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.location {
    font-size: 0.9rem;
    color: var(--text-light);
}

.review-card .stars i {
    color: #f59e0b;
    font-size: 0.9rem;
}

.review-text {
    font-style: italic;
    color: var(--text-dark);
}

/* Footer Element */
.footer {
    background: var(--secondary);
    color: var(--text-light);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer h3 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.footer-contact ul li i {
    color: var(--primary-light);
    margin-top: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    font-size: 0.9rem;
}

/* Floating Action Buttons */
.floating-left {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.floating-right {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.fab {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    color: white;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}

.fab-whatsapp {
    background-color: #25D366; /* WhatsApp Green */
}

.fab-whatsapp:hover {
    background-color: #1ebe57;
    transform: scale(1.1);
}

.fab-call {
    background-color: var(--primary);
}

.fab-call:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
}

/* Ping Animation for WhatsApp to draw attention */
.fab-whatsapp::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: ping 2s infinite cubic-bezier(0, 0, 0.2, 1);
    opacity: 0;
}

@keyframes ping {
    75%, 100% {
        transform: scale(1.5);
        opacity: 0;
    }
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-content {
        flex-direction: column;
        gap: 50px;
        text-align: center;
    }
    .hero-text {
        margin-bottom: 20px;
    }
    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .trust-indicators {
        justify-content: center;
    }
    .hero-text h1 { font-size: 3.5rem; }
    .estimator-container { grid-template-columns: 1fr; gap: 40px;}
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hero-img-sub {
        width: 60%;
        bottom: -20px;
        left: -15px;
        border-width: 4px;
    }
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    .section { padding: 60px 0; }
    .nav-links {
        display: none; /* simple mobile menu hiding for now */
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
        gap: 15px;
    }
    .nav-links.active {
        display: flex;
    }
    .header-cta { display: none; }
    .menu-toggle { display: block; }
    
    .hero-text h1 { font-size: 2.8rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 40px;}
    
    .floating-left {
        bottom: 20px;
        left: 20px;
    }
    .floating-right {
        bottom: 20px;
        right: 20px;
    }
    .fab {
        width: 65px;
        height: 65px;
        font-size: 30px;
    }
}

/* WordPress refinements */
body.admin-bar .glass-header {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .glass-header {
        top: 46px;
    }
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

.default-content {
    padding-top: 130px;
    min-height: 50vh;
}

.post-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: 30px;
    margin-bottom: 24px;
}

.entry-title {
    margin-bottom: 12px;
}

.entry-title a:hover {
    color: var(--primary);
}

.entry-meta {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 14px;
}

.entry-content p {
    margin-bottom: 1rem;
}

.nav-links .menu-item {
    list-style: none;
}
