/*==================================================
   LUXURY REDESIGN: STYLES FOR NAVBAR & HERO SECTION
====================================================*/

:root {
    --color-blue: #1893F8;
    --color-blue-hover: #45adff;
    --color-dark-bg: rgba(15, 15, 15, 0.95);
    --color-dark-solid: #0A0A0A;
    --font-heading: 'Poppins', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* === GENERAL HEADER STYLES === */
.site-redesigned-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition-smooth);
    padding: 20px 0;
}

/* Scrolled state */
.site-redesigned-header.header-scrolled {
    background: var(--color-dark-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 12px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(24, 147, 248, 0.2);
}

.site-redesigned-header .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-redesigned-header .logo-wrapper img {
    height: 45px;
    width: auto;
    transition: var(--transition-smooth);
}

.site-redesigned-header.header-scrolled .logo-wrapper img {
    height: 38px;
}

/* Desktop Navbar Navigation */
.desktop-nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.desktop-nav-menu li {
    margin: 0 18px;
    position: relative;
}

.desktop-nav-menu li a {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: var(--transition-smooth);
    padding: 8px 0;
    display: inline-block;
}

.desktop-nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-blue);
    transition: var(--transition-smooth);
}

.desktop-nav-menu li a:hover {
    color: var(--color-blue);
}

.desktop-nav-menu li a:hover::after,
.desktop-nav-menu li.active a::after {
    width: 100%;
}

.desktop-nav-menu li.active a {
    color: var(--color-blue);
}

/* Desktop Header CTA Button */
.header-cta-button {
    font-family: var(--font-heading);
    background: linear-gradient(135deg, var(--color-blue) 0%, #1062a8 100%);
    color: #FFFFFF !important;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 22px;
    border-radius: 30px;
    text-decoration: none !important;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(24, 147, 248, 0.3);
    border: 1px solid transparent;
}

.header-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 147, 248, 0.5);
    background: #FFFFFF;
    color: #000000 !important;
}

/* === MOBILE NAVIGATION TOGGLE === */
.mobile-toggle-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10000;
}

.mobile-toggle-btn span {
    width: 100%;
    height: 2px;
    background-color: #FFFFFF;
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.mobile-toggle-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: var(--color-blue);
}

.mobile-toggle-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--color-blue);
}

/* === MOBILE NAVIGATION DRAWER === */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: var(--color-dark-solid);
    z-index: 9998;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    padding: 100px 40px 40px;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    overflow-y: auto;
}

.mobile-nav-drawer.active {
    right: 0;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.mobile-nav-menu li {
    margin-bottom: 25px;
}

.mobile-nav-menu li a {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-block;
}

.mobile-nav-menu li a:hover,
.mobile-nav-menu li.active a {
    color: var(--color-blue);
    padding-left: 10px;
}

/* Mobile Quick Contacts */
.mobile-drawer-contacts {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.mobile-drawer-contacts h5 {
    font-family: var(--font-heading);
    color: var(--color-blue);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.mobile-drawer-contact-item {
    display: flex;
    align-items: center;
    color: #BBBBBB;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: var(--transition-smooth);
}

.mobile-drawer-contact-item i {
    color: var(--color-blue);
    margin-right: 12px;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.mobile-drawer-contact-item:hover {
    color: #FFFFFF;
}

.mobile-drawer-socials {
    display: flex;
    margin-top: 20px;
    gap: 15px;
}

.mobile-drawer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
    transition: var(--transition-smooth);
}

.mobile-drawer-socials a:hover {
    background-color: var(--color-blue);
    color: #000000;
}

/* === RESPONSIVE LAYOUT FOR NAVBAR === */
@media (max-width: 991px) {
    .desktop-nav-menu,
    .site-redesigned-header .header-cta-button {
        display: none;
    }
    
    .mobile-toggle-btn {
        display: flex;
    }
}

/* === CUSTOM HERO CAROUSEL === */
.custom-hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #000000;
}

.custom-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    transition: opacity 1.8s cubic-bezier(0.445, 0.05, 0.55, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.custom-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.12);
    transition: transform 6.5s ease-out;
}

.custom-hero-slide.active .custom-slide-bg {
    transform: scale(1);
}

.custom-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.22); /* Light overlay to keep staff image bright and clear */
    z-index: 3;
}

/* Hero Content Styling */
.custom-hero-content {
    position: relative;
    z-index: 4;
    max-width: 900px;
    padding: 0 30px;
    text-align: center;
}

.custom-hero-subtitle {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-blue);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(25px);
    transition: all 1s ease-in-out 0.4s;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.custom-hero-title {
    font-family: var(--font-heading);
    font-size: 65px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #FFFFFF;
    line-height: 1.2;
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-in-out 0.7s;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.custom-hero-title strong {
    font-weight: 700;
    color: #FFFFFF;
}

.custom-hero-title span.blue-highlight {
    color: var(--color-blue);
    font-weight: 700;
}

.custom-hero-desc {
    font-family: var(--font-heading);
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-in-out 1s;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.custom-hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    transform: translateY(35px);
    transition: all 1s ease-in-out 1.3s;
}

/* Animations Trigger when active */
.custom-hero-slide.active .custom-hero-subtitle,
.custom-hero-slide.active .custom-hero-title,
.custom-hero-slide.active .custom-hero-desc,
.custom-hero-slide.active .custom-hero-actions {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Button styling */
.hero-btn {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 15px 35px;
    border-radius: 4px;
    text-decoration: none !important;
    transition: var(--transition-smooth);
}

.hero-btn-primary {
    background: linear-gradient(135deg, var(--color-blue) 0%, #1062a8 100%);
    color: #FFFFFF !important;
    box-shadow: 0 4px 15px rgba(24, 147, 248, 0.3);
    border: 1px solid transparent;
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(24, 147, 248, 0.5);
    background: #FFFFFF;
    color: #000000 !important;
}

.hero-btn-secondary {
    background: transparent;
    color: #FFFFFF !important;
    border: 2px solid #FFFFFF;
}

.hero-btn-secondary:hover {
    transform: translateY(-3px);
    background-color: #FFFFFF;
    color: #000000 !important;
    border-color: #FFFFFF;
}

/* Mobile Hero Responsiveness */
@media (max-width: 767px) {
    .custom-hero-title {
        font-size: 34px;
        margin-bottom: 20px;
    }
    
    .custom-hero-desc {
        font-size: 14px;
        margin-bottom: 30px;
        line-height: 1.6;
    }
    
    .custom-hero-actions {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .hero-btn {
        padding: 12px 25px;
        font-size: 12px;
        text-align: center;
    }
}

/* Responsive backgrounds for therapist staff hero image */
.hero-staff-bg {
    background-image: url('../media/services/main hero image.jpeg');
}

@media (max-width: 767px) {
    .hero-staff-bg {
        background-image: url('../media/images/mobile_hero.jpg') !important;
    }
}
