/*
Theme Name: Kadence Child - L & W Contractors
Theme URI: https://lwcontractors.com
Description: Custom child theme for L & W Contractors based on Kadence Theme
Author: L & W Contractors
Template: kadence
Version: 2.0.0
Text Domain: kadence-child-lw
*/

/* Color Palette Variables */
:root {
  --color-navy: #243B6B;
  --color-gold: #C79A2B;
  --color-lightgray: #F5F6F8;
  --color-slate: #1F2937;
  --color-white: #FFFFFF;
}

/* Override Kadence defaults */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--color-slate);
}

/* Hide page title and padding on homepage template */
.page-template-page-home .entry-header,
.page-template-front-page .entry-header {
    display: none;
}

.page-template-page-home .content-area,
.page-template-front-page .content-area {
    padding: 0;
}

.page-template-page-home .entry-content,
.page-template-front-page .entry-content {
    margin: 0;
}

/* Header Styles */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: var(--color-white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

@media (min-width: 640px) {
    .header-container {
        height: 5rem;
        padding: 0 1.5rem;
    }
}

/* Logo and Company Branding */
.site-branding {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 1rem;
}

.site-logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

@media (min-width: 640px) {
    .site-logo-img {
        width: 60px;
        height: 60px;
    }
}

.company-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.company-name {
    color: var(--color-navy);
    font-weight: 700;
    font-size: 1.125rem;
}

@media (min-width: 640px) {
    .company-name {
        font-size: 1.25rem;
    }
}

.company-location {
    color: var(--color-slate);
    font-size: 0.875rem;
}

/* Old logo style - kept for fallback if no image */
.site-logo {
    width: 3rem;
    height: 3rem;
    background-color: var(--color-navy);
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.site-logo span {
    color: var(--color-gold);
    font-weight: bold;
    font-size: 1.5rem;
}

/* Navigation */
.main-nav {
    display: none;
    gap: 2rem;
}

@media (min-width: 768px) {
    .main-nav {
        display: flex;
        align-items: center;
    }
}

.main-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: var(--color-slate);
    transition: color 0.2s;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    text-decoration: none;
}

.main-nav a:hover {
    color: var(--color-navy);
}

.main-nav a:focus {
    outline: 2px solid var(--color-navy);
    outline-offset: 2px;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: block;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

@media (min-width: 768px) {
    .mobile-toggle {
        display: none;
    }
}

.mobile-toggle svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-slate);
}

/* Call Button */
.btn-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    background-color: var(--color-gold);
    color: var(--color-white);
    font-weight: 600;
    border-radius: 0.25rem;
    transition: all 0.2s;
    min-height: 44px;
    min-width: 44px;
    text-decoration: none;
    gap: 0.5rem;
}

/* Phone icon - visible on mobile */
.phone-icon {
    display: block;
}

/* Phone number - hidden on mobile */
.phone-number {
    display: none;
}

@media (min-width: 640px) {
    .btn-call {
        padding: 0.75rem 1.5rem;
    }
    
    /* Hide icon on desktop */
    .phone-icon {
        display: none;
    }
    
    /* Show number on desktop */
    .phone-number {
        display: inline;
    }
}

.btn-call:hover {
    opacity: 0.9;
    color: var(--color-white);
}

.btn-call:focus {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
}

/* Hero Section */
.hero-section {
    position: relative;
    background-color: var(--color-navy);
    color: var(--color-white);
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(36, 59, 107, 0.95), rgba(31, 41, 55, 0.95));
}

.hero-container {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 4rem 1rem;
    z-index: 10;
}

@media (min-width: 640px) {
    .hero-container {
        padding: 6rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-container {
        padding: 8rem 2rem;
    }
}

.hero-content {
    max-width: 48rem;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-text {
    font-size: 1.125rem;
    color: #E5E7EB;
    margin-bottom: 2rem;
    line-height: 1.6;
}

@media (min-width: 640px) {
    .hero-text {
        font-size: 1.25rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

/* Primary Button */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background-color: var(--color-gold);
    color: var(--color-white);
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.2s;
    min-height: 44px;
    text-align: center;
    text-decoration: none;
}

.btn-primary:hover {
    opacity: 0.9;
    color: var(--color-white);
}

/* Secondary Button */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background-color: var(--color-white);
    color: var(--color-navy);
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.2s;
    min-height: 44px;
    text-align: center;
    text-decoration: none;
}

.btn-secondary:hover {
    background-color: #F9FAFB;
    color: var(--color-navy);
}

/* Services Section */
.services-section {
    padding: 4rem 0;
    background-color: var(--color-white);
}

@media (min-width: 640px) {
    .services-section {
        padding: 5rem 0;
    }
}

.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .section-container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .section-container {
        padding: 0 2rem;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: bold;
    color: var(--color-navy);
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.section-description {
    font-size: 1.125rem;
    color: var(--color-slate);
    max-width: 42rem;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.service-card {
    background-color: var(--color-lightgray);
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: box-shadow 0.2s;
}

.service-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--color-navy);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--color-gold);
    font-size: 1.5rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
}

.service-description {
    color: var(--color-slate);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-link {
    color: var(--color-gold);
    font-weight: 600;
    text-decoration: none;
}

.service-link:hover {
    text-decoration: underline;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background-color: var(--color-lightgray);
}

@media (min-width: 640px) {
    .contact-section {
        padding: 5rem 0;
    }
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: center;
    }
}

.contact-cta h2 {
    color: var(--color-navy);
    margin-bottom: 1rem;
}

/* Contact Info List */
.contact-info-list {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-icon svg {
    color: var(--color-gold);
}

.contact-info-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-link {
    color: var(--color-navy);
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-link:hover {
    color: var(--color-gold);
}

.contact-text {
    color: var(--color-navy);
    font-size: 1.125rem;
    font-weight: 600;
}

/* Form Styles */
.contact-form {
    background-color: var(--color-white);
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

@media (min-width: 640px) {
    .contact-form {
        padding: 2rem;
    }
}

.contact-form h3 {
    color: var(--color-navy);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-slate);
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #D1D5DB;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s;
}

.form-input:focus,
.form-textarea:focus {
    outline: 2px solid var(--color-navy);
    border-color: transparent;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    width: 100%;
    padding: 1rem 2rem;
    background-color: var(--color-navy);
    color: var(--color-white);
    font-weight: 600;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    min-height: 44px;
    transition: all 0.2s;
}

.form-submit:hover {
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--color-lightgray) 0%, #E9ECEF 100%);
    text-align: center;
}

.cta-section h2 {
    color: var(--color-navy);
    font-size: 2rem;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .cta-section h2 {
        font-size: 2.5rem;
    }
}

.cta-section p {
    color: var(--color-slate);
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Footer */
.site-footer {
    background-color: var(--color-slate);
    color: var(--color-white);
    padding: 3rem 0 1.5rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .footer-container {
        padding: 0 1.5rem;
    }
}

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

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-column h3 {
    font-weight: bold;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-link {
    color: #D1D5DB;
    text-decoration: none;
    transition: color 0.2s;
    display: block;
    padding: 0.25rem 0;
}

.footer-link:hover {
    color: var(--color-gold);
}

.footer-address {
    font-style: normal;
    color: #D1D5DB;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid #4B5563;
    padding-top: 2rem;
    text-align: center;
    color: #9CA3AF;
    font-size: 0.875rem;
}

/* Utility Classes */
.hidden {
    display: none;
}

@media (min-width: 640px) {
    .sm\:inline {
        display: inline;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Skip to content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-navy);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Our Work Gallery Section */
.work-gallery-section {
    padding: 4rem 0;
    background-color: var(--color-lightgray);
}

@media (min-width: 640px) {
    .work-gallery-section {
        padding: 5rem 0;
    }
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery-item {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.before-after-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    height: 200px;
    overflow: hidden;
}

.before-image,
.after-image {
    position: relative;
    overflow: hidden;
}

.before-image img,
.after-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover .before-image img,
.gallery-item:hover .after-image img {
    transform: scale(1.05);
}

.image-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--color-slate);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.image-label.after {
    background: var(--color-gold);
}

.gallery-item-info {
    padding: 1.5rem;
}

.gallery-item-info h3 {
    color: var(--color-navy);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.gallery-item-info p {
    color: var(--color-slate);
    font-size: 0.875rem;
}

.gallery-cta {
    text-align: center;
}

/* Proudly Serving Section */
.serving-section {
    padding: 4rem 0;
    background-color: white;
}

@media (min-width: 640px) {
    .serving-section {
        padding: 5rem 0;
    }
}

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

.locations-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0 4rem;
}

.location-pill {
    background: var(--color-lightgray);
    color: var(--color-slate);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s;
}

.location-pill:hover {
    background: var(--color-navy);
    color: white;
    transform: translateY(-2px);
}

/* Trust Indicators - Full Width */
.trust-indicators-wrapper {
    background: var(--color-navy);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 3rem 0;
    margin-top: 3rem;
}

.trust-indicators {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .trust-indicators {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .trust-indicators {
        grid-template-columns: repeat(4, 1fr);
        padding: 0 2rem;
    }
}

.trust-item {
    text-align: center;
    color: white;
}

.trust-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.trust-icon svg {
    color: var(--color-gold);
}

.trust-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin: 0;
}

/* Stars for reviews */
.stars {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    font-size: 1.5rem;
}

.star {
    color: var(--color-gold);
}

/* Placeholder styles for missing images */
.before-image:not(:has(img)),
.after-image:not(:has(img)) {
    background: linear-gradient(135deg, #E5E7EB 0%, #D1D5DB 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
}

.before-image:not(:has(img))::after,
.after-image:not(:has(img))::after {
    content: "Image Placeholder";
    color: #9CA3AF;
    font-size: 0.875rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 4rem 0;
    background-color: white;
}

@media (min-width: 640px) {
    .testimonials-section {
        padding: 5rem 0;
    }
}

.testimonials-carousel {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-container {
    position: relative;
    min-height: 300px;
}

.testimonial {
    display: none;
    text-align: center;
    padding: 2rem;
    background: var(--color-lightgray);
    border-radius: 1rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.testimonial.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-stars {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.testimonial-stars .star {
    color: var(--color-gold);
}

.testimonial-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-slate);
    margin: 0 0 2rem;
    quotes: none;
}

@media (min-width: 640px) {
    .testimonial-text {
        font-size: 1.5rem;
    }
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.testimonial-author strong {
    color: var(--color-navy);
    font-size: 1.125rem;
}

.testimonial-author span {
    color: #6B7280;
    font-size: 0.875rem;
}

/* Carousel Navigation */
.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-prev,
.testimonial-next {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-navy);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: var(--color-gold);
    transform: scale(1.1);
}

.testimonial-prev:focus,
.testimonial-next:focus {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
}

/* Alternative dot navigation */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #D1D5DB;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--color-gold);
    transform: scale(1.3);
}

/* Services Page Styles */
.services-hero {
    position: relative;
    background: var(--color-navy);
    color: white;
    padding: 4rem 0;
}

@media (min-width: 640px) {
    .services-hero {
        padding: 5rem 0;
    }
}

@media (min-width: 1024px) {
    .services-hero {
        padding: 6rem 0;
    }
}

.services-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(36, 59, 107, 0.95), rgba(31, 41, 55, 0.95));
}

.services-hero .hero-container {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    z-index: 10;
}

.services-hero .hero-content {
    max-width: 48rem;
}

.services-hero .hero-title {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .services-hero .hero-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .services-hero .hero-title {
        font-size: 3rem;
    }
}

/* Sticky Services Navigation */
.services-nav {
    position: sticky;
    top: 80px;
    z-index: 40;
    background: white;
    border-bottom: 1px solid #E5E7EB;
    transition: all 0.3s ease;
}

.services-nav.scrolled {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0;
    overflow-x: auto;
}

@media (max-width: 768px) {
    .nav-links {
        justify-content: flex-start;
    }
}

.service-nav-link {
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-slate);
    background: transparent;
    transition: all 0.3s;
    text-decoration: none;
    white-space: nowrap;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.service-nav-link:hover {
    background: var(--color-lightgray);
}

.service-nav-link.active {
    background: var(--color-gold);
    color: white;
}

/* Service Sections */
.service-section {
    padding: 4rem 0;
    scroll-margin-top: 180px;
}

@media (min-width: 640px) {
    .service-section {
        padding: 5rem 0;
    }
}

.service-section.alt-bg {
    background: var(--color-lightgray);
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .service-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.service-grid.reverse {
    direction: rtl;
}

.service-grid.reverse > * {
    direction: ltr;
}

@media (min-width: 1024px) {
    .service-grid.reverse {
        direction: ltr;
    }
    
    .service-grid.reverse .service-content {
        order: 2;
    }
    
    .service-grid.reverse .service-image {
        order: 1;
    }
}

.service-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-navy);
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .service-title {
        font-size: 2.5rem;
    }
}

.service-description {
    font-size: 1.125rem;
    color: var(--color-slate);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-details-box {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.alt-bg .service-details-box {
    background: var(--color-lightgray);
}

.service-details-box h3 {
    font-weight: bold;
    color: var(--color-navy);
    margin-bottom: 0.75rem;
}

.service-details-box p {
    color: var(--color-slate);
    font-size: 0.875rem;
    line-height: 1.6;
}

.btn-service {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: var(--color-gold);
    color: white;
    font-weight: 600;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-service:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.service-image img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Process Section */
.process-section {
    padding: 4rem 0;
    background: var(--color-navy);
    color: white;
}

@media (min-width: 640px) {
    .process-section {
        padding: 5rem 0;
    }
}

.process-section .section-title {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .process-section .section-title {
        font-size: 2.5rem;
    }
}

.process-section .section-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 640px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .process-steps {
        grid-template-columns: repeat(5, 1fr);
        gap: 1.5rem;
    }
}

.process-step {
    text-align: center;
}

.step-number {
    width: 64px;
    height: 64px;
    background: var(--color-gold);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1rem;
}

.process-step h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: white;
}

.process-step p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.5;
}

/* Service Area Section */
.area-section {
    padding: 3rem 0;
    background: white;
    border-top: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: var(--color-lightgray);
}

@media (min-width: 640px) {
    .faq-section {
        padding: 5rem 0;
    }
}

.section-container.narrow {
    max-width: 48rem;
}

.faq-list {
    margin-top: 2rem;
}

.faq-item {
    background: white;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #E5E7EB;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s;
}

.faq-question:hover {
    background: var(--color-lightgray);
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: bold;
    color: var(--color-navy);
    margin: 0;
    padding-right: 1rem;
}

.faq-icon {
    width: 24px;
    height: 24px;
    color: var(--color-gold);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-icon.open {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.open {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--color-slate);
    line-height: 1.6;
}

/* Services CTA Section */
.services-cta-section {
    padding: 4rem 0;
    background: white;
}

@media (min-width: 640px) {
    .services-cta-section {
        padding: 5rem 0;
    }
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .cta-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
    }
}

.cta-content h2 {
    color: var(--color-navy);
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

.btn-navy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: var(--color-navy);
    color: white;
    font-weight: 600;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-navy:hover {
    opacity: 0.9;
}

.services-contact-form {
    background: var(--color-lightgray);
    padding: 2rem;
    border-radius: 0.5rem;
}

.services-contact-form h3 {
    font-size: 1.5rem;
    color: var(--color-navy);
    margin-bottom: 1.5rem;
}

.services-contact-form .form-group {
    margin-bottom: 1rem;
}

.services-contact-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-slate);
    margin-bottom: 0.5rem;
}

.services-contact-form input,
.services-contact-form select,
.services-contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #D1D5DB;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s;
}

.services-contact-form input:focus,
.services-contact-form select:focus,
.services-contact-form textarea:focus {
    outline: none;
    border-color: var(--color-navy);
    box-shadow: 0 0 0 3px rgba(36, 59, 107, 0.1);
}

.services-contact-form .form-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--color-navy);
    color: white;
    font-weight: 600;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.services-contact-form .form-submit:hover {
    opacity: 0.9;
}

/* Smooth scroll offset for sticky headers */
html {
    scroll-padding-top: 180px;
}

/* Gallery Page Styles */
.gallery-hero {
    position: relative;
    background: var(--color-navy);
    color: white;
    padding: 4rem 0;
    background-image: url('images/gallery-hero.jpg');
    background-size: cover;
    background-position: center;
}

@media (min-width: 640px) {
    .gallery-hero {
        padding: 5rem 0;
    }
}

.gallery-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(36, 59, 107, 0.95), rgba(31, 41, 55, 0.95));
}

.gallery-hero .hero-container {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    z-index: 10;
}

.gallery-hero .hero-content {
    max-width: 48rem;
    margin: 0 auto;
}

.gallery-hero .hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: white;
}

@media (min-width: 640px) {
    .gallery-hero .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .gallery-hero .hero-title {
        font-size: 3.5rem;
    }
}

.gallery-hero .hero-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

@media (min-width: 640px) {
    .gallery-hero .hero-text {
        font-size: 1.25rem;
    }
}

/* Gallery Filter Section */
.gallery-filter-section {
    background: white;
    border-bottom: 1px solid #E5E7EB;
    position: sticky;
    top: 80px;
    z-index: 40;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0;
    overflow-x: auto;
}

@media (min-width: 640px) {
    .gallery-filters {
        gap: 1rem;
    }
}

.gallery-filter-btn {
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    border-radius: 0.5rem;
    background: var(--color-lightgray);
    color: var(--color-slate);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    min-height: 44px;
}

@media (min-width: 640px) {
    .gallery-filter-btn {
        padding: 0.75rem 1.5rem;
    }
}

.gallery-filter-btn:hover {
    background: #E5E7EB;
}

.gallery-filter-btn:focus {
    outline: 2px solid var(--color-navy);
    outline-offset: 2px;
}

.gallery-filter-btn.active {
    background: var(--color-navy);
    color: white;
}

/* Gallery Grid Section */
.gallery-grid-section {
    padding: 3rem 0;
    background: var(--color-lightgray);
    min-height: 500px;
}

@media (min-width: 640px) {
    .gallery-grid-section {
        padding: 4rem 0;
    }
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

/* Gallery Items */
.gallery-item {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s;
    opacity: 1;
    transform: translateY(0);
}

.gallery-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.gallery-item-image {
    position: relative;
    overflow: hidden;
    height: 256px;
}

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

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

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: var(--color-navy);
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 0.2;
}

.gallery-item-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--color-gold);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 25px;
    text-transform: capitalize;
}

.gallery-item-info {
    padding: 1rem;
}

.gallery-item-info h3 {
    font-size: 1.125rem;
    font-weight: bold;
    color: var(--color-navy);
    margin-bottom: 0.25rem;
}

.gallery-item-info p {
    font-size: 0.875rem;
    color: var(--color-slate);
    line-height: 1.5;
}

/* Gallery animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item {
    animation: fadeInUp 0.4s ease;
}

/* Gallery CTA Section */
.gallery-cta-section {
    padding: 4rem 0;
    background: var(--color-navy);
    color: white;
}

@media (min-width: 640px) {
    .gallery-cta-section {
        padding: 5rem 0;
    }
}

.gallery-cta-section .section-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: white;
}

@media (min-width: 640px) {
    .gallery-cta-section .section-title {
        font-size: 2.5rem;
    }
}

.gallery-cta-section .section-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-cta-section .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .gallery-cta-section .cta-buttons {
        flex-direction: row;
    }
}

/* Gallery Contact Section */
.gallery-contact-section {
    padding: 4rem 0;
    background: white;
}

.gallery-contact-section .section-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-navy);
    margin-bottom: 2rem;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: white;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10;
}

.lightbox-close:hover {
    color: var(--color-gold);
}

.lightbox-close:focus {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
    border-radius: 0.25rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { 
        transform: scale(0.8); 
        opacity: 0; 
    }
    to { 
        transform: scale(1); 
        opacity: 1; 
    }
}