/* Garden Romance Theme */
:root {
    --bg-color: #F8F9F5;
    /* Soft sage/cream tint */
    --text-primary: #2C3E30;
    /* Dark forest green */
    --text-secondary: #5F6F62;
    /* Muted green */
    --accent-color: #A8BCA1;
    /* Sage green */
    --accent-light: #E1E8DE;
    /* Light sage */
    --highlight: #D8A48F;
    /* Dusty pink/terracotta for subtle highlights */

    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Lato', sans-serif;
    --font-script: 'Great Vibes', cursive;

    --spacing-section: 100px;
    --border-radius-soft: 8px;
    --border-radius-organic: 60% 40% 30% 70% / 60% 30% 70% 40%;
    /* Organic pebble shape */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.7;
    font-weight: 300;
    overflow-x: hidden;
}

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

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

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

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--highlight);
    margin: 10px auto 0;
}

.script-font {
    font-family: var(--font-script);
    font-size: 2.5rem;
    color: var(--highlight);
    display: block;
    margin-bottom: 10px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--text-primary);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: 20px;
}

.btn:hover {
    background-color: var(--highlight);
    transform: translateY(-2px);
    color: var(--text-primary);
}

/* Navigation & Language */
nav {
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 1px;
    font-weight: 600;
}

.lang-switch button {
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
    margin-left: 10px;
}

.lang-switch button.active {
    color: var(--text-primary);
    font-weight: 700;
    border-bottom: 1px solid var(--text-primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Organic blobs for background */
.blob {
    position: absolute;
    background: var(--accent-light);
    border-radius: var(--border-radius-organic);
    opacity: 0.6;
    z-index: -1;
}

.blob-1 {
    width: 600px;
    height: 600px;
    top: -100px;
    right: -100px;
    animation: float 10s ease-in-out infinite;
}

.blob-2 {
    width: 400px;
    height: 400px;
    bottom: -50px;
    left: -50px;
    background: #EEE5E0;
    animation: float 12s ease-in-out infinite reverse;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(20px, 30px) rotate(5deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-names {
    margin: 10px 0;
}

.hero-date {
    font-size: 1.2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-top: 20px;
    display: block;
}

/* Sections */
section {
    padding: var(--spacing-section) 0;
}

/* Story/About */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-img-wrapper {
    position: relative;
    padding: 20px;
}

.story-img {
    width: 100%;
    border-radius: 200px 200px 0 0;
    /* Arch shape */
    object-fit: cover;
    box-shadow: 10px 10px 0 var(--accent-light);
}

.story-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Details Cards */
.details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.detail-card {
    background: #fff;
    padding: 40px;
    text-align: center;
    border-radius: var(--border-radius-soft);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s;
}

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

.icon-leaf {
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
    fill: var(--accent-color);
}

.detail-label {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 10px;
    display: block;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 300px;
    gap: 15px;
}

/* Map Section */
.map-container {
    height: 400px;
    width: 100%;
    margin-top: 50px;
    border-radius: var(--border-radius-soft);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item {
    overflow: hidden;
    position: relative;
}

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

/* RSVP Form */
.rsvp-section {
    background-color: var(--accent-light);
    position: relative;
    overflow: hidden;
}

.rsvp-form {
    background: #fff;
    padding: 60px;
    max-width: 600px;
    margin: 0 auto;
    border-radius: var(--border-radius-soft);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    background: #FCFCFC;
    transition: border 0.3s;
}

.form-control:focus {
    border-color: var(--accent-color);
    outline: none;
    background: #fff;
}

/* Footer */
footer {
    padding: 60px 0;
    text-align: center;
    background: var(--text-primary);
    color: #fff;
}

.footer-names {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 10px;
}

/* Language Visibility */
.lang-en {
    display: none;
}

body[data-lang="en"] .lang-en {
    display: block;
}

body[data-lang="en"] .lang-pl {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 3.5rem;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

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

    .rsvp-form {
        padding: 30px;
    }

    .blob-1 {
        right: -200px;
        width: 400px;
        height: 400px;
    }
}