/* Main Website Styles for Kumbh Mela */

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.5;
    color: #333;
    background-color: #f2eae4;
}

/* Header Styles */
header {
    background: #eb7254; /* Changed to Coral color */
    padding: 20px 0;
}

header h1 {
    font-weight: 600;
    font-size: 2.0rem;
}

header p {
    opacity: 0.9;
}

.social-icons a {
    font-size: 1.2rem;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

/* Navigation Styles */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: #eb7254 !important; /* Changed to Coral color */
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 0.8rem 1rem;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Carousel/Slider Styles */
.carousel-item {
    background-color: #f8f9fa;
    transition: background-color 0.5s ease;
}

.slider-image-container {
    height: 500px;
    overflow:hidden;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.3s ease;
}

.carousel-item:hover .slider-image {
    transform: scale(1.02);
    filter: brightness(1.05);
}

/* Content below the slider image */
.slider-content-container {
    padding: 20px 0;
    text-align: center;
}

/* Hover content that appears on hover */
.hover-content {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.carousel-item:hover .hover-content {
    opacity: 1;
    visibility: visible;
}

.slider-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 15px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.slider-title {
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.slider-description {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #555;
}

.slider-btn {
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Card Styles */
.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: auto;
    margin-bottom: 20px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-title {
    font-weight: 600;
    color: #333;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Section Styles */
section {
    padding: 20px 0;
}

section h2 {
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

section h2:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: #eb7254; /* Changed to Coral color */
    bottom: -10px;
    left: 25%;
}

/* Footer Styles */
footer {
    background: #eb7254; /* Changed to Coral color */
}

footer h5 {
    font-weight: 600;
    margin-bottom: 20px;
}

footer ul li {
    margin-bottom: 10px;
}

footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    opacity: 0.8;
    text-decoration: underline !important;
}

/* Custom Carousel Indicators */
.custom-indicators {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    z-index: 15;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.custom-indicators button {
    width: 12px;
    height: 12px;
    margin: 0 5px;
    border-radius: 50%;
    background-color: rgba(235, 114, 84, 0.5);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.custom-indicators button.active {
    background-color: #eb7254;
    width: 15px;
    height: 15px;
    transform: scale(1.2);
}

.custom-indicators button:hover {
    background-color: #eb7254;
    transform: scale(1.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .slider-image-container {
        height: 350px;
    }
    
    .slider-title {
        font-size: 1.8rem;
    }
    
    .slider-description {
        font-size: 1rem;
    }
    
    section h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .carousel-item {
        height: 250px;
    }
    
    .carousel-caption {
        bottom: 10%;
    }
    
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
    
    .carousel-caption .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
    }
}

/* Gallery Page Styles */
.gallery-item {
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 5px;
}

.gallery-item img {
    transition: transform 0.5s ease;
}

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

/* Video Gallery Styles */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 5px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Post/Article Styles */
.post-content {
    line-height: 1.8;
}

.post-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 5px;
}

.post-meta {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Contact Form Styles */
.contact-form .form-control {
    border-radius: 0;
    border: 1px solid #ddd;
    padding: 15px;
}

.contact-form .form-control:focus {
    box-shadow: none;
    border-color: #eb7254; /* Changed to Coral color */
}

.contact-info i {
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background-color: #FF7F50; /* Changed to Coral color */
    color: white;
    border-radius: 50%;
    margin-right: 10px;
}

/* Button Styles */
.btn-primary {
    background-color: #FF7F50; /* Changed to Coral color */
    border-color: #FF7F50; /* Changed to Coral color */
}

.btn-primary:hover {
    background-color: #FF6A3C; /* Slightly darker Coral for hover */
    border-color: #FF6A3C; /* Slightly darker Coral for hover */
}

.btn-outline-primary {
    color: #FF7F50; /* Changed to Coral color */
    border-color: #FF7F50; /* Changed to Coral color */
}

.btn-outline-primary:hover {
    background-color: #FF7F50; /* Changed to Coral color */
    border-color: #FF7F50; /* Changed to Coral color */
}

/* Slider Styles */
.carousel-item {
    position: relative;
    overflow: hidden;

}

.slider-image {
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}

.carousel-item:hover .slider-image {
    transform: scale(1.02);
    filter: brightness(1.05);
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 15px;
    max-width: 80%;
    margin: 0 auto;
    transition: opacity 0.3s ease;
}

.carousel-item:hover .carousel-caption {
    opacity: 1;
}

/* Zoom Modal Styles */
#sliderZoomModal .modal-content {
    border: none;
    border-radius: 8px;
    overflow: hidden;
}

#sliderZoomModal .modal-header {
    border-bottom: none;
}

#sliderZoomModal .modal-body {
    padding: 0;
}

#zoomedSliderImage {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Card Styles for Featured Videos */
.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: auto;
    margin-bottom: 20px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-title {
    font-weight: 600;
    color: #333;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Section Styles */
section {
    padding: 20px 0;
}

section h2 {
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

section h2:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: #FF7F50; /* Changed to Coral color */
    bottom: -10px;
    left: 25%;
}

/* Footer Styles */
footer {
    background: #FF7F50; /* Changed to Coral color */
}

footer h5 {
    font-weight: 600;
    margin-bottom: 20px;
}

footer ul li {
    margin-bottom: 10px;
}

footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    opacity: 0.8;
    text-decoration: underline !important;
}

/* Custom Carousel Indicators */
.custom-indicators {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    z-index: 15;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.custom-indicators button {
    width: 12px;
    height: 12px;
    margin: 0 5px;
    border-radius: 50%;
    background-color: rgba(235, 114, 84, 0.5);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.custom-indicators button.active {
    background-color: #eb7254;
    width: 15px;
    height: 15px;
    transform: scale(1.2);
}

.custom-indicators button:hover {
    background-color: #eb7254;
    transform: scale(1.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .slider-image-container {
        height: 350px;
    }
    
    .slider-title {
        font-size: 1.8rem;
    }
    
    .slider-description {
        font-size: 1rem;
    }
    
    section h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .carousel-item {
        height: 250px;
    }
    
    .carousel-caption {
        bottom: 10%;
    }
    
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
    
    .carousel-caption .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
    }
}

/* Gallery Page Styles */
.gallery-item {
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 5px;
}

.gallery-item img {
    transition: transform 0.5s ease;
}

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

/* Video Gallery Styles */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 5px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Post/Article Styles */
.post-content {
    line-height: 1.8;
}

.post-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 5px;
}

.post-meta {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Contact Form Styles */
.contact-form .form-control {
    border-radius: 0;
    border: 1px solid #ddd;
    padding: 15px;
}

.contact-form .form-control:focus {
    box-shadow: none;
    border-color: #FF7F50; /* Changed to Coral color */
}

.contact-info i {
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background-color: #FF7F50; /* Changed to Coral color */
    color: white;
    border-radius: 50%;
    margin-right: 10px;
}

/* Button Styles */
.btn-primary {
    background-color: #FF7F50; /* Changed to Coral color */
    border-color: #FF7F50; /* Changed to Coral color */
}

.btn-primary:hover {
    background-color: #FF6A3C; /* Slightly darker Coral for hover */
    border-color: #FF6A3C; /* Slightly darker Coral for hover */
}

.btn-outline-primary {
    color: #FF7F50; /* Changed to Coral color */
    border-color: #FF7F50; /* Changed to Coral color */
}

.btn-outline-primary:hover {
    background-color: #FF7F50; /* Changed to Coral color */
    border-color: #FF7F50; /* Changed to Coral color */
}

/* Slider Styles */
.carousel-item {
    position: relative;
    overflow: hidden;
}

.slider-image {
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}

.carousel-item:hover .slider-image {
    transform: scale(1.02);
    filter: brightness(1.05);
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 15px;
    max-width: 80%;
    margin: 0 auto;
    transition: opacity 0.3s ease;
}

.carousel-item:hover .carousel-caption {
    opacity: 1;
}

/* Zoom Modal Styles */
#sliderZoomModal .modal-content {
    border: none;
    border-radius: 8px;
    overflow: hidden;
}

#sliderZoomModal .modal-header {
    border-bottom: none;
}

#sliderZoomModal .modal-body {
    padding: 0;
}

#zoomedSliderImage {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Card Styles for Featured Videos */
.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: auto;
    margin-bottom: 20px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-title {
    font-weight: 600;
    color: #333;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Section Styles */
section {
    padding: 20px 0;
}

section h2 {
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

section h2:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: #FF7F50; /* Changed to Coral color */
    bottom: -10px;
    left: 25%;
}

/* Footer Styles */
footer {
    background: #FF7F50; /* Changed to Coral color */
}

footer h5 {
    font-weight: 600;
    margin-bottom: 20px;
}

footer ul li {
    margin-bottom: 10px;
}

footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    opacity: 0.8;
    text-decoration: underline !important;
}

/* Custom Carousel Indicators */
.custom-indicators {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    z-index: 15;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.custom-indicators button {
    width: 12px;
    height: 12px;
    margin: 0 5px;
    border-radius: 50%;
    background-color: rgba(235, 114, 84, 0.5);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.custom-indicators button.active {
    background-color: #eb7254;
    width: 15px;
    height: 15px;
    transform: scale(1.2);
}

.custom-indicators button:hover {
    background-color: #eb7254;
    transform: scale(1.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .slider-image-container {
        height: 350px;
    }
    
    .slider-title {
        font-size: 1.8rem;
    }
    
    .slider-description {
        font-size: 1rem;
    }
    
    section h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .carousel-item {
        height: 250px;
    }
    
    .carousel-caption {
        bottom: 10%;
    }
    
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
    
    .carousel-caption .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
    }
}

/* Gallery Page Styles */
.gallery-item {
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 5px;
}

.gallery-item img {
    transition: transform 0.5s ease;
}

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

/* Video Gallery Styles */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 5px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Post/Article Styles */
.post-content {
    line-height: 1.8;
}

.post-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 5px;
}

.post-meta {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Contact Form Styles */
.contact-form .form-control {
    border-radius: 0;
    border: 1px solid #ddd;
    padding: 15px;
}

.contact-form .form-control:focus {
    box-shadow: none;
    border-color: #FF7F50; /* Changed to Coral color */
}

.contact-info i {
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background-color: #FF7F50; /* Changed to Coral color */
    color: white;
    border-radius: 50%;
    margin-right: 10px;
}

/* Button Styles */
.btn-primary {
    background-color: #FF7F50; /* Changed to Coral color */
    border-color: #FF7F50; /* Changed to Coral color */
}

.btn-primary:hover {
    background-color: #FF6A3C; /* Slightly darker Coral for hover */
    border-color: #FF6A3C; /* Slightly darker Coral for hover */
}

.btn-outline-primary {
    color: #FF7F50; /* Changed to Coral color */
    border-color: #FF7F50; /* Changed to Coral color */
}

.btn-outline-primary:hover {
    background-color: #FF7F50; /* Changed to Coral color */
    border-color: #FF7F50; /* Changed to Coral color */
}

/* Horizontal Image Gallery Styles */
.image-gallery-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
}

.image-gallery-wrapper {
    position: relative;
}

.image-gallery-cards {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 5px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    gap: 15px;
}

.image-gallery-cards::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.gallery-card {
    flex: 0 0 auto;
    width: 250px;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

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

.gallery-card:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 15px 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-card-overlay {
    opacity: 1;
}

.gallery-card-overlay h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.image-gallery-nav {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 10;
    pointer-events: none;
}

.gallery-prev, .gallery-next {
    background-color: #FF7F50;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    pointer-events: auto;
    margin: 0 10px;
}

.gallery-prev:hover, .gallery-next:hover {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gallery-card {
        width: 200px;
        height: 150px;
    }
    
    .gallery-prev, .gallery-next {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 576px) {
    .gallery-card {
        width: 160px;
        height: 120px;
    }
    
    .gallery-prev, .gallery-next {
        width: 30px;
        height: 30px;
    }
}

/* Gallery Page Styles */
.gallery-item {
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 5px;
}

.gallery-item img {
    transition: transform 0.5s ease;
}

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

/* Video Gallery Styles */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 5px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Post/Article Styles */
.post-content {
    line-height: 1.8;
}

.post-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 5px;
}

.post-meta {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Contact Form Styles */
.contact-form .form-control {
    border-radius: 0;
    border: 1px solid #ddd;
    padding: 15px;
}

.contact-form .form-control:focus {
    box-shadow: none;
    border-color: #FF7F50; /* Changed to Coral color */
}

.contact-info i {
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background-color: #FF7F50; /* Changed to Coral color */
    color: white;
    border-radius: 50%;
    margin-right: 10px;
}

/* Button Styles */
.btn-primary {
    background-color: #FF7F50; /* Changed to Coral color */
    border-color: #FF7F50; /* Changed to Coral color */
}

.btn-primary:hover {
    background-color: #FF6A3C; /* Slightly darker Coral for hover */
    border-color: #FF6A3C; /* Slightly darker Coral for hover */
}

.btn-outline-primary {
    color: #FF7F50; /* Changed to Coral color */
    border-color: #FF7F50; /* Changed to Coral color */
}

.btn-outline-primary:hover {
    background-color: #FF7F50; /* Changed to Coral color */
    border-color: #FF7F50; /* Changed to Coral color */
}