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

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #ffffff;
}

/* HERO SLIDESHOW */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    text-align: center;
}

.hero-slide {
     filter: brightness(1.08) contrast(1.05) saturate(1.05);

position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1);
    transition:
        opacity 3s ease-in-out,
        transform 20s ease-in-out;
}








.hero-slide.active {
    opacity: 1;
    transform: scale(1.1); /* Ken Burns */
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0,0,0,0.18),
        rgba(0,0,0,0.28)
    );
    z-index: 1;}

.hero-content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.85);
    padding: 3rem 2.5rem;
    max-width: 600px;
    margin: auto;
    top: 50%;
    transform: translateY(-50%);
}


.subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #555;
}


/* SECTIONS */
.section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.section.light {
    background: #f7f7f7;
}

.section h2 {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-align: center;
}

.section p {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* SERVICES */
.services {
    list-style: none;
    max-width: 700px;
    margin: 2.5rem auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
}

.services li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: #ffffff;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services li:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.icon {
    width: 28px;
    height: 28px;
    color: #333;
}

.icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.8;
}

/* GALLERY WOW */
.gallery {
    margin-top: 2.5rem;
    columns: 2;
    column-gap: 1rem;
}

.gallery img {
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    break-inside: avoid;
}

.gallery img:hover {
    transform: scale(1.04);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

@media (max-width: 900px) {
    .gallery {
        columns: 1;
    }
}

/* MAP */
.map {
    margin-top: 2rem;
}

.map iframe {
    width: 100%;
    height: 350px;
    border: none;
}

/* CONTACTS */
.contacts {
    margin-top: 1.5rem;
    text-align: center;
}

.contacts a {
    color: #333;
    text-decoration: none;
}

.contacts a:hover {
    text-decoration: underline;
}

/* FOOTER */
footer {
    background: #222;
    color: #ccc;
    text-align: center;
    padding: 1.5rem;
    font-size: 0.85rem;
}

footer a {
    color: #ccc;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .hero h1 {
        font-size: 2rem;
    }

    .section {
        padding: 3rem 1.2rem;
    }
}

/* LIGHTBOX */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 999;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: 90%;
    max-height: 85%;
    border-radius: 10px;
}

.lightbox .close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

.section {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}


/* TO TOP BUTTON */
#toTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: #333;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

#toTop svg {
    width: 22px;
    height: 22px;
    stroke-width: 2.2;
}

#toTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#toTop:hover {
    background: #000;
    transform: translateY(-3px);
}

/* MAP STATIC */
.map-static {
    margin-top: 2rem;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.map-static img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease, filter 0.6s ease;
}

.map-static:hover img {
    transform: scale(1.05);
    filter: brightness(0.9);
}

.map-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.25);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.map-static:hover .map-overlay {
    opacity: 1;
}

.map-overlay span {
    background: white;
    padding: 0.8rem 1.4rem;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* HERO BUTTONS */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.8rem;
}

.btn {
    padding: 0.8rem 1.6rem;
    border-radius: 40px;
    font-weight: 500;
    text-decoration: none;
    background: #222;
    color: #fff;
    border: 1px solid #222;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #fff;
    color: #222;
    border-color: #222;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}


.btn-outline {
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(0,0,0,0.1);
    color: #222;
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background: #222;
    color: #fff;
    border-color: #222;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 80%;
        text-align: center;
    }
}