/* General Header Styling */
/* Ensure the page takes full height */
/* Ensure the page takes full height */
/* ✅ Ensure the page fills the screen & footer stays at bottom */
@font-face {
    font-family: 'Sugo Pro Display';
    src: url('/fonts/Sugo-Pro-Display-ExtraLight-trial.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* @font-face {
    font-family: 'Sugo Pro Display';
    src: url('/fonts/Sugo-Pro-Display-Bold-trial.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
} */

html,
body {
    scroll-behavior: smooth;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #fdd5d7, #f9f6f8, #d7f3fd, #d7fdd7);
}

/* ✅ Ensure content takes up all available space */
.container-fluid {
    /* flex: 1; */
    /* padding-top: 80px; */
    /* Adjust this based on the actual header height */

}

/* ✅ Make the footer stick to the bottom */
footer {
    background-color: #1a1a1a;
    color: white;
    text-align: center;
    padding: 15px 0;
    width: 100%;
    margin-top: auto;
    /* Pushes footer to the bottom */
}


/* General Header Styling */
.homepage-header {
    padding: 20px 0;
    background: transparent;
    position: relative;
    /* Changed back from fixed to relative */
    width: 100%;
    /* top: 0; */
    /* z-index: 1000; */
}

.other-pages-header {
    padding: 20px 0;
    background: black;
    position: relative;
    /* Changed back from fixed to relative */
    width: 100%;
    /* top: 0; */
    /* z-index: 1000; */
}

/* Navbar Logo */
.logo-text {
    font-family: 'Sugo Pro Display', serif;
    font-size: 28px;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
    letter-spacing: 2px;
}

/* Navigation Links */
.navbar-nav .nav-item .nav-link {
    color: white !important;
    font-size: 12px;
    font-weight: normal;
    text-transform: uppercase;
    transition: 0.3s ease-in-out;
}

.navbar-nav .nav-item .nav-link:hover {
    color: #aaa !important;
}

/* Desktop View: Center RxWeddings */
@media (min-width: 992px) {
    .navbar-nav {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        /* Reduce spacing */
    }

    .navbar-brand {
        text-align: center;
    }
}

/* Mobile View: RxWeddings Above Menu */
@media (max-width: 991px) {
    .navbar-toggler {
        order: 1;
    }

    .navbar-brand {
        display: block;
        text-align: center;
        margin-bottom: 10px;
        font-size: 30px;
        font-weight: bold;
    }

    .navbar-collapse {
        text-align: center;
    }

    .navbar-nav {
        flex-direction: column;
    }
}

/* Header Bottom Line */
.header-line {
    width: 90%;
    margin: auto;
    border: 1px solid white;
}

.header-line-black {
    width: 90%;
    margin: auto;
    border: 1px solid #444;
}



/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url('../images/osupa.jpg') no-repeat center center/cover;
}

/* Dark Overlay for Text Readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Transparent overlay */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Centering Content */
.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
}

/* Date Styling */
.hero-date {
    font-size: 14px;
    text-align: right;
    margin-bottom: 10px;
}

/* Line Styling */
.hero-line {
    width: 70%;
    margin: 10px auto;
    border: 1px solid white;
}

/* Title Styling */
.hero-title {
    font-family: 'Sugo Pro Display', serif;
    font-size: 48px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Footer (Bottom Section) */
.hero-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

/* Studio Logo */
.studio-logo {
    display: flex;
    align-items: center;
    font-size: 16px;
}

.studio-logo img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

/* View Gallery Button */
.btn-outline-light {
    padding: 10px 20px;
    font-size: 14px;
    border: 1px solid white;
    text-transform: uppercase;
    margin: auto;
}

.btn-outline-light:hover {
    background: white;
    color: black;
}

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Josefin+Sans:wght@500&family=Lora:wght@400&display=swap');

/* About Section */
.about-section {
    background-color: #f7f4f0;
    /* Soft beige background */
    padding: 100px 0;
}

/* Title Styling */
.about-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: bold;
    color: #5a4235;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

/* Subtitle Styling */
.about-subtitle {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #6d5f50;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* Body Text */
.about-text {
    font-family: 'Lora', serif;
    font-size: 18px;
    color: #4a3b30;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* About Image Styling - with Right & Bottom Border */
.about-image-container {
    background-color: #ece6df;
    padding: 20px;
    display: inline-block;
    position: relative;
}

.about-image {
    width: 100%;
    display: block;
    border-radius: 5px;
}

/* Right & Bottom Border Effect */
.about-image-container::after {
    content: "";
    position: absolute;
    right: -15px;
    bottom: -15px;
    width: 100%;
    height: 100%;
    border: 10px solid #ece6df;
    /* Border color */
    z-index: -1;
}

/* Button Styling */
.about-button {
    display: inline-block;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #5a4235;
    border: none;
    background: transparent;
    padding-bottom: 5px;
    border-bottom: 1px solid #5a4235;
    text-align: center;
    width: 100%;
    transition: 0.3s ease-in-out;
}

.about-button:hover {
    color: #4a3b30;
    border-bottom: 1px solid #4a3b30;
}

/* Horizontal Line Under Button */
.about-button::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: #5a4235;
    margin-top: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-section {
        text-align: center;
    }

    .about-title {
        font-size: 32px;
    }

    .about-subtitle {
        font-size: 12px;
    }

    .about-text {
        font-size: 16px;
    }

    .about-button {
        font-size: 12px;
    }

    .about-image-container::after {
        right: -10px;
        bottom: -10px;
        border: 8px solid #ece6df;
    }
}

/* Other Pages Header */
.other-pages-header {
    background-color: #ffffff;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}

/* Title */
.other-header-title {
    font-family: 'Sugo Pro Display', serif;
    font-size: 22px;
    font-weight: normal;
    text-transform: uppercase;
    color: #2c2c2c;
    letter-spacing: 1px;
}

/* Navigation */
.navbar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.navbar-nav .nav-item {
    margin: 0 15px;
}

.navbar-nav .nav-link {
    font-family: 'Lora', serif;
    font-size: 12px;
    color: #2c2c2c;
    text-transform: uppercase;
    font-weight: normal;
    text-decoration: none;
    transition: 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover {
    color: #5a4235;
}

/* Responsive - Mobile View */
@media (max-width: 992px) {
    .other-pages-header {
        text-align: center;
    }

    .navbar-nav {
        flex-direction: column;
        gap: 10px;
    }

    .other-header-title {
        font-size: 20px;
    }
}



/* Loading Spinner */
#loading img {
    width: 50px;
}

/* Dark Navbar Toggle */
.navbar-toggler-dark {
    border: 1px solid black;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 5px;
}

/* Change the icon to white */
.navbar-toggler-dark .navbar-toggler-icon {
    filter: invert(1);
}

/* Hover Effect */
.navbar-toggler-dark:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Wedding Gallery Grid */
#wedding-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    padding: 5px;
    justify-content: center;
    align-items: center;
}

/* Individual Image Container */
.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    padding: 0px;
}

/* Images */
.gallery-image {
    width: 100%;
    height: 150px !important;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease-in-out;
    padding: 0px;

}

/* Hover Effect */
.image-container:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Loading Animation */
#loading img {
    width: 50px;
    opacity: 0.8;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    #wedding-gallery {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 10px;
    }
}


/* General Header Styling */
.homepage-header {
    background-color: white;
    /* White background for homepage */
    padding: 20px 0;
    width: 100%;
    top: 0;
    z-index: 1000;
    /* position: absolute; */
    border-bottom: 1px solid #ddd;
}

.other-pages-header {
    background-color: black;
    /* Black background for other pages */
    padding: 20px 0;
    width: 100%;
    top: 0;
    z-index: 1000;
    /* position: absolute; */
    border-bottom: 1px solid #444;
}

/* Logo Styling */
.logo-text {
    font-family: 'Sugo Pro Display', serif;
    font-size: 28px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Navbar Links */
.navbar-nav .nav-item .nav-link {
    font-size: 12px;
    font-weight: normal;
    text-transform: uppercase;
    transition: 0.3s ease-in-out;
}

.homepage-header .navbar-nav .nav-item .nav-link {
    color: black !important;
    /* Black text for homepage navbar */
}

.other-pages-header .navbar-nav .nav-item .nav-link {
    color: white !important;
    /* White text for other pages navbar */
}

/* Hover Effects */
.navbar-nav .nav-item .nav-link:hover {
    opacity: 0.7;
}

/* Mobile View Adjustments */
@media (max-width: 991px) {
    .navbar-toggler {
        order: 1;
    }

    .navbar-brand {
        display: block;
        text-align: center;
        margin-bottom: 10px;
        font-size: 30px;
        font-weight: bold;
    }

    .navbar-collapse {
        text-align: center;
    }

    .navbar-nav {
        flex-direction: column;
    }
}


/* Wedding Gallery Grid */
#wedding-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    padding: 5px;
    justify-content: center;
    align-items: center;
}

/* Individual Image Container */
.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Images */
.gallery-image {
    width: 100%;
    height: 150px !important;
    object-fit: cover;
    border-radius: 12px;
    transition: filter 0.3s ease-in-out;
}

/* ✅ Updated Icons Overlay */
.image-icons {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

/* Individual Icons */
.image-icons i {
    color: white;
    font-size: 18px;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease-in-out, background 0.3s ease-in-out;
}

/* ✅ Hover Effect for Image & Icons */
.image-container:hover .gallery-image {
    filter: brightness(0.6);
}

.image-container:hover .image-icons {
    opacity: 1;
}

.image-icons i:hover {
    transform: scale(1.2);
    background: rgba(255, 255, 255, 0.8);
    color: black;
}

/* Loading Spinner */
#loading img {
    width: 50px;
    opacity: 0.8;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    #wedding-gallery {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 10px;
    }
}

/* Center the modal */
.modal-content {
    border-radius: 5px;
    padding: 30px;
}

/* Style the email input */
#userEmail {
    height: 60px;
    font-size: 16px;
}

.modal-text {
    font-size: 12px;
    font-weight: normal;
    color: #2c2c2c;
    letter-spacing: 1px;
}

/* Make modal responsive */
@media (max-width: 768px) {
    .modal-content {
        padding: 20px;
    }
}

#slideshowModal .modal-content {
    background: black;
    z-index: 1050;
    /* Default Bootstrap modal z-index */

    /* Ensures a dark background for better viewing */
}

#slideshowModal .modal-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    /* Fullscreen height */
    padding: 0;
    overflow: hidden;
    /* Prevents scrolling */
}

/* Ensures the image fits the screen without scrolling */
#slideshowImage {
    max-width: 90vw;
    /* Up to 90% of the viewport width */
    max-height: 85vh;
    /* Up to 85% of the viewport height */
    object-fit: contain;
    /* Ensures aspect ratio is maintained */
}

/* Navigation Buttons */
#prevImage,
#nextImage {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    padding: 10px;
    border-radius: 50%;
    font-size: 24px;
    color: white;
    transition: background 0.3s ease-in-out;
}

#prevImage:hover,
#nextImage:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* Positioning */
#prevImage {
    left: 15px;
}

#nextImage {
    right: 15px;
}

/* Top Controls */
#slideshowControls {
    position: absolute;
    top: 15px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

#slideshowControls i {
    font-size: 24px;
    color: white;
    cursor: pointer;
    transition: opacity 0.3s ease-in-out;
}

#slideshowControls i:hover {
    opacity: 0.7;
}

/* Image Name */
#slideshowImageName {
    position: absolute;
    bottom: 20px;
    color: white;
    font-size: 18px;
    text-align: center;
}

/* Ensure modals (Favorite, Buy, Share) are on top */
.modal {
    z-index: 1100 !important;
    /* Ensure they override the slideshow */
}

/* Adjust modal background to prevent fading */
.modal-backdrop.show {
    z-index: 1099 !important;
    background: rgba(0, 0, 0, 0.7);
    /* Make backdrop darker for better visibility */
}