/* Enhanced Homepage Typography & Styling */

/* Global Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

p, .lead, li {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

/* Hero Section */
.display-4 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Accordion Styling */
.accordion-button {
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.accordion-item {
    transition: all 0.3s ease;
}

.accordion-item:hover {
    transform: translateX(5px);
}

/* Card Hover Effects */
.card {
    transition: all 0.3s ease;
}

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

/* Gallery Carousel */
.gallery-carousel {
    background-color: #1a1a1a;
    transition: all 0.3s ease;
}

.gallery-carousel:hover {
    box-shadow: 0 1rem 2.5rem rgba(255, 193, 7, 0.3) !important;
}

/* Hero Slider */
#heroSlider {
    background-color: #1a1a1a;
    transition: all 0.3s ease;
}

#heroSlider:hover {
    box-shadow: 0 1rem 2.5rem rgba(255, 193, 7, 0.3) !important;
}

#heroSlider .carousel-indicators button {
    background-color: rgba(255, 193, 7, 0.5);
    border: 2px solid #ffc107;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}

#heroSlider .carousel-indicators button.active {
    background-color: #ffc107;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.8);
}

#heroSlider .carousel-indicators button:hover {
    background-color: #ffc107;
    transform: scale(1.15);
}

.gallery-title {
    font-family: 'Playfair Display', serif;
    color: #ffc107;
    font-size: 2.5rem;
    font-weight: 700;
}

.gallery-subtitle {
    font-family: 'Inter', sans-serif;
    color: #ccc;
    font-size: 1.1rem;
}

.gallery-slide,
.hero-slide {
    transition: transform 0.8s ease-in-out;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(255, 193, 7, 0.9);
    border-radius: 50%;
    padding: 15px;
    width: 45px;
    height: 45px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: #ffc107;
    transform: scale(1.15);
    box-shadow: 0 6px 12px rgba(255, 193, 7, 0.5);
}

#galleryCarousel .carousel-indicators {
    margin-bottom: 20px;
}

#galleryCarousel .carousel-indicators button {
    background-color: rgba(255, 193, 7, 0.5);
    border: 2px solid #ffc107;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}

#galleryCarousel .carousel-indicators button.active {
    background-color: #ffc107;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.8);
}

#galleryCarousel .carousel-indicators button:hover {
    background-color: #ffc107;
    transform: scale(1.15);
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px 20px;
}

.carousel-caption h5 {
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    font-size: 1.6rem;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.carousel-caption p {
    font-size: 1rem;
    color: #fff;
    font-family: 'Inter', sans-serif;
    margin-bottom: 0;
}

/* Call to Action Button */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 193, 7, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem !important;
    }

    h2 {
        font-size: 1.8rem !important;
    }

    .lead {
        font-size: 1rem !important;
    }

    .accordion-body {
        padding: 1rem !important;
    }

    .gallery-title {
        font-size: 2rem !important;
    }

    .gallery-subtitle {
        font-size: 1rem !important;
    }

    .carousel-caption h5 {
        font-size: 1.3rem !important;
    }

    .carousel-caption p {
        font-size: 0.9rem !important;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        padding: 12px;
        width: 38px;
        height: 38px;
    }

    #galleryCarousel img {
        height: 380px !important;
    }

    #heroSlider img {
        height: 380px !important;
    }

    #heroSlider .carousel-indicators button,
    #galleryCarousel .carousel-indicators button {
        width: 10px;
        height: 10px;
    }

    .row.g-4 {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }

    .col-md-5 {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .display-4 {
        font-size: 1.8rem !important;
    }

    h2 {
        font-size: 1.4rem !important;
    }

    .card {
        margin-bottom: 1rem;
    }

    .btn {
        font-size: 0.9rem !important;
        padding: 0.5rem 1rem !important;
    }

    .hero-slider {
        height: 250px !important;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States for Accessibility */
.btn:focus,
.accordion-button:focus {
    outline: 2px solid #ffc107;
    outline-offset: 2px;
}