* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Svatební barvy - NESAHAT */
    --wedding-yellow: #F7DC6F;
    --wedding-pink: #E8B4D0;
    --wedding-blue: #92C4D8;
    --wedding-green: #9BC59D;
    
    /* Barvy webu - pro lepší čitelnost */
    --primary-color: #8B7355;
    --secondary-color: #A0826D;
    --accent-color: #6B8E9E;
    --accent-green: #7A9B7E;
    --text-dark: #1A1A1A;
    --text-light: #4A5568;
    --bg-light: #F8F6F3;
    --white: #FFFFFF;
    --border-light: #E5E1DC;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
                url('https://images.unsplash.com/photo-1606800052052-a08af7148866?w=1920&h=1080&fit=crop') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.wedding-logo {
    max-width: 600px;
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease-out;
}

.wedding-logo svg {
    width: 100%;
    height: auto;
    color: var(--white);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.logo-names {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 300;
    letter-spacing: 3px;
    fill: currentColor;
}

.logo-date {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 4px;
    fill: currentColor;
    opacity: 0.9;
}

.ring-left {
    animation: ringMoveLeft 3s ease-in-out forwards;
    transform-origin: center;
}

.ring-right {
    animation: ringMoveRight 3s ease-in-out forwards;
    transform-origin: center;
}

@keyframes ringMoveLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(15px);
    }
}

@keyframes ringMoveRight {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-15px);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.names {
    font-size: 4rem;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-shadow: 2px 4px rgba(0, 0, 0, 0.3);
}

.wedding-date {
    font-size: 1.8rem;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 0.15em;
    margin-bottom: 3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Countdown */
.countdown {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 10px;
    min-width: 100px;
}

.countdown-number {
    font-size: 3rem;
    font-weight: 600;
    font-family: 'Cormorant Garamond', serif;
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section:nth-child(even) {
    background-color: var(--bg-light);
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
    font-weight: 600;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
    margin: 1rem auto 0;
}

/* About Us Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Timeline */
.timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #ddd;
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-time {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Cormorant Garamond', serif;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.timeline-content p {
    color: var(--text-light);
}

/* Venue Section */
.venue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.venue-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.venue-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.venue-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.venue-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.venue-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.venue-address {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.venue-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid var(--primary-color);
    transition: color 0.3s ease;
}

.venue-link:hover {
    color: var(--accent-color);
}

/* Details Section */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.detail-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-light);
}

.detail-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.detail-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.color-palette {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    justify-content: center;
}

.color-swatch {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.color-swatch:hover {
    transform: scale(1.1);
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--secondary-color);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    border-left-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.contact-name {
    font-size: 1.8rem;
    font-weight: 600;
    font-family: 'Cormorant Garamond', serif;
    color: var(--secondary-color);
    margin: 1rem 0;
}

.contact-card a {
    color: var(--accent-color);
    text-decoration: none;
    border-bottom: 2px solid var(--accent-color);
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--secondary-color);
}

/* RSVP Section */
.rsvp {
    background: linear-gradient(135deg, #A0826D 0%, #6B8E9E 100%);
}

.rsvp .section-title {
    color: var(--white);
}

.rsvp .section-title::after {
    background: var(--white);
}

.rsvp-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 2rem;
}

.rsvp-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.submit-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.submit-btn:active {
    transform: translateY(0);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}

/* Footer */
.footer {
    background: var(--accent-color);
    color: var(--white);
    text-align: center;
    padding: 3rem 0;
}

.footer-names {
    font-size: 2rem;
    font-family: 'Cormorant Garamond', serif;
    margin: 1rem 0;
}

.footer-date {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .section {
        padding: 3rem 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
        padding: 2rem 1rem;
    }

    .wedding-logo {
        max-width: 400px;
        margin-bottom: 1.5rem;
    }

    .names {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }

    .wedding-date {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .countdown {
        gap: 0.8rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .countdown-item {
        padding: 1rem 1.2rem;
        min-width: 70px;
    }

    .countdown-number {
        font-size: 1.8rem;
    }

    .countdown-label {
        font-size: 0.75rem;
    }

    .section {
        padding: 2.5rem 1.5rem;
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        height: 300px;
    }

    .timeline-item {
        padding: 1.5rem 0;
    }

    .timeline-time {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .timeline-content h3 {
        font-size: 1.2rem;
    }

    .venue-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .venue-card {
        padding: 2rem;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .detail-card {
        padding: 1.5rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .faq-item {
        padding: 1.5rem;
    }

    .faq-item h3 {
        font-size: 1.1rem;
    }

    .rsvp-form {
        padding: 2rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-names {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 60vh;
        padding: 1.5rem 1rem;
    }

    .wedding-logo {
        max-width: 280px;
        margin-bottom: 1rem;
    }

    .names {
        font-size: 2rem;
    }

    .wedding-date {
        font-size: 1rem;
    }

    .countdown-item {
        padding: 0.8rem 1rem;
        min-width: 65px;
    }

    .countdown-number {
        font-size: 1.5rem;
    }

    .countdown-label {
        font-size: 0.7rem;
    }

    .section {
        padding: 2rem 1rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .section-title::after {
        width: 60px;
        height: 2px;
    }

    .about-text h3 {
        font-size: 1.3rem;
    }

    .about-text p {
        font-size: 0.95rem;
    }

    .about-image {
        height: 250px;
    }

    .timeline-time {
        font-size: 1.1rem;
    }

    .timeline-content h3 {
        font-size: 1.1rem;
    }

    .timeline-content p {
        font-size: 0.9rem;
    }

    .venue-card {
        padding: 1.5rem;
    }

    .venue-card h3 {
        font-size: 1.2rem;
    }

    .venue-name {
        font-size: 1.1rem;
    }

    .detail-card {
        padding: 1.2rem;
    }

    .detail-card h3 {
        font-size: 1.2rem;
    }

    .detail-card p {
        font-size: 0.9rem;
    }

    .color-palette {
        gap: 0.8rem;
        margin: 1rem 0;
    }

    .color-swatch {
        width: 45px;
        height: 45px;
    }

    .faq-item {
        padding: 1.2rem;
    }

    .faq-item h3 {
        font-size: 1rem;
    }

    .faq-item p {
        font-size: 0.9rem;
    }

    .rsvp-form {
        padding: 1.5rem 1rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.7rem;
        font-size: 0.95rem;
    }

    .submit-btn {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }

    .footer {
        padding: 2rem 1rem;
    }

    .footer-names {
        font-size: 1.3rem;
    }

    .footer-date {
        font-size: 1rem;
    }
}
