/* --- GENERAL --- */
    :root {
        --bg-color: #ffffff;
        --bg-secondary: #f9f9f9;
        --text-primary: #2c2c2c;
        --text-secondary: #555555;
        --accent: #d4a373;
        --spacing-section: 80px;
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }
    html{scroll-behavior: smooth;}
    body {font-family: 'Lato', sans-serif;color: var(--text-primary);background-color: var(--bg-color);line-height: 1.6;scroll-behavior: smooth;}
    h1, h2, h3, h4 {font-family: 'Montserrat', sans-serif;font-weight: 500;text-transform: uppercase;letter-spacing: 2px;margin-bottom: 1rem;}
    a {text-decoration: none; color: inherit; transition: 0.3s; }
    ul {list-style: none; }
    img {width: 100%; display: block; object-fit: cover; }

/* --- NAVBAR --- */
    nav {position: fixed;top: 0;width: 100%;background: rgba(255, 255, 255, 0.98);padding: 16px 5%;display: flex;justify-content: space-between;
        align-items: center;z-index: 1000;border-bottom: 1px solid #eee;box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }
    .logo{display: flex;align-items: center;gap:10px;}
    .logo_svg{width:50px;color:black;}
    .logo_text{font-size: 1.5rem; font-weight: 700; letter-spacing: 3px; }
    .nav-links {display: flex; gap: 30px; }
    .nav-links a {font-size: 0.9rem; text-transform: uppercase; font-weight: 500; }
    .nav-links a:hover { color: var(--accent); }
    .burger {display: none; cursor: pointer; }
    .burger div {width: 25px; height: 3px; background-color: var(--text-primary); margin: 5px; transition: 0.3s; }

/* --- SWIPER --- */
    #swiper {width: 100%;position: relative;display: flex;align-items: center;justify-content: center;background-color: #333;
        max-height: 90vh;margin-top: 83px;}
    .swiper-wrapper{width:100%;height:100%;}
    .swiper-slide{display: flex;justify-content: center;align-items: center;}
    .swiper-img{object-fit: cover;object-position: center;width: 100%;}
    .swiper-button-prev, .swiper-button-next{color:rgba(255,255,255,0.7)}
    .swiper-button-prev:hover, .swiper-button-next:hover{color:rgba(255,255,255,1)}

/* --- OFERTA --- */
    #oferta {padding: var(--spacing-section) 5%; text-align: center; background: var(--bg-color); }
    .section-title {font-size: 2rem; margin-bottom: 50px; color: var(--text-primary); }
    .services-grid {display: grid;grid-template-columns: 1fr;gap: 40px;}
    .service-item {padding: 20px; transition:background-color 350ms, filter 300ms; border-radius: 15px;display: block;}
    .service-img-wrapper {max-height: 250px;margin-bottom: 20px;overflow: hidden;background: #eee;}
    .service-img-wrapper img{height: 100%;}
    .service-item h3 {font-size: 1.1rem; margin-bottom: 10px; }
    .service-item p {font-size: 0.9rem; color: var(--text-secondary); }
    .service-item:hover{background-color: rgb(212, 163, 115,0.28);}
    .service-item:hover .service-img-wrapper img{filter: saturate(1.3);}

    @media (min-width: 768px) {
        .services-grid { grid-template-columns: repeat(2, 1fr); gap: 4%; }
    }
    @media (min-width: 1400px) {
        .services-grid { grid-template-columns: repeat(3, 1fr); gap: 4%; }
    }


/* --- MASONRY GRID --- */
    #galeria {padding: var(--spacing-section) 2%; background: var(--bg-secondary); }
    .masonry-grid {column-count: 3;column-gap: 20px;}
    .masonry-item {break-inside: avoid;margin-bottom: 20px;overflow: hidden;position: relative;}
    .masonry-item img {width: 100%;height: auto;border-radius: 2px;transition: transform 0.5s ease, filter 0.3s;cursor: zoom-in;display: block;}
    .masonry-item:hover img {transform: scale(1.03); filter: brightness(90%);}

/* --- VIDEO --- */
    #video {padding: var(--spacing-section) 5%; background: var(--bg-color); text-align: center; }
    .video_container { display: grid; grid-template-columns: 1fr; gap: 2rem; padding: 1rem 0; width: 100%; box-sizing: border-box; }
    .video_wrapper { width: 100%; aspect-ratio: 16 / 9; background: #ffffff; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
    .video_wrapper iframe { width: 100%; height: 100%; border: none; }
    .yt_link{color:var(--accent);}

    @media (min-width: 768px) {
        .video_container { grid-template-columns: repeat(2, 1fr); gap: 4%; }
    }

/* --- CONTACT ---*/
    #kontakt {padding: var(--spacing-section) 10%; background: #1a1a1a; color: #f0f0f0; }
    #kontakt .section-title {color: #fff; text-align: center; margin-bottom: 60px; }
    .contact-layout {display: flex;flex-wrap: wrap;justify-content: space-between;align-items: center;gap: 60px;}

/* --- BASIC INFO --- */
    .contact-info {flex: 1;min-width: 300px;}
    .contact-details h3 { color: var(--accent); margin-bottom: 20px; font-size: 1.5rem; }
    .contact-details p { margin-bottom: 15px; font-size: 1.1rem; color: #ccc; }
    .contact-details strong { color: #fff; }
    .social-links { margin-top: 30px; }
    .social-links a { display: inline-block; margin-right: 20px; color: #fff; border-bottom: 1px solid var(--accent); padding-bottom: 2px;}

/* --- ABOUT ME --- */
    .about-me {flex: 1;min-width: 300px;display: flex;flex-direction: column;align-items: center;text-align: center;background: #252525;
        padding: 40px;border: 1px solid #333;
    }
    .about-photo {width: 150px;height: 150px;border-radius: 50%;overflow: hidden;margin-bottom: 25px;border: 3px solid var(--accent);}
    .about-photo img {width: 100%;height: 100%;object-fit: cover;}
    .about-text h4 { color: #fff; font-size: 1.2rem; margin-bottom: 10px; }
    .about-text p { font-style: italic; color: #aaa; font-size: 0.95rem; }

/* --- FOOTER --- */
    footer {background: #111;color: #666;text-align: center;padding: 15px;font-size: 0.8rem;border-top: 1px solid #222;}

/* --- LIGHTBOX --- */
    #lightbox {position: fixed; z-index: 9999; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.95); display: none; justify-content: center; align-items: center; backdrop-filter: blur(5px); padding: 20px;}
    #lightbox.active {display: flex; animation: fadeIn 0.3s ease;}
    #lightbox img {max-height: 90vh; max-width: 90vw; width: auto; height: auto; object-fit: contain; box-shadow: 0 0 40px rgba(0,0,0,0.5); border: 2px solid #222;}
    .lb-btn {position: absolute; background: rgba(0, 0, 0, 0.5); border-radius: 50%; width: 50px; height: 50px; display: flex; justify-content: center; align-items: center; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; transition: 0.3s; z-index: 10000;}
    .lb-btn:hover {background: var(--accent); color: #fff;}
    .lb-close {top: 20px; right: 20px; background: transparent; font-size: 3rem;padding-bottom:8px;}
    .lb-prev {left: 20px;padding-right:5px;}
    .lb-next {right: 20px;}
    @keyframes fadeIn {from {opacity: 0;} to {opacity: 1;}}
    @media (max-width: 768px) {#lightbox img {max-height: 80vh;} .lb-btn {width: 40px; height: 40px; font-size: 1.2rem; top: auto; bottom: 20px;} .lb-prev {left: 30%;} .lb-next {right: 30%;} .lb-close {top: 10px; right: 10px; bottom: auto;}}

    @media (max-width: 768px) {
        .nav-links {position: absolute; right: 0; height: 100vh; top: 0;background-color: #fff;flex-direction: column; align-items: center; width: 80%;
            justify-content: center;transform: translateX(100%);transition: transform 0.4s ease-in-out;box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        }
        .nav-links.nav-active { transform: translateX(0%); }
        .burger { display: block; z-index: 2000; }
        .burger.toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
        .burger.toggle .line2 { opacity: 0; }
        .burger.toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }
        .masonry-grid { column-count: 1; }
        .hero-content h1 { font-size: 2rem; }
        .contact-layout { gap: 40px; }
    }

    @media (min-width: 769px) and (max-width: 1024px) {
        .masonry-grid { column-count: 2; }
    }