:root {
    --color-primary: #2c3e50;
    --color-secondary: #a67c52;
    --color-accent: #d4af37;
    --color-light: #f8f5f2;
    --color-dark: #333333;
    --color-white: #ffffff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Cormorant Garamond', serif;
    color: var(--color-dark);
    background-color: var(--color-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--color-primary);
}

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

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, var(--color-light), transparent);
    z-index: -1;
}

.hero-content {
    text-align: center;
    z-index: 1;
    color: var(--color-white);
    padding: 0 20px;
    margin-bottom: 50vh;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #f8cda2;
    letter-spacing: 2px;
    font-family: 'Cinzel Decorative', cursive;
}

.names {
    font-size: 4rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    padding: 0 20px;
    font-family: 'Great Vibes', cursive;
    color: var(--color-white);
}

.names::before, .names::after {
    content: "✦";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #ffcf2f;
    font-size: 2.5rem;
}

.names::before {
    left: -40px;
}

.names::after {
    right: -40px;
}

.we-are-married {
    font-family: 'Alex Brush', cursive;
    font-size: 4rem;
    color: white;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    margin-top: 1rem;
    letter-spacing: 2px;
}

.info-section {
    padding: 5rem 0;
    background-color: var(--color-light);
    text-align: center;
}

.invitation-text {
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.4rem;
    line-height: 1.8;
    font-family: 'Cormorant Garamond', serif;
}

.date-countdown-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    align-items: center;
    margin-top: 3rem;
}

.date-container {
    text-align: center;
    padding: 25px 30px;
    background-color: var(--color-white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    min-width: 280px;
    border: 1px solid rgba(166, 124, 82, 0.2);
}

.date-title {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Montserrat', sans-serif;
}

.wedding-date {
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-primary);
    font-family: 'Great Vibes', cursive;
}

.mini-countdown {
    background: var(--color-white);
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    min-width: 280px;
    border: 1px solid rgba(166, 124, 82, 0.2);
}

.mini-countdown-title {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Montserrat', sans-serif;
}

.mini-countdown-content {
    display: flex;
    justify-content: center;
    gap: 25px;
}

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

.mini-countdown-number {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--color-primary);
    font-family: 'Playfair Display', serif;
}

.mini-countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--color-secondary);
    letter-spacing: 1px;
    margin-top: 5px;
    font-family: 'Montserrat', sans-serif;
}

.details {
    padding: 6rem 0;
    background-color: var(--color-white);
}

.section-title {
    text-align: center;
    font-size: 3.2rem;
    margin-bottom: 3rem;
    position: relative;
    font-family: 'Great Vibes', cursive;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background-color: var(--color-secondary);
}

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

.detail-card {
    text-align: center;
    padding: 3rem 2rem;
    background-color: var(--color-light);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(166, 124, 82, 0.1);
}

.detail-card:hover {
    transform: translateY(-5px);
}

.detail-icon {
    font-size: 2.8rem;
    color: var(--color-secondary);
    margin-bottom: 1.8rem;
}

.detail-title {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    color: var(--color-primary);
    font-family: 'Great Vibes', cursive;
}

.detail-text {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--color-dark);
    font-family: 'Cormorant Garamond', serif;
}

.gallery {
    padding: 6rem 0;
    background-color: var(--color-light);
}

.collage-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(4, 150px);
    gap: 15px;
    margin-top: 3rem;
}

.collage-item {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.collage-item:hover {
    transform: scale(1.02);
}

.collage-item:nth-child(1) {
    grid-column: 1 / 4;
    grid-row: 1 / 3;
}

.collage-item:nth-child(2) {
    grid-column: 4 / 7;
    grid-row: 1 / 2;
}

.collage-item:nth-child(3) {
    grid-column: 4 / 7;
    grid-row: 2 / 3;
}

.collage-item:nth-child(4) {
    grid-column: 1 / 3;
    grid-row: 3 / 5;
}

.collage-item:nth-child(5) {
    grid-column: 3 / 5;
    grid-row: 3 / 4;
}

.collage-item:nth-child(6) {
    grid-column: 5 / 7;
    grid-row: 3 / 5;
}

.collage-item:nth-child(7) {
    grid-column: 3 / 5;
    grid-row: 4 / 5;
}

.collage-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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


.waiting {
    padding: 6rem 0;
    background-color: var(--color-white);
    text-align: center;
}

.waiting-title {
    font-family: 'Great Vibes', cursive;
    font-size: 4rem;
    color: var(--color-primary);
    margin-bottom: 2rem;
    font-weight: 400;
}

.waiting-subtitle {
    font-size: 1.4rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
    font-family: 'Cormorant Garamond', serif;
}

.footer {
    background-color: #dab38c;
    color: #222535;
    padding: 4rem 0 2rem;
    text-align: center;
}

.footer-text {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    font-family: 'Montserrat', sans-serif;
}

.footer-signature {
    font-family: 'Alex Brush', cursive;
    font-size: 3.5rem;
    margin: 2rem 0;
    color: white;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

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

.floating {
    animation: float 6s ease-in-out infinite;
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .names {
        font-size: 4rem;
    }
    
    .we-are-married {
        font-size: 2.5rem;
    }
    
    .collage-container {
        grid-template-rows: repeat(4, 120px);
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .names {
        font-size: 3.2rem;
    }
    
    .we-are-married {
        font-size: 2rem;
    }
    
    .date-countdown-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .collage-container {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(6, 100px);
        gap: 10px;
    }
    
    .collage-item:nth-child(1) {
        grid-column: 1 / 5;
        grid-row: 1 / 3;
    }
    
    .collage-item:nth-child(2) {
        grid-column: 1 / 3;
        grid-row: 3 / 4;
    }
    
    .collage-item:nth-child(3) {
        grid-column: 3 / 5;
        grid-row: 3 / 4;
    }
    
    .collage-item:nth-child(4) {
        grid-column: 1 / 3;
        grid-row: 4 / 6;
    }
    
    .collage-item:nth-child(5) {
        grid-column: 3 / 5;
        grid-row: 4 / 5;
    }
    
    .collage-item:nth-child(6) {
        grid-column: 3 / 5;
        grid-row: 5 / 7;
    }
    
    .collage-item:nth-child(7) {
        grid-column: 1 / 3;
        grid-row: 6 / 7;
    }
    
    .waiting-title {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .names {
        font-size: 2.5rem;
    }
    
    .we-are-married {
        font-size: 1.8rem;
    }
    
    .mini-countdown-content {
        gap: 15px;
    }
    
    .mini-countdown-number {
        font-size: 1.8rem;
    }
    
    .collage-container {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(8, 80px);
        gap: 8px;
    }
    
    .collage-item:nth-child(1) {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
    }
    
    .collage-item:nth-child(2) {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }
    
    .collage-item:nth-child(3) {
        grid-column: 2 / 3;
        grid-row: 3 / 4;
    }
    
    .collage-item:nth-child(4) {
        grid-column: 1 / 2;
        grid-row: 4 / 6;
    }
    
    .collage-item:nth-child(5) {
        grid-column: 2 / 3;
        grid-row: 4 / 5;
    }
    
    .collage-item:nth-child(6) {
        grid-column: 2 / 3;
        grid-row: 5 / 7;
    }
    
    .collage-item:nth-child(7) {
        grid-column: 1 / 2;
        grid-row: 6 / 8;
    }
    
    .waiting-title {
        font-size: 2.5rem;
    }
}
/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    display: block;
    margin: 0 auto;
    max-width: 90%;
    max-height: 80vh;
    animation: zoom 0.3s;
}

@keyframes zoom {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-caption {
    margin: 15px auto;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.3s;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}