/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Fixed Background */
.background-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('background-1920x1080.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -1;
}

@media (max-width: 768px) {
    .background-fixed {
        background-attachment: scroll;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: #2c3e50;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #8B7355;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
}

/* Content Wrapper */
.content-wrapper {
    position: relative;
    z-index: 1;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Sections */
.section {
    padding: 100px 0;
    position: relative;
}

.section:first-child {
    padding-top: 120px;
}

.bg-light {
    background: rgba(248, 249, 250, 0.95);
    backdrop-filter: blur(10px);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    color: #2c3e50;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(210, 180, 140, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2c3e50;
    transform: translateY(-2px);
}

.btn-light {
    background: white;
    color: #8B7355;
}

.btn-light:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

/* Announcement Box */
.announcement-section {
    padding: 40px 0;
}

.announcement-box {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.announcement-icon {
    font-size: 2rem;
    flex-shrink: 0;
    color: #2c3e50;
}

.announcement-icon i {
    font-size: 2rem;
    color: #2c3e50;
}

.announcement-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.announcement-link {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.announcement-link:hover {
    border-bottom-color: #2c3e50;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.section-header p {
    font-size: 1.1rem;
    color: #34495e;
    max-width: 600px;
    margin: 0 auto;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.about-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-item {
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid #8B7355;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateX(5px);
}

.service-item h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

/* Events */
.events-list {
    max-width: 800px;
    margin: 0 auto;
}

.event-item {
    display: flex;
    gap: 30px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.event-item:hover {
    transform: translateY(-3px);
}

.event-date {
    text-align: center;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    color: #2c3e50;
    padding: 20px;
    border-radius: 10px;
    min-width: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.event-month {
    font-size: 0.9rem;
    text-transform: uppercase;
}

.event-details h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.event-meta {
    margin-top: 15px;
    display: flex;
    gap: 20px;
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Signup Section */
.signup-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.signup-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.signup-text p {
    color: #2c3e50;
}

/* Forms */
.signup-form {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #2c3e50;
    font-size: 1.05em;
    letter-spacing: 0.01em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1.5px solid #bdbdbd;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.85);
    color: #2c3e50;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.07);
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #444;
    opacity: 1;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8B7355;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 16px rgba(139, 115, 85, 0.10);
}

.form-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.95em;
    color: #7f8c8d;
    opacity: 0.95;
    letter-spacing: 0.01em;
}

.form-group textarea {
    font-family: inherit;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item h4 {
    color: #2c3e50;
    margin-bottom: 5px;
}

/* Footer */
.footer {
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: #ecf0f1;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #8B7355;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #bdc3c7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .announcement-box {
        flex-direction: column;
        text-align: center;
    }
    
    .signup-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .event-item {
        flex-direction: column;
        text-align: center;
    }
    
    .event-date {
        align-self: center;
    }
    
    .event-meta {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .signup-form {
        padding: 30px 20px;
    }
}

@media (min-width: 600px) {
    .signup-form {
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
    .checkbox-group {
        width: 100%;
        max-width: 380px;
    }
    .checkbox-row label {
        white-space: nowrap;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #8B7355, #A0522D);
    transform-origin: left;
    z-index: 9999;
}

.event-schedule {
  list-style: none;
  padding: 0;
  margin: 25px 0 0 0;
}
.event-schedule li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 1.08em;
}
.event-time {
  min-width: 60px;
  font-weight: 600;
  color: #8B7355;
  margin-right: 12px;
  font-family: inherit;
}
.event-desc {
  color: #2c3e50;
}

.event-static-map {
  word-break: break-word;
  overflow-wrap: anywhere;
}
.event-map-link {
  word-break: break-word;
  overflow-wrap: anywhere;
  white-space: normal;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-right: 8px;
}
.checkbox-group label {
  padding-left: 4px;
}

.bring-details {
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s cubic-bezier(.4,2,.6,1), opacity 0.3s;
  overflow: hidden;
  margin-top: 0;
}
.checkbox-group input[type="checkbox"].bring-owoce:checked ~ .bring-owoce-details,
.checkbox-group input[type="checkbox"].bring-napoje:checked ~ .bring-napoje-details,
.checkbox-group input[type="checkbox"].bring-inne:checked ~ .bring-inne-details {
  max-height: 40px;
  opacity: 1;
  margin-top: 8px;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.checkbox-group label {
  display: inline-block;
  margin: 0;
  padding: 0;
}
.event-bullet-list {
margin: 4px 0 0 0;
padding-left: 12px;
list-style-type: disc;
}
.event-bullet-list li {
font-size: 0.9em;
margin-bottom: 0;
}

/* Map Link Icon Styles */
.map-link-icon {
  vertical-align: middle;
  position: relative;
  margin-left: 4px;
  top: -4px;
}
.map-link-icon-osm {
  fill: #1976d2;
}
.map-link-icon-gmaps {
  fill: #d32f2f;
}

.map-link {
  text-decoration: none;
}