
/* Apply global styles */
body {
    font-family: 'Poppins', sans-serif;
    background: #D6D0C9; /* Soft neutral beige - new background */
    color: #4A4A4A;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.how-it-works {
    text-align: center; 
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center; /* ✅ Ensures everything inside is centered */
    justify-content: center;
}

.how-it-works h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #4A4A4A; /* Neutral color for better contrast */
    margin-bottom: 20px;
    width: 100%;
    text-align: center !important;
}

/* Hero Section */
.hero-section {
    background: #D6D0C9; /* Keep consistent background */
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #4A4A4A;
    position: relative;
}

.hero-section .overlay {
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 10px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 600;
    color: #6F4F4B; /* Muted mauve-pink for better contrast */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-text {
    font-size: 1.5rem;
    line-height: 1.4;
    color: #4A4A4A; /* Improve contrast */
}

.hero-section .btn-lg {
    width: 200px;
    font-size: 1.25rem;
    padding: 12px 20px;
    background: #6F4F4B; /* Muted mauve-pink */
    border-color: #6F4F4B;
    color: white;
    border-radius: 8px;
}

.hero-section .btn-lg:hover {
    background: #5C3F3A;
    border-color: #5C3F3A;
}

/* Feature Section */
.features {
    background: #7C8672; /* Darker green for better contrast */
    color: white;
    padding: 50px 20px;
    text-align: center;
}


/* Feature Box */
.feature-box {
    background: #A1968D; /* Slightly darker beige shade for contrast */
    color: #4A4A4A;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
    text-align: center;
}

.feature-box:hover {
    transform: scale(1.05);
    background: #8C7B73; /* Darker for hover effect */
}
.logo {
    height: 120px;
    width: auto;
}

/* ✅ Fix ballooned images in dashboard */
.dashboard-img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

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

body:not(.index-page) {
    background: #D6D0C9; /* Match the main page */
    color: #4A4A4A;
}

/* ✅ Fix readability (removes blur and ensures contrast) */
h1, h2, h3, p, a, .feature-box, .how-box, .about-box {
    color: white !important;
    text-shadow: none !important;
}

/* ✅ Improve How-It-Works Section */
.how-it-works {
    background: rgba(0, 0, 0, 0.3); /* Darker contrast */
    padding: 60px 0;
    text-align: center;
    border-radius: 12px;
}

.how-box, .about-box {
    background: #A8B5A2!important;  /* Sets the box background to black */
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    color: white !important; /* Makes text readable */
}

.how-box h3, .how-box p, 
.about-box h3, .about-box p {
    color: white !important; /* Ensures text inside stays visible */
}

.how-box:hover, .about-box:hover {
    transform: scale(1.05);
    background: #8F9E86 !important;  
}
/* Containers Stand Out */
.container {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    background: #8B8F7A; /* Darker green */
    color: white !important;
    padding: 20px 0;
    text-align: center;
    margin-top: 40px;
}

footer a {
    color: white !important;
    text-decoration: underline;
}

footer a:hover {
    color: lightgray;
}

/* ✅ Make Previous Button White */
.prev-btn {
    background-color: white;
    color: black !important;
    border: 1px solid black;
}

/* ✅ Make Next Button Black */
.next-btn {
    background-color: black;
    color: white !important;
    border: 1px solid white;
}

/* ✅ Hover Effects */
.prev-btn:hover {
    background-color: lightgray;
    color: black !important;
}

.next-btn:hover {
    background-color: darkgray;
    color: white !important;
}

.memory-box {
    background: #A8B5A2;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.memory-box:hover {
    transform: scale(1.05);
}

.memory-image {
    width: 100%;
    height: 250px; /* Set uniform height */
    object-fit: cover; /* Ensures images keep their natural aspect ratio */
    border-radius: 8px;
}

.memory-text {
    display: none;
}


.event-image {
    max-width: 100%;  /* Makes sure image does not exceed the container */
    height: auto;  /* Maintains aspect ratio */
    max-height: 400px; /* Limits height to prevent excessive scaling */
    display: block;  /* Removes extra space around images */
    margin: 0 auto;  /* Centers the images */
    border-radius: 10px; /* Adds rounded corners */
    object-fit: contain; /* Ensures the whole image fits inside */
}
/* ✅ Centers all messages */
.live-messages-container {
    position: fixed;  /* ✅ Make it free-floating */
    top: 0;
    left: 0;
    width: 100vw;  /* ✅ Full screen width */
    height: 120vh;  /* ✅ Tall enough to reach the slideshow */
    overflow: hidden;
    pointer-events: none;
    z-index: 10;  /* ✅ Ensure it’s above other elements */
}

/* ✅ Smaller Cloud Bubble */
.cloud-container {
    width: 180px;  /* Decrease width */
    height: auto;  /* Keeps aspect ratio */
    margin: 20px auto; /* Centers */
    position: relative; /* Needed for absolute positioning inside */
}

/* ✅ Adjust Image Size */
.cloud-bubble {
    width: 100%;  /* Keep full width of the container */
    height: auto; 
    display: block;
}

/* ✅ Ensure Text Stays Inside */
.note-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;  /* Keeps text inside bubble */
    max-height: 80%;
    font-size: 0.9rem; /* Adjust size */
    font-weight: bold;
    color: black;
    text-align: center;
    word-wrap: break-word;
    white-space: normal;
    display: flex;
    flex-direction: column; /* Keeps name/message stacked */
    justify-content: center;
    align-items: center;
}

.hero-text {
    font-size: 1.2rem;  /* ✅ Default text size */
    text-align: center;
}

@media (max-width: 576px) {  /* ✅ Targets smaller phones */
    .hero-title {
        font-size: 1.5rem; /* ✅ Reduce title size */
    }
    
    .hero-text {
        font-size: 0.9rem;  /* ✅ Make sure text is not too large */
    }

    .hero-list {
        font-size: 0.9rem; /* ✅ Match list text size */
    }
}

/* ✅ Fix bullet points */
.hero-list {
    list-style: none;
    padding: 0;
    text-align: center;
    font-size: 1.2rem;  /* ✅ Match text size */
    color: #efdcdc; /* Improve contrast */
}

.hero-list li {
    margin-bottom: 5px;
}

/* ✅ Ensure bullets don't look oversized on mobile */
@media (max-width: 768px) {
    .hero-list {
        font-size: 1rem;
    }
}

/* ✅ Prevent large buttons on mobile */
@media (max-width: 768px) {
    .btn-lg {
        font-size: 1rem;  /* ✅ Reduce size */
        padding: 10px 15px;
        width: 180px;
    }
}

/* Plan Cards */
.plan-card {
    background-color: #B8A897 !important; /* Light tan */
    color: white !important;
    border: 2px solid white;
    text-align: center;
}

.ultimate-plan {
    background-color: black !important;
    color: white !important;
    border: 2px solid red;
}

/* ✅ Ensures cards are evenly spaced */
.card {
    min-height: 350px; /* Adjust height so all boxes stay equal */
}


/* Buttons */
.btn-primary {
    background: #6F4F4B;
    border-color: #6F4F4B;
    color: white;
}

.btn-primary:hover {
    background: #5C3F3A;
    border-color: #5C3F3A;
}

.btn-success {
    background: #9AA28B; /* Soft green */
    border-color: #9AA28B;
    color: white;
}

.btn-success:hover {
    background: #7E8B71;
    border-color: #7E8B71;
}




/* ✅ Static Notes Section */
#static-notes {
    background: rgba(255, 255, 255, 0.3);  /* Light background */
    padding: 50px 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* ✅ Grid layout (4x4) */
.static-note {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 250px;  /* Set max width */
    margin: auto;
    position: relative;
}

/* ✅ Adjust size of notes in grid */
.static-note .cloud-bubble {
    width: 100%; /* Keep within bounds */
    height: auto;
    display: block;
}

/* ✅ Make text fit inside */
.static-note .note-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    font-size: 0.9rem;
    font-weight: bold;
    color: black;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

h2.all-messages-title {
    color: black !important;
}



.extra-section {
    background: #A8B5A2; /* ✅ Sage Green */
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* ✅ Make List Background Match */
.extra-section .list-group-item {
    background: transparent !important;
    border: none;
    font-weight: bold;
    color: #4A4A4A; /* Ensures good contrast */
}

/* ✅ Sage Green Button */
.btn-sage {
    background: #A8B5A2 !important; /* ✅ Sage Green */
    color: #4A4A4A !important; /* Dark Text for Readability */
    font-weight: bold;
    border-radius: 8px;
    padding: 12px 20px;
    border: none;
}

.btn-sage:hover {
    background: #8F9E86 !important; /* Slightly Darker Sage */
}

/* ✅ Event Name Input Field */
#event-name-input {
    background: rgba(255, 255, 255, 0.7); /* ✅ Light background */
    color: #4A4A4A; /* Dark Text */
    border-radius: 8px;
    padding: 8px 15px;
    border: 2px solid #A8B5A2; /* ✅ Sage Green Border */
    text-align: center;
    font-weight: bold;
}

/* ✅ Change the Placeholder Color */
#event-name-input::placeholder {
    color: rgba(74, 74, 74, 0.7);
}

/* ✅ Save Button Next to Event Name */
#event-name-form .btn-primary {
    background: #6F4F4B; /* ✅ Muted Mauve-Pink */
    border-color: #6F4F4B;
    color: white;
    font-weight: bold;
    border-radius: 8px;
    padding: 8px 15px;
}

#event-name-form .btn-primary:hover {
    background: #5C3F3A;
    border-color: #5C3F3A;
}

/* ✅ Change "Your Event" Title to Sage Green */
#event-name-display,
.fw-bold.text-primary {
    color: #A8B5A2 !important; /* ✅ Sage Green */
}


.dashboard-header {
    background: #A8B5A2; /* Sage Green Background */
    color: white;
    text-align: center;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.dashboard-header h1 {
    font-size: 2.5rem;
    font-weight: bold;
}

.dashboard-header p {
    font-size: 1.2rem;
    font-weight: 400;
}


.event-details-container {
    text-align: center;
    margin-top: 40px;
}

.event-details-title {
    color: #6F4F4B !important; /* Muted Mauve-Pink */
    font-weight: bold;
    font-size: 2rem;
    margin-bottom: 15px;
}

.event-details-card {
    background: #A8B5A2;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 90%;
    margin: auto;
}

.table {
    margin-bottom: 0;
    background: #f8f9fa; /* Light grey for better readability */
    border-radius: 12px;
}

.table th {
    background: #A8B5A2 !important; /* Sage Green */
    color: white;
    text-transform: uppercase;
    padding: 12px;
}

.table td {
    padding: 12px;
}


/* ✅ Section Styling - Make it Stand Out */
.photo-manage-section {
    background: #A8B5A2; /* Soft neutral background */
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

/* ✅ Upload Button - Soft Mauve */
.btn-upload {
    background: linear-gradient(to right, #A67C7C, #6F4F4B);
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-upload:hover {
    background: linear-gradient(to right, #6F4F4B, #A67C7C);
    transform: translateY(-2px);
    box-shadow: 2px 6px 12px rgba(0, 0, 0, 0.2);
}

/* ✅ View Gallery Button - Soft Sage */
.btn-gallery {
    background: linear-gradient(to right, #B8C4A8, #7C8C64);
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-gallery:hover {
    background: linear-gradient(to right, #7C8C64, #B8C4A8);
    transform: translateY(-2px);
    box-shadow: 2px 6px 12px rgba(0, 0, 0, 0.2);
}

/* ✅ Disabled button styling */
.disabled {
    opacity: 0.5;
    pointer-events: none;
}




.storage-container {
    background: #A8B5A2;  /* Light Creamy Background */
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 30px auto;
}

/* ✅ Titles */
.storage-title, .qr-title {
    color: #6F4F4B; /* Muted Mauve-Pink */
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

/* ✅ QR Code */
.qr-code {
    width: 200px; /* Slightly larger */
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    margin: 15px auto;
}

/* ✅ Button Container */
.qr-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

/* ✅ Print QR Code Button */
.print-btn {
    background: linear-gradient(to right, #6F4F4B, #A67C7C); 
    color: white;
    font-weight: bold;
    border-radius: 8px;
    padding: 10px 15px;
    border: none;
}

.print-btn:hover {
    background: #5C3F3A;
}

/* ✅ Customize QR Button */
.customize-btn {
    background: linear-gradient(to right, #B8C4A8, #7C8C64); 
    color: #4A4A4A;
    font-weight: bold;
    border-radius: 8px;
    padding: 10px 15px;
    border: none;
}

.customize-btn:hover {
    background: #D6D0C9;
}

.btn-sage {
    background: #6F7D5E  !important; /* ✅ Sage Green */
    color: rgb(254, 252, 252) !important; /* ✅ Dark Text for Readability */
    font-weight: bold;
    border-radius: 8px;
    padding: 12px 20px;
    border: none;
}

.btn-sage:hover {
    background: #5C6A4D !important; /* ✅ Slightly Darker Sage */
}


/* ✅ Update Navbar to Match Box Color */
.navbar {
    background-color: #4A4A4A !important; /* Match the dark grey box */
    border-radius: 10px; /* Optional: Soft rounded edges */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Optional: Adds slight depth */
    padding: 15px 20px; /* Adjust padding for spacing */
}

/* ✅ Navbar Links */
.navbar .nav-link,
.navbar .navbar-brand {
    color: white !important; /* Ensures visibility */
    font-weight: bold;
    font-size: 1rem;
    transition: color 0.3s ease-in-out;
}

/* ✅ Navbar Hover Effects */
.navbar .nav-link:hover {
    color: #E5E3DC !important; /* Lighter text on hover */
}

/* ✅ Adjust Navbar Logo */
.navbar .logo {
    height: 100px; /* Adjust as needed */
    width: auto;
    transition: transform 0.3s ease-in-out;
}

/* ✅ Logo Hover Effect */
.navbar .logo:hover {
    transform: scale(1.05); /* Slight zoom effect */
}


.event-title {
    font-weight: 900 !important; /* Extra bold */
}

.plan-card {
    background-color: #9CAF88 !important; /* Sage Green */
    color: #ffffff; /* White text for contrast */
    border: none; /* Remove default borders */
    border-radius: 12px; /* Smooth rounded corners */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    padding: 20px; /* Add some padding */
}

.plan-card h4 {
    color: #fff; /* White heading */
}

.plan-card p {
    font-size: 20px;
    font-weight: bold;
    color: #f8f9fa; /* Light text */
}

.plan-card ul li {
    color: #fdfdfd; /* Light text */
}

.live-section {
    background-color: #D9D3CC;  /* ✅ Beige/light gray color */
    padding: 50px 0;  /* Keep spacing */
    border-radius: 10px; /* Smooth corners */
}

.video-container {
    background-color: #D9D3CC; /* ✅ Same beige/light gray */
    padding: 20px;
    border-radius: 10px;
}

.live-video {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}



@media (max-width: 768px) {
    .event-details-container h2 {
        font-size: 20px; /* Smaller title for mobile */
    }

    .table th, .table td {
        font-size: 14px; /* Adjust text size for small screens */
        padding: 8px; /* Reduce padding for better fit */
    }

    .table-responsive {
        overflow-x: auto; /* Enables horizontal scrolling */
    }
}



.reviews-section .card {
    border-left: 5px solid #28a745;
    transition: transform 0.2s ease-in-out;
}

.reviews-section .card:hover {
    transform: scale(1.05);
}


.fullscreen-container {
    display: none; /* Hidden initially */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
    z-index: 9999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
    overflow: hidden;
}


#loading-notice {
    background-color: #e0e0e0;
    border: 1px solid #ffeeba;
    color: blue;
    padding: 15px;
    text-align: center;
    font-size: 16px;
    margin: 20px auto;
    width: 90%;
    border-radius: 8px;
}

.upload-box {
    background: #A8B5A2; /* Soft Sage Green */
    padding: 25px;
    border-radius: 15px;
    margin-top: 20px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}
