/* Main Styles for Dr. Ismu Babunyuki Website */

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #f8f5f0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    color: #FFC600;
}

.btn-primary {
    background-color: hsl(0, 100%, 50%);
    border-color: hsl(0, 100%, 50%);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #6d4c41;
    border-color: #6d4c41;
}

.bg-primary {
    background-color: #00b7ff !important;
}

.text-primary {
    color: #faf8f7 !important;
}

/* Detailed Image Cards */
.detailed-image-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background-color: #222;
    height: 100%;
    transition: transform 0.3s ease;
}

.detailed-image-card:hover {
    transform: translateY(-5px);
}

.detailed-image-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    background-color: #000;
}

.image-caption {
    background-color: #222;
    color: #fff;
    border-top: 3px solid #ffc400;
}

.image-caption h4 {
    color: #f8c870;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.image-caption p {
    font-size: 0.9rem;
    color: #ddd;
}

/* Welcome Banner Section */
.welcome-banner {
    background-color: #f5f5f5;
    position: relative;
    padding: 50px 0;
    border-top: 5px solid #8B4513;
    border-bottom: 5px solid #8B4513;
}

.welcome-banner h2 {
    color: #8B4513;
    font-size: 2.5rem;
    font-weight: 800;
}

.banner-images {
    margin-top: 20px;
}

.banner-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    height: 300px;
}

.banner-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.banner-image-container:hover img {
    transform: scale(1.05);
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
    color: white;
    text-align: center;
}

/* Top Bar */
.top-bar {
    font-size: 0.9rem;
    background-color: #000000 !important;
}

/* Navigation */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff8e1;
}

/* Hero Carousel */
.carousel-item {
    height: 600px;
}

.carousel-item img {
    object-fit: contain;
    height: 100%;
    width: 100%;
    filter: brightness(0.8);
    background-color: #000;
}

.carousel-caption {
    bottom: 30%;
    z-index: 2;
}

.carousel-caption h2 {
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    color: #fff8e1;
}

.carousel-caption p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    color: #ffecb3;
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Testimonials */
.testimonial {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Service Header Images */
.service-header {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    filter: contrast(1.1) brightness(1);
    background-color: #000;
}

.service-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.service-header .container {
    position: relative;
    z-index: 2;
}

/* Footer */
footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #f8f9fa !important;
    text-decoration: underline;
}

.social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    z-index: 1000;
}

.btn-whatsapp {
    position: fixed;
    bottom: 100px;
    left: 20px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-call {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background-color: #007bff;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-whatsapp:hover, .btn-call:hover {
    transform: scale(1.1);
    color: white;
}

/* About Page */
.about-img {
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Services Pages */
.service-header {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 100px 0;
    background-position: center;
    background-size: cover;
    background-blend-mode: darken;
    margin-bottom: 50px;
}

.service-icon {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 20px;
}

/* Contact Form */
.contact-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .carousel-item {
        height: 350px;
    }
    
    .carousel-caption h2 {
        font-size: 1.8rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .btn-whatsapp, .btn-call {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .carousel-item {
        height: 250px;
    }
    
    .carousel-caption {
        bottom: 20%;
    }
    
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
    
    .top-bar span {
        display: block;
        margin-bottom: 5px;
    }
}