/* ==========================================================================
   Romantic Floral Theme Variables
   ========================================================================== */
:root {
    --blush: #FAF0E6;        /* Linen / Very soft blush */
    --blush-dark: #F5E6E8;
    --rose: #D9A0A8;         /* Soft dusty rose */
    --rose-dark: #B87A83;
    --sage: #A4B4A1;         /* Muted green */
    --text-main: #5C4A4D;    /* Deep warm grey/brown */
    --text-light: #8A7B7D;
    --white: #FFFFFF;
    
    --font-script: 'Great Vibes', cursive;
    --font-heading: 'Lora', serif;
    --font-body: 'Outfit', sans-serif;
    
    --radius: 20px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--blush);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--rose-dark);
}

.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.script-title {
    font-family: var(--font-script);
    font-size: 4rem;
    color: var(--rose-dark);
    margin-bottom: 20px;
    font-weight: 400;
}

/* ==========================================================================
   Floating Petals Animation
   ========================================================================== */
.petals-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.petal {
    position: absolute;
    top: -10%;
    width: 15px;
    height: 15px;
    background-color: var(--rose);
    border-radius: 15px 0 15px 0;
    opacity: 0.6;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    100% {
        transform: translate(100px, 110vh) rotate(360deg);
        opacity: 0;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.floral-hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Soft white overlay to make text readable */
.floral-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(250, 240, 230, 0.6);
}

.hero-frame {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.85);
    padding: 60px 40px;
    border-radius: 200px 200px 10px 10px; /* Arch shape */
    box-shadow: 0 15px 40px rgba(92, 74, 77, 0.1);
    border: 1px solid rgba(217, 160, 168, 0.3);
    text-align: center;
    max-width: 90%;
    width: 450px;
    backdrop-filter: blur(5px);
}

.hero-frame .eyebrow {
    font-size: 0.85rem;
    letter-spacing: 4px;
    color: var(--text-light);
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-frame .names {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-frame .names span {
    display: block;
    font-family: var(--font-script);
    font-size: 3rem;
    color: var(--rose-dark);
    margin: 10px 0;
}

.hero-frame .date {
    font-size: 1.1rem;
    letter-spacing: 3px;
    color: var(--text-main);
    border-top: 1px solid var(--rose);
    padding-top: 20px;
    margin-top: 20px;
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    z-index: 2;
    font-size: 2rem;
    color: var(--text-main);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-7px); }
}

/* ==========================================================================
   Our Story
   ========================================================================== */
.our-story {
    padding: 100px 0;
    background-color: var(--white);
    position: relative;
}

.story-content {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.story-content p {
    margin-bottom: 20px;
}

/* ==========================================================================
   Details Section
   ========================================================================== */
.event-details {
    padding: 100px 0;
    background-color: var(--blush-dark);
}

.details-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 50px;
    box-shadow: 0 10px 30px rgba(92, 74, 77, 0.05);
    position: relative;
    overflow: hidden;
}

/* Floral corner decorations for card */
.details-card::before,
.details-card::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path fill="%23D9A0A8" opacity="0.15" d="M50 0 C75 0, 100 25, 100 50 C100 75, 50 100, 50 100 C50 100, 0 75, 0 50 C0 25, 25 0, 50 0 Z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}

.details-card::before {
    top: -50px;
    left: -50px;
    transform: rotate(45deg);
}

.details-card::after {
    bottom: -50px;
    right: -50px;
    transform: rotate(-135deg);
}

.card-inner {
    position: relative;
    z-index: 2;
}

.detail-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.detail-row i {
    font-size: 2.5rem;
    color: var(--rose-dark);
    margin-top: 5px;
}

.detail-row h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 5px;
}

.detail-row p {
    color: var(--text-light);
    font-size: 1.05rem;
}

.btn-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn-floral, .btn-floral-outline {
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.btn-floral {
    background-color: var(--rose);
    color: var(--white);
    border: none;
    box-shadow: 0 5px 15px rgba(217, 160, 168, 0.4);
}

.btn-floral:hover {
    background-color: var(--rose-dark);
    transform: translateY(-2px);
}

.btn-floral-outline {
    background-color: transparent;
    color: var(--rose-dark);
    border: 2px solid var(--rose);
}

.btn-floral-outline:hover {
    background-color: var(--rose);
    color: var(--white);
}

.btn-block {
    width: 100%;
    display: block;
}

/* ==========================================================================
   Quote Section
   ========================================================================== */
.quote-section {
    padding: 80px 20px;
    background-color: var(--white);
    text-align: center;
}

.quote-section i {
    font-size: 3rem;
    color: var(--sage);
    opacity: 0.5;
    margin-bottom: 20px;
}

.quote-section p {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-style: italic;
    color: var(--text-main);
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================================================
   RSVP Form
   ========================================================================== */
.rsvp-section {
    padding: 100px 0;
    background-color: var(--blush);
}

.rsvp-box {
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(92, 74, 77, 0.05);
    border-top: 5px solid var(--rose);
}

.rsvp-box .subtitle {
    color: var(--text-light);
    margin-bottom: 40px;
}

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

.floral-form input,
.floral-form select,
.floral-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #EBE3E4;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-main);
    background-color: #FAFAFA;
    transition: var(--transition);
}

.floral-form input:focus,
.floral-form select:focus,
.floral-form textarea:focus {
    outline: none;
    border-color: var(--rose);
    box-shadow: 0 0 0 3px rgba(217, 160, 168, 0.15);
}

.form-message {
    margin-top: 20px;
    font-weight: 600;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.floral-footer {
    background-color: var(--text-main);
    color: var(--white);
    padding: 60px 0 40px;
    text-align: center;
}

.names-small {
    font-family: var(--font-script);
    font-size: 3rem;
    color: var(--rose);
    margin-bottom: 10px;
}

.floral-footer p {
    letter-spacing: 3px;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 30px;
}

.brand {
    font-size: 0.8rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

.brand a {
    color: var(--white);
    opacity: 0.7;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .hero-frame {
        padding: 40px 20px;
        border-radius: 150px 150px 10px 10px;
    }
    .hero-frame .names { font-size: 2.8rem; }
    .hero-frame .names span { font-size: 2.2rem; }
    
    .script-title { font-size: 3rem; }
    .details-card { padding: 30px 20px; }
    .rsvp-box { padding: 30px 20px; }
}

/* ==========================================================================
   Action Buttons (Calendar & Map)
   ========================================================================== */
.action-buttons-section {
    padding: 40px 0;
    position: relative;
    z-index: 10;
}
.action-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    width: 100%;
}
.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.3s ease;
    background: rgba(128, 128, 128, 0.1);
    color: inherit;
    border: 1px solid currentColor;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.btn-action:hover {
    background: rgba(128, 128, 128, 0.3);
    transform: translateY(-3px);
}
.btn-action i {
    font-size: 1.3rem;
}

.map-link-inline {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(0,0,0,0.05);
    color: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none !important;
    border: 1px solid currentColor;
    transition: all 0.3s ease;
}
.map-link-inline:hover {
    background: rgba(0,0,0,0.1);
}
