/* General Body & Typography */
body {
    font-family: 'Montserrat', sans-serif;
    color: #4A4A4A; /* Soft charcoal */
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #F8F9FA; /* Light gray background */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif; /* Elegant serif for headings */
    color: #6C7A89; /* Muted Blue-Gray */
    margin-bottom: 1.5rem;
}

h1.baby-name {
    font-size: 5rem;
    font-weight: 700;
    color: #FCBF49; /* Soft Gold/Orange for baby's name */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    margin-bottom: 0.5rem;
}

.tagline {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #FFF;
    margin-bottom: 2rem;
    font-weight: 400;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

h2.section-title {
    font-size: 3rem;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 10px;
    color: #6C7A89;
}

h2.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #F7B538; /* Soft Gold accent */
    border-radius: 5px;
}

.story-heading {
    font-size: 2.2rem;
    color: #555;
    font-weight: 600;
    margin-bottom: 1rem;
}

.lead {
    color: #666;
    font-size: 1.15rem;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: url('../images/hero-bg.jpg') no-repeat center center/cover;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2); /* Lighter overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    /* background-color: rgba(255, 255, 255, 0.1); */
    border-radius: 15px;
    /* box-shadow: 0 4px 20px rgba(0,0,0,0.1); */
    /* backdrop-filter: blur(5px); */
}

.baby-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 7px solid #FCBF49; /* Soft Gold border */
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    margin-top: 1rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.baby-photo:hover {
    transform: scale(1.05);
}

.parents-names {
    font-size: 1.5rem;
    font-weight: 600;
    color: #FFF;
    margin-top: 1rem;
}

.welcome-message {
    font-size: 1.1rem;
    color: #F0F8FF; /* Alice Blue */
    max-width: 700px;
    margin: 0 auto 2rem auto;
    font-style: italic;
}

.btn-scroll-down {
    background-color: #F7B538; /* Soft Gold */
    border-color: #F7B538;
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-scroll-down:hover {
    background-color: #E0A030; /* Darker Gold on hover */
    border-color: #E0A030;
    transform: translateY( -3px);
}

/* Navigation Bar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: background-color 0.3s ease, padding 0.3s ease;
    border-bottom: 1px solid rgba(0,0,0,0.02);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #FCBF49 !important; /* Soft Gold for brand */
    font-weight: 700;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: #6C7A89 !important; /* Muted Blue-Gray */
    margin: 0 10px;
    transition: color 0.3s ease, transform 0.2s ease;
}

.nav-link:hover {
    color: #F7B538 !important; /* Soft Gold on hover */
    transform: translateY(-2px);
}

/* Sections General */
section {
    padding: 80px 0;
    overflow: hidden;
}

/* Image Placeholder Styling */
.placeholder {
    background-color: #E0E6EB; /* Light blue-gray for placeholder */
    display: block;
    animation: pulse-bg 1.5s infinite;
}

@keyframes pulse-bg {
    0% { background-color: #E0E6EB; }
    50% { background-color: #D3DBE0; }
    100% { background-color: #E0E6EB; }
}

/* Our Journey Section (Maternity Photoshoot) */
#our-journey img {
    max-width: 350px;
    height: 350px;
    object-fit: cover;
    border: 5px solid #F7B538;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    min-height: 250px; /* Placeholder minimum height */
}

/* Baby Gallery Section */
.gallery-thumbnail {
    width: 100%;
    height: 220px; /* Consistent height */
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #E0E6EB; /* Placeholder background */
    display: block;
}

.gallery-thumbnail:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Lightbox specific styling */
#lightboxOverlay { background-color: rgba(0, 0, 0, 0.85) !important; }
#lightboxOuter { background-color: #fff !important; border-radius: 8px; box-shadow: 0 0 20px rgba(0,0,0,0.3); }
#lightbox-nav a { color: #FCBF49 !important; }
#lightboxCaption { color: #4A4A4A !important; font-family: 'Montserrat', sans-serif; }

/* Ceremony Details Section */
.detail-card {
    border: none;
    border-radius: 15px;
    padding: 40px 30px;
    background-color: #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.detail-icon {
    font-size: 4rem;
    color: #FCBF49; /* Soft Gold */
    margin-bottom: 25px;
    display: inline-block;
    background-color: #FFF3E0; /* Lightest orange background */
    border-radius: 50%;
    padding: 15px;
}

.card-text {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 0.8rem;
}

.card-text i {
    color: #6C7A89; /* Muted Blue-Gray */
    margin-right: 10px;
}

.btn-outline-primary {
    color: #6C7A89;
    border-color: #6C7A89;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-outline-primary:hover {
    background-color: #6C7A89;
    color: #fff;
}

.gift-message {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-style: italic;
    color: #555;
    background-color: #E6F3F9; /* Very light blue background */
    padding: 25px;
    border-radius: 10px;
    border-left: 5px solid #6C7A89;
    margin-top: 3rem;
}

/* RSVP Section */
.btn-rsvp {
    background-color: #7EC8E3; /* Soft Sky Blue */
    border-color: #7EC8E3;
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-rsvp:hover {
    background-color: #67B6D0;
    border-color: #67B6D0;
    transform: translateY(-3px);
}

/* Contact Section */
.contact-item {
    background-color: #fff;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.contact-item h3 {
    font-size: 1.8rem;
    color: #FCBF49;
    margin-bottom: 1rem;
}

.contact-icon {
    font-size: 3.5rem;
    color: #6C7A89;
    margin-bottom: 20px;
    background-color: #E6F3F9;
    border-radius: 50%;
    padding: 10px;
    display: inline-block;
}

.contact-item p {
    font-size: 1.05rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: #7EC8E3; /* Soft Sky Blue for links */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #67B6D0;
    text-decoration: underline;
}

/* Social Media Category Styling */
.social-media-container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.social-category-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: #555;
    margin-top: 15px;
    margin-bottom: 15px;
    text-align: center;
}

.social-media-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    justify-content: center; /* Center items within their column */
}

.social-media-item .social-icon-link {
    font-size: 1.5rem;
    color: #FCBF49; /* Soft Gold */
    margin-right: 12px;
    transition: color 0.3s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.social-media-item .social-icon-link:hover {
    color: #E0A030;
    transform: scale(1.1);
}

.social-media-item .social-label {
    font-size: 1.05rem;
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 500;
}

.social-media-item .social-label:hover {
    color: #7EC8E3; /* Soft Sky Blue on hover */
}


/* Footer */
.footer {
    background-color: #6C7A89; /* Muted Blue-Gray */
    color: #E6F3F9; /* Very light blue */
    padding: 35px 0;
    font-size: 0.95rem;
}

.footer i {
    margin-right: 5px;
    color: #F8D97D; /* A subtle accent gold */
}

.branding-footer a {
    color: #FCBF49; /* Soft Gold */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.branding-footer a:hover {
    color: #E0A030;
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    h1.baby-name {
        font-size: 4rem;
    }
    .tagline {
        font-size: 1.6rem;
    }
    h2.section-title {
        font-size: 2.5rem;
    }
    .navbar-brand {
        font-size: 1.8rem;
    }
    .baby-photo {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 767.98px) {
    h1.baby-name {
        font-size: 3rem;
    }
    .tagline {
        font-size: 1.4rem;
    }
    h2.section-title {
        font-size: 2rem;
    }
    .btn-scroll-down, .btn-rsvp {
        padding: 10px 25px;
        font-size: 1rem;
    }
    .gallery-thumbnail {
        height: 180px;
    }
    #our-journey img {
        max-width: 280px;
        height: 280px;
    }
    .story-heading {
        font-size: 1.8rem;
    }
    .detail-card {
        padding: 30px 20px;
    }
    .contact-item {
        margin-bottom: 20px;
    }
    .social-media-item {
        justify-content: center; /* Center align individual social items on small screens */
    }
    #parentsSocialsContainer,
    #babySocialsContainer {
        margin-bottom: 20px; /* Space between social columns on small screens */
    }
}

@media (max-width: 575.98px) {
    h1.baby-name {
        font-size: 2.5rem;
    }
    .tagline {
        font-size: 1.2rem;
    }
    .baby-photo {
        width: 120px;
        height: 120px;
    }
    h2.section-title {
        font-size: 1.8rem;
    }
    #our-journey img {
        max-width: 220px;
        height: 220px;
    }
    .gallery-thumbnail {
        height: 150px;
    }
}