/* Wedding Page 2 Styles - Updated Layout */

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #4a4a4a;
    overflow-x: hidden;
}

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

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 200;
    text-align: center;
    margin-bottom: 2rem;
    color: #8B5A8B;
    position: relative;
    letter-spacing: 20px;
}

/* Story section title with same style as hero title */
.story-section .section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 200;
    color: #000000;
    letter-spacing: 20px;
    text-shadow: none;
    opacity: 1;
    visibility: visible;
    text-align: center;
    /* white-space: nowrap; */
    width: 100%;
}

/* .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #B8E8B4, #E8B4B8);
} */

/* Section 1: Simple Pastel Green Background */
.hero-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: #E8F5E8;
    overflow: hidden;
    min-height: 100vh;
    z-index: 1;
    padding-top: 80px;
}

/* Cake Image - Absolute position at bottom of first section */
.hero-cake {
    position: absolute;
    bottom: -280px;
    left: 50%;
    transform: translateX(-50%);
    width: 1100px;
    height: 1100px;
    z-index: 1;
    animation: cakeFloat 3s ease-in-out infinite;
}

.hero-cake img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2)) saturate(1.3) brightness(1.1);
    transition: transform 0.3s ease;
}

.hero-cake:hover img {
    transform: scale(1.1);
}

@keyframes cakeFloat {
    0%, 100% {
        transform: translateX(-50%) translateY(0px);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 100%;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: auto;
    transform: none;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 200;
    text-align: center;
    margin-bottom: 1rem;
    color: #8B5A8B;
    position: relative;
    letter-spacing: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 300;
    color: #8B5A8B;
    text-align: center;
    letter-spacing: 5px;
    line-height: 1.4;
    min-height: 2.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    text-transform: capitalize;
}

.hero-date {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 1;
    visibility: visible;
    text-align: center;
    width: 100%;
}

.date-day {
    font-size: 2.5rem;
    font-weight: 300;
    font-family: 'Poppins', sans-serif;
    color: #000000;
    letter-spacing: 3px;
    text-align: center;
}

.date-month {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 200;
    color: #000000;
    letter-spacing: 2px;
    text-align: center;
}

.date-year {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 200;
    color: #000000;
    letter-spacing: 2px;
    text-align: center;
}

.hero-time {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    color: #6B8E6B;
    letter-spacing: 1px;
    opacity: 1;
    visibility: visible;
    text-align: center;
    width: 100%;
}

/* Section 2: Pastel Pink Background */
.story-section {
    position: relative;
    padding: 40px 0 60px 0;
    background: #FFF0F5;
    min-height: 60vh;
    z-index: 10;
    margin-top: 100vh;
}

.story-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
}

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

.story-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #4a4a4a;
    font-weight: 400;
    letter-spacing: 0.5px;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}



/* Wedding Details Section with Overlapping Image */
.wedding-details-section {
    position: relative;
    padding: 80px 0 100px 0;
    background: white;
    min-height: 80vh;
    z-index: 15;
}

.overlapping-wedding-image {
    position: absolute;
    top: -10vh; /* Reduced overlap with the story section */
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 60vh;
    z-index: 50;
    overflow: hidden;
}

.wedding-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease;
    filter: blur(0px);
}

.overlapping-wedding-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.9));
    pointer-events: none;
    z-index: 1;
}

.overlapping-wedding-image::before {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 60%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 182, 193, 0.6), rgba(255, 182, 193, 0.2));
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 2;
}

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

.wedding-details-content {
    margin-top: 50vh; /* Reduced space for the overlapping image */
    text-align: center;
}

.details-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    /* max-width: 1000px; */
    margin-left: auto;
    margin-right: auto;
}

.detail-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(184, 232, 180, 0.3);
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: 0 0 calc(33.333% - 1.33rem);
    min-width: 280px;
    max-width: 320px;
    min-height: 0;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border-color: rgba(184, 232, 180, 0.6);
}

.card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
    height: 80px;
    margin-top: 20px;
}

.card-icon {
    width: 50px;
    height: 50px;
    background: rgba(184, 232, 180, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8B5A8B;
    font-size: 1.2rem;
    border: 2px solid rgba(184, 232, 180, 0.3);
    flex-shrink: 0;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 300;
    color: #8B5A8B;
    /* font-family: 'Poppins', sans-serif; */
    letter-spacing: 0.5px;
    margin: 0;
}

.card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-height: 0;
}

.card-date, .card-venue, .card-reception {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0.4rem;
    color: #4a4a4a;
    font-family: 'Poppins', sans-serif;
}

.card-time, .card-location, .card-subtitle {
    font-size: 0.9rem;
    color: #6B8E6B;
    margin-bottom: 0.5rem;
    font-style: normal;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
}

.card-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem 1.2rem;
    background: transparent;
    color: #8B5A8B;
    text-decoration: none;
    border: 1px solid rgba(139, 90, 139, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
    margin-top: auto;
    flex-shrink: 0;
    margin-bottom: 0;
    height: 40px;
    width: 100%;
}

.card-button:hover {
    background: rgba(139, 90, 139, 0.1);
    border-color: rgba(139, 90, 139, 0.6);
    transform: translateY(-2px);
}

/* Color Palette Section */
.color-palette-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #F0F8F0, #E8F8E8);
    position: relative;
    z-index: 15;
}

.palette-message {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
    font-size: 1rem;
    color: #4a4a4a;
    line-height: 1.8;
    font-weight: 400;
    letter-spacing: 0.5px;
}

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

.color-item {
    aspect-ratio: 1;
    border-radius: 20px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0.8rem;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.color-item:hover {
    transform: scale(1.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.color-code {
    font-size: 0.8rem;
    font-weight: 600;
    color: #8B5A8B;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
    line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2rem;
        letter-spacing: 18px;
        font-weight: 200;
        white-space: normal;
        word-wrap: break-word;
    }
    
    .hero-subtitle {
        font-size: 1.6rem;
        letter-spacing: 3px;
        line-height: 1.4;
        min-height: 2.2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        white-space: normal;
        word-wrap: break-word;
        text-transform: capitalize;
    }
    
    .date-day, .date-month, .date-year {
        font-size: 2rem;
    }
    
    .hero-cake {
        width: 990px;
        height: 990px;
        bottom: -230px;
    }
    
    .hero-section {
        padding-top: 80px;
    }
    
    .story-content {
        margin-top: 0;
    }
    
    .story-text {
        padding: 0 30px;
    }
    
    .story-description {
        font-size: 1.1rem;
        line-height: 1.7;
    }
    
    .overlapping-wedding-image {
        height: 52.5vh;
    }
    
    .wedding-details-content {
        margin-top: 37.5vh;
    }
    
    .details-grid {
        gap: 1.5rem;
    }
    
    .detail-card {
        flex: 0 0 calc(33.333% - 1rem);
        min-width: 250px;
        max-width: 300px;
    }
    

}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
        letter-spacing: 8px;
        font-weight: 200;
        text-align: center;
        line-height: 1.2;
        white-space: normal;
        word-wrap: break-word;
        padding: 0 10px;
        max-width: 90%;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        letter-spacing: 3px;
        line-height: 1.4;
        min-height: 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        white-space: normal;
        word-wrap: break-word;
        padding: 0 10px;
        text-transform: capitalize;
    }
    
    .date-day, .date-month, .date-year {
        font-size: 1.8rem;
    }
    
    .hero-cake {
        width: 825px;
        height: 825px;
        bottom: -180px;
    }
    
    .section-title {
        font-size: 2rem;
        letter-spacing: 14px;
    }
    
    .hero-section {
        padding-top: 100px;
    }
    
    .hero-content {
        padding: 0 20px;
        text-align: center;
        max-width: 100%;
        overflow: hidden;
    }
    
    .hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 1rem;
        max-width: 100%;
        overflow: hidden;
        margin-bottom: 0.5rem;
    }
    
    .story-section {
        padding: 30px 0 40px 0;
    }
    
    .story-text {
        padding: 0 25px;
    }
    
    .story-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .details-grid {
        gap: 1rem;
        padding: 0 20px;
    }
    
    .detail-card {
        flex: 0 0 calc(50% - 0.5rem);
        min-width: 200px;
        max-width: 280px;
    }
    
    .palette-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    
    .overlapping-wedding-image {
        height: 45vh;
    }
    
    .wedding-details-content {
        margin-top: 30vh;
    }
    
    .overlapping-wedding-image {
        height: 37.5vh;
    }
    
    .wedding-details-content {
        margin-top: 22.5vh;
    }
    
    .story-content {
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        letter-spacing: 4px;
        font-weight: 200;
        text-align: center;
        line-height: 1.3;
        margin-bottom: 0.5rem;
        white-space: normal;
        word-wrap: break-word;
        padding: 0 5px;
        max-width: 95%;
        margin-top: 35%;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        letter-spacing: 2px;
        line-height: 1.4;
        min-height: 1.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        margin-top: 0.5rem;
        white-space: normal;
        word-wrap: break-word;
        padding: 0 5px;
        text-transform: capitalize;
    }
    
    .date-day, .date-month, .date-year {
        font-size: 1.5rem;
    }
    
    .hero-cake {
        width: 500px;
        height: 500px;
        bottom: -100px;
    }
    
    .section-title {
        font-size: 2rem;
        letter-spacing: 8px;
    }
    
    .hero-section {
        padding-top: 120px;
    }
    
    .hero-content {
        padding: 0 15px;
        text-align: center;
        max-width: 100%;
        overflow: hidden;
    }
    
    .hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 0.5rem;
        padding: 1rem 0;
        max-width: 100%;
        overflow: hidden;
        margin-bottom: 0.3rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .story-section {
        padding: 25px 0 35px 0;
    }
    
    .story-text {
        padding: 0 20px;
    }
    
    .story-description {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1.2rem;
    }
    
    .details-grid {
        gap: 1rem;
        padding: 0 15px;
    }
    
    .detail-card {
        flex: 0 0 100%;
        min-width: 100%;
        max-width: 100%;
        padding: 1.2rem;
    }
    
    .palette-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
    
    .story-content {
        margin-top: 0;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 2rem;
        letter-spacing: 3px;
        font-weight: 200;
        text-align: center;
        line-height: 1.3;
        margin-bottom: 0.3rem;
        white-space: normal;
        word-wrap: break-word;
        padding: 0 3px;
        max-width: 98%;
        margin-top: 35%;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
        letter-spacing: 1.5px;
        line-height: 1.4;
        min-height: 1.3rem;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        margin-top: 0.3rem;
        white-space: normal;
        word-wrap: break-word;
        padding: 0 3px;
        text-transform: capitalize;
    }
    
    .hero-cake {
        width: 400px;
        height: 400px;
        bottom: -80px;
    }
    
    .section-title {
        font-size: 2rem;
        letter-spacing: 6px;
    }
    
    .hero-section {
        padding-top: 140px;
    }
    
    .hero-content {
        padding: 0 10px;
        text-align: center;
        max-width: 100%;
        overflow: hidden;
    }
    
    .hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 0.3rem;
        padding: 0.5rem 0;
        max-width: 100%;
        overflow: hidden;
        margin-bottom: 0.2rem;
    }
    
    .story-section {
        padding: 20px 0 30px 0;
    }
    
    .story-text {
        padding: 0 15px;
    }
    
    .story-description {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }
    
    .details-grid {
        gap: 0.8rem;
        padding: 0 10px;
    }
    
    .detail-card {
        flex: 0 0 100%;
        min-width: 100%;
        max-width: 100%;
        padding: 1rem;
    }
} 

.menu-download-btn.disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
}