/* 
    Special Care Adult Family Home - High-End Luxury Redesign
    Inspired by: Rhino Ridge Safari Lodge & Ihunde Resort
*/

:root {
    --primary: #2369a5;         /* Elegant Blue */
    --secondary: #5ea442;       /* Vibrant Green */
    --accent: #f8f4f0;          /* Soft Cream */
    --text-main: #4a4a4a;
    --text-light: #707070;
    --bg-light: #ffffff;
    --bg-dark: #2369a5;
    --font-serif: 'Inter', sans-serif;
    --font-sans: 'Inter', sans-serif;
    --transition-slow: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: all 0.3s ease;
}

/* Accessibility Modes (Refined) */
body.contrast-mode {
    --primary: #000; --secondary: #ffff00; --bg-light: #000; --text-main: #fff;
}
body.dark-mode {
    --primary: #fdfdfb; --secondary: #5ea442; --bg-light: #1a1a1a; --text-main: #e5e0d8;
}

.btn-red {
    border-color: #dc4647 !important;
    color: #dc4647 !important;
    background: transparent !important;
}

.btn-red:hover {
    background: #dc4647 !important;
    color: #fff !important;
}

.btn-red-solid {
    background: #dc4647 !important;
    border-color: #dc4647 !important;
    color: #fff !important;
}

.btn-red-solid:hover {
    background: #c33d3e !important;
    border-color: #c33d3e !important;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-main);
    background-color: var(--bg-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

p { margin-bottom: 1.5rem; letter-spacing: 0.01em; }

a { text-decoration: none; color: inherit; transition: var(--transition-fast); }

/* Luxury Layout Helpers */
.container-full { 
    width: 100%; 
    padding: 0 5%; 
    max-width: 2500px; /* Increased from 1800px for better ultra-wide support */
    margin: 0 auto; 
}
.section-lg { padding: 80px 0; }
.section-sm { padding: 40px 0; }

.bg-accent { background-color: var(--accent); }
.bg-warm { background-color: #faf7f2; }
.bg-onyx { background-color: var(--primary); }
.overflow-hidden { overflow: hidden; }
.text-center { text-align: center; }

.section-title {
    text-align: center;
    margin-bottom: 30px; /* Reduced from 40px */
    position: relative;
}

.section-title span {
    display: block;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.4em;
    color: var(--secondary);
    margin-bottom: 15px;
    font-weight: 700;
    font-family: var(--font-sans);
}

.section-title h2 {
    font-size: 3rem;
    color: var(--primary);
}

/* Elegant Header (Transparent to Solid) */
#main-header {
    position: fixed;
    top: 40px; /* Offset for top-bar height */
    left: 0;
    width: 100%;
    z-index: 9999 !important;
    padding: 20px 0;
    transition: var(--transition-slow);
    background: rgba(255, 255, 255, 0.95); /* Light semi-transparent background */
}

#main-header.scrolled {
    top: 0;
    background: #ffffff;
    padding: 12px 0;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    position: relative; /* For mobile toggle positioning */
}

@media (max-width: 1400px) {
    .header-container { padding: 0 3%; }
}

.logo img { height: 80px; width: auto; transition: var(--transition-slow); }
#main-header.scrolled .logo img { height: 60px; }

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    transition: var(--transition-slow);
}

.logo-sub {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--secondary);
    transition: var(--transition-slow);
}

#main-header.scrolled .logo-main {
    font-size: 1.4rem;
}

#main-header.scrolled .logo-sub {
    font-size: 0.65rem;
}

#navbar .nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
    list-style: none;
}

@media (max-width: 1400px) {
    #navbar .nav-links { gap: 15px; }
    .logo-main { font-size: 1.6rem; }
    .logo-sub { font-size: 0.7rem; }
}

@media (max-width: 1200px) {
    #navbar .nav-links { gap: 10px; }
    #navbar .nav-links a { font-size: 0.8rem; }
    .logo-main { font-size: 1.4rem; }
    .logo-sub { font-size: 0.65rem; }
}

@media (max-width: 480px) {
    .logo-text { display: flex; } 
    .logo-main { font-size: 1.1rem; }
    .logo-sub { font-size: 0.5rem; }
    .logo img { height: 40px; }
}

#navbar .nav-links a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    position: relative;
    color: var(--primary); /* Dark text for light background */
}

#navbar .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--secondary);
    transition: var(--transition-fast);
}

#navbar .nav-links a:hover::after { width: 100%; }
#navbar .nav-links a:hover { color: var(--secondary); }

/* Dropdown Menu Styles */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    list-style: none;
    padding: 15px 0;
    z-index: 1000;
    border-top: 2px solid var(--secondary);
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
    border: none !important; /* Reset mobile styles if bleeding */
}

.dropdown-menu li a {
    padding: 10px 25px;
    display: block;
    color: var(--primary);
    font-size: 0.8rem !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: var(--transition-fast);
}

.dropdown-menu li a:hover {
    background: var(--accent);
    color: var(--secondary) !important;
    padding-left: 30px;
}

.dropdown-menu li a::after { display: none; } /* Hide the underline effect for dropdown links */

@media (max-width: 991px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        width: 100%;
        padding: 0;
        display: none; /* Toggle with JS or just show in vertical list */
    }
    
    .has-dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu li a {
        font-size: 0.9rem !important;
        padding: 10px 0;
    }
}

.btn-luxury {
    display: inline-block;
    border: 1px solid var(--secondary);
    color: var(--secondary); /* Removed !important to allow slider overrides */
    padding: 10px 30px !important;
    font-family: var(--font-sans);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    transition: var(--transition-fast);
    background: transparent;
    cursor: pointer;
}

.btn-luxury:hover {
    background: var(--secondary);
    color: #ffffff !important;
}

/* Immersive Hero */
.hero-v2 {
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    padding-top: 120px; /* Increased padding for top-bar + header */
}

.hero-v2::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6)); /* Gradient overlay for better depth and readability */
}

.hero-content-v2 {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-shadow: 0 2px 15px rgba(0,0,0,0.5); /* Added shadow for all hero text */
}

.hero-content-v2 span {
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.4em;
    font-size: 0.95rem; /* Slightly larger */
    display: inline-block; /* Changed to inline-block for better padding fit */
    margin-bottom: 25px;
    font-weight: 700;
    color: #fff; /* Changed to white for better visibility against backgrounds */
    background: rgba(0, 0, 0, 0.65); /* Increased for even better readability */
    padding: 8px 24px;
    border-radius: 2px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(166, 124, 82, 0.3);
}

.hero-content-v2 h1 {
    font-size: 5rem;
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-transform: capitalize;
}

.hero-content-v2 p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 600px;
    color: #f0f0f0;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

@media (max-width: 576px) {
    .hero-btns {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        padding: 0 40px; /* Enhanced padding to prevent screen touching */
    }
    
    .hero-btns .btn-luxury {
        text-align: center;
        width: 100%;
    }
}

/* Narrative Section (Overlapping Elements) */
.narrative-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
    position: relative;
}

.narrative-img {
    position: relative;
    overflow: hidden;
    height: 700px;
}

.narrative-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.narrative-content {
    padding: 10%;
    background: var(--bg-light);
    z-index: 5;
}

.narrative-content.overlap-left {
    margin-left: -150px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

.narrative-content.overlap-right {
    margin-right: -150px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
    grid-column: 1;
    grid-row: 1;
}

.narrative-content h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
}

/* Luxury Cards */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.card-luxury {
    background: transparent;
    border: 1px solid rgba(166, 124, 82, 0.2);
    padding: 40px;
    text-align: center;
    transition: var(--transition-slow);
    display: block;
    height: 100%;
}

.card-luxury:hover {
    background: rgba(166, 124, 82, 0.05);
    border-color: var(--secondary);
}

.card-luxury i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 25px;
}

.card-luxury h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--secondary); /* Used secondary for better visibility on both light and dark backgrounds */
}

/* Light text for dark sections */
.bg-onyx .card-luxury h3 {
    color: #fff;
}

.read-more {
    display: block;
    margin-top: 20px;
    color: var(--secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.services-swiper {
    padding-bottom: 50px !important;
}

.services-pagination .swiper-pagination-bullet {
    background: #fff;
}

/* Gallery - Minimal Masonry */
.gallery-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
}

.gallery-v2-item {
    height: 500px;
    overflow: hidden;
    position: relative;
}

.gallery-v2-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}

.gallery-v2-item:hover img {
    transform: scale(1.05);
}

/* Unique Gallery V3 (Grid with Overlay) */
.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: 1px solid rgba(166, 124, 82, 0.3);
    color: var(--primary);
    padding: 10px 20px;
    font-family: var(--font-sans);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.tab-btn:hover, .tab-btn.active {
    background: #dc4647;
    border-color: #dc4647;
    color: #fff;
}

.gallery-tab-content .tab-pane {
    display: none;
}

.gallery-tab-content .tab-pane.active {
    display: block;
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.gallery-v3-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* More images on desktop */
    gap: 15px;
    margin-top: 30px;
}

@media (max-width: 1200px) {
    .gallery-v3-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .gallery-v3-grid { 
        grid-template-columns: repeat(2, 1fr) !important; 
        gap: 5px; /* Reduced gap for edge-to-edge look */
    }
}

.gallery-v3-item {
    position: relative;
    overflow: hidden;
    height: 280px;
}

/* Cascading Locations Grid */
.location-cascading-grid {
    display: flex;
    gap: 20px;
    align-items: center;
}

.cascading-item {
    flex: 1;
    position: relative;
    height: 300px;
    transition: var(--transition-slow);
}

.cascading-inner {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.cascading-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}

.cascading-label {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(35, 105, 165, 0.85);
    color: #fff;
    padding: 10px;
    text-align: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
}

.cascading-item:nth-child(2) {
    transform: translateY(30px);
}

.cascading-item:hover {
    transform: translateY(-10px);
    z-index: 10;
}

.cascading-item:nth-child(2):hover {
    transform: translateY(20px);
}

.cascading-item:hover img {
    transform: scale(1.1);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .hero-swiper { margin-bottom: 20px !important; }
    .section-lg { padding: 40px 0 !important; }
    .section-sm { padding: 30px 0 !important; }
    .container-full { padding: 0 15px; } /* Slightly more padding for mobile comfort */
    .hero-content-v2 h1 { font-size: 2.5rem; }
    .section-title h2 { font-size: 2rem; }
    .gallery-tab-content { padding-bottom: 20px; }
    .narrative-grid { 
        grid-template-columns: 1fr !important; 
        display: flex; 
        flex-direction: column;
    }
    .narrative-img { height: 350px; width: 100%; order: 1; }
    .narrative-content { order: 2; width: 100% !important; }
    .narrative-content.overlap-left, 
    .narrative-content.overlap-right { 
        margin: 0 !important; 
        padding: 40px 5%;
        grid-column: auto !important;
        grid-row: auto !important;
        position: relative;
        box-shadow: none;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    .hero-btns .btn-luxury {
        margin: 0 !important;
        text-align: center;
    }
    .gallery-v3-item { height: 200px; }
    .footer-grid-v2 { grid-template-columns: 1fr; gap: 20px; padding-bottom: 30px; }
    .footer-brand, .footer-col-v2 { border-right: none !important; padding: 0 !important; }
    footer.luxury-footer { padding: 40px 0 0; }
    .footer-col-v2 h4 { margin-bottom: 20px; }
    .footer-col-v2 ul li { margin-bottom: 10px; }
    .footer-brand p { margin-top: 10px; }
    .social-icons { margin-top: 20px; }
    .grid-3 {
        grid-template-columns: 1fr !important;
        padding: 0 5%;
    }
}

/* Fix for light background sections in dark mode */
body.dark-mode .bg-warm {
    background-color: #252525; /* Darker warm for dark mode */
}
body.dark-mode .bg-warm .section-title h2,
body.dark-mode .bg-warm .card-luxury h3 {
    color: #fff;
}

@media (max-width: 480px) {
    .tab-btn { padding: 8px 15px; font-size: 0.7rem; }
}

.gallery-v3-inner {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.gallery-v3-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-v3-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(35, 105, 165, 0.6); /* Elegant Blue Overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-slow);
    z-index: 2;
}

.gallery-v3-item:hover .gallery-v3-overlay {
    opacity: 1;
}

.gallery-v3-item:hover img {
    transform: scale(1.1);
}

.overlay-text {
    text-align: center;
    color: #fff;
    transform: translateY(20px);
    transition: var(--transition-slow);
}

.gallery-v3-item:hover .overlay-text {
    transform: translateY(0);
}

.loc-tag {
    display: block;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    margin-bottom: 10px;
    font-family: var(--font-sans);
    font-weight: 600;
}

.overlay-text i {
    font-size: 1.5rem;
    color: var(--secondary);
}

/* Page Header Refinement */
.page-header-v2 {
    height: 60vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    padding-top: 100px;
}

.page-header-v2::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
}

.page-header-v2-content {
    position: relative;
    z-index: 10;
    color: #fff;
}

.page-header-v2-content span {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 15px;
    color: var(--secondary);
}

.page-header-v2-content h1 {
    font-size: 4rem;
}

/* Footer Luxury */
footer.luxury-footer {
    background: #1a252f; /* Deeper Navy */
    color: rgba(255,255,255,0.7);
    padding: 100px 0 0;
    font-size: 0.9rem;
}

.footer-grid-v2 {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1fr 1fr;
    gap: 0; /* Removed gap to allow border alignment */
    padding-bottom: 80px;
}

.footer-brand, .footer-col-v2 {
    padding: 0 40px;
    border-right: 1px solid rgba(255, 255, 255, 0.15); /* Slightly more visible divider */
}

.footer-brand {
    padding-left: 0;
}

.footer-col-v2:last-child {
    border-right: none;
    padding-right: 0;
}

.footer-brand p {
    margin-top: 20px;
    line-height: 1.8;
}

.social-icons {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.social-icons a:hover {
    background: var(--secondary);
    transform: translateY(-5px);
}

.footer-col-v2 h4 {
    color: #fff;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    margin-bottom: 30px;
    font-family: var(--font-sans);
    font-weight: 700;
    position: relative;
}

.footer-col-v2 h4::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 40px;
    height: 2px; /* Thicker underline */
    background: var(--secondary);
}

/* Secondary decorative dash for a more premium look */
.footer-col-v2 h4::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50px;
    width: 70px;
    height: 2px; /* Thicker accent line */
    background: var(--secondary);
    opacity: 0.35; /* Increased opacity */
}

.footer-col-v2 ul {
    list-style: none;
    padding: 0;
}

.footer-col-v2 ul li {
    margin-bottom: 15px;
}

.footer-col-v2 ul li a {
    color: rgba(255,255,255,0.6);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    padding-left: 0;
}

.footer-col-v2 ul li a i {
    font-size: 0.8rem;
    color: var(--secondary);
}

.footer-col-v2 ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 40px 0;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
    list-style: none;
    padding: 0;
}

.footer-bottom-links a {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

.footer-bottom-links a:hover {
    color: #fff;
}

@media (max-width: 991px) {
    .footer-grid-v2 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid-v2 {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .footer-brand, 
    .footer-col-v2:last-child {
        grid-column: 1 / -1;
    }
    .footer-bottom-flex {
        flex-direction: column;
        text-align: center;
    }
}

/* Swiper Hero Refinement */
.hero-swiper {
    width: 100%;
    height: 100vh;
}

.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--secondary);
    opacity: 1;
}

/* Swiper Navigation Arrows Styling */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    color: var(--secondary);
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    transition: var(--transition-fast);
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
    background: var(--secondary);
    color: #fff;
}

.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
    font-size: 1.2rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .hero-swiper .swiper-button-next,
    .hero-swiper .swiper-button-prev {
        display: flex; /* Ensure arrows are visible on mobile as requested */
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, 0.4); /* Darker background for visibility on mobile */
        color: #fff;
    }
    .hero-swiper .swiper-button-next::after,
    .hero-swiper .swiper-button-prev::after {
        font-size: 1rem;
    }
}

/* Luxury Form Styles */
input, textarea, select {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    background: transparent;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--primary);
    transition: var(--transition-fast);
    outline: none;
    margin-bottom: 25px;
}

input:focus, textarea:focus, select:focus {
    border-bottom-color: var(--secondary);
}

label {
    display: block;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 5px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* Section Decorators */
.bg-warm { background-color: #f9f7f2; }
.bg-onyx { background-color: var(--bg-dark); color: #fff; }

.section-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Toast Notifications */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    background: #fff;
    color: var(--primary);
    padding: 15px 25px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    border-left: 4px solid var(--secondary);
    animation: slideIn 0.5s ease forwards;
    font-family: var(--font-sans);
    font-weight: 600;
}

.toast.error {
    border-left-color: #e74c3c;
}

.toast i {
    font-size: 1.2rem;
    color: var(--secondary);
}

.toast.error i {
    color: #e74c3c;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* Page Headers (Refined Collage Design) */
.page-header-v2 {
    height: 75vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.page-header-v2::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
    z-index: 2;
}

.page-header-v2-content {
    position: relative;
    z-index: 10;
    text-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.page-header-v2 h1 { 
    font-size: 5rem; 
    margin-bottom: 15px; 
    line-height: 1.1;
    text-transform: capitalize;
}

.page-header-v2 span { 
    text-transform: uppercase; 
    letter-spacing: 0.5em; 
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary);
    display: block;
    margin-bottom: 10px;
}

/* Collage Elements */
.hero-collage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-img-item {
    position: absolute;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    border: 4px solid #fff;
    transition: var(--transition-slow);
}

.hero-img-item:nth-child(1) {
    top: 15%;
    right: 10%;
    width: 300px;
    height: 400px;
    transform: rotate(5deg);
    z-index: 3;
}

.hero-img-item:nth-child(2) {
    bottom: 15%;
    left: 10%;
    width: 250px;
    height: 350px;
    transform: rotate(-3deg);
    z-index: 3;
}

.hero-img-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1200px) {
    .hero-img-item { display: none; } /* Hide collage on smaller screens for focus */
    .page-header-v2 h1 { font-size: 3.5rem; }
}

/* Section Background Decorations */
.bg-faint-collage {
    position: relative;
    overflow: hidden;
    z-index: 1; /* Create stacking context */
}

.bg-faint-collage > * {
    position: relative;
    z-index: 2; /* Ensure content is above faint images */
}

.bg-faint-collage::before,
.bg-faint-collage::after {
    content: '';
    position: absolute;
    z-index: 1; /* Move above element background but below content */
    opacity: 0.22; 
    pointer-events: none;
    background-size: cover;
    background-position: center;
    border-radius: 30px;
    filter: grayscale(100%); 
}

.bg-faint-collage::before {
    top: 10%;
    left: -10%;
    width: 500px;
    height: 600px;
    background-image: url('../images/sp1.jpg');
    transform: rotate(-15deg);
}

.bg-faint-collage::after {
    bottom: 10%;
    right: -10%;
    width: 600px;
    height: 700px;
    background-image: url('../images/sp2.jpg');
    transform: rotate(20deg);
}

/* List Stylings */
.luxury-list {
    list-style: none;
    margin-top: 30px;
    padding: 0;
}

.luxury-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
}

.luxury-list li::before {
    content: '\f0da';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary);
}

/* Responsive Grid fix */
@media (max-width: 991px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .grid-3 { grid-template-columns: 1fr; padding: 0 15px; } }

/* Top Bar */
.top-bar {
    background-color: var(--primary);
    color: var(--accent);
    padding: 10px 5%;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.top-bar-locations {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-bar-label {
    color: var(--secondary);
    font-weight: 700;
    margin-right: 5px;
}

.top-bar-locations a {
    transition: var(--transition-fast);
    position: relative;
}

.top-bar-locations a::after {
    content: '|';
    position: absolute;
    right: -12px;
    color: rgba(255,255,255,0.2);
}

.top-bar-locations a:last-child::after {
    display: none;
}

.top-bar .contact-info {
    display: flex;
    justify-content: flex-end;
    gap: 30px;
}

.top-bar a:hover { color: var(--secondary); }

@media (max-width: 768px) {
    .top-bar-locations { display: none; } /* Hide locations on mobile for space */
    .top-bar .container-fluid { justify-content: center !important; }
    .top-bar { padding: 8px 2%; font-size: 0.58rem; letter-spacing: 0.1em; } /* Slightly larger than before but compact */
    .top-bar .contact-info { gap: 8px; justify-content: center; width: 100%; display: flex; align-items: center; }
    .top-bar .contact-info a { display: flex; align-items: center; gap: 4px; white-space: nowrap; line-height: 1; height: 100%; }
    .top-bar .contact-info i { font-size: 0.65rem; color: var(--secondary); display: inline-flex; align-items: center; }
}

@media (max-width: 991px) {
    .logo-wrapper { gap: 10px; }
    .logo-text { display: flex !important; } /* Force display on mobile */
    .logo-main { font-size: 1.2rem; }
    .logo-sub { font-size: 0.55rem; }
    .logo img { height: 45px; }
}

.mobile-contact-info { display: none; } /* Hide on desktop */

#navbar {
    position: relative;
    z-index: 2000;
}

.mobile-nav-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    position: fixed; /* Fixed to follow logo in header */
    top: 60px; /* Aligned with logo in header with top-bar offset */
    right: 5%;
    z-index: 99999 !important;
    transition: var(--transition-slow);
}

#main-header.scrolled .mobile-nav-toggle {
    top: 25px; /* Adjust when header shrinks on scroll */
}

.mobile-nav-toggle.active {
    color: var(--secondary);
}

@media (max-width: 991px) {
    .mobile-nav-toggle { display: block; }
    #navbar .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: auto;
        min-height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center; /* Center horizontally */
        transition: var(--transition-slow);
        z-index: 1999;
        padding: 80px 20px 30px; /* Reduced padding to fit content */
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        overflow-y: auto; /* Allow scroll if content is long */
        overflow-x: hidden;
    }

    /* Mobile Menu Faint Background Collage */
    #navbar .nav-links::before,
    #navbar .nav-links::after {
        content: '';
        position: absolute;
        width: 250px;
        height: 350px;
        background-size: cover;
        background-position: center;
        opacity: 0.12;
        z-index: -1;
        filter: grayscale(100%);
        border-radius: 20px;
        pointer-events: none;
        transition: var(--transition-slow);
    }

    #navbar .nav-links::before {
        top: -50px;
        left: -50px;
        background-image: url('../images/sp1.jpg');
        transform: rotate(-15deg);
    }

    #navbar .nav-links::after {
        bottom: -50px;
        right: -50px;
        background-image: url('../images/sp2.jpg');
        transform: rotate(15deg);
    }

    #navbar .nav-links.active { right: 0; }
    #navbar .nav-links li { 
        margin: 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(0,0,0,0.1);
        padding: 10px 0; /* Reduced padding */
    }
    #navbar .nav-links li:last-child {
        border-bottom: none;
    }
    #navbar .nav-links a { font-size: 1rem; } /* Reduced font size */
    
    #navbar .nav-links a.btn-luxury {
        display: inline-block !important;
        width: auto !important;
        margin: 5px auto !important;
        padding: 8px 20px !important; /* Reduced padding */
    }

    .mobile-contact-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px; /* Reduced gap */
        width: 100%;
        margin-top: 10px; /* Reduced margin */
        padding: 15px 0; /* Reduced padding */
        border-top: 1px solid rgba(0,0,0,0.12); /* Standardized divider */
    }
    
    .mobile-menu-divider {
        width: 40px;
        height: 1px;
        background: var(--secondary);
        margin: 5px 0;
        opacity: 0.3;
    }
    
    .mobile-contact-info .contact-link {
        font-size: 0.9rem !important;
        letter-spacing: 0.1em;
        color: var(--text-light);
        text-transform: none !important;
        font-weight: 500;
    }
    
    .mobile-contact-info .contact-link i {
        color: var(--secondary);
        margin-right: 8px;
        font-size: 0.8rem;
    }
}

/* Floating Elements & Contact Toggle */
.floating-icons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column-reverse;
    gap: 15px;
    z-index: 2100;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(201, 161, 89, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(201, 161, 89, 0); }
    100% { box-shadow: 0 0 0 0 rgba(201, 161, 89, 0); }
}

.floating-icon {
    width: 55px;
    height: 55px;
    background: var(--primary);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 1px solid var(--secondary);
    transition: var(--transition-slow);
    cursor: pointer;
    border-radius: 50%; /* Make them circular for a cleaner look */
    position: relative; /* Necessary for z-index */
}

/* Sub-icons (hidden by default) */
.contact-icons {
    display: flex;
    flex-direction: column-reverse;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-slow);
    z-index: 2099; /* Just below the toggle but above everything else */
}

.floating-icons.active .contact-icons {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-icon i {
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none; /* Let the click bubble to the button */
}

.floating-icons.active .floating-toggle i {
    transform: rotate(45deg); /* Plus to X transition */
}

.floating-toggle {
    z-index: 2101;
    background: #dc4647;
    color: var(--primary);
    animation: pulse-flashing 1.5s infinite; /* More attracting animation */
}

@keyframes pulse-flashing {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 70, 71, 0.7);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(220, 70, 71, 0);
        transform: scale(1.15);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 70, 71, 0);
        transform: scale(1);
    }
}

.floating-icon:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: scale(1.1);
}

/* Contact Info V2 Improvements */
.contact-info-v2 {
    margin-top: 40px;
}

.contact-item-v2 {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item-v2 i {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-top: 5px;
}

.contact-item-v2 div h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.contact-item-v2 div p, .contact-item-v2 div a {
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 0;
}

.contact-item-v2 div a:hover {
    color: var(--secondary);
}

.location-box-v2 {
    background: rgba(166, 124, 82, 0.05);
    padding: 20px;
    border-left: 3px solid var(--secondary);
    margin-top: 30px;
}

.location-box-v2 h4 {
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.location-list-v2 {
    list-style: none;
    padding: 0;
}

.location-list-v2 li {
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.location-list-v2 li i {
    color: var(--secondary);
    margin-top: 4px;
}

.location-list-v2 li a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 10000;
}

.toast {
    background: #fff;
    color: var(--primary);
    padding: 15px 25px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    border-left: 4px solid var(--secondary);
    animation: slideInRight 0.4s ease forwards;
}

.toast.error {
    border-left-color: #e74c3c;
}

.toast.success {
    border-left-color: #2ecc71;
}

.toast i {
    font-size: 1.2rem;
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
    to { opacity: 0; transform: translateY(-20px); }
}

@media (max-width: 480px) {
    .toast-container {
        right: 10px;
        left: 20px;
        top: 20px;
    }
    .toast {
        min-width: auto;
    }
}
.accessibility-widget {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 2200;
}

.accessibility-toggle {
    width: 45px;
    height: 45px;
    background: var(--secondary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.accessibility-panel {
    position: absolute;
    top: 0;
    left: -300px;
    width: 280px;
    background: #fff;
    padding: 30px;
    box-shadow: 20px 0 50px rgba(0,0,0,0.1);
    transition: var(--transition-slow);
}

.accessibility-widget.active .accessibility-panel { left: 0; }

.accessibility-panel h3 {
    font-family: var(--font-sans);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 10px;
}

.accessibility-panel ul li {
    padding: 12px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

.accessibility-panel ul li:hover { color: var(--secondary); }

/* Utilities */
.back-to-top {
    position: fixed;
    bottom: 40px;
    left: 40px;
    opacity: 0;
    visibility: hidden;
    z-index: 2100;
}

.back-to-top.active { opacity: 1; visibility: visible; }

/* Utility Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Google Reviews Slider */
.reviews-section {
    padding-top: 60px;
    padding-bottom: 80px;
    background-color: #f8f9fa;
}

.google-badge {
    margin-top: 5px;
    padding: 6px 15px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.google-rating {
    margin-left: 10px;
    display: flex;
    align-items: center;
}

.google-rating i {
    font-size: 0.75rem;
    margin: 0 1px;
}

.reviews-swiper {
    padding: 30px 10px 50px !important;
}

.review-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition-fast);
    border: 1px solid rgba(0,0,0,0.02);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
}

.review-user h4 {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--primary);
}

.review-user span {
    font-size: 0.75rem;
    color: #999;
}

.card-google-logo {
    height: 14px;
    opacity: 0.6;
}

.review-rating {
    margin-bottom: 12px;
    color: #fbbc04;
    font-size: 0.8rem;
}

.review-text {
    font-style: normal;
    color: #555;
    line-height: 1.6;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.read-more-review {
    display: inline-block;
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-top: 10px;
    cursor: pointer;
    letter-spacing: 0.05em;
}

.read-more-review:hover {
    color: var(--primary);
}

.reviews-pagination .swiper-pagination-bullet-active {
    background: var(--secondary) !important;
}

@media (max-width: 768px) {
    .review-card {
        padding: 30px;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
}
