/* Modern Wedding Landing Page - Inspired by akce.trofejemedaile.cz */

/* Reset a základní styly */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Moderní barevná paleta - přírodní, čisté tóny */
    --primary-color: #8B7355;
    --primary-dark: #6B5845;
    --primary-light: #A89080;
    --accent-color: #C9A97D;
    --accent-light: #E5D4BC;

    --bg-white: #FFFFFF;
    --bg-cream: #FDFBF7;
    --bg-light: #F8F6F3;

    --text-dark: #1A1612;
    --text-gray: #5C5550;
    --text-light: #8A8580;

    --border-color: #E8E6E3;
    --success-color: #7B9E7E;

    /* Typography - System fonts pro moderní vzhled */
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    /* Moderní rozměry */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Moderní typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--text-dark);
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
}

p {
    margin-bottom: 1.25rem;
}

.lead {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.8;
    color: var(--text-gray);
}

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

/* Hero sekce - moderní, čistá */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    padding: clamp(4rem, 10vw, 8rem) 1.5rem;
    text-align: center;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(201, 169, 125, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(139, 115, 85, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.08;
    z-index: 0;
    background: repeating-linear-gradient(
        45deg,
        rgba(255,255,255,0.03),
        rgba(255,255,255,0.03) 20px,
        transparent 20px,
        transparent 40px
    );
}

.placeholder-text {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    padding: 1.5rem;
    background: rgba(0,0,0,0.2);
    border-radius: var(--radius-md);
    border: 2px dashed rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: var(--bg-white);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 400;
}

.hero-subtitle strong {
    color: var(--accent-light);
    font-weight: 600;
}

/* CTA tlačítko - moderní */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.25rem 2.5rem;
    background-color: var(--bg-white);
    color: var(--primary-dark);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
    box-shadow: var(--shadow-lg);
    border: 2px solid transparent;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    background-color: var(--accent-light);
}

.cta-button:active {
    transform: translateY(0);
}

/* Sekce - moderní spacing */
section {
    padding: clamp(4rem, 8vw, 6rem) 1.5rem;
}

section:nth-child(even) {
    background-color: var(--bg-cream);
}

/* O co jde */
.about {
    background-color: var(--bg-white);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-gray);
}

.about-content .lead {
    font-size: 1.35rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-weight: 500;
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
}

/* Pro koho je to - moderní cards */
.for-whom {
    background-color: var(--bg-cream);
}

.for-whom h2 {
    text-align: center;
    margin-bottom: 3.5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.benefit-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.benefit-card h3 {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.benefit-card p {
    color: var(--text-gray);
    margin: 0;
    line-height: 1.7;
}

.note {
    max-width: 700px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    background-color: var(--accent-light);
    background: linear-gradient(135deg, var(--accent-light) 0%, #F5EDE0 100%);
    border-left: 4px solid var(--accent-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.note p {
    margin: 0;
    color: var(--text-dark);
    font-weight: 500;
}

/* Jak to funguje - timeline style */
.how-it-works {
    background-color: var(--bg-white);
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 3.5rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.step {
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 auto 1.25rem;
    box-shadow: var(--shadow-md);
}

.step h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.step p {
    color: var(--text-gray);
    margin: 0;
    line-height: 1.7;
}

/* Co můžeme vytvořit */
.what-we-create {
    background-color: var(--bg-cream);
}

.what-we-create h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.section-intro {
    max-width: 700px;
    margin: 0 auto 3.5rem;
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.decorations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.decoration-item {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.decoration-item h3 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.decoration-item p {
    color: var(--text-gray);
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

/* Kdo za projektem stojí */
.about-us {
    background-color: var(--bg-white);
}

.about-us h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.about-us-content {
    max-width: 750px;
    margin: 0 auto;
}

.brand-intro h3 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 1.75rem;
    text-align: center;
    font-weight: 700;
}

.brand-intro p {
    font-size: 1.15rem;
    color: var(--text-gray);
    line-height: 1.9;
}

/* Galerie - moderní grid */
.gallery {
    background-color: var(--bg-cream);
}

.gallery h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--border-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px dashed var(--border-color);
    padding: 2rem;
}

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

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

/* Formulář - moderní, čistý */
.form-section {
    background-color: var(--bg-white);
    padding: clamp(4rem, 8vw, 6rem) 1.5rem;
}

.form-section h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.form-intro {
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
}

#wedding-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-cream);
    padding: 3rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.form-section-block {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
}

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

.form-section-block h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 1.75rem;
    font-weight: 600;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: var(--font-main);
    background-color: var(--bg-white);
    transition: all 0.2s ease;
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Checkboxy - moderní */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
    color: var(--text-gray);
    transition: color 0.2s ease;
}

.checkbox-label:hover {
    color: var(--text-dark);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.gdpr-note {
    display: block;
    margin-top: 0.75rem;
    padding: 1rem;
    background-color: var(--bg-light);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--text-gray);
    border-left: 3px solid var(--accent-color);
}

/* Submit tlačítko - moderní */
.form-submit {
    text-align: center;
    margin-top: 3rem;
}

.submit-button {
    padding: 1.25rem 3rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-md);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.submit-button:active {
    transform: translateY(0);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-note {
    margin-top: 1.25rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Footer - minimalistický */
footer {
    background-color: var(--text-dark);
    color: var(--bg-light);
    padding: 2.5rem 1.5rem;
    text-align: center;
}

footer p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
}

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

    h2 {
        font-size: 1.75rem;
    }

    .hero {
        min-height: 70vh;
        padding: 3rem 1.5rem;
    }

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

    section {
        padding: 3rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    #wedding-form {
        padding: 2rem 1.5rem;
    }

    .benefits-grid,
    .steps,
    .decorations-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .cta-button {
        padding: 1.125rem 2rem;
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2.5rem 1rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    #wedding-form {
        padding: 1.5rem 1rem;
    }

    .submit-button {
        width: 100%;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
