import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:wght@400;700&family=Playpen+Sans:wght@300;400;600&display=swap');

body {
    font-family: 'Playpen Sans', sans-serif; 
    margin: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

header {
    background: #005f73;
    color: #fff;
    padding-top: 10px;
    padding-bottom: 10px;
    min-height: 80px;
    border-bottom: #0a9396 3px solid;
}

header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

header .logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

header .logo img {
    height: 50px; 
    width: auto;
}

header h1 {
    margin: 0;
    font-size: 2em;
    display: inline-block;
    font-family: 'Bodoni Moda', serif; 
}

.language-selector {
    margin-left: 20px;
}

.language-selector select {
    padding: 8px 10px;
    border-radius: 5px;
    border: 1px solid #e9d8a6;
    background-color: #fff;
    color: #005f73;
    font-size: 0.9em;
    cursor: pointer;
    font-family: 'Playpen Sans', sans-serif; 
}

.language-selector label.sr-only { 
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

header .tagline {
    margin: 5px 0 0 0; 
    font-style: italic;
    width: 100%; 
    text-align: left; 
}

nav {
    background: #0a9396;
    color: #fff;
    padding: 5px 0;
}

nav ul {
    padding: 0;
    list-style: none;
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1em;
}

nav a:hover {
    color: #e9d8a6;
}

section {
    padding: 40px 0;
    border-bottom: 1px solid #ddd;
}

section:last-of-type {
    border-bottom: none;
}

section h2,
#hero h2 { 
    text-align: center;
    margin-bottom: 30px;
    color: #005f73;
    font-family: 'Bodoni Moda', serif;
}

#hero {
    background: url('beach_ustronie.png') no-repeat center center/cover; 
    color: #fff;
    text-align: center;
    padding: 100px 0;
    position: relative; 
}
/* Add overlay for better text readability */
#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 95, 115, 0.6); 
    z-index: 1;
}

#hero .container {
    position: relative; 
    z-index: 2;
}

#hero h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #fff;
}

.cta-button {
    display: inline-block;
    background: #ee9b00;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    font-weight: bold; 
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background: #ca6702;
}

#about ul {
    list-style: disc;
    margin-left: 20px;
}

#about .inline-image {
    display: block;
    max-width: 60%;
    height: auto;
    margin: 30px auto 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

#location #map {
    height: 400px;
    width: 100%;
    margin-top: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

#gallery .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

#gallery .gallery-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

#gallery .gallery-grid img:hover {
    transform: scale(1.03);
}

#activities ul {
     list-style: none;
     padding: 0;
}

#activities ul li {
    background: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%230a9396" width="18px" height="18px"><path d="M0 0h24v24H0z" fill="none"/><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
    padding-left: 30px;
    margin-bottom: 10px;
}

#contact {
    background-color: #e9ecef;
    text-align: center;
}

#contact a {
    color: #005f73;
}

#contact a:hover {
    text-decoration: underline;
}

footer {
    background: #003049;
    color: #aeaeae;
    text-align: center;
    padding: 20px 0;
    margin-top: 0; 
}

/* Responsive */
@media (max-width: 768px) {
    header .header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    header .language-selector {
        margin-left: 0;
        margin-top: 10px;
        align-self: flex-start;
    }
    header .tagline {
        text-align: left; 
        margin-top: 10px;
    }
    header h1 {
        font-size: 1.8em;
    }

    nav ul li {
        display: block;
        margin: 10px 0;
    }

    #hero h2 {
        font-size: 2em;
    }

    #about .inline-image {
        max-width: 90%;
    }

    #gallery .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    header .logo {
       flex-direction: column;
       align-items: flex-start;
    }
    header h1 {
       font-size: 1.5em;
    }
     #hero {
        padding: 60px 0;
    }
    #hero h2 {
        font-size: 1.8em;
    }

     #gallery .gallery-grid {
        grid-template-columns: 1fr; 
    }

}
