/* Custom CSS for the Orchestra Website */

/* General Styles */

/* Video Background */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f8f9fa;
    color: #343a40;
    overflow-x: hidden;
    position: relative; /* Ensures child elements position correctly */
}

/* Add a full-screen video */
#background-video {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1; /* Pushes the video behind everything */
}

/* Optional: Dark overlay to improve text readability */
.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5); /* Adjust opacity for better contrast */
    z-index: -1;
}


/* Keyframes for background animation */
@keyframes backgroundAnimation {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 100% 100%;
    }
}

/* Navbar */
.navbar {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.87) 100%) !important;
    padding: 0.9rem 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(9px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5); /* Enhanced shadow */
	
}
/* Keep switch-holder on the right side */
.switch-holder {
    position: right;
    
    z-index: 1050; /* Ensure it stays above menu */
}

/* Adjust for mobile screens */
@media (max-width: 991px) {
    .switch-holder {
        
        position: right;
    }
}
.navbar-collapse {
    transition: all 0.3s ease-in-out;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: #343a40 !important;
    transition: color 0.3s ease;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5); /* Enhanced text shadow */
}

.navbar-brand img {
    margin-right: 12px;
    filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.5)); /* Enhanced drop shadow */
}

.navbar-nav .nav-link {
    color: #343a40 !important;
    padding: 0.8rem 1.6rem;
    transition: all 0.4s ease;
}

.navbar-nav .nav-link:hover {
    color: #dc3545 !important;
    background-color: rgba(200, 200, 200, 0.3);
    border-radius: 10px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 4px 9px rgba(0, 0, 0, 0.3); /* Enhanced shadow */
}

/* Home Section (Parallax) */
.parallax {
    position: relative;
    height: 120vh;
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
    /* More pronounced lighting effect */
    box-shadow: inset 0 0 150px rgba(0, 0, 0, 0.7);
}


.section-text-container {
    position: relative;
    margin-bottom: 100px; /* Add space at the bottom of the container */
    padding-bottom: 20px; /* Add some padding to create room for the full text */
}

.section-text-animation {
    max-height: 6em; /* Control how much of the text is shown (adjust based on your font size) */
    overflow: hidden;
    position: relative;
    transition: opacity 1s ease-in-out; /* Smooth fade effect */
    padding-bottom: 40px; /* Add space under the short text */
}

.fade-out-text {
    display: none; /* Initially hide the full text */
    opacity: 0;
    transition: opacity 1s ease-in-out; /* Fade effect for the full text */
    padding-top: 10px; /* Ensure there's space above the full text */
}

button {
    display: block;
    margin-top: 10px;
    background: transparent;
    border: none;
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
}

button:hover {
    color: #0056b3;
}


.site-footer {
    height: 100px;
    background-color: #f8f9fa;
    padding: 1rem;
    text-align: center;
}


.parallax .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3) 30%, rgba(255, 255, 255, 0.6) 100%);
    z-index: 1;
}

.parallax .container {
    z-index: 2;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.hero-title-animation {
    font-size: 5rem;
    font-weight: 800;
    color: #dc3545;
    margin-bottom: 1.7rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    animation: zoomIn 1.3s ease-out, pulse 2.3s ease infinite;
}

.hero-subtitle-animation {
    font-size: 1.9rem;
    color: #495057;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    animation: fadeIn 2s ease-out;
}

.hero-button-animation {
    background-color: #dc3545;
    border-color: #dc3545;
    transition: all 0.4s ease;
    box-shadow: 0 4px 9px rgba(0, 0, 0, 0.4);
    cursor: pointer;
}

.hero-button-animation:hover {
    background-color: #c82333;
    border-color: #c82333;
    transform: translateY(-4px);
    box-shadow: 0 6px 13px rgba(0, 0, 0, 0.5);
}

/* Content Sections */
.content-section {
    padding: 7rem 0;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0.7rem 1.3rem rgba(0, 0, 0, 0.5);
    transition: all 0.5s ease-out;
}

.content-section:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.9rem 1.5rem rgba(0, 0, 0, 0.15);
}



/* About Section */
.about-image-animation {
    border-radius: 50%;
    box-shadow: 0 7px 17px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease-out;
}

.about-image-animation:hover {
    transform: scale(1.07);
    box-shadow: 0 9px 23px rgba(0, 0, 0, 0.4);
}

/* Section Headings */
.section-heading-animation {
    font-size: 4rem;
    font-weight: 800;
    color: #dc3545;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    margin-bottom: 2.3rem;
    animation: slideInLeft 1.2s ease-out;
}

/* Section Text */
.section-text-animation {
    font-size: 1.4rem;
    color: #495057;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    animation: fadeIn 2s ease-out;
}

/* Events Section */
.event-card-animation {
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 17px;
    box-shadow: 0 9px 19px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease-out;
    overflow: hidden;
}

.event-card-animation:hover {
    transform: translateY(-5px);
    box-shadow: 0 11px 25px rgba(0, 0, 0, 0.4);
}

.event-card-animation img {
    transition: transform 0.6s ease-out;
}

.event-card-animation:hover img {
    transform: scale(1.1);
}
.card {
    height: 100%; /* Ensures all cards are the same height */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	
}

.card img {
    width: 100%; /* Ensures the image fits the card width */
    height: 400px; /* Sets a fixed height for images */
    object-fit: cover; /* Ensures the image scales properly */
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.card-body {
	flex-grow: 1; /* Ensures the text section expands properly */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.4rem;
	
}

.card-title {
    color: #dc3545;
    font-size: 1.2rem;
    font-weight: bold;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
    margin-bottom: 1.1rem;
}
.card-subtitle {
    font-size: 1rem;
    color: #666;
}

.card-text {
    color: #495057;
    font-size: 1.2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

/* Contact Section */
#contactForm .form-control {
    background-color: rgba(255, 255, 255, 0.85);
    border: none;
    color: #495057;
    border-radius: 12px;
    padding: 1.1rem;
    margin-bottom: 1.7rem;
    transition: all 0.4s ease;
    box-shadow: 0 4px 9px rgba(0, 0, 0, 0.3);
}

#contactForm .form-control:focus {
    background-color: rgba(230, 230, 230, 0.8);
    color: #495057;
    box-shadow: 0 6px 13px rgba(0, 0, 0, 0.4);
}

#contactForm .form-label {
    color: #dc3545;
    font-weight: 700;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

/* Footer */
.py-5 {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
}

.bg-light {
    background-color: #f8f9fa;
}

.text-muted {
    color: #6c757d !important;
}

.m-0 {
    margin: 0 !important;
}

.text-center {
    text-align: center !important;
}

/* Animations Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-120px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.75);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.6);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 12px rgba(220, 53, 69, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.6rem;
    }

    .navbar-nav .nav-link {
        padding: 0.6rem 1.2rem;
    }

    .parallax {
        height: auto;
        padding: 10rem 0;
    }

    .hero-title-animation {
        font-size: 3.3rem;
    }

    .hero-subtitle-animation {
        font-size: 1.5rem;
    }

    .section-heading-animation {
        font-size: 3rem;
    }
}
/* Dark Mode Styles */
.dark-mode {
    background-color: #121212;
    color: #ffffff;
}

.dark-mode .card {
    background-color: #1e1e1e;
    color: #ffffff;
}

.dark-mode .table {
    color: #ffffff;
}

.dark-mode .accordion-button {
    background-color: #333;
    color: #ffffff;
}

.dark-mode .accordion-button:not(.collapsed) {
    background-color: #dc3545;
}

.dark-mode .accordion-body {
    background-color: #222;
}

.dark-mode .form-control {
    background-color: #333;
    color: #ffffff;
    border-color: #555;
}

.dark-mode .form-select {
    background-color: #333;
    color: #ffffff;
    border-color: #555;
}
.dark-mode .bg-light {
    background-color: #121212 !important;
}

.dark-mode .navbar {
    background: linear-gradient(to bottom, rgba(20, 20, 20, 0.97) 0%, rgba(20, 20, 20, 0.87) 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 3px 7px rgba(255, 255, 255, 0.2);
}

.dark-mode .navbar-brand,
.dark-mode .navbar-nav .nav-link {
    color: #f8f9fa !important;
}

.dark-mode .navbar-nav .nav-link:hover {
    color: #ff6b6b !important;
    background-color: rgba(255, 255, 255, 0.2);
}

.dark-mode .parallax .overlay {
    background: linear-gradient(to bottom, rgba(20, 20, 20, 0.5) 30%, rgba(20, 20, 20, 0.9) 100%);
}

.dark-mode .content-section {
    background-color: rgba(30, 30, 30, 0.9);
    box-shadow: 0 0.7rem 1.3rem rgba(255, 14, 14, 0.86);
	
}

.dark-mode .section-text-animation {
	font-size: 1.2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
	color: #ffffff; 
}


.dark-mode .text-light1{
	color: #ffffff;
}

.dark-mode .card-text {
	font-size: 1.2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
	color: #ffffff; 
}
.dark-mode .event-card-animation {
    background-color: rgba(40, 40, 40, 0.85);
}

.dark-mode .event-card-animation:hover {
    box-shadow: 0 11px 25px rgba(255, 50, 50, 0.8);
}

.dark-mode .card-title {
    color: #ff6b6b;
}
/* Dark Mode Toggle Switch */
.switch-holder1 {
    position: right;
    top: 15px;
    right: 20px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 25px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 25px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 3.5px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #ff6b6b;
}

input:checked + .slider:before {
    transform: translateX(24px);
}

.form-control {
    border-radius: 8px;
    padding: 10px;
}

.btn-primary {
    background-color: #d9534f; /* Bootstrap danger color */
    border: none;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
}

.btn-primary:hover {
    background-color: #c9302c;
}


.event-description {
    /* Adding a subtle shadow to make it look "sunk into" the card */
    box-shadow: inset 0px 4px 10px rgba(0, 0, 0, 0.2);
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.8); /* Slightly white background to create contrast */
    border-radius: 5px;
    margin-bottom: 15px;
}

/* Optional: Style for the Read More button */
.event-card-animation .btn-danger {
    margin-top: 10px;
}

/* General container styling */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Events list styling */
.events-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

/* Single event card styling */
.event-card {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: row; /* Image on the left, details on the right */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

/* Event image styling */
.event-image {
    flex: 1;
    max-width: 300px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Event details (name, date, time, location) on the right side */
.event-details {
    flex: 2;
    padding: 20px;
    background-color: #fff;
    display: flex;
    flex-direction: column; /* Stack details vertically */
}

/* Title of the event */
.event-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Description text styling */
.event-description {
    margin-top: 15px;
    font-size: 1rem;
    color: #555;
}

/* "Read More" button styling */
.event-details .btn-danger {
    margin-top: 20px;
}

/* Event Details (Date, Time, Location) */
.event-details p {
    font-size: 1rem;
    margin-bottom: 5px;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .event-card {
        flex-direction: column; /* Stack image and details on top of each other */
        max-width: 100%; /* Allow card to take up full width on smaller screens */
    }

    .event-image {
        max-width: 100%;
    }
}


/* Dropdown Styling */
.nav-item.dropdown {
    position: relative;
}

.nav-item .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    z-index: 1000;
    padding: 5px 0;
}

.nav-item .dropdown-menu li {
    list-style: none;
}

.nav-item .dropdown-menu a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: black;
    transition: background 0.3s ease-in-out;
}

.nav-item .dropdown-menu a:hover {
    background-color: #f8f9fa;
}

/* Show dropdown on hover */
.nav-item:hover .dropdown-menu {
    display: block;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    font-size: 28px;
    color: #555; /* Default color */
    transition: color 0.3s ease-in-out, transform 0.2s ease-in-out;
}

.social-link:hover {
    color: #ff0000;  /* Red on hover */
    transform: scale(1.2);
}

/* Ensure Bootstrap Icons turn red on hover */
.social-link i {
    transition: color 0.3s ease-in-out;
}

.social-link:hover i {
    color: #ff0000;  /* Red for icons */
}

/* Style for logo image used as social icon */
.logo-icon {
    width: 52px;  /* Adjust the size of the logo */
    height: 52px;
    object-fit: contain;
    filter: grayscale(100%);  /* Make the logo grayscale by default */
    transition: transform 0.2s ease-in-out, filter 0.3s ease-in-out;
}

.logo-icon:hover {
    transform: scale(1.2);
    filter: grayscale(0) sepia(2) saturate(70) hue-rotate(-4deg);  /* Make the logo red on hover */
}
footer .card {
    box-shadow: none;
    animation: none;
}

/* Blur background only when popup is active */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(6px); /* Apply blur to background */
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s 0.3s; /* Smooth transition for fade in/out */
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0s 0s; /* Fade-in effect */
}

.notificationCard {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1001;
    position: relative;
    text-align: center;
    max-width: 500px; /* Set a specific max width */
    width: 100%;
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}


/* Make the card visible and slide it up */
.popup-overlay.active .notificationCard {
    opacity: 1;
    transform: translateY(0); /* Slide to normal position */
}

.notificationCard .bellIcon {
    fill: #dc3545;
    margin-bottom: 1rem;
}

.notificationHeading {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.notificationPara {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1.5rem;
}

/* Center the button inside the button container */
.buttonContainer {
    display: flex;
    justify-content: center; /* Center the button horizontally */
    align-items: center; /* Center the button vertically */
    width: 100%; /* Take up full width */
}

.AllowBtn {
    background-color: #dc3545;
    border: none;
    padding: 0.75rem 2rem;
    color: white; /* Default text color */
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.AllowBtn:hover {
    background-color: #c82333;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
    color: black; /* Change text color to black on hover */
}

.AllowBtn:active {
    background-color: #bd2130;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transform: translateY(1px);
}

.AllowBtn:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.5);
}



/* Light mode (default) */
#popupOverlay {
    background-color: rgba(0, 0, 0, 0.5);
}

#popupOverlay .popup {
    background-color: #fff;
    color: #000;
}

/* Dark mode */
#popupOverlay.dark .popup {
    background-color: #2c2c2c;
    color: #fff;
}

/* Mobile Specific Styles */
@media (max-width: 768px) {
    .notificationCard {
        width: 90%; /* Make the card take up 90% of the screen width */
        padding: 1.5rem; /* Adjust padding */
    }

    .notificationHeading {
        font-size: 1.2rem; /* Smaller font for mobile */
    }

    .notificationPara {
        font-size: 0.9rem; /* Smaller paragraph font */
    }

    .AllowBtn {
        padding: 0.75rem 1.5rem; /* Adjust button padding */
        font-size: 0.9rem; /* Smaller font size for the button */
    }
}

@media (max-width: 480px) {
    .notificationCard {
        width: 95%; /* Make the card even smaller on very small screens */
        padding: 1rem; /* Reduce padding for tiny screens */
    }

    .notificationHeading {
        font-size: 1rem; /* Further reduce heading size */
    }

    .notificationPara {
        font-size: 0.85rem; /* Reduce paragraph size for very small screens */
    }

    .AllowBtn {
        padding: 0.75rem 1.25rem; /* Reduce button padding on very small screens */
        font-size: 0.85rem; /* Adjust button text size */
    }
}
