/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.nav-mobile-wedding {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 70px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    z-index: 1000;
    padding: 0 10px;
}

.nav-mobile-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 8px 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 2px;
}

.nav-mobile-item:hover {
    background-color: #f8f9fa;
}

.nav-mobile-item.active {
    background-color: #b49068;
    color: white;
}

.nav-mobile-icon {
    font-size: 20px;
    margin-bottom: 4px;
}

.nav-mobile-text {
    font-size: 11px;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

.nav-mobile-item.active .nav-mobile-text {
    color: white;
}

.nav-mobile-item:not(.active) .nav-mobile-text {
    color: #666;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-logo h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    color: #667eea;
    margin: 0;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #667eea;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #667eea;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    max-width: 800px;
    padding: 0 20px;
}

.wedding-title {
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out;
}

.bride-groom {
    font-family: 'Dancing Script', cursive;
    font-size: 4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.wedding-date {
    font-size: 1.5rem;
    color: #f8f9fa;
    margin-bottom: 10px;
    font-weight: 300;
}

.wedding-subtitle {
    font-size: 1.1rem;
    color: #e9ecef;
    font-weight: 300;
}

.thumbnail-container {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out 0.5s both;
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thumbnail-container:hover .thumbnail-image {
    transform: scale(1.05);
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thumbnail-container:hover .thumbnail-overlay {
    opacity: 1;
}

.view-gallery-btn {
    background: white;
    color: #667eea;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.view-gallery-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 3px solid white;
    border-bottom: 3px solid white;
    transform: rotate(45deg);
}

/* Cover Main Section */
.covermain-section {
    padding: 80px 0;
    background: #f8f9fa;
    min-height: auto;
}

.covermain-section {
    padding: 80px 0;
    background: #f8f9fa;
    min-height: auto;
}

/* Gallery Section */
.gallery-section {

    padding: 20px 0px 20px 0px;
    background: #fff;
    min-height: auto;
}

.gallery-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.gallery-header h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    color: #333;
    margin-bottom: 15px;
}

.gallery-header p {
    font-size: 1.2rem;
    color: #666;
    font-weight: 300;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.covermain-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.covermain-grid .photo-item {
    aspect-ratio: 1;
    height: auto;
}

.covermain-grid .photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.photo-item {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(50px);
}

.photo-item.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.photo-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
}

/* Cover Main Section - Original Size */
.covermain-section .photo-item {
    height: auto;
}

.covermain-section .photo-item img {
    width: 100%;
    height: auto;
    object-fit: none;
}

/* M images - Original Size */
.photo-item img[src*="m1.jpg"],
.photo-item img[src*="m2.jpg"],
.photo-item img[src*="m3.jpg"] {
    width: 100%;
    height: auto;
    object-fit: none;
}



/* Program Section */
.program-section {
    padding: 80px 20px;
    background: #f8f9fa;
}

.program-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.program-container h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    color: #333;
    margin-bottom: 50px;
}

.program-timeline {
    position: relative;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-5px);
}

.timeline-time {
    font-size: 1.5rem;
    font-weight: 600;
    color: #667eea;
    min-width: 80px;
    margin-right: 30px;
}

.timeline-content h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 5px;
}

.timeline-content p {
    color: #666;
    margin: 0;
}

/* Location Section */
.location-section {
    padding: 80px 20px;
    background: white;
}

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

.location-container h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    color: #333;
    text-align: center;
    margin-bottom: 50px;
}

.location-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.location-details h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 15px;
}

.location-details p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.direction-btn {
    display: inline-block;
    background: #c2a687;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.direction-btn:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}

.location-map {
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-top: 20px;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.footer-content p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.footer-names {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    font-weight: 600;
    color: #f8f9fa;
    margin: 20px 0;
}

.footer-date {
    font-size: 1.2rem;
    color: #adb5bd;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Mobile Navigation - Hide on Desktop */
@media (min-width: 769px) {
    .nav-mobile-wedding {
        display: none;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .bride-groom {
        font-size: 2.5rem;
    }
    
    .wedding-date {
        font-size: 1.2rem;
    }
    
    .gallery-header h2 {
        font-size: 2.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(8, 1fr);
        gap: 15px;
    }
    
    
    .location-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .timeline-item {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-time {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .covermain-grid {
        flex-direction: column;
        align-items: center;
        min-height: auto;
        gap: 15px;
    }
    
    .covermain-grid .photo-item {
        width: 250px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 0 15px;
    }
    
    .bride-groom {
        font-size: 2rem;
    }
    
    .thumbnail-container {
        width: 100%;
        height: 50vh;
    }
    
    .thumbnail-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .view-gallery-btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(8, 1fr);
        gap: 10px;
    }
    
    
    .photo-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Cover Main Section */
.covermain-section {
    padding: 80px 0;
    background: #f8f9fa;
    min-height: auto;
}

.covermain-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap;
    min-height: 400px;
}

.covermain-grid .photo-item {
    aspect-ratio: 1;
    height: auto;
}

.covermain-grid .photo-item {
    width: 300px;
}

.covermain-grid .photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

