/* ========================================
   GOODLIFE REHABILITATION CENTER
   Header & Navigation Styles
   ======================================== */

/* Navigation Container */
.navbar-custom {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    padding: 0.5rem 2rem;
    box-shadow: 0 10px 40px rgba(26, 54, 93, 0.15);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(26, 54, 93, 0.1);
    width: 90%;
    max-width: 90%;
}

.footer-traditional {
            background: var(--text-dark);
            color: white;
            padding: 3rem 0 1rem;
            margin-top: 4rem;
        }

        .footer-traditional h5 {
            color: var(--accent-color);
            margin-bottom: 1rem;
            font-family: 'Playfair Display', serif;
        }

        .footer-traditional a {
            color: #ccc;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-traditional a:hover {
            color: var(--accent-color);
        }
 p{
    font-size: 1.25rem;
    font-weight: 300;
    }

/* Brand/Logo */
.navbar-brand-custom {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.4rem;
    color: var(--primary-color) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar-brand-custom:hover {
    opacity: 0.8;
}

/* Navigation Links Container */
.nav-links-custom {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Individual Navigation Links */
.nav-link-custom {
    color: var(--text-dark) !important;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    display: inline-block;
}

.nav-link-custom.active,
.nav-link-custom:hover {
    color: var(--primary-color) !important;
}

/* Underline effect for active/hover links */
.nav-link-custom.active::before,
.nav-link-custom:hover::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    border-radius: 1px;
}

/* ========================================
   DROPDOWN MENU STYLES
   ======================================== */

/* Dropdown Container */
.nav-item-dropdown {
    position: relative;
}

/* Dropdown Menu */
.dropdown-menu-custom {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    box-shadow: 0 10px 40px rgba(26, 54, 93, 0.2);
    border: 1px solid rgba(26, 54, 93, 0.1);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    list-style: none;
    z-index: 1001;
}

/* Show dropdown on hover */
.nav-item-dropdown:hover .dropdown-menu-custom {
    opacity: 1;
    visibility: visible;
    margin-top: 1rem;
}

/* Dropdown Items */
.dropdown-item-custom {
    display: block;
    padding: 0.7rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

/* Dropdown Item Hover Effect */
.dropdown-item-custom:hover {
    background: linear-gradient(90deg, rgba(246, 173, 85, 0.1), transparent);
    color: var(--primary-color);
    padding-left: 2rem;
}

/* Dropdown Arrow Icon */
.nav-item-dropdown .nav-link-custom i {
    transition: transform 0.3s ease;
}

.nav-item-dropdown:hover .nav-link-custom i {
    transform: rotate(180deg);
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

/* Tablet and Mobile */
@media (max-width: 768px) {
    .navbar-custom {
        position: relative;
        top: 0;
        transform: none;
        margin: 1rem;
        border-radius: 20px;
        width: calc(100% - 2rem);
        max-width: 100%;
    }
    
    .nav-links-custom {
        display: none;
    }
    
    .nav-item-dropdown {
        display: none;
    }
}

/* Large Desktop */
@media (min-width: 1400px) {
    .navbar-custom {
        max-width: 1200px;
    }
}

/* ========================================
   ANIMATION & EFFECTS
   ======================================== */

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Navbar shadow on scroll (optional - add with JavaScript) */
.navbar-custom.scrolled {
    box-shadow: 0 15px 50px rgba(26, 54, 93, 0.25);
    background: rgba(255, 255, 255, 0.98);
}