:root {
    --primary-color: #2b2d42; /* Deep modern blue/slate */
    --secondary-color: #ef233c; /* Accent color matching a swatch */
    --light-bg: #f8f9fa;
    --dark-bg: #1a1a1d;
    --text-main: #333333;
    --text-muted: #6c757d;
    --white: #ffffff;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 8px;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.15);
}

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

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

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

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-center { text-align: center; }
.bg-light { background-color: var(--light-bg); }
.bg-dark { background-color: var(--dark-bg); color: var(--white); }
.bg-dark h2, .bg-dark p { color: var(--white); }
.mt-3 { margin-top: 1.5rem; }

.section-padding {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 3rem;
    max-width: 600px;
}
.text-center.section-header {
    margin: 0 auto 3rem;
}
.section-header p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--border-radius);
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}
.btn-primary:hover {
    background-color: #1a1b26;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
}
.btn-secondary:hover {
    background-color: var(--light-bg);
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}
.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}
.btn-block {
    display: block;
    width: 100%;
    padding: 1rem;
}

/* Navbar */
/* Using flexbox for solid layout */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.5rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 80px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    position: relative;
    color: var(--primary-color);
}
.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}
.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.mobile-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 4px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transform: scale(1.0);
    transition: opacity 1.5s ease-in-out, transform 8s linear;
}

.hero-img.active {
    opacity: 1;
    transform: scale(1.05); /* Slight zoom for modern feel */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(20,20,25,0.9) 0%, rgba(20,20,25,0.6) 50%, rgba(20,20,25,0.2) 100%);
}

.hero-content {
    color: var(--white);
    max-width: 700px;
    z-index: 2; /* Needs to be above bg */
}

.hero-content h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

/* Trust Banner */
.trust-banner {
    background: var(--white);
    padding: 1.5rem 0;
    border-bottom: 1px solid #eaeaea;
    transform: translateY(-50%);
    width: 90%;
    max-width: 600px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 10;
}

.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.trust-logo {
    height: 50px;
    border-radius: 50%;
}

.trust-text {
    display: flex;
    flex-direction: column;
}
.trust-text span {
    font-size: 0.9rem;
    color: var(--primary-color);
}

/* Services */
.full-width-card {
    background: var(--light-bg);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 3rem;
    border: 1px solid #eaeaea;
    transition: var(--transition);
}
.full-width-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}
.full-width-card .service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}
.full-width-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}
.full-width-card p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #eaeaea;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

/* Portfolio */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 300px;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left top;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(43, 45, 66, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay span {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.review-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid #eaeaea;
    transition: var(--transition);
}
.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.review-stars {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}
.review-text {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}
.review-author {
    font-weight: 600;
    color: var(--primary-color);
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}
.shadow-img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.contact-row .icon {
    font-size: 1.5rem;
}
.text-link {
    color: #a8dadc;
}
.text-link:hover {
    text-decoration: underline;
}
.footer-logo {
    max-width: 150px;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    color: var(--text-main);
}
.contact-form h3 { margin-bottom: 1.5rem; }

.form-group {
    margin-bottom: 1.25rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(43,45,66,0.1);
}

footer {
    padding: 2rem 0;
    border-top: 1px solid #eaeaea;
    background: var(--white);
    color: var(--text-muted);
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.social-links a {
    color: var(--primary-color);
    font-weight: 600;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 991px) {
    .hero-content h1 { font-size: 3rem; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
    }
    .nav-links.active {
        left: 0;
    }
    .mobile-toggle {
        display: block;
    }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-cta { flex-direction: column; }
    .trust-banner { transform: translateY(20px); width: 100%; margin-bottom: 2rem; }
    .services-grid, .gallery-grid { grid-template-columns: 1fr; }
}

/* ─── Sub-page hero ─── */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a1a2e 100%);
    padding: 9rem 0 4rem;
    color: var(--white);
    min-height: 40vh;
    display: flex;
    align-items: center;
}
.page-hero h1 { color: var(--white); font-size: 3rem; margin-bottom: 0.75rem; }
.page-hero .page-hero-sub { font-size: 1.1rem; opacity: 0.85; margin: 0 0 1.5rem; }
.page-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ─── Breadcrumb ─── */
.breadcrumb { font-size: 0.85rem; opacity: 0.65; margin-bottom: 0.75rem; }
.breadcrumb a { color: var(--white); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: rgba(255,255,255,0.9); }

/* ─── Page content ─── */
.page-content { padding: 4rem 0; }
.page-content-inner { max-width: 800px; margin: 0 auto; }
.page-content h2 { margin-top: 0; color: var(--primary-color); }
.page-content h3 { margin-top: 2rem; color: var(--primary-color); }
.page-content p { color: var(--text-muted); margin-bottom: 1rem; line-height: 1.7; }
.page-content strong { color: var(--text-main); }

/* ─── Check list ─── */
.check-list { list-style: none; margin: 1rem 0 1.5rem; }
.check-list li { padding: 0.4rem 0; color: var(--text-muted); }
.check-list li::before { content: '✅ '; }

/* ─── FAQ accordions ─── */
.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
}
.faq-item summary {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--primary-color);
    font-family: var(--font-heading);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item summary::after { content: '+'; font-size: 1.25rem; }
details[open] summary::after { content: '−'; }
.faq-item p { padding: 0 1.5rem 1.25rem; color: var(--text-muted); margin: 0; }

/* ─── CTA box ─── */
.cta-box {
    background: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    margin-top: 2.5rem;
    border: 1px solid #e5e7eb;
}
.cta-box h3 { margin: 0 0 0.75rem; }
.cta-box p { margin-bottom: 0; }
.cta-box-buttons { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.25rem; }

/* ─── Mobile sticky contact bar ─── */
.mobile-contact-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    grid-template-columns: 1fr 1fr;
}
.mob-btn {
    display: block;
    text-align: center;
    padding: 1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--white);
    text-decoration: none;
}
.call-btn { background: var(--primary-color); }
.call-btn:hover { background: #1a1b26; color: var(--white); }
.sms-btn { background: var(--secondary-color); }
.sms-btn:hover { background: #c9001e; color: var(--white); }

/* ─── Enhanced footer ─── */
.site-footer {
    background: var(--primary-color);
    color: rgba(255,255,255,0.75);
    padding: 3rem 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
}
.footer-grid h4 {
    color: var(--white);
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 0.4rem; }
.footer-grid ul a { color: rgba(255,255,255,0.65); font-size: 0.875rem; }
.footer-grid ul a:hover { color: var(--white); }
.footer-brand-text { color: rgba(255,255,255,0.55); font-size: 0.875rem; margin-top: 0.5rem; line-height: 1.6; }
.footer-brand-contact { margin-top: 1rem; }
.footer-brand-contact a { color: rgba(255,255,255,0.8); font-size: 0.9rem; display: block; margin-bottom: 0.3rem; }
.footer-brand-contact a:hover { color: var(--white); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.25rem 0;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

@media (max-width: 768px) {
    .mobile-contact-bar { display: grid; }
    body { padding-bottom: 58px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .page-hero h1 { font-size: 2.25rem; }
    .page-hero-actions { flex-direction: column; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ─── Before / After Sliders ─── */
.ba-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}
@media (max-width: 768px) { .ba-grid { grid-template-columns: 1fr; } }

.ba-item { display: flex; flex-direction: column; gap: 0.5rem; }
.ba-caption { font-size: 0.9rem; color: var(--text-muted); text-align: center; }

.ba-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    cursor: ew-resize;
    user-select: none;
    aspect-ratio: 4/3;
}

.ba-before, .ba-after {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.ba-after-wrap {
    position: absolute;
    top: 0; left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.ba-after {
    width: auto;
    min-width: 100%;
    max-width: none;
    left: 0;
}

.ba-handle {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: #fff;
    cursor: ew-resize;
    z-index: 10;
}
.ba-handle::before, .ba-handle::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.ba-handle::before { top: 50%; transform: translate(-50%, -50%); }
.ba-handle::after { display: none; }

.ba-arrows {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    color: var(--primary-color);
    z-index: 11;
    font-weight: 700;
    pointer-events: none;
}

.ba-tag {
    position: absolute;
    top: 0.75rem;
    padding: 0.2rem 0.6rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 3px;
    z-index: 9;
}
.ba-tag-before {
    right: 0.75rem;
    background: rgba(0,0,0,0.55);
    color: #fff;
}
.ba-tag-after {
    left: 0.75rem;
    background: var(--primary-color);
    color: #fff;
}
