/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background-color: #e7d4ba;
    color: #2c3e50;
    line-height: 1.6;
    min-height: 100vh;
}

/* Header and title */
.header {
    text-align: center;
    padding: 2rem 0 0 0;
}

/* Wedding Banner */
.banner-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.wedding-banner {
    max-width: 100%;
    width: 100%;
    max-width: 600px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
    transition: transform 0.3s ease;
}

.wedding-banner:hover {
    transform: scale(1.02);
}

.main-title {
    font-size: 4rem;
    font-weight: bold;
    color: #d2691e;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
    letter-spacing: 3px;
    margin-bottom: 1rem;
    font-family: 'Georgia', serif;
}

/* Navigation */
.nav-menu {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1rem 0 2rem 0;
    list-style: none;
    flex-wrap: wrap;
}

.nav-menu a {
    color: #d2691e;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nav-menu a:hover {
    color: #8b4513;
    background-color: rgba(210, 105, 30, 0.1);
}

.nav-menu a.active {
    color: #8b4513;
    background-color: rgba(210, 105, 30, 0.2);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Container for main content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Main image container */
.main-image-container {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
    padding: 0 1rem;
}

.main-image {
    max-width: 100%;
    width: 100%;
    max-width: 800px;
    height: auto;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* Countdown Timer Styles */
.countdown-container {
    text-align: center;
    margin: 3rem auto 2rem auto;
    padding: 0 0;
    background-color: #0b3331;
    border-radius: 20px;
    border: 1px solid rgba(210, 105, 30, 0.2);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    max-width: 800px;
    width: 100%;
}

.countdown-title {
    font-size: 2.5rem;
    color: #d2691e;
    font-family: 'Georgia', serif;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    letter-spacing: 2px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
}

.time-unit {
    padding: 1.5rem 1rem;
    min-width: 120px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.time-unit:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: linear-gradient(to bottom, transparent, #de9f22, transparent);
    opacity: 0.6;
}

.time-unit:hover {
    transform: translateY(-5px);
}

.time-number {
    display: block;
    font-size: 6rem;
    font-weight: bold;
    color:    #de9f22;
    font-family: 'Georgia', serif;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.time-label {
    display: block;
    font-size: 1rem;
    color: #e7d4ba;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Georgia', serif;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .header {
        padding: 1rem 0 0 0;
    }

    .banner-container {
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }

    .wedding-banner {
        max-width: 500px;
    }
    
    .nav-menu {
        gap: 1rem;
        margin: 0.5rem 0 1rem 0;
    }
    
    .nav-menu a {
        font-size: 1rem;
    }
    
    .main-image-container {
        margin: 1rem 0;
        padding: 0 0.5rem;
    }

    .countdown-container {
        margin: 2rem 0 1rem 0;
        padding: 1.5rem 0.5rem;
    }

    .countdown-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .countdown-timer {
        gap: 1rem;
    }

    .time-unit {
        min-width: 100px;
        padding: 1rem 0.5rem;
    }

    .time-number {
        font-size: 4rem;
    }

    .time-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        gap: 0.5rem;
        justify-content: space-around;
    }
    
    .nav-menu a {
        font-size: 0.9rem;
        letter-spacing: 0.5px;
    }

    .banner-container {
        margin-bottom: 1rem;
        padding: 0 0.25rem;
    }

    .wedding-banner {
        max-width: 400px;
    }

    .countdown-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .countdown-timer {
        gap: 0.5rem;
    }

    .time-unit {
        min-width: 80px;
        padding: 0.8rem 0.3rem;
    }

    .time-number {
        font-size: 3rem;
    }

    .time-label {
        font-size: 0.8rem;
    }
}

.details-container {
    max-width: 800px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0rem;
}

.detail-image {
    max-width: 100%;
    height: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.detail-image:hover {
    opacity: 1;
}

/* Album-style Photo Collage Styles */
.photo-collage-container {
    max-width: 900px;
    margin: 3rem auto 2rem auto;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #f5f1e8 0%, #e8dcc0 50%, #d4c4a8 100%);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.4);
    text-align: center;
    position: relative;
    border: 2px solid #c4b393;
}
.photo-collage-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    border-radius: 18px;
    pointer-events: none;
}
.photo-collage-container h2 {
    color: #8b4513;
    font-family: 'Georgia', serif;
    margin-bottom: 2rem;
    font-size: 2.4rem;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
}
.photo-collage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 2.5rem;
    justify-items: center;
    position: relative;
    z-index: 1;
}
.photo-collage-columns {
    display: flex;
    gap: 3rem;
    justify-content: center;
    position: relative;
    z-index: 1;
}
.collage-column {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
}
.left-column {
    margin-right: 1rem;
}
.right-column {
    margin-left: 1rem;
}
.collage-photo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: rotate(var(--rotation, 0deg));
    transition: transform 0.3s ease;
}
.collage-photo-item:nth-child(odd) { --rotation: -2deg; }
.collage-photo-item:nth-child(even) { --rotation: 1.5deg; }
.collage-photo-item:nth-child(3n) { --rotation: -1deg; }
.collage-photo-item:nth-child(4n) { --rotation: 2.5deg; }
.collage-photo-item:nth-child(5n) { --rotation: -0.5deg; }
.collage-photo-item:nth-child(6n) { --rotation: 1deg; }
.collage-photo-item:nth-child(7n) { --rotation: -1.5deg; }
.collage-photo-item:nth-child(8n) { --rotation: 0.8deg; }

.collage-photo {
    width: 100%;
    max-width: 520px;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: 8px;
    border: 12px solid #fff;
    box-shadow: 
        0 4px 20px rgba(0,0,0,0.15),
        0 1px 3px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.8);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    position: relative;
}
.collage-photo::before {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    background: linear-gradient(45deg, #f8f8f8 0%, #e8e8e8 100%);
    border-radius: 8px;
    z-index: -1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.collage-photo:hover {
    transform: scale(1.05) rotate(0deg);
    box-shadow: 
        0 8px 30px rgba(0,0,0,0.2),
        0 2px 6px rgba(0,0,0,0.15),
        inset 0 1px 0 rgba(255,255,255,0.9);
}
.portrait-photo {
    aspect-ratio: 3/4 !important;
    max-width: 400px !important;
}
.portrait-photo.crop-top {
    object-position: center 30% !important;
}
@media (max-width: 700px) {
    .photo-collage-container {
        margin: 2rem auto 1rem auto;
        padding: 2rem 1rem;
    }
    .photo-collage-columns {
        gap: 1.5rem;
    }
    .collage-column {
        gap: 1.5rem;
    }
    .left-column {
        margin-right: 0.5rem;
    }
    .right-column {
        margin-left: 0.5rem;
    }
    .collage-photo {
        max-width: 99vw;
        border-width: 8px;
    }
    .collage-photo-item {
        transform: rotate(0deg);
    }
}

/* Collage photo item and caption */
.collage-photo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.collage-caption {
    margin-top: 0.7rem;
    font-size: 1.08rem;
    color: #6b4b2a;
    font-family: 'Georgia', serif;
    background: rgba(255,255,255,0.85);
    border-radius: 8px;
    padding: 0.3em 0.8em;
    box-shadow: 0 1px 4px rgba(44,62,80,0.06);
    max-width: 95%;
    text-align: center;
}

/* Lightbox Modal Styles */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(30, 30, 30, 0.92);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: background 0.2s;
}
.lightbox-modal[style*="display: flex"] {
    display: flex !important;
}
.lightbox-content {
    max-width: 98vw;
    max-height: 90vh;
    border-radius: 18px;
    border: 14px solid #fff;
    background: #fff;
    object-fit: contain;
    animation: lightbox-in 0.22s cubic-bezier(.4,1.6,.6,1) both;
}
@keyframes lightbox-in {
    from { transform: scale(0.92); opacity: 0.5; }
    to { transform: scale(1); opacity: 1; }
}
.lightbox-close {
    position: absolute;
    top: 2.5rem;
    right: 3rem;
    color: #fff;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    z-index: 1010;
    transition: color 0.2s;
}
.lightbox-close:hover {
    color: #d2691e;
}
@media (max-width: 700px) {
    .lightbox-content {
        border-width: 7px;
    }
    .lightbox-close {
        top: 1.2rem;
        right: 1.5rem;
        font-size: 2.2rem;
    }
}

/* Lightbox navigation buttons */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.85);
    color: #d2691e;
    border: none;
    font-size: 2.8rem;
    font-weight: bold;
    border-radius: 50%;
    width: 2.6rem;
    height: 2.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1011;
    box-shadow: 0 2px 8px rgba(44,62,80,0.10);
    transition: background 0.18s, color 0.18s, transform 0.18s;
    opacity: 0.92;
    user-select: none;
}
.lightbox-nav:hover {
    background: #ffe5c7;
    color: #8b4513;
    transform: translateY(-50%) scale(1.08);
}
.lightbox-prev {
    left: 2.2rem;
}
.lightbox-next {
    right: 2.2rem;
}
@media (max-width: 700px) {
    .lightbox-prev {
        left: 0.5rem;
    }
    .lightbox-next {
        right: 0.5rem;
    }
    .lightbox-nav {
        font-size: 2rem;
        width: 2rem;
        height: 2rem;
    }
}

/* Lightbox caption */
.lightbox-caption {
    margin-top: 1.2rem;
    color: #fff;
    font-size: 1.25rem;
    font-family: 'Georgia', serif;
    text-align: center;
    text-shadow: 0 2px 8px rgba(44,62,80,0.25);
    background: rgba(44,62,80,0.32);
    border-radius: 10px;
    padding: 0.5em 1.2em;
    max-width: 90vw;
    box-shadow: 0 2px 8px rgba(44,62,80,0.10);
    display: inline-block;
} 