/* Global Styles */
:root {
    --primary-color: #2E7D32;
    --secondary-color: #1B5E20;
    --accent-color: #FFA000;
    --text-color: #333;
    --light-bg: #F5F7FA;
    --white: #FFFFFF;
    --dark-overlay: rgba(0, 0, 0, 0.6);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    /* Offset for fixed navbar */
}

/* Ensure sections and anchor targets have enough offset */
section[id],
.anchor-target {
    scroll-margin-top: 80px;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 10px auto;
    border-radius: 2px;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #ffffff;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    /* Reduced vertical padding slightly as logo might be bigger */
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    height: 100%;
    /* Ensure container takes full height of padding if set, though navbar has padding */
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--secondary-color);
    font-weight: 800;
    /* Bold text */
    font-size: 1.4rem;
    /* Slightly larger */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    line-height: 1;
    /* Fix vertical alignment issues caused by line-height */
}

.logo img {
    height: 55px;
    width: auto;
    display: block;
    object-fit: contain;
    /* Ensure no distortion */
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
    margin-left: 0.5rem;
    /* Small gap from icon */
}

.logo-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #000;
    /* Black as per mockup */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.logo-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    color: #000;
    /* Black as per mockup */
    text-transform: uppercase;
    letter-spacing: 2px;
    /* Widespaced */
}

@media (max-width: 900px) {
    .logo-title {
        font-size: 0.9rem;
    }

    .logo-subtitle {
        font-size: 0.6rem;
    }
}

@media (max-width: 480px) {

    /* Optimizing for mobile */
    .logo-text-group {
        display: none;
    }

    /* Or stack differently if needed, but space is tight */
    /* Alternatively, keep it but make it smaller */
}

@media (max-width: 480px) {
    .logo-text-group {
        display: flex;
        /* Keep visible */
    }

    .logo-title {
        font-size: 0.75rem;
        letter-spacing: 0;
    }

    .logo-subtitle {
        font-size: 0.5rem;
        letter-spacing: 1px;
    }

    .logo img {
        height: 40px;
    }

    /* Slightly smaller icon on mobile */
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    /* Reduced from 2.5rem to give space to logo */
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: flex;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-color);
    /* Darker standard text for better contrast */
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Underline hover effect for nav links */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Button override */
.nav-links .btn {
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--accent-color), #FF8F00);
    color: #000 !important;
    /* High contrast */
    box-shadow: 0 4px 10px rgba(255, 160, 0, 0.3);
}

.nav-links .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 160, 0, 0.5);
    background: linear-gradient(135deg, #FFB300, #FF6F00);
}

.nav-links .btn::after {
    display: none;
    /* No underline for button */
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(var(--dark-overlay), var(--dark-overlay)), url('../images/main/hero.webp') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 1rem;
    margin-top: -80px;
    /* Compensate for navbar */
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    animation: fadeIn 1s ease-out;
}

.hero-content h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #eee;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--accent-color);
    color: #000;
    /* Changed from white to black for WCAG contrast compliance on yellow/orange */
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(255, 160, 0, 0.4);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 160, 0, 0.6);
    background: #FFB300;
}

/* Services Detail Section */
.services {
    padding: 5rem 1rem;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    /* Playful rounded corners */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Softer shadow */
    transition: var(--transition);
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.service-card-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #E8F5E9;
    /* Light green bg */
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
}

.service-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
    padding-right: 70px;
    /* Space for number */
}

.read-more-btn {
    display: inline-block;
    margin-top: auto;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    font-size: 0.95rem;
    align-self: flex-start;
}

.read-more-btn:hover {
    color: var(--accent-color);
}

/* Process / Jak to probiha Section */
.process {
    padding: 5rem 1rem;
    background: var(--light-bg);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 3rem auto 0;
    position: relative;
    flex-wrap: wrap;
    gap: 2rem;
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: left;
    position: relative;
    padding-top: 20px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    /* Playful circle */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
}

.process-step h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.process-step p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* Lightbox styles */
.lightbox-single {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-img-single {
    max-width: calc(100% - 180px);
    /* Increased safe zone */
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    user-select: none;
    -webkit-user-drag: none;
}

.lightbox-prev,
.lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 1002;
    transition: background 0.3s;
    border-radius: 50%;
    display: none;
    /* JS will explicitly show them */
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    top: 20px;
    left: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 15px;
    z-index: 1003;
}

/* Quick Help Banner */
.quick-help {
    max-width: 1200px;
    margin: -40px auto 4rem;
    /* Overlap hero slightly */
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 10;
    flex-wrap: wrap;
    gap: 1rem;
}

.quick-help-text h3 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 1.4rem;
}

.quick-help-text p {
    margin-bottom: 0;
    color: #666;
    font-size: 0.95rem;
}

.quick-help .btn {
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
}


/* About Section - Redesigned */
.about {
    padding: 6rem 1rem;
    background: var(--white);
    text-align: left;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-content h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-content h2::after {
    margin: 10px 0;
    /* Align accent line left */
}

/* Pricing */
.pricing {
    padding: 5rem 1rem;
    background: var(--white);
}

.pricing-table {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    border-collapse: collapse;
    box-shadow: var(--shadow);
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
}

.pricing-table th {
    padding: 1.2rem;
    text-align: left;
    background: var(--secondary-color);
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
}

.pricing-table td {
    padding: 1.2rem;
    text-align: left;
    border-bottom: 1px solid #eee;
    /* Revert to standard border */
    color: var(--text-color);
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing-table tr:hover {
    background: #f9f9f9;
}

.pricing-note {
    max-width: 1000px;
    margin: 2rem auto 0;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

/* Gallery - Before/After */
.gallery {
    padding: 5rem 1rem;
    background: var(--light-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.comparison-card {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: ew-resize;
}

.comparison-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    /* Let container handle radius */
    box-shadow: none;
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
}

.before-image {
    clip-path: inset(0 50% 0 0);
    z-index: 2;
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 40px;
    /* Wider touch target */
    transform: translateX(-50%);
    background: transparent;
    z-index: 3;
    pointer-events: auto;
    /* Enable events */
    cursor: ew-resize;
    display: flex;
    justify-content: center;
}

.slider-handle::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--white);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.slider-button {
    position: absolute;
    top: 50%;
    /* Centered horizontally by flex parent */
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 4;
}

.card-label {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    z-index: 4;
}

.card-label.after {
    left: auto;
    right: 10px;
}

.zoom-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: var(--transition);
    opacity: 0;
    transform: scale(0.8);
}

.comparison-card:hover .zoom-icon {
    opacity: 1;
    transform: scale(1);
}

.zoom-icon:hover {
    background: var(--accent-color);
    color: #000;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    width: 90%;
    max-width: 1200px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-comparison {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #222;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    /* cursor removed */
}

/* Hide comparison slider in single mode */
.lightbox.single-mode .lightbox-comparison {
    display: none;
}

/* Hide single image in comparison mode */
.lightbox:not(.single-mode) .lightbox-single {
    display: none;
}

.lightbox-img-before,
.lightbox-img-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #111;
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
}

.lightbox-img-before {
    clip-path: inset(0 50% 0 0);
    z-index: 2;
}

.lightbox-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 50px;
    /* Wider touch target for lightbox */
    transform: translateX(-50%);
    background: transparent;
    z-index: 3;
    pointer-events: auto;
    /* Enable events */
    cursor: ew-resize;
    display: flex;
    justify-content: center;
}

.lightbox-handle::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
}

.lightbox-handle-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    font-size: 1.2rem;
    z-index: 4;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--accent-color);
}

.lightbox-caption {
    color: #fff;
    text-align: center;
    margin-top: 1.5rem;
    font-weight: 600;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .lightbox-content {
        width: 95%;
    }

    .lightbox-comparison {
        aspect-ratio: 4 / 3;
    }

    .lightbox-close {
        top: -40px;
        font-size: 2rem;
    }

    .lightbox-img-single {
        max-width: calc(100% - 100px);
        /* Smaller gap on mobile but ensuring space */
    }

    .lightbox-prev,
    .lightbox-next {
        padding: 10px;
        /* Smaller arrows */
        font-size: 1.2rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}

/* Contact */
.contact {
    padding: 5rem 1rem;
    background: linear-gradient(rgba(46, 125, 50, 0.9), rgba(46, 125, 50, 0.9)), url('../images/sekani/after-2.webp') fixed center/cover;
    color: var(--white);
}

.contact h2 {
    color: var(--white);
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    justify-content: center;
}

.contact-info,
.contact-form {
    flex: 1;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.contact-info h3,
.contact-form h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.info-item span {
    margin-left: 1rem;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 15px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: var(--accent-color);
    color: #000;
    padding: 1rem;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: #FFB300;
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 0;
    }

    .hamburger {
        display: block;
        color: var(--secondary-color);
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 60px;
        /* Height of navbar */
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        gap: 1.5rem;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .quick-help {
        flex-direction: column;
        text-align: center;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .about-content h2,
    .about-content h2::after {
        text-align: center;
        margin: 0 auto 1.5rem;
    }

    .about-content h2::after {
        margin: 10px auto;
    }

    .about-content {
        text-align: center;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }
}

/* Service Modal */
.service-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.service-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.service-modal {
    background: var(--white);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    border-radius: 20px;
    overflow: hidden;
    /* Hide overflow on container to keep rounded corners */
    display: flex;
    flex-direction: column;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.service-modal-content {
    overflow-y: auto;
    /* Scroll ONLY the content */
    padding: 3rem 2rem 2rem;
    max-height: 100%;
    /* Take available height */
}

.service-modal-overlay.active .service-modal {
    transform: scale(1);
}

.service-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
    line-height: 1;
    z-index: 10;
}

.service-modal-close:hover {
    color: var(--accent-color);
}

.service-modal-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-right: 0;
    text-align: center;
}

.service-modal-content p {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.service-modal-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 1rem;
    display: block;
}

/* Footer */
footer {
    background: #333;
    color: var(--white);
    padding: 2rem 1rem;
    text-align: center;
    font-size: 0.9rem;
}

/* Service Photo Badge */
.service-photo-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: var(--accent-color);
    color: #000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 5;
    transition: transform 0.3s ease, background 0.3s;
    cursor: pointer;
    /* Clickable */
}

.service-card:hover .service-photo-badge {
    transform: scale(1.1);
    background: #FFCA28;
}

.service-photo-badge i {
    font-size: 1rem;
}

/* Service Modal Gallery */
.service-gallery {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.service-gallery h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.service-gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
    /* Do not stretch */
}

.service-gallery-link {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    width: 160px;
    /* Base width */
    height: 120px;
    /* Base height */
    flex-shrink: 0;
    position: relative;
    background: #f0f0f0;
}

.service-gallery-link:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.service-gallery-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Ensure image is fully visible */
    display: block;
}

.form-help {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.form-help a {
    color: var(--accent-color);
    text-decoration: underline;
    transition: color 0.3s;
}

.form-help a:hover {
    color: var(--white);
    text-decoration: none;
}

@media (max-width: 768px) {
    .contact-form form .form-row {
        flex-direction: column;
    }

    .service-gallery-link {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        /* Good for photos */
    }

    .step-number {
        margin-left: auto;
        margin-right: auto;
    }

    .process-step h3 {
        text-align: center;
    }
}
/* Form Status Messages */
#formStatus {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: none; /* Hidden by default */
}

#formStatus.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

#formStatus.success {
    background-color: #E8F5E9;
    color: #1B5E20;
    border: 2px solid #2E7D32;
}

#formStatus.error {
    background-color: #FFEBEE;
    color: #C62828;
    border: 2px solid #D32F2F;
}

#formStatus.warning {
    background-color: #FFF3E0;
    color: #E65100;
    border: 2px solid #FB8C00;
}

#formStatus.loading {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 1px dashed var(--white);
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.active {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 800px;
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.5;
}

.cookie-banner-content p {
    margin-bottom: 0;
}

.cookie-banner-content a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
}

.cookie-banner-btns {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-btn-accept {
    background: var(--primary-color);
    color: white;
    border: none;
}

.cookie-btn-accept:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.cookie-btn-decline {
    background: transparent;
    color: var(--text-color);
    border: 1px solid #ddd;
}

.cookie-btn-decline:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

@media (max-width: 768px) {
    .cookie-banner {
        bottom: 1.5rem;
        left: 1rem;
        right: 1rem;
        width: auto;
        border-radius: 20px;
        flex-direction: column;
        gap: 1.25rem;
        padding: 1.5rem;
        text-align: center;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
        transform: translateY(calc(100% + 2rem));
    }
    
    .cookie-banner.active {
        transform: translateY(0);
    }
    
    .cookie-banner-btns {
        width: 100%;
        justify-content: center;
    }
}

/* Footer Links & Credits */
.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
}
