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

:root {
    --c-primary: #005f73;
    --c-secondary: #0a9396;
    --c-accent: #ee9b00;
    --c-accent-dark: #ca6702;
    --c-text: #333;
    --c-bg: #f4f4f4;
    --c-white: #fff;
}

body {
    font-family: 'Playpen Sans', sans-serif; 
    margin: 0;
    line-height: 1.6;
    color: var(--c-text);
    background-color: var(--c-bg);
}

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

header {
    background: var(--c-primary);
    color: #fff;
    padding: 15px 0;
    border-bottom: var(--c-secondary) 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: 60px; 
    width: auto;
}

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

.language-selector select {
    padding: 8px 10px;
    border-radius: 5px;
    border: 1px solid #e9d8a6;
    background-color: #fff;
    color: var(--c-primary);
    font-size: 0.9em;
    cursor: pointer;
}

header .tagline {
    margin: 10px 0 0 0; 
    font-style: italic;
    opacity: 0.9;
}

/* Sticky Nav */
nav {
    background: var(--c-secondary);
    color: #fff;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.05em;
    padding: 15px 20px;
    display: block;
    transition: background 0.3s, color 0.3s;
}

nav ul li a:hover {
    background: rgba(255,255,255,0.1);
    color: #e9d8a6;
}

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

section h2 { 
    text-align: center;
    margin-bottom: 40px;
    color: var(--c-primary);
    font-family: 'Bodoni Moda', serif;
    font-size: 2.2em;
}

/* Hero Section with Ken Burns */
#hero {
    height: 70vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('beach_ustronie.png') no-repeat center center/cover;
    z-index: -1;
    animation: kenburns 20s infinite alternate;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 50, 60, 0.5);
    z-index: 0;
}

@keyframes kenburns {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

#hero .container {
    z-index: 1;
}

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

#hero p {
    font-size: 1.25em;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* CTA Button & Pulse */
.cta-button {
    display: inline-block;
    background: var(--c-accent);
    color: #fff;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold; 
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(238, 155, 0, 0.3);
}

.cta-button:hover {
    background: var(--c-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(202, 103, 2, 0.4);
}

.pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% { box-shadow: 0 0 0 0px rgba(238, 155, 0, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(238, 155, 0, 0); }
    100% { box-shadow: 0 0 0 0px rgba(238, 155, 0, 0); }
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list 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: 35px;
    margin-bottom: 12px;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Location Grid */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.weather-widget {
    margin-top: 25px;
    border-radius: 8px;
    overflow: hidden;
}

.historical-info {
    font-style: italic;
    color: #666;
    text-align: center;
    margin-top: 40px;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.4s ease;
}

.gallery-grid a:hover img {
    transform: scale(1.05);
}

/* Activities Cards */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.activity-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-5px);
}

.activity-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

/* Footer */
footer {
    background: #003049;
    color: #aeaeae;
    text-align: center;
    padding: 40px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .about-grid, .location-grid {
        grid-template-columns: 1fr;
    }
    
    header .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    #hero h2 {
        font-size: 2.2em;
    }
}
