@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;600;700&family=Quicksand:wght@300;400;500;600&family=Playfair+Display:wght@400;700&family=Poppins:wght@300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Allura&family=Ms+Madi&family=Sacramento&family=Lavishly+Yours&family=Allura&display=swap');

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    /* overflow: hidden; */
}

/* Hero Section */
.hero {
    min-height: 100dvh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('images/engagement.jpeg') center center / cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-direction: column;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(183, 65, 14, 0.3) 0%, transparent 20%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 30%),
        radial-gradient(circle at 40% 80%, rgba(255, 99, 71, 0.2) 0%, transparent 50%);
    /* animation: float 6s ease-in-out infinite; */
}

@keyframes float {

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

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.save-the-date {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0.9;
    font-weight: 500;
    animation: fadeInBounce 2s ease-out 0.5s both;
}

.formal-invitation-call {
    font-family: 'Allura', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 3px;
    /* text-transform: uppercase; */
    margin-bottom: 20px;
    /* opacity: 0.9; */
    font-weight: 500;
    /* animation: fadeInBounce 2s ease-out 2.5s both; */

    opacity: 0;
    transform: translateY(10px);
    animation: fadeInNote 2s ease forwards 3s;

    text-align: center;
    padding: 40px 20px;
    color: white;
    border-radius: 15px;
    margin: 40px auto 0 auto;
    position: absolute;
    bottom: 0;
    color: #f9f4ecf6;
}

@keyframes fadeInNote {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInBounce {
    0% {
        opacity: 0;
        transform: translateY(-30px) scale(0.8);
    }

    60% {
        opacity: 1;
        transform: translateY(5px) scale(1.02);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.couple-names {
    font-family: 'Allura', cursive;
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    animation: bounceInLeft 1.8s ease-out 0.8s both;
}

@keyframes bounceInLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px) rotate(-5deg);
    }

    60% {
        opacity: 1;
        transform: translateX(10px) rotate(2deg);
    }

    100% {
        opacity: 1;
        transform: translateX(0) rotate(0deg);
    }
}

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

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.ampersand {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #90EE90;
    margin: 0 20px;
    font-size: 1.2em;
    animation: summerPulse 3s ease-in-out infinite 1s;
}

@keyframes summerPulse {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        color: #90EE90;
        text-shadow: 0 0 10px rgba(144, 238, 144, 0.3);
    }

    25% {
        transform: scale(1.15) rotate(2deg);
        color: #98FB98;
        text-shadow: 0 0 15px rgba(152, 251, 152, 0.5);
    }

    50% {
        transform: scale(1.2) rotate(-1deg);
        color: #ADFF2F;
        text-shadow: 0 0 20px rgba(173, 255, 47, 0.4);
    }

    75% {
        transform: scale(1.1) rotate(1deg);
        color: #98FB98;
        text-shadow: 0 0 15px rgba(152, 251, 152, 0.5);
    }
}

.wedding-date {
    /* font-family: 'Playfair Display', serif;
    font-size: 2.2rem; */
    margin-bottom: 20px;
    font-weight: 700;
    animation: shimmerIn 2.5s ease-out 1.2s both;

    font-family: 'Allura', cursive;
    font-size: 2.4rem;
    color: #F7E7CE;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
}

@keyframes shimmerIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
        text-shadow: none;
    }

    50% {
        opacity: 0.7;
        transform: translateY(-5px);
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }
}

.wedding-venue {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 40px;
    font-weight: 400;
    animation: floatInFromRight 2s ease-out 1.5s both;
}

@keyframes floatInFromRight {
    0% {
        opacity: 0;
        transform: translateX(50px) scale(0.9);
    }

    100% {
        opacity: 0.9;
        transform: translateX(0) scale(1);
    }
}

/* Photo placeholder styles */
.photo-placeholder {
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    border: 2px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1rem;
    text-align: center;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.photo-placeholder:hover {
    border-color: #228B22;
    color: #228B22;
}

/* Hero photo section */
.hero-photo-section {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 400px;
    z-index: 2;
    opacity: 0.9;
}

/* Summer-inspired floating elements */
.summer-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    animation: summerFloat 15s linear infinite;
    opacity: 0.6;
}

@keyframes summerFloat {
    0% {
        transform: translateY(100vh) rotate(0deg) scale(0.5);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-100px) rotate(720deg) scale(1.2);
        opacity: 0;
    }
}

.butterfly {
    font-size: 24px;
    animation: butterflyFloat 20s ease-in-out infinite;
}

@keyframes butterflyFloat {

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

    25% {
        transform: translateX(50px) translateY(-30px) rotate(10deg);
    }

    50% {
        transform: translateX(-30px) translateY(-60px) rotate(-5deg);
    }

    75% {
        transform: translateX(80px) translateY(-20px) rotate(15deg);
    }
}

.hearts {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.heart {
    position: absolute;
    color: rgba(255, 255, 255, 0.3);
    font-size: 20px;
    animation: floatUp 8s linear infinite;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Enhanced button with summer vibes */
.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid white;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-family: 'Quicksand', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    backdrop-filter: blur(15px);
    animation: summerButtonIn 2s ease-out 1.8s both;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

@keyframes summerButtonIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.8);
    }

    60% {
        opacity: 1;
        transform: translateY(-5px) scale(1.05);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.cta-button:hover {
    background: white;
    color: #228B22;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Story section with photos */
.story-preview {
    padding: 80px 20px;
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
    position: relative;
    z-index: 10;
}

.story-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 15;
}

.story-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    position: relative;
    z-index: 20;
}

.story-photo-large {
    grid-column: span 2;
    height: 300px;
}

.story-photo-small {
    height: 250px;
    overflow: hidden;
    border-radius: 15px;
}

.story-text {
    padding: 20px;
}

.story-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 30px;
    position: relative;
}

.story-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #228B22;
    border-radius: 2px;
}

/* Details Section */
.details-section {
    padding: 80px 20px;
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
    text-align: center;
    position: relative;
    z-index: 5;
}

.details-container {
    max-width: 1000px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #228B22;
    border-radius: 2px;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.detail-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 10;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.detail-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #228B22;
}

.detail-title {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.detail-text {
    font-family: 'Poppins', sans-serif;
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
}

/* Enhanced scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    animation: summerBounce 3s infinite;
    z-index: 3;
    font-family: 'Quicksand', sans-serif;
}

@keyframes summerBounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0) scale(1);
    }

    10% {
        transform: translateX(-50%) translateY(-8px) scale(1.1);
    }

    30% {
        transform: translateX(-50%) translateY(-12px) scale(1.05);
    }

    40% {
        transform: translateX(-50%) translateY(-5px) scale(1.02);
    }

    60% {
        transform: translateX(-50%) translateY(-8px) scale(1.08);
    }
}


@media (max-width: 768px) {
    .hero-photo-section {
        display: none;
    }

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

    .story-photos {
        order: -1;
    }

    .couple-names {
        font-size: 2.5rem;
    }

    .wedding-date {
        font-size: 1.5rem;
    }

    .wedding-venue {
        font-size: 1.1rem;
    }

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

    .formal-invitation-call {
        font-size: 1.2rem;
    }
}

@media (max-width: 900px) and (orientation: landscape) {
    .hero-photo-section {
        display: none;
    }

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

    .story-photos {
        order: -1;
    }

    .couple-names {
        font-size: 2rem;
    }

    .wedding-date {
        font-size: 1.3rem;
    }

    .wedding-venue {
        font-size: 0.85rem;
    }

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

    .formal-invitation-call {
        font-size: 1.2rem;
    }
}