/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", sans-serif;
    color: #222;
    line-height: 1.6;
    background: #fff;
}

img {
    width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

/* GLOBAL */

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

section {
    padding: 80px 0;
}

h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #222;
}

/* HEADER */

header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);

    border-bottom: 1px solid #eee;
}

header .container {
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav a {
    color: #333;
    font-weight: 500;
    transition: .3s;
}

nav a:hover {
    color: #b89552;
}

.phone-btn {
    background: #b89552;
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: .3s;
}

.phone-btn:hover {
    opacity: .9;
}

/* HERO */

.hero {
    position: relative;

    min-height: 100vh;

    background: url("images/1000_F_26576402_mvmt9140ZXShk5vbEdCeayRSTApAadrC.jpg") center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 800px;
    padding: 20px;

    color: white;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn {
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
    transition: .3s;
}

.primary {
    background: #b89552;
    color: white;
}

.secondary {
    border: 2px solid white;
    color: white;
}

.btn:hover {
    transform: translateY(-2px);
}

/* ABOUT */

.about {
    background: #f8f8f8;
}

.about p {
    max-width: 800px;
    margin: auto;
    text-align: center;
}

/* SERVICES */

.services-grid {
    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    gap: 25px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 10px;

    box-shadow: 0 5px 15px rgba(0,0,0,.08);

    transition: .3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    margin-bottom: 15px;
    color: #b89552;
}

/* GALLERY */

.gallery {
    background: #f8f8f8;
}

.gallery-grid {
    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

    gap: 20px;
}

.gallery-grid img {
    height: 280px;
    object-fit: cover;

    border-radius: 10px;

    transition: .3s;
}

.gallery-grid img:hover {
    transform: scale(1.03);
}

.gallery-grid img {
    opacity: 0;
    transform: translateY(30px);
    transition: all .6s ease;
}

.gallery-grid img.visible {
    opacity: 1;
    transform: translateY(0);
}

.gallery-grid img.hidden {
    display: none;
}

.gallery-btn-container {
    text-align: center;
    margin-top: 40px;
}

#showMoreBtn, #showMoreOfferBtn {
    background: #b89552;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
}

#showMoreBtn:hover {
    opacity: 0.9;
}

/* ADVANTAGES */

.advantages ul {
    max-width: 700px;
    margin: auto;
}

.advantages li {
    padding: 15px;
    margin-bottom: 10px;

    background: #f7f7f7;

    border-left: 4px solid #b89552;
}

/* CONTACT */

.contact {
    background: #222;
    color: white;
}

.contact h2 {
    color: white;
}

.contact-info {
    text-align: center;
}

.contact-info p {
    margin-bottom: 15px;
}

.contact-info a {
    color: #b89552;
}

.map {
    margin-top: 40px;

    height: 400px;

    background: #333;
    border-radius: 10px;
}

/* FOOTER */

footer {
    background: #111;
    color: #aaa;

    text-align: center;

    padding: 25px 0;
}

/* RESPONSIVE */

@media (max-width: 900px) {

    header .container {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
        gap: 15px;
    }

    nav ul {
        gap: 15px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

}

@media (max-width: 600px) {

    .hero-buttons {
        flex-direction: column;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

}

.gallery-grid,
.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-grid img,
.offer-grid img {
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
    transition: .6s;
}

.gallery-grid img.hidden,
.offer-grid img.hidden {
    display: none;
}

.gallery-grid img.visible,
.offer-grid img.visible {
    opacity: 1;
    transform: translateY(0);
}

.gallery-grid img,
.offer-grid img {
    opacity: 0;
    transform: translateY(30px);
}

.lightbox{
    position:fixed;
    inset:0;

    background:rgba(0,0,0,.9);

    display:none;

    justify-content:center;
    align-items:center;

    z-index:9999;
}

.lightbox.active{
    display:flex;
}

.lightbox img{

    max-width:30%;
    max-height:70%;

    border-radius:10px;
}

.close{

    position:absolute;

    top:25px;
    right:35px;

    color:white;

    font-size:45px;

    cursor:pointer;
}

.prev,
.next{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    font-size:45px;

    color:white;

    background:none;

    border:none;

    cursor:pointer;

    padding:20px;
}

.prev{
    left:20px;
}

.next{
    right:20px;
}

.gallery-grid img,
.offer-grid img{
    cursor:pointer;
}

/* Tablet */
@media (max-width: 992px) {
    .lightbox img{
        max-width: 60%;
        max-height: 80%;
    }
}

/* Telefon */
@media (max-width: 768px) {
    .lightbox img{
        max-width: 90%;
        max-height: 85%;
    }

    .prev,
    .next{
        font-size: 35px;
        padding: 10px;
    }

    .close{
        font-size: 35px;
        top: 15px;
        right: 20px;
    }
}