/* =============================================================
   RUDI'S STOFFERING — Home Page Styles
   index.css: hero, stats, about, services, gallery, cta
   ============================================================= */

/* ===== HERO ===== */
#hero-section {
    min-height: 92vh;
    background-image: url('../images/image1.jpg');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    position: relative;
}

.hero-overlay {
    min-height: 92vh;
    background: linear-gradient(
        108deg,
        rgba(14, 10, 7, 0.90) 0%,
        rgba(14, 10, 7, 0.68) 50%,
        rgba(14, 10, 7, 0.32) 100%
    );
    display: flex;
    align-items: center;
    padding: 6rem 0 4rem;
}

.hero-content {
    max-width: 580px;
}

.hero-location-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-leather-light);
    margin-bottom: 1.5rem;
}

.hero-location-tag i {
    font-size: 0.7rem;
}

.hero-heading {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 6.5vw, 4.75rem);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.08;
    margin-bottom: 1.35rem;
    letter-spacing: -0.01em;
}

.hero-sub {
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.76);
    margin-bottom: 2.75rem;
    letter-spacing: 0.01em;
}

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

/* ===== STATS BAND ===== */
#stats-section {
    background-color: var(--color-leather);
    padding: 2.25rem 0;
}

.stats-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

.stat-item {
    flex: 1;
    min-width: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 1.5rem;
    position: relative;
    text-align: center;
}

.stat-item + .stat-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.28);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

/* ===== OOR MY ===== */
#oor-my {
    padding: 6.5rem 0;
    background-color: var(--color-white);
}

.about-content {
    padding-right: 3.5rem;
}

.about-text {
    color: var(--color-text-light);
    font-size: 1rem;
    margin-bottom: 1.4rem;
    line-height: 1.8;
}

.about-text:last-of-type {
    margin-bottom: 2.25rem;
}

.about-image-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
    aspect-ratio: 4 / 3;
}

/* ===== DIENSTE ===== */
#dienste {
    padding: 6.5rem 0;
    background-color: var(--color-cream);
}

.dienste-intro {
    max-width: 520px;
    margin: 0 auto 3.5rem;
    text-align: center;
}

/* Centered section-label variant — no left dash, centred alignment */
.dienste-intro .section-label,
.galery-intro .section-label {
    justify-content: center;
}

.dienste-intro .section-label::before,
.galery-intro .section-label::before {
    display: none;
}

.dienste-intro .section-heading,
.galery-intro .section-heading {
    text-align: center;
}

.dienste-sub {
    color: var(--color-text-light);
    font-size: 0.97rem;
    margin-bottom: 0;
}

.service-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--color-leather);
}

.service-icon {
    width: 50px;
    height: 50px;
    background-color: var(--color-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.service-icon i {
    font-size: 1.2rem;
    color: var(--color-leather);
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.65rem;
}

.service-desc {
    font-size: 0.88rem;
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.75;
}

/* ===== GALERY ===== */
#galery {
    padding: 6.5rem 0;
    background-color: var(--color-white);
}

.galery-intro {
    max-width: 520px;
    margin: 0 auto 3rem;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 0.6rem;
}

/* Make items 1, 5, 9 span 2 cols for visual rhythm */
.gallery-item:nth-child(5n+1) {
    grid-column: span 2;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    display: block;
    background-color: var(--color-sand);
}

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(138, 94, 59, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay i {
    font-size: 1.6rem;
    color: var(--color-white);
}

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

/* ===== CTA SECTION ===== */
#cta-section {
    padding: 7rem 0;
    background-image: url('../images/image2.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

#cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(12, 8, 5, 0.84);
}

#cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-heading {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.85rem;
    line-height: 1.2;
}

.cta-sub {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 2.75rem;
    letter-spacing: 0.02em;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1199px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 210px;
    }

    .gallery-item:nth-child(5n+1) {
        grid-column: span 1;
    }
}

@media (max-width: 991px) {
    #oor-my {
        padding: 4rem 0;
    }

    .about-content {
        padding-right: 0;
        margin-bottom: 2.5rem;
    }

    .about-image-wrapper::before {
        display: none;
    }

    .about-image {
        aspect-ratio: 4 / 3;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 190px;
    }

    .gallery-item:nth-child(5n+1) {
        grid-column: span 2;
    }
}

@media (max-width: 575px) {
    .hero-overlay {
        padding: 5rem 0 3rem;
    }

    .stat-item + .stat-item::before {
        display: none;
    }

    .stats-inner {
        gap: 0.5rem;
    }

    .stat-item {
        min-width: 100px;
    }

    .stat-number {
        font-size: 1.9rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
        gap: 0.4rem;
    }

    .gallery-item:nth-child(5n+1) {
        grid-column: span 1;
    }

    #dienste,
    #galery {
        padding: 4rem 0;
    }

    #cta-section {
        padding: 5rem 0;
    }
}
