
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Beiruti', sans-serif;
}

body {
    min-height: 100vh;
    background: linear-gradient(to bottom, #C4C4C4, #3B3B3B);
    border: 10px solid #2a2a2a;
    position: relative;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #C4C4C4, #3B3B3B);
    z-index: -1;
}

/* ====== TOPBAR ====== */
.menu-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 60px 20px 80px;
    background-color: transparent;
}

.menu {
    display: flex;
    align-items: center;
    gap: 40px;
    font-size: 20px;
    font-weight: 700;
}

.menu a {
    padding: 5px 10px;
    transition: color 0.3s ease;
    text-decoration: none;
    color: #000000;
    white-space: nowrap;
}

.menu a:hover {
    color: #555;
}

.logo {
    font-size: 35px;
    font-family: 'Cabin Sketch', sans-serif;
    text-decoration: none;
    color: #000000;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #555;
}

/* ====== GALERIA DESKTOP (TEN SAM ROZMIAR CO WCZEŚNIEJ) ====== */
.gallery-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 85vh;
    padding: 40px 0; /* Zwiększony padding */
    flex: 1;
    width: 100%;
}

.gallery-carousel {
    position: relative;
    width: 100%;
    max-width: 1200px; /* Taki sam jak painting-large wcześniej */
    height: 600px; /* Zwiększona wysokość */
    overflow: hidden; /* BEZ SCROLLA NA DESKTOPIE */
    background-color: transparent;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: none; /* Usunięta ramka */
    margin: 0 auto;
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
    width: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* OBRAZY WYPEŁNIAJĄCE CAŁY BOX - BEZ BIAŁYCH PRZESTRZENI */
.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* WYPEŁNIA CAŁY BOX */
    display: block;
}

/* Opis - ukryty zgodnie z życzeniem */
.slide-info {
    display: none; /* Ukrywamy opis */
}

/* Przyciski desktop */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
}

.carousel-btn:hover {
    background-color: rgba(0,0,0,0.8);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* Kropki desktop */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.4);
    border: 1px solid rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #fff;
    transform: scale(1.2);
}

/* ====== PRZYCISK SCROLL TO TOP ====== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #ACFF99;
    color: black;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.scroll-top.visible {
    opacity: 0.8;
    visibility: visible;
}

.scroll-top:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* ====== FOOTER ====== */
.footer {
    background-color: #2a2a2a;
    color: #e0e0e0;
    padding: 30px 20px;
    width: 100%;
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.copyright {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

.footer-text {
    font-size: 14px;
    color: #b0b0b0;
}

.footer-contact {
    font-size: 15px;
    margin-bottom: 8px;
}

.footer-contact a {
    color: #ACFF99;
    text-decoration: none;
}

.footer-location {
    font-size: 14px;
    color: #b0b0b0;
}

/* ====== WERSJA TABLET (769px - 1024px) ====== */
@media (min-width: 769px) and (max-width: 1024px) {
    .menu-container {
        padding: 15px 30px;
    }
    
    .menu {
        gap: 25px;
        font-size: 18px;
    }
    
    .logo {
        font-size: 28px;
    }
    
    .gallery-carousel {
        max-width: 900px; /* Mniejsza szerokość na tablecie */
        height: 500px; /* Mniejsza wysokość na tablecie */
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
}

/* ====== WERSJA MOBILNA (ZE SCROLLEM) ====== */
@media (max-width: 768px) {
    .menu-container {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }
    
    .menu {
        gap: 15px;
        font-size: 16px;
        order: 2;
        width: 100%;
        justify-content: center;
    }
    
    .menu a {
        padding: 8px 10px;
    }
    
    .logo {
        font-size: 24px;
        order: 1;
        text-align: center;
    }
    
    .gallery-container {
        padding: 20px 15px;
        min-height: auto;
    }
    
    /* NA MOBILNYCH: SCROLL */
    .gallery-carousel {
        width: 100%;
        height: 400px; /* Stała wysokość na mobile */
        max-width: 100%;
        overflow-x: auto; /* SCROLL NA MOBILNYCH */
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        border-radius: 8px;
        margin: 0 auto;
    }
    
    .carousel-slides {
        display: flex;
        height: 100%;
        width: auto;
    }
    
    .carousel-slide {
        min-width: 100vw; /* PEŁNA SZEROKOŚĆ EKRANU */
        height: 100%;
        padding: 0 15px;
    }
    
    /* OBRAZY WYPEŁNIAJĄCE CAŁY BOX NA MOBILNYCH */
    .carousel-slide img {
        width: calc(100vw - 30px); /* Odejmujemy padding */
        height: 100%;
        object-fit: cover;
        border-radius: 8px;
    }
    
    /* UKRYWAMY PRZYCISKI I KROPKI NA MOBILNYCH */
    .carousel-btn,
    .carousel-dots {
        display: none !important;
    }
    
    .scroll-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .footer {
        padding: 20px 15px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .footer-section {
        min-width: 100%;
    }
}

/* MAŁE TELEFONY */
@media (max-width: 480px) {
    .gallery-carousel {
        height: 350px;
    }
    
    .menu {
        gap: 10px;
        font-size: 14px;
    }
    
    .menu a {
        padding: 6px 8px;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .carousel-slide img {
        width: calc(100vw - 30px);
    }
}
