/* Resetowanie marginesów i paddingów */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Sticky Navigation */
nav {
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

/* nav .logo {
    flex: 1;
    font-size: 1.5rem;
    color: #28a745;
    font-weight: bold;
} */

nav .logo {
    flex: 1;
    display: flex;

}

nav .logo a {
    flex: 1;
    display: flex;
    align-items: center;
    text-decoration: none;
    /* Vertical alignment in the middle */

}

.logo img {
    height: 50px;
    /* Adjust the height of the logo */
    width: auto;
    /* Keep the aspect ratio */
    margin-right: 5px;
    /* Space between logo and text */
}

.logo-text {
    font-family: 'Roboto', sans-serif;
    /* Helvetica font */
    font-size: 1.0rem;
    /* Adjust size to be larger than menu */
    font-weight: bold;
    /* Optional: Make it bold */
    color: #333;
    /* Text color */
    white-space: nowrap;
    /* Prevent wrapping to the next line */
}

nav .menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    /* transition: all 0.3s; */
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    background: #28a745;
    left: 50%;
    bottom: 10px;
    transition: all 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
    left: 0;
}

nav ul li a:hover {
    color: #28a745;
}

/* Hamburger Menu for Mobile */
#menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    nav .menu-icon {
        display: block;
        color: #333;
    }

    nav ul {
        position: absolute;
        top: 60px;
        left: 0;
        background: #fff;
        width: 100%;
        flex-direction: column;
        overflow: hidden;
        max-height: 0;
        /* transition: max-height 0.3s ease-in-out; */
    }

    nav ul li a {
        padding: 15px;
        border-bottom: 1px solid #ccc;
    }

    #menu-toggle:checked+label+ul {
        max-height: 500px;
    }

    .logo img {
        height: 30px;
        /* Smaller logo for mobile devices */
    }

    .logo-text {
        font-size: 0.8rem;
        /* Adjust font size for smaller screens */
    }
}

/* Header */
header {
    position: relative;
    height: 100vh;
    background-image: url('image2.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-content {
    text-align: center;
    color: #fff;
    padding: 20px;
}

.header-content img {
    height: 250px;
    /* Adjust the height of the logo */
    width: auto;
    /* Keep the aspect ratio */
}

.header-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    animation: fadeInDown 1s;
}

.header-content p {
    font-size: 1.5rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s;
}

.booking-button {
    display: inline-block;
    background: #28a745;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 30px;
    transition: background 0.3s;
    font-size: 1.2rem;
    animation: fadeInUp 1s;
}

.booking-button:hover {
    background: #218838;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections */
section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
}

section h2 {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    color: #333;
}

section h2::after {
    content: '';
    width: 50px;
    height: 4px;
    background: #28a745;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
}

section p {
    text-align: center;
    max-width: 800px;
    margin: auto;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* Container for the main image */
.gallery-cover {
    /* width: 300px; */
    /* Set the size as per your needs */

    margin: 0 auto;
}

/* Styling the button that overlays the image */
.open-gallery-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.gallery-button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.gallery-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

/* Adjust the size and position of the image */
.gallery img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
}


/* Map */
.map iframe {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 8px;
}

/* Equipment */
.equipment-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    /* Add some gap between columns if needed */
}

.equipment-category {
    flex: 1 1 30%;
    margin: 20px 10px;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.equipment-category h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #28a745;
    text-align: left;
}

.equipment-category ul {
    list-style: none;
    padding-left: 0;

}

.equipment-category ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.equipment-category ul li i {
    margin-right: 10px;
    /* Add spacing between the icon and the text */
    min-width: 24px;
    /* Set a minimum width for icons to ensure text alignment */
    color: #28a745;
    /* Icon color */
}

/* Workation Cards */
.workation-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    background: #f9f9f9;
    padding: 30px;
    margin: 10px;
    flex: 1 1 300px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s;
    position: relative;
}

.card i {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
}

.card:hover {
    transform: translateY(-10px);
}

/* Rules */
#rules ul {
    list-style: none;
    /* max-width: 800px; */
    margin: 20px 10px;
    /* margin: auto; */
    font-size: 1.1rem;
    padding-left: 0;
}

#rules ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

#rules ul li i {
    margin-right: 10px;
    color: #28a745;
    font-size: 1.5rem;
}

#rules ul li strong {
    margin-right: 5px;
    color: #333;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 60px;
}

footer img {
    height: 200px;
    /* Adjust the height of the logo */
    width: auto;
    /* Keep the aspect ratio */
}

footer p {
    margin: 0;
    padding-bottom: 20px;
}

/* About Summary */
.about-summary {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.summary-item {
    text-align: center;
    margin: 0 20px;
}

.summary-item i {
    font-size: 1.5rem;
    color: #28a745;
    margin-bottom: 10px;
}

.summary-item p {
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .equipment-grid {
        flex-direction: column;
        align-items: left;
    }

    .equipment-category {
        flex: 1 1 100%;
    }
}