/* Zmienne globalne */
:root {
    --main-blue: #2d6276;
    --accent-blue: #3b7b9a;
    --dark-blue: #2c6075;
    --light-beige: #f8f9fa;
    --text-dark: #2c3e50;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Reset i podstawowe style */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--light-beige);
    overflow-x: hidden;
    padding-top: 70px;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Animacje */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

/* Nowy header - responsywny */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--main-blue);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px 15px;
}

.logo {
    color: white;
    font-size: 1.4rem;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 1.5rem;
}

/* Sekcja główna - bez hero */
.main-section {
    padding: 20px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.section-subtitle {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--main-blue);
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--dark-blue);
    line-height: 1.2;
}

.section-description {
    font-size: 1rem;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    color: var(--text-dark);
    padding: 0 15px;
}

/* Przyciski CTA */
.cta-button {
    display: inline-block;
    background: var(--accent-blue);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    margin: 1rem 0;
    transition: var(--transition);
    border: none;
    box-shadow: var(--shadow);
    font-size: 1rem;
}

.cta-button:hover {
    background: var(--dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

/* Galeria zdjęć */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 20px 0;
}

.gallery-item {
    aspect-ratio: 4/3;
    background: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--main-blue);
    transition: var(--transition);
    position: relative;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 98, 118, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.photo-overlay i {
    font-size: 2rem;
    color: white;
}

.photo-number {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.8rem;
}

.more-photos {
    text-align: center;
    margin: 20px 0;
}

/* Boxy informacyjne */
.info-box {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin: 25px 0;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--accent-blue);
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.info-box h2 {
    color: var(--main-blue);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
}

.equipment-grid, .pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 20px 0;
}

.equipment-col, .pricing-col {
    background: rgba(45, 98, 118, 0.05);
    padding: 15px;
    border-radius: 8px;
    transition: var(--transition);
}

.equipment-col:hover, .pricing-col:hover {
    transform: scale(1.02);
    background: rgba(45, 98, 118, 0.1);
}

.equipment-col h3, .pricing-col h3 {
    color: var(--dark-blue);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
}

.highlight-list {
    list-style: none;
}

.highlight-list li {
    color: var(--text-dark);
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    font-size: 0.95rem;
    transition: var(--transition);
}

.highlight-list li:hover {
    color: var(--accent-blue);
    transform: translateX(5px);
}

.price-notes {
    margin-top: 25px;
    padding: 15px;
    background: rgba(45, 98, 118, 0.05);
    border-radius: 8px;
}

/* Stopka */
footer {
    background: var(--main-blue);
    color: var(--light-beige);
    padding: 25px 0;
    margin-top: 20px;
    text-align: center;
}

footer .container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

footer p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-blue);
    transform: translateY(-5px);
}

/* Tłumacz Google w headerze */
#google_translate_element {
    margin-left: 10px;
}

.goog-te-gadget-simple {
    background: rgba(255,255,255,0.9) !important;
    border: 1px solid #3b7b9a !important;
    border-radius: 20px !important;
    padding: 5px 10px !important;
    color: #2d6276 !important;
    font-weight: 700 !important;
    font-family: 'Montserrat', sans-serif !important;
    box-shadow: none !important;
    font-size: 14px !important;
    transition: background 0.2s;
}

.goog-te-gadget-simple:hover {
    background: rgba(255,255,255,1) !important;
}

.goog-te-menu-value span {
    color: #2d6276 !important;
    font-weight: 700 !important;
}

.goog-te-menu-value {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

/* Responsywność */
@media (min-width: 768px) {
    body {
        padding-top: 80px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
    
    .equipment-grid, .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-header {
        padding: 30px 0;
    }
    
    .header-container {
        padding: 10px 20px;
    }
    
    .logo {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.6rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .info-box {
        padding: 15px;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .section-description {
        font-size: 0.95rem;
    }
}

.calendar-container {
    border-radius: 8px;
    overflow: hidden;
    margin: 20px 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Przycisk rezerwacji */
.reservation-btn {
    background: #A1195B !important;
    display: block;
    max-width: 300px;
    margin: 25px auto 10px;
    text-align: center;
}

.reservation-btn:hover {
    background: #8a1650 !important;
}

.reservation-link {
    text-align: center;
    padding: 10px 0;
}

/* Responsywność kalendarza */
@media (max-width: 768px) {
    .calendar-container iframe {
        height: 500px !important;
    }
}

@media (max-width: 480px) {
    .calendar-container iframe {
        height: 400px !important;
    }
}

/* Lightbox - powiększanie zdjęcia */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    cursor: zoom-out;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.lightbox-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 10px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
    border: 4px solid #fff;
    background: #fff;
    animation: fadeIn 0.4s;
}
@media (max-width: 600px) {
    .lightbox-img {
        max-width: 98vw;
        max-height: 70vh;
    }
}

/* --- MODAL VIDEO --- */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    cursor: zoom-out;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.video-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.video-modal-content {
    position: relative;
    background: transparent;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#video-frame {
    max-width: 90vw;
    max-height: 80vh;
    width: 800px;
    height: 450px;
    background: #000;
}
@media (max-width: 900px) {
    #video-frame {
        width: 98vw;
        height: 56vw;
        max-height: 60vh;
    }
}
@media (max-width: 600px) {
    #video-frame {
        width: 98vw;
        height: 55vw;
        max-height: 50vh;
    }
    .video-modal-content {
        padding: 0;
    }
}