:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-bg: #f5f5f5;
    --dark-bg: #34495e;
    --text-color: #333;
    --light-text: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.6;
    user-select: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 32px;
    font-weight: bold;
    font-style: italic;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo span {
    color: var(--secondary-color);
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.hero {
    height: 80vh;
    background-image: image-set(
            "../img/bg.avif" type("image/avif"),
            "../img/bg.webp" type("image/webp"),
            "../img/bg.jpg" type("image/jpeg")
    );
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--light-text);
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 22px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #2980b9;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
}

.about {
    background-color: #fff;
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
    text-align: justify;
}

.about-text h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-image picture {
    width: 100%;
    height: auto;
    display: block;
}

.gallery {
    background-color: var(--light-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    height: 250px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.container-button {
    display: block;
    margin: 30px auto;
    padding: 12px 30px;
    border-radius: 50px;
    text-align: center;
    font-weight: bold;
}

.availability {
    background-color: #fff;
}

.map {
    background-color: var(--light-bg);
}

.calendar-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.calendar-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.calendar-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.contact {
    background-color: #fff;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.contact-info {
    flex: 1;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-details h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 7px;
    width: 13px;
}

.contact-icon {
    font-size: 20px;
    color: var(--secondary-color);
    margin-right: 15px;
}

.form-container {
    flex: 1;
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form .submit-btn {
    background-color: var(--secondary-color);
    color: var(--light-text);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form .submit-btn:hover {
    background-color: #2980b9;
}

footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-logo {
    font-size: 32px;
    font-weight: bold;
    font-style: italic;
}

.footer-logo span {
    color: var(--secondary-color);
}

.footer-links {
    list-style: none;
    display: flex;
}

.footer-links li {
    margin-left: 20px;
}

.footer-links a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.copyright {
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsywność */
@media (max-width: 1400px) {
    .about-content {
        flex-direction: column;
    }
    
    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 1400px) {
    /* Wersja mobilna */
    @media (max-width: 1400px) {
        .nav-links {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background-color: rgba(255, 255, 255, 0.98);
            padding: 80px 20px 20px;
            overflow-y: auto;
            z-index: 998;
            flex-direction: column;
        }

        .nav-links.active {
            display: flex;
        }

        .nav-links li {
            margin: 10px 0;
        }

        .nav-links a {
            display: block;
            padding: 10px;
            font-size: 18px;
            color: #000 !important;
        }

        .dropdown-menu {
            position: static;
            box-shadow: none;
            padding-left: 20px;
            background: transparent;
        }

        .dropdown-menu li a {
            padding: 8px 15px;
            font-size: 16px;
            color: #000000;
        }
    }

}

@media (max-width: 1400px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }

    /* Animacja strzałki w dropdown */
    .fa-chevron-down {
        transition: transform 0.3s ease;
    }

    .dropdown.active .fa-chevron-down {
        transform: rotate(180deg);
    }

}

/* Ikonki */
.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
}

/* Strona podziękowania */
.thank-you-container {
    text-align: center;
    padding: 100px 0;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.thank-you-icon {
    font-size: 80px;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.thank-you-title {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.thank-you-message {
    font-size: 18px;
    max-width: 600px;
    margin-bottom: 40px;
}

/* Mobilne menu */
@media (max-width: 1400px) {
    .mobile-menu-toggle {
        display: block;
        cursor: pointer;
        position: absolute;
        top: 50%;
        right: 15px;
        transform: translateY(-50%);
        width: 30px;
        height: 20px;
    }

    .mobile-menu-toggle span {
        position: absolute;
        width: 100%;
        height: 3px;
        background-color: var(--light-text);
        left: 0;
        transition: all 0.3s ease;
    }

    .mobile-menu-toggle span:nth-child(1) { top: 0; }
    .mobile-menu-toggle span:nth-child(2) {
        top: 50%;
        transform: translateY(-50%);
    }
    .mobile-menu-toggle span:nth-child(3) { bottom: 0; }
}

/* Dla ekranów większych niż 768px */
@media (min-width: 1400px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* Style dla dropdown menu */
.dropdown {
    position: relative;
}

.dropdown > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 250px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 4px;
    z-index: 1000;
    color: #000000;
    list-style-type: none;
}

.dropdown.active .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu li a {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s;
    color: #000 !important;
}

.dropdown-menu li a:hover {
    background-color: #f5f5f5;
}

.fa-chevron-down {
    transition: transform 0.3s;
}

.dropdown.active .fa-chevron-down {
    transform: rotate(180deg);
}

/* Strzałka w dół */
.fa-chevron-down {
    margin-left: 5px;
    font-size: 0.8em;
}