/* =========================================================
   HOME.CSS - ANIMAL DOCTORS
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #00bfa5;
    --secondary-color: #008f7a;
    --text-dark: #2c3e50;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
}

/* NAVBAR */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    background: transparent;
    transition: 0.4s;
    padding: 15px 0;
}

#navbar.navbar-scrolled {
    background: #0b1a33;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.btn-booking {
    background-color: var(--primary-color);
    color: white !important;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
}

.btn-booking:hover {
    background-color: var(--secondary-color);
}

/* HERO SECTION */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: #fff;
}

.back-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.hero-content {
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

/* FEATURES SECTION */
.features-section {
    background-color: #FFFAF4;
    padding: 80px 0;
    border-radius: 50px 50px 0 0;
    position: relative;
    margin-top: -50px;
    z-index: 1;
}

.section-title {
    color: #1a2e5a;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.feature-item {
    padding: 10px;
    text-align: center;
}

.img-box {
    width: 100%;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.feature-item:hover .img-box img {
    transform: scale(1.1);
}

.feature-item h5 {
    color: #1a2e5a;
    font-weight: 700;
    font-size: 1.1rem;
    min-height: 50px;
}

.feature-item p {
    color: #555;
    font-size: 0.9rem;
}

/* SERVICES DARK SECTION */
.services-dark-section {
    background-color: #1a1a1a;
    padding: 100px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.service-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: #f0f0f0;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-item {
    font-size: 1.1rem;
    padding: 15px 0;
    color: #888;
    cursor: pointer;
    transition: 0.3s;
    border-left: 3px solid transparent;
}

.service-item:hover {
    color: #ccc;
}

.service-item.active {
    color: #fff;
    font-weight: 600;
    padding-left: 15px;
    border-left: 3px solid #8B0000;
}

.service-display {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background-color: #000;
}

.service-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: #fff;
}

.service-content-overlay p {
    font-size: 1rem;
    margin-bottom: 20px;
    max-width: 80%;
}

.btn-service-more {
    background-color: #721c24;
    color: #fff;
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-service-more:hover {
    background-color: #a71d2a;
    color: #fff;
}

.service-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #555;
    border-radius: 50%;
}

.dot.active {
    background-color: #fff;
    transform: scale(1.2);
}

.decor-bottom-left {
    position: absolute;
    bottom: 0;
    left: 20px;
    width: 150px;
    opacity: 0.3;
    filter: invert(1);
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 40px;
    }
    .service-display {
        height: 350px;
    }
}

@media (max-width: 767px) {
    .hero-content h1 {
        font-size: 32px;
    }
    .features-section {
        border-radius: 30px 30px 0 0;
    }
    .service-display {
        height: 300px;
    }
}
