/* Base Styles */
:root {
    --primary: #4B0082;
    --accent1: #FF6F91;
    --accent2: #FFA500;
    --background: #F9F3EA;
    --text: #333;
    --white: #fff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tiro Devanagari Marathi', 'Yatra One', 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}
h2, h3, .hero-title {
  font-weight: 400;
}
body {
  font-family: 'Tiro Devanagari Marathi', 'Yatra One', 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.marathi-text, h1, h2, h3, p, span, .hero-subtitle, .countdown-item small {
  font-family: 'Tiro Devanagari Marathi', serif !important;
  font-weight: 400 !important;
}

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

/* Typography */
h1, h2, h3 {
    font-family: 'Yatra One', cursive;
    font-weight: normal;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(75, 0, 130, 0.7), rgba(75, 0, 130, 0.7)), 
                url('./assets/background.jpg') center/cover no-repeat;
    color: var(--white);
    text-align: center;
    padding: 20px;
}


.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 1;
}

.toran-left, .toran-right {
    position: absolute;
    top: 0;
    width: 200px;
    height: 80px;
    background: linear-gradient(45deg, #FFD700, #FF9933);
    clip-path: polygon(0 0, 100% 0, 90% 100%, 10% 100%);
}
 .toran-right img{
    height: 5rem;
    width: 5rem;
    position: absolute;
    margin-left: -3rem;
}
.toran-left img {
    height: 5rem;
    width: 5rem;
    position: absolute;
    margin-left: -2rem;
}
.toran-left {
    left: 0;
    transform: rotate(-5deg);
}

.toran-right {
    right: 0;
    transform: rotate(5deg);
}



.mangalsutra-icon {
    margin-bottom: 30px;
}

.ganesha-img {
    width: 160px;
    height: 160px;
    object-fit: contain;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--accent2);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.hero-date {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.date-decoration {
    font-size: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.countdown-item {
    text-align: center;
}

.countdown-item span {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent2);
}

.countdown-item small {
    font-size: 1rem;
    color: var(--white);
}

.cta-button {
    background: linear-gradient(to right, var(--accent1), var(--accent2));
    color: var(--white);
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 111, 145, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 111, 145, 0.4);
}

/* About Couple Section */
.about-couple {
    padding: 80px 0;
    background-color: var(--white);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--accent1), var(--accent2));
    border-radius: 2px;
}

.couple-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.couple-card {
    text-align: center;
    flex: 1;
    min-width: 250px;
}

.photo-frame {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
}


.couple-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #FFD700;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.photo-border {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 3px solid #FF9933;
    border-radius: 50%;
    border-style: dashed;
    animation: rotate 20s linear infinite;
}
.couple-photo:hover {
    transform: scale(1.05);
}


.couple-card h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.couple-card p {
    color: var(--text);
    font-size: 1.1rem;
}

.heart-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.heart {
    font-size: 2.5rem;
    color: var(--accent1);
    animation: heartbeat 1.5s infinite;
}

.connecting-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent1), var(--accent2));
}

.couple-story {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Events Section */
.events {
    padding: 80px 0;
    background-color: var(--background);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--accent1), var(--accent2));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: var(--accent1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    z-index: 1;
    flex-shrink: 0;
    margin: 0 20px;
}

.timeline-content {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    flex: 1;
}

.timeline-item.main-event .timeline-content {
    background: linear-gradient(to right, var(--primary), #5E2A9E);
    color: var(--white);
}

.timeline-item.main-event .timeline-icon {
    background: var(--accent2);
    transform: scale(1.2);
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.timeline-item.main-event .timeline-content h3 {
    color: var(--white);
}

.event-details p {
    margin-bottom: 5px;
}

.event-date {
    font-weight: bold;
    color: var(--accent1);
}

.timeline-item.main-event .event-date {
    color: var(--white);
}

.event-location {
    color: var(--primary);
    font-weight: 500;
}

.timeline-item.main-event .event-location {
    color: var(--white);
}

/* Venue Section */
.venue {
    padding: 80px 0;
    background-color: var(--white);
}

.venue-info {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.venue-details {
    flex: 1;
    min-width: 300px;
}

.venue-details h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.venue-address {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.map-button {
    background: linear-gradient(to right, var(--accent1), var(--accent2));
    color: var(--white);
    border: none;
    padding: 12px 25px;
    font-size: 1.1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.map-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 111, 145, 0.3);
}

.map-container {
    flex: 1;
    min-width: 300px;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background-color: var(--background);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1/1;
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(75, 0, 130, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--white);
    font-size: 1.2rem;
}

/* Blessings Section */
.blessings {
    padding: 80px 0;
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
}

.blessing-content {
    max-width: 800px;
    margin: 0 auto;
}

.diya-container {
    margin-bottom: 30px;
}

.diya {
    width: 60px;
    height: 60px;
    background: var(--accent2);
    border-radius: 50% 50% 0 0;
    position: relative;
    margin: 0 auto;
}

.flame {
    width: 20px;
    height: 40px;
    background: #FFEE93;
    border-radius: 50% 50% 20% 20%;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    animation: flicker 2s infinite alternate;
    box-shadow: 0 0 20px #FFEE93, 0 0 40px #FFD700;
}

.blessing-text {
    font-size: 1.5rem;
    line-height: 1.6;
    font-style: italic;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
}

#lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    margin: 0 auto;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
}

.lightbox-prev, .lightbox-next {
    background: rgba(255, 111, 145, 0.7);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-prev:hover, .lightbox-next:hover {
    background: var(--accent1);
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
}

.footer-decoration {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.flower {
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
}

.flower:nth-child(1) { animation-delay: 0s; }
.flower:nth-child(2) { animation-delay: 0.5s; }
.flower:nth-child(3) { animation-delay: 1s; }

.footer-message {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.footer-contacts {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-button {
    background: var(--accent1);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-button:hover {
    background: var(--accent2);
    transform: translateY(-3px);
}

.footer-credit {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--accent1);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Music Control */
.music-control {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: var(--accent1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(255, 111, 145, 0.3);
}

.music-icon {
    font-size: 1.5rem;
    animation: rotate 3s linear infinite;
}

.music-control.muted .music-icon {
    animation: none;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes flicker {
    0%, 100% { opacity: 1; transform: scale(1); }
    25% { opacity: 0.8; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.05); }
    75% { opacity: 0.9; transform: scale(0.98); }
}

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blinkCursor {
    from, to { border-color: transparent; }
    50% { border-color: var(--accent2); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .couple-container {
        flex-direction: column;
    }
    
    .heart-divider {
        flex-direction: row;
        width: 100%;
        justify-content: center;
    }
    
    .connecting-line {
        width: 40px;
        height: 2px;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: 80px;
    }
    
    .timeline-icon {
        position: absolute;
        left: 0;
    }
    
    .venue-info {
        flex-direction: column;
    }
    
    .map-container {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .countdown {
        gap: 10px;
    }
    
    .countdown-item span {
        font-size: 1.5rem;
    }
    
    .countdown-item small {
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .photo-frame {
        width: 150px;
        height: 150px;
    }
    
    .footer-contacts {
        flex-direction: column;
        align-items: center;
    }
}