:root {
    --olive-main: #71A67B
    ;      /* oliwkowy */
    --olive-dark: #5F735F;      /* ciemna oliwka */
    --olive-light: #E9EFE9;     /* jasne tło */
    --olive-muted: #A8B8A8;     /* subtelne akcenty */

    --gold-soft: #e7d9a2;       /* delikatne złoto */
    --text-main: #2E3A2E;
    --bg-main: #FAFBFA;
}

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

html {
    scroll-behavior: smooth;
}


body {
    background: var(--bg-main);
    color: var(--text-main);
}

h1, h2, h3 {
    letter-spacing: 0.6px;
}

p {
    line-height: 1.9;
    font-weight: 300;
}


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

/* Typography */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(45deg, var(--olive-main), var(--gold-soft));
    border-radius: 2px;
}

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

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--olive-main);
}

.nav-logo i {
    font-size: 1.8rem;
    animation: heartbeat 2s infinite;
    color: var(--gold-soft);
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

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

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, var(--olive-main)
var(--gold-soft));
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.upload-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.hidden-upload {
  display: none;
}
.nav-link:hover {
    color: var(--olive-main);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: 0;
    padding: 0;
}

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

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(
        135deg,
        var(--olive-main),
        var(--olive-dark)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    
}


.hero-content {
    text-align: center;
    color: var(--gold-soft);
    z-index: 2;
    position: relative;
    margin-top: 8rem;
    padding-top: 6vh;
}



.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 440;
    letter-spacing: 3px;
    text-transform: uppercase;
    white-space: nowrap;
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 1.1;
    
}


.hero-subtitle {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-date {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.date-item {
    text-align: center;
}

.date-number {
    display: block;
    font-size: clamp(2.6rem, 6vw, 2rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.781);
}

.date-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-location {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-location i {
    margin-right: 10px;
    color: var(--gold-soft);
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    animation: fadeInUp 1s ease 0.8s both;
}

.countdown-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
}

.countdown-number {
    display: block;
    font-size: 1.4rem;
    font-weight: 550;
    color: rgba(255, 255, 255, 0.781);;
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Floating Hearts */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-hearts {
    display: none;
}


.floating-hearts i {
    position: absolute;
    color: rgba(255, 255, 255, 0.1);
    animation: float 6s infinite;
}

.floating-hearts i:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-hearts i:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 1s;
}

.floating-hearts i:nth-child(3) {
    top: 80%;
    left: 20%;
    animation-delay: 2s;
}

.floating-hearts i:nth-child(4) {
    top: 30%;
    left: 70%;
    animation-delay: 3s;
}

.floating-hearts i:nth-child(5) {
    top: 70%;
    left: 60%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Story Section */
.story {
    padding: 6rem 0;
    background: #f8f9fa;
}

.story-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.story-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(45deg, var(--olive-main), var(--gold-soft));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.timeline-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item.left {
    text-align: right;
    padding-right: 50px;
}

.timeline-item.right {
    text-align: left;
    padding-left: 50px;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #e2e8e2;

    position: relative;
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
}

.timeline-content h3 {
    color: var(--olive-main);
    margin-bottom: 0.5rem;
}

.timeline-content .date {
    color: var(--gold-soft);
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--olive-main);
    border-radius: 50%;
    transform: translateY(-50%);
}

.timeline-item.left::before {
    right: -10px;
}

.timeline-item.right::before {
    left: -10px;
}

/* Details Section */
.details {
    padding: 6rem 0 4rem 0;
    background: white;
    margin-bottom: 0;
    opacity: 1 !important;
    transform: none !important;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    margin-bottom: 0;
    padding-bottom: 0;
    opacity: 1 !important;
    transform: none !important;
}

.detail-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #e2e8e2;

    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    margin-bottom: 0;
}

.detail-card:last-child {
    margin-bottom: 0;
}

.detail-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.detail-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--olive-main), var(--gold-soft));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.detail-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.detail-time {
    color: var(--olive-main);
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.detail-location {
    color: #2c3e50;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.detail-address {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Additional Information Section */
.additional-info {
    padding: 6rem 0;
    background: #f8f9fa;
    opacity: 1 !important;
    transform: none !important;
}

.info-content {
    max-width: 800px;
    margin: 0 auto;
    opacity: 1 !important;
    transform: none !important;
}

.info-text {
    opacity: 1 !important;
    transform: none !important;
}

.info-text h3 {
    color: var(--olive-main);
    margin-bottom: 1rem;
    margin-top: 2rem;
    font-size: 1.5rem;
}

.info-text h3:first-child {
    margin-top: 0;
}

.info-text p {
    color: #2c3e50;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Map Section */
.map-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.map-container {
    display: grid;
    grid-template-columns: minmax(260px, 0.92fr) minmax(260px, 1.08fr);
    gap: 1.25rem;
    margin-top: 2.25rem;
    align-items: stretch;
    max-width: 1050px;
    margin-left: auto;
    margin-right: auto;
}

.map-info {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 1.25rem;
    height: 100%;
}

.location-details,
.map-placeholder,
.map {
    background: white;
    border-radius: 22px;
    border: 1px solid #e2e8e2;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.location-details {
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 150px;
    opacity: 1 !important;
    transform: none !important;
}

.location-details h3 {
    color: var(--olive-main);
    margin-bottom: 1rem;
}

.location-details p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #2c3e50;
    line-height: 1.6;
    text-align: center;
}

.location-details i {
    color: var(--gold-soft);
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.directions-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: fit-content;
    background: var(--olive-main);
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.directions-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(57, 85, 52, 0.2);
    background: var(--olive-dark);
}

.map-placeholder,
.map {
    min-height: unset;
    height: auto;
    width: 100%;
    border-radius: 22px;
    overflow: hidden;
}

.map-placeholder {
    aspect-ratio: 2 / 3;
    background: #f2f2f2;
    max-width: 520px;
    width: 100%;
    justify-self: center;
}

.map {
    aspect-ratio: 2 / 3;
    width: min(100%, 520px);
    max-width: 520px;
    justify-self: center;
    align-self: stretch;
    margin: 0 auto;
}

.map-placeholder iframe,
.map img {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.map-placeholder iframe {
    object-fit: cover;
}

.map img {
    border-radius: 22px;
    object-fit: cover;
    object-position: center;
    background: #f5f5f5;
}

.map-content i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--gold-soft);
}

.map-content h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.map-content p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.map-coordinates {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.map-coordinates p {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .map-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .map-info {
        grid-template-rows: auto auto;
    }

    .map-placeholder {
        width: 100%;
        max-width: 100%;
        height: 340px;
        min-height: 340px;
    }

    .map {
        width: min(100%, 420px);
        max-width: 420px;
        height: auto;
        aspect-ratio: auto;
        margin-left: auto;
        margin-right: auto;
    }

    .map-placeholder iframe,
    .map img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .map img {
        object-fit: contain;
    }

    .location-details,
    .map-placeholder,
    .map {
        border-radius: 18px;
    }
}

/* Gallery Section */
.gallery {
    background: white;
    opacity: 1 !important;
    transform: none !important;

    position: relative;
    padding: 3rem 2.5rem;
}


.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    opacity: 1 !important;
    transform: none !important;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 1 !important;
    transform: none !important;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(231, 76, 60, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 3rem;
    animation: heartbeat 2s infinite;
}

/* === EDITORIAL COLLAGE GALLERY === */

.gallery-collage {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    margin: 0 auto;        /* wycentrowanie */
    max-width: 1200px;     /* ograniczenie jak w containerze */
}

@media (max-width: 1024px) {
    .gallery-collage {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .gallery-collage {
        grid-template-columns: 1fr;
    }

    .gallery-collage img:hover {
        transform: scale(1.1);
    }
}
@media (min-width: 1200px) {
    .gallery-collage img:hover {
        transform: scale(1.18);
    }
}


.gallery-collage img {
    width: 100%;
    aspect-ratio: 3 / 4;   /* STABILNY KADR */
    object-fit: cover;
    object-position: center;
    transition: transform 0.45s ease-out;
}


/* HOVER = WOW */
.gallery-collage img:hover {
    transform: scale(1.04);
    z-index: 5;
    filter: brightness(1.03);
}

.gallery {
    overflow: visible;
}

/* RSVP Section */
.rsvp {
    padding: 6rem 0; /* było 6rem */
    background: linear-gradient(
        -1deg,
        var(--olive-dark),
        var(--olive-main)
    );
}


.rsvp-subtitle {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.rsvp-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.89);
    font-size: 1.2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.form-group input,
.form-group select,
.form-group textarea {
    border-radius: 14px;
    
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--gold-soft);
}

.form-group label {
    position: absolute;
    top: 1.1rem;
    left: 1.2rem;
    color: rgba(255, 255, 255, 0.89);
    font-size: 1.2rem;
    transition: all 0.25s ease;
    pointer-events: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold-soft);
}


.form-group input:focus + label,
.form-group input:valid + label,
.form-group select:focus + label,
.form-group textarea:focus + label {
    top: -0.6rem;
    left: 1rem;
    font-size: 1.2rem;        /* ⬅️ było 0.75rem */
    font-weight: 500;        /* ⬅️ lepsza czytelność */
    color: var(--gold-soft);
    background: rgba(95, 115, 95, 0.9);
    padding: 0 0.5rem;       /* ⬅️ więcej oddechu */
    border-radius: 6px;
}

/* === NOWY STYL PYTAŃ RSVP === */

.rsvp .form-question {
    color: var(--gold-soft);
    font-size: 1.3rem;
    font-weight: 500;    
    margin-left: 1rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.honeypot-field {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.rsvp .form-group {
    margin-bottom: 0.8rem;
}

.rsvp .form-group input,
.rsvp .form-group select,
.rsvp .form-group textarea {
    padding: 1rem 1.2rem;
    border-radius: 14px;
}

.form-group.has-value label {
  top: -0.4rem;
  left: 1rem;
  font-size: 1.2rem;
  color: var(--gold-soft);
  background: rgba(95, 115, 95, 0.85);
  padding: 0 0.4rem;
  border-radius: 4px;
}

/* Special handling for select elements to prevent overlap */
.form-group select:not([value=""]) + label {
    top: -0.5rem;
    left: 0.5rem;
    font-size: 1.2rem;
    color: var(--gold-soft);
    background: var(--olive-dark);
    padding: 0 0.5rem;
    border-radius: 4px;
}

.form-group select {
    padding-top: 1.2rem;
    padding-bottom: 0.8rem;
}

.form-group select option {
    background: var(--olive-dark);
    color: white;
}

.rsvp-btn {
    background: linear-gradient(45deg, var(--olive-main), var(--gold-soft));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
}

.rsvp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(30, 8, 82, 0.4);
}
.hidden {
  display: none;
}

/* Opcjonalne pola – brak błędów wizualnych */
input[data-optional]:invalid,
textarea[data-optional]:invalid,
select[data-optional]:invalid {
  box-shadow: none;
}


/* RSVP Success Message */
.rsvp-success {
    text-align: center;
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.rsvp-success i {
    font-size: 4rem;
    color: #2ecc71;
    margin-bottom: 1rem;
}

.rsvp-success h3 {
    margin-bottom: 1rem;
    color: #2ecc71;
}

.rsvp-success p {
    font-size: 1.1rem;
    opacity: 0.9;
}


/* ==== RSVP PREMIUM UX ==== */

.hidden {
    display: none;
}

.guest2-section {
    animation: fadeInUp 0.4s ease forwards;
}

.add-guest-wrapper {
    text-align: center;
    margin-bottom: 1.5rem;
}

.add-guest-btn {
    background: transparent;
    border: 1.2px solid var(--gold-soft);
    color: var(--gold-soft);
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-guest-btn:hover {
    background: var(--gold-soft);
    color: var(--olive-dark);
    transform: translateY(-2px);
}

.char-counter {
    text-align: right;
    font-size: 0.8rem;
    margin-top: 6px;
    opacity: 0.7;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 2rem 0 1rem;
}

.footer-content {
    text-align: center;
    padding-bottom: 1rem;
    color: #bdc3c7;
}

.footer-section h3 {
    color: var(--gold-soft);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--gold-soft);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

.footer-bottom i {
    color: var(--olive-main);
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* === UPLOAD SECTION === */

.upload {
    min-height: 100vh;
    padding: 6rem 0;
    background: linear-gradient(
        135deg,
        var(--olive-main),
        var(--olive-dark)
    );
    padding-top: 300px; /* navbar */
    padding-bottom: 80px;
  text-align: center;
}

.section-title {
    color: var(--text-main);
}

.upload-subtitle {
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-main);
}

.upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(45deg, var(--olive-main), var(--gold-soft));
  color: white;
  text-decoration: none;
  padding: 1.1rem 2.2rem;
  border-radius: 30px;
  font-size: 1.15rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.upload-btn i {
  font-size: 1.4rem;
}

.upload-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(113, 166, 123, 0.4);
}

.upload-note {
  margin-top: 2rem;
  font-size: 0.9rem;
  opacity: 0.7;
}




/* =====================
   MOBILE & TABLET
   ===================== */
@media (max-width: 768px) {

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        padding: 2rem 0;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }

    .nav-menu.active {
        left: 0;
    }

    /* HERO */
    .hero-title {
        font-size: clamp(3rem, 9vw, 6rem);
        text-align: center;
        white-space: normal;   /* pozwól się łamać */
        line-height: 1.1;
        padding: 0 20px;       /* oddech od krawędzi */        
        }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-date {
        flex-direction: row;
        gap: 1rem;
    }

    .date-number {
        font-size: 3rem;
    }

    .date-label {
        font-size: 0.9rem;
    }

    /* COUNTDOWN */
    .countdown {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .countdown-item {
        padding: 1rem;
    }

    .countdown-number {
        font-size: 1.5rem;
    }

    /* LAYOUT */
    .map-container {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .details-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {

    .hero-title {
        font-size: clamp(2.6rem, 10vw, 4rem);
    }

    .date-number {
        font-size: 2.2rem;
    }

    .date-label {
        font-size: 0.8rem;
    }

    .countdown-number {
        font-size: 1.3rem;
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}
