:root {
    /* Ortiz Home Improvement color scheme - warm, earthy, welcoming */
    --primary: #2D6A4F;      /* Rich sage green */
    --primary-dark: #1F543E;
    --primary-light: #40916C;
    --primary-soft: #D8F3DC;
    --secondary: #D4A373;     /* Warm tan/beige */
    --accent: #B5835A;        /* Deeper warm brown */
    --light: #FFF9F0;         /* Cream/off-white */
    --dark: #2D3E2B;          /* Dark olive green */
    --white: #FFFFFF;
    --gray: #6C8268;
    --border: #F3E5D2;
    
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 8px 20px rgba(0, 0, 0, 0.05), 0 2px 6px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.5;
    color: var(--dark);
    background-color: var(--light);
    font-size: 18px;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 42px;
    margin-bottom: 60px;
    text-align: center;
    color: var(--primary);
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: -30px auto 40px;
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Top bar */
.topbar {
    background: var(--dark);
    color: var(--white);
    font-size: 0.95rem;
}

.topbar-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 10px 0;
    text-align: center;
    flex-wrap: wrap;
}

.topbar a { 
    font-weight: 700; 
    color: var(--secondary);
    text-decoration: none;
}

.topbar a:hover {
    color: var(--accent);
}

/* Header */
header {
    background: linear-gradient(135deg, var(--dark) 0%, #3a4e36 100%);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    max-height: 125px;
    width: auto;
    border-radius: 5px;
}

nav {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    transition: var(--transition);
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary);
}

.nav-link:hover:after {
    width: 100%;
}

.nav-link.active {
    color: var(--secondary);
}

.nav-link.active:after {
    width: 100%;
}

.header-cta {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 16px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 17px;
    white-space: nowrap;
}

.btn-small {
    padding: 12px 20px;
    font-size: 16px;
}

.btn-large {
    padding: 18px 32px;
    font-size: 18px;
}

.btn-outline {
    border: 2px solid var(--secondary);
    color: var(--secondary);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-accent {
    background-color: var(--secondary);
    color: var(--white);
    font-weight: 700;
}

.btn-accent:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 163, 115, 0.3);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--white);
    cursor: pointer;
    padding: 10px;
}

/* Hero */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #FFF7EA 0%, #FEF0DF 100%);
    position: relative;
    overflow: hidden;
    color: var(--dark);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 1800px;
}

.eyebrow-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: var(--primary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--primary);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0 28px;
}

.hero-points span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--dark);
}

.hero-points span i {
    color: var(--primary);
}

.hero-cta {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* Hero Card */
.hero-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    text-align: center;
}

.hero-card-inner {
    text-align: center;
}

.hero-card h3 {
    color: var(--primary);
    margin: 15px 0;
    font-size: 24px;
}

.hero-card p {
    color: var(--gray);
    margin-bottom: 25px;
    font-size: 16px;
}

.mini-service-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    text-align: left;
}

.mini-service-list li {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    color: var(--gray);
}

.mini-service-list li:last-child {
    border-bottom: none;
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
    flex: 0 0 8px;
    display: inline-block;
}

/* About Section */
.about-section {
    background-color: var(--primary-soft);
    padding: 80px 0;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: var(--primary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.about-title {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-text {
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Stats Grid */
.stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-item p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Services Detailed Grid */
.services-detailed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.service-detailed-card {
    background: var(--white);
    border-radius: 28px;
    padding: 30px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
}

.service-detailed-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 28px;
    flex-shrink: 0;
}

.service-header h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin: 0;
    flex: 1;
}

.service-detailed-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-detailed-card li {
    padding: 8px 0 8px 25px;
    position: relative;
    color: var(--gray);
    font-size: 16px;
}

.service-detailed-card li:before {
    content: "✓";
    color: var(--secondary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Service Areas Banner */
.service-areas-banner {
    background: var(--white);
    border-radius: 48px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.service-areas-banner h3 {
    margin: 0.5rem 0;
    color: var(--primary);
    font-size: 1.5rem;
}

.service-areas-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.area-tag {
    background: var(--light);
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-weight: 500;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    color: var(--primary);
    border: 1px solid var(--border);
}

/* Gallery */
.gallery {
    background-color: var(--light);
}

.gallery-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    padding-bottom: 10px;
}

.gallery-track {
    display: flex;
    transition: transform 0.5s ease;
}

.gallery-slide {
    min-width: 100%;
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 10px;
}

.gallery-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background-color: var(--white);
    transition: var(--transition);
    height: 250px;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(45, 62, 43, 0.9), transparent);
    color: var(--white);
    padding: 20px;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-caption.show-immediately {
    opacity: 1;
}

.gallery-item:hover .image-caption:not(.show-immediately) {
    opacity: 1;
}

.gallery-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    padding: 0;
}

.gallery-dot.active {
    background-color: var(--secondary);
    transform: scale(1.2);
}

.gallery-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    z-index: 10;
}

.gallery-arrow {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
    pointer-events: auto;
    box-shadow: var(--shadow);
}

.gallery-arrow:hover {
    background-color: var(--secondary);
    color: var(--white);
    transform: scale(1.1);
}

/* Testimonials */
.testimonials {
    background-color: var(--light);
    position: relative;
}

.testimonials-slider-container {
    position: relative;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: var(--radius);
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 28px;
    padding: 40px;
    box-shadow: var(--shadow);
    min-width: 100%;
    border: 1px solid var(--border);
}

.testimonial-text {
    font-size: 20px;
    line-height: 1.6;
    color: var(--dark);
    margin-bottom: 30px;
    font-style: italic;
    position: relative;
    padding-left: 30px;
}

.testimonial-text:before {
    content: "“";
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 60px;
    color: var(--secondary);
    opacity: 0.5;
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 50px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background-color: var(--primary-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 24px;
    font-weight: bold;
}

.author-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--primary);
}

.author-info p {
    color: var(--gray);
    font-size: 14px;
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    height: 20px;
}

.testimonials-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    padding: 0;
}

.testimonials-dot.active {
    background-color: var(--secondary);
    transform: scale(1.2);
}

.testimonials-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.testimonials-arrow {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
    pointer-events: auto;
    box-shadow: var(--shadow);
}

.testimonials-arrow:hover {
    background-color: var(--secondary);
    color: var(--white);
    transform: scale(1.1);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-form-map-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 40px;
}

.form-card {
    flex: 1;
    background-color: var(--white);
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
    padding: 40px;
    border: 1px solid var(--border);
}

.map-container {
    flex: 1;
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    background: var(--white);
    padding: 20px;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border-radius: 12px;
}

.form-title {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--primary);
}

.form-subtitle {
    color: var(--gray);
    margin-bottom: 30px;
    font-size: 16px;
}

.form-group {
    margin-bottom: 24px;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 16px;
    color: var(--dark);
}

input, select, textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: 32px;
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
    background-color: var(--light);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--white);
    text-align: center;
    padding: 50px 0 30px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
    text-align: left;
}

.footer-section h3 {
    font-size: 22px;
    margin-bottom: 25px;
    color: var(--white);
}

.footer-contact {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.footer-contact a {
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 18px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-license {
    color: var(--secondary);
    font-weight: bold;
    margin: 0.5rem 0;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--dark);
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 900;
}

.sticky-buttons {
    display: flex;
    gap: 15px;
}

.sticky-buttons .btn {
    flex: 1;
}

/* Floating Action Buttons */
.floating-btn {
    position: fixed;
    right: 18px;
    z-index: 1001;
    padding: 14px 20px;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

.floating-btn.sms {
    bottom: 88px;
    background-color: var(--secondary);
    color: var(--white);
}

.floating-btn.call {
    bottom: 148px;
    background-color: var(--primary);
    color: var(--white);
}

.floating-btn i {
    font-size: 18px;
}

/* Responsive */
@media (max-width: 1200px) {
    h1 {
        font-size: 40px;
    }
    
    .hero-grid {
        gap: 40px;
    }

    .section-title {
        font-size: 36px;
    }
    
    .gallery-slide {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    body {
        font-size: 17px;
    }

    .logo-image {
        max-height: 100px;
    }
    
    .hero {
        padding: 80px 0 80px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    nav {
        display: none;
        position: fixed;
        top: 90px;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, var(--dark) 0%, #3a4e36 100%);
        flex-direction: column;
        padding: 30px;
        gap: 25px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    
    nav.active {
        display: flex;
    }
    
    .header-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-sticky-cta {
        display: block;
    }
    
    .floating-btn {
        display: none;
    }
    
    .services-detailed-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-map-row {
        flex-direction: column;
    }
    
    .gallery-slide {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    h1 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .form-card {
        padding: 30px;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 16px;
    }
    
    .gallery-item {
        height: 250px;
    }
    
    .testimonial-text {
        font-size: 16px;
        padding-left: 20px;
    }
    
    .testimonial-text:before {
        font-size: 40px;
    }
    
    .hero-card {
        padding: 25px;
    }
    
    .hero-card h3 {
        font-size: 20px;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    .stats-grid {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-cta .btn {
        width: 100%;
        text-align: center;
    }
    
    .gallery-item {
        height: 200px;
    }
    
    .testimonial-card {
        padding: 25px 15px;
    }
    
    .testimonial-text {
        font-size: 15px;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .author-info h4 {
        font-size: 16px;
    }
    
    .hero-card {
        padding: 20px;
    }
    
    .service-areas-banner {
        padding: 1.5rem;
    }
    
    .service-areas-banner h3 {
        font-size: 1.2rem;
    }
    
    .area-tag {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
    }
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    animation: zoomIn 0.3s ease;
}

.lightbox-content img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 32px;
    line-height: 42px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    z-index: 10000;
    backdrop-filter: blur(4px);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Form Messages */
.form-message.form-message--error {
    border: 2px solid #dc2626;
    background-color: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    margin: 20px 0;
    font-weight: 500;
    text-align: center;
}

.form-message.form-message--success {
    border: 2px solid #059669;
    background-color: rgba(5, 150, 105, 0.1);
    color: #059669;
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    margin: 20px 0;
    font-weight: 500;
    text-align: center;
}

/* Gallery Mobile Fixes - ensure single column on mobile */
@media (max-width: 992px) {
    .gallery-slide,
    .gallery-slide[data-images-per-slide="4"],
    .gallery-slide[data-images-per-slide="3"],
    .gallery-slide[data-images-per-slide="2"] {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .gallery-slide {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }

    .gallery-item {
        height: auto;
        min-height: 250px;
        max-height: 400px;
    }
    
    .gallery-image {
        height: auto;
        min-height: 250px;
        object-fit: cover;
    }
    
    .gallery-slide[data-images-per-slide="2"] .gallery-item,
    .gallery-slide[data-images-per-slide="3"] .gallery-item,
    .gallery-slide[data-images-per-slide="4"] .gallery-item {
        height: auto;
        min-height: 250px;
    }
}

@media (max-width: 576px) {
    .gallery-item {
        min-height: 200px;
    }
    
    .gallery-slide[data-images-per-slide="2"] .gallery-item,
    .gallery-slide[data-images-per-slide="3"] .gallery-item,
    .gallery-slide[data-images-per-slide="4"] .gallery-item {
        min-height: 200px;
    }
}

/* Also ensure gallery track and slider work correctly */
.gallery-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    padding-bottom: 10px;
    width: 100%;
}

.gallery-track {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.gallery-slide {
    min-width: 100%;
    flex: 0 0 100%;
    display: grid;
    gap: 20px;
    padding: 10px;
    box-sizing: border-box;
}

/* Default grid for desktop - 3 columns */
.gallery-slide {
    grid-template-columns: repeat(3, 1fr);
}

/* For 2 columns if needed */
.gallery-slide[data-images-per-slide="2"] {
    grid-template-columns: repeat(2, 1fr);
}

/* For 4 columns if needed */
.gallery-slide[data-images-per-slide="4"] {
    grid-template-columns: repeat(4, 1fr);
}

/* Mobile styles - force single column */
@media (max-width: 992px) {
    .gallery-slide,
    .gallery-slide[data-images-per-slide="2"],
    .gallery-slide[data-images-per-slide="3"],
    .gallery-slide[data-images-per-slide="4"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
}