/* CSS Variables - Matching React Implementation */
:root {
    /* Pure white base with elegant brown accents */
    --background: 0 0% 100%;
    --foreground: 0 0% 20%;

    --card: 0 0% 100%;
    --card-foreground: 0 0% 20%;

    --popover: 0 0% 100%;
    --popover-foreground: 0 0% 20%;

    /* Luxury brown primary (#8B4513) */
    --primary: 25 61% 31%;
    --primary-foreground: 0 0% 100%;

    /* Subtle grays for secondary elements */
    --secondary: 0 0% 98%;
    --secondary-foreground: 0 0% 30%;

    --muted: 0 0% 96%;
    --muted-foreground: 0 0% 60%;

    /* Accent same as primary for consistency */
    --accent: 25 61% 31%;
    --accent-foreground: 0 0% 100%;

    --destructive: 0 70% 50%;
    --destructive-foreground: 0 0% 100%;

    --border: 0 0% 90%;
    --input: 0 0% 95%;
    --ring: 25 61% 31%;

    --radius: 0.75rem;

    /* Luxury design tokens */
    --luxury-gradient: linear-gradient(135deg, hsl(25 61% 31%), hsl(25 61% 25%));
    --luxury-shadow: 0 20px 60px -10px hsl(25 61% 31% / 0.2);
    --luxury-shadow-light: 0 4px 20px -2px hsl(25 61% 31% / 0.1);
    --hero-overlay: linear-gradient(135deg, hsl(0 0% 0% / 0.3), hsl(0 0% 0% / 0.1));

    /* Animation values */
    --transition-luxury: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.3s ease-out;

    /* Typography */
    --font-luxury-serif: 'Playfair Display', 'Georgia', serif;
    --font-luxury-sans: 'Inter', 'system-ui', sans-serif;

    /* Spacing */
    --section-padding: 6rem 1rem;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
	width: 100vw !important;
}
html, body {
    overflow-x: hidden;
}
body {

    font-family: var(--font-luxury-sans);
    font-weight: 300;
    letter-spacing: 0.01em;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    font-feature-settings: 'kern' 1, 'liga' 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-luxury-serif);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 2rem);
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--primary);
}

/* Luxury typography classes from React */
.font-luxury-serif {
    font-family: var(--font-luxury-serif);
    font-weight: 400;
    letter-spacing: -0.02em;
}

.font-luxury-sans {
    font-family: var(--font-luxury-sans);
    font-weight: 300;
    letter-spacing: 0.01em;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 1rem;
    font-family: var(--font-luxury-serif);
    letter-spacing: -0.02em;
    color: hsl(var(--foreground));
}


@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
	html[lang="en-GB"] .carousel-control-next {
    right: 15px;
}
	html[dir="rtl"] .carousel-control-prev {
    left: 15px;
}
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3.75rem;
    }
}

.section-subtitle {
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 4rem;
    font-family: var(--font-luxury-sans);
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-padding {
    padding: 6rem 1rem;
}

@media (min-width: 640px) {
    .section-padding {
        padding: 6rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .section-padding {
        padding: 6rem 2rem;
    }
}

/* Container matching React max-w-7xl */
.container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

.text-primary {
    color: var(--primary);
}

.text-muted {
    color: var(--muted-foreground);
}

.bg-secondary {
    background-color: var(--secondary);
}

.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Icons */
.icon {
    width: 1.5rem;
    height: 1.5rem;
    stroke-width: 2;
    flex-shrink: 0;
}

/* Grid Systems */
.grid {
    display: grid;
    gap: 1rem;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Responsive Grid */
@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Flexbox Utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-8 {
    gap: 2rem;
}

/* Spacing */
.mb-4 {
    margin-bottom: 1rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.p-4 {
    padding: 1rem;
}

.p-8 {
    padding: 2rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Positioning */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.z-10 {
    z-index: 10;
}

.z-20 {
    z-index: 20;
}

.z-30 {
    z-index: 30;
}

.z-50 {
    z-index: 50;
}

/* Sizing */
.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.min-h-screen {
    min-height: 100vh;
}

/* Overflow */
.overflow-hidden {
    overflow: hidden;
}

/* Border Radius */
.rounded {
    border-radius: var(--radius);
}

.rounded-lg {
    border-radius: calc(var(--radius) + 0.25rem);
}

.rounded-xl {
    border-radius: calc(var(--radius) + 0.5rem);
}

.rounded-2xl {
    border-radius: calc(var(--radius) + 0.75rem);
}

.rounded-full {
    border-radius: 9999px;
}

/* Shadows */
.shadow {
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

/* Transforms */
.scale-105 {
    transform: scale(1.05);
}

.scale-110 {
    transform: scale(1.1);
}

.-translate-y-2 {
    transform: translateY(-0.5rem);
}

/* Transitions */
.transition-all {
    transition: var(--transition-smooth);
}

.transition-transform {
    transition: transform var(--transition-smooth);
}

.transition-colors {
    transition: color var(--transition-smooth), background-color var(--transition-smooth), border-color var(--transition-smooth);
}

/* Hover Effects */
.hover\:scale-105:hover {
    transform: scale(1.05);
}

.hover\:scale-110:hover {
    transform: scale(1.1);
}

.hover\:-translate-y-2:hover {
    transform: translateY(-0.5rem);
}

.hover\:shadow-lg:hover {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* Focus States */
.focus\:outline-none:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.focus\:ring-2:focus {
    box-shadow: 0 0 0 2px var(--ring);
}

/* Responsive Utilities */
@media (min-width: 640px) {
    .sm\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 768px) {
    .md\:flex {
        display: flex;
    }
    
    .md\:hidden {
        display: none;
    }
    
    .md\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1024px) {
    .lg\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}






/* Al Mirqab Living - Component Styles */

/* Navigation */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: var(--transition-luxury);
}

.nav-container.scrolled {
    background: white;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid hsl(var(--border) / 0.5);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 5rem;
}

.nav-content {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .nav-content {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .nav-content {
        padding: 0 2rem;
    }
}

.nav-logo .logo-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.logo-image {
    height: 3rem;
    width: auto;
    transition: var(--transition-smooth);
}

.logo-image:hover {
    opacity: 0.8;
}

.nav-menu-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-luxury-sans);
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
       font-size: 16px;
    font-weight: 400;
    text-transform: capitalize;
    padding: 0.5rem 0;
}
button.nav-link:hover{
   color: #7f471f;
}
.nav-container.scrolled .nav-link {
    color: var(--foreground);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-cta-desktop {
    display: none;
}

.mobile-menu-button {
    background: none;
    border: none;
    cursor: pointer;
    color: white;
    transition: var(--transition-smooth);
}

.nav-container.scrolled .mobile-menu-button {
    color: var(--foreground);
}

.mobile-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.mobile-menu-content {
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-link {
    font-family: var(--font-luxury-sans);
    color: var(--foreground);
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 0.75rem 0;
    text-align: left;
    font-size: 1rem;
}

.mobile-nav-link:hover {
    color: var(--primary);
}

.mobile-cta {
    margin-top: 1rem;
	border:solid 2px #7F471F !important;
}

@media (min-width: 768px) {
    .nav-menu-desktop,
    .nav-cta-desktop {
        display: flex;
    }
	.nav-cta-desktop {
    display: flex;
    align-items: center;
    gap: 12px; /* adjust spacing here */
}
    
    .nav-mobile-toggle {
        display: none;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-family: var(--font-luxury-sans);
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-luxury);
    font-size: 1rem;
    line-height: 1;
}

.btn-primary {
    background: var(--primary);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    background: hsl(25, 61%, 28%);
    transform: translateY(-2px);
    box-shadow: var(--luxury-shadow-light);
}

.btn-outline {
    background: white;
    color: #7C4721;
    border: 1px solid #7C4721;
    font-size: 0.875rem;
    padding: 0.75rem 1.875rem;
}

.btn-outline:hover {
    background: #7C4721;
    color: white;
    transform: translateY(-2px);
}

.btn-nav-cta {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.75rem 1rem;
    font-size: 14px;
	font-weight:500;
    gap: 1em;
}


.btn-nav-cta .icon {
    width: 1rem;
    height: 1rem;
}

.nav-container.scrolled .btn-nav-cta {
    background: #7C4721;
    color: white;
    border: 1px solid #7C4721;
}

.btn-nav-cta:hover {
    background: white;
    color: #7C4721;
    transform: translateY(-2px);
}

.nav-container.scrolled .btn-nav-cta:hover {
    background: #6B3D1A;
    color: white;
    transform: translateY(-2px);
}
.btn-search-bedroom{
	 background: white;
    color: #7C4721;
	border: solid 2px #7C4721;
	padding: 7px 15px;
	border-radius:15px;
}
.btn-search-bedroom.active, .btn-search-bedroom:hover{
	 background: #7C4721;
    color: white;
}
.btn-hero {
    background: #7F471F;
    color: white;
    padding: 1rem 3rem;
    font-size: 1.125rem;
    border-radius: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-hero:hover {
    background: #6B3D1A;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(127, 71, 31, 0.3);
}
.brochure{
	text-align:center;
}
.btn-project {
    background: #7C4721;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.75rem;
}
.btn-brochure{
    background: #7C4721;
    color: white;
    padding: 1.5rem 4rem;
    border-radius: 0.75rem;	
}

.btn-project:hover, .btn-brochure:hover {
    background: #6B3D1A;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(124, 71, 33, 0.3);
}

/* Hero Section */
/* Full screen carousel */
#heroCarousel,
#heroCarousel .carousel-inner,
#heroCarousel .carousel-item {
    height: 100vh; /* Full viewport height */
}

#heroCarousel .carousel-item {
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4); /* semi-transparent overlay */
    z-index: 1;
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

/* Optional: Style navigation arrows */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
}


/* ACTIVE SLIDE (center) */
.hero-slide.active {
    transform: translateX(0);
    z-index: 2;
}
.hero-slide.active {
    height: 100vh;
    background-size: cover;
	background-position:center;
}
/* SLIDE MOVING OUT */
.hero-slide.slide-out-left {
    transform: translateX(-100%);
    z-index: 1;
}

.hero-slide.slide-out-right {
    transform: translateX(-100%);
    z-index: 1;
}

/* Force hero carousel buttons visible */
.carousel-control-prev,
.carousel-control-next {
    z-index: 12 !important;
    width: 48px !important;
    height: 48px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

/* Circle background */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    background-color: rgba(0, 0, 0, 0.6) !important;
    background-size: 20px 20px !important;
}

/* Explicit white arrows */
.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E") !important;
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 14.354a.5.5 0 0 1 0-.708L10.293 8 4.646 2.354a.5.5 0 1 1 .708-.708l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708 0z'/%3E%3C/svg%3E") !important;
}

section#hero {
    max-width: 100%;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 2rem;
}

.hero-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.project-logo {
    height: auto;
    width: auto;
	max-width:80%;
    margin: 0 auto;
    opacity: 0.9;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: var(--transition-luxury);
}

@media (min-width: 768px) {
 
}

.project-logo:hover {
    transform: translateY(-8px);
}



@media (min-width: 768px) {
    .project-logo {
        max-width:270px;
    }
    
  
}

/* Hero Navigation */
.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-luxury);
}

.hero-nav-btn:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.hero-nav-prev {
    left: 1rem;
}

.hero-nav-next {
    right: 1rem;
}

/* Search Bar - Matching React Implementation */
.hero-search-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 30;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

.search-container {
    padding: 1rem 1rem 2rem 1rem;
    pointer-events: auto;
}

@media (min-width: 640px) {
    .search-container {
        padding: 1.5rem 1.5rem 2rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .search-container {
        padding: 2rem 2rem 2rem 2rem;
    }
}

.transparent-search-bar {
    position: relative;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    touch-manipulation: select-none;
}

.transparent-search-bar:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.transparent-search-bar:focus-within {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.search-fields-container {
    display: flex;
    align-items: center;
    border-radius: 1rem;
    overflow: hidden;
}

.search-field {
    flex: 1;
    padding: 0.5rem 0.75rem;
    min-width: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

@media (min-width: 640px) {
    .search-field {
        padding: 0.75rem;
    }
}

.search-field:last-of-type {
    border-right: none;
}

.search-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.125rem;
}

.search-value {
    color: white;
    font-weight: 500;
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

@media (min-width: 640px) {
    .search-value {
        font-size: 0.875rem;
    }
}

.search-field-hidden-md {
    display: none;
}

@media (min-width: 768px) {
    .search-field-hidden-md {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

.search-field-hidden-lg {
    display: none;
}

@media (min-width: 1024px) {
    .search-field-hidden-lg {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
	
}

.search-button-container {
    padding: 0.375rem 0.5rem;
}

@media (min-width: 640px) {
    .search-button-container {
        padding: 0.5rem;
    }
}

.search-button {
    background: rgba(255, 255, 255, 0.9);
    color: hsl(var(--primary));
    border-radius: 0.75rem;
    padding: 0.375rem 1rem;
    font-weight: 500;
    font-size: 0.75rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

@media (min-width: 640px) {
    .search-button {
        padding: 0.5rem 1.5rem;
        font-size: 0.875rem;
    }
}

.search-button:hover {
    background: white;
}

.search-icon {
    width: 0.75rem;
    height: 0.75rem;
}

@media (min-width: 640px) {
    .search-icon {
        width: 1rem;
        height: 1rem;
    }
}
.search-field-md-only{
	display:none;
}

/* Mobile responsive behavior */
@media (max-width: 768px) {
.search-lightbox-content {
    height: 80vh;
    overflow: scroll;
}
	nav#navigation {
    max-width: 100vw;
}

	
	html[dir="rtl"] nav#navigation {
    transform: none;
		inset-inline-start: 0;
}
		html[lang="en-GB"] .carousel-control-prev {
    left: 5px;
}
	html[dir="rtl"] .carousel-control-next {
    right: 5px;
}
	
	.d-md-inline-flex{
		display:inline-flex;
	}
	.stat-card {
    padding: 1rem!important;
	}
div#searchPopup {
    padding: 0px;
	
}
	.search-field-md-only{
		display:block;
	}
	.search-button-container {
    width: 100%;
    text-align: center;
}
.search-button {
    background: none;
    color: white;
    margin: auto;
    display: inline-flex;

    text-align: center;
}
    .transparent-search-bar {
        border-radius: 1rem;
    }

    .search-fields-container {
        border-radius: 1rem;
    }
	.contact-card .d-flex {
    display: block !important;
}
	.contact-card .d-flex .contact-card-link {
    display: block;
    margin-top: 15px;
}
	.footer{
		    max-width: 100vw !important;
	}
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-family: "Playfair Display", serif;
    font-weight: 300;
    color: #333333;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #999999;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Connect With Us specific title size */
.connect-title {
    font-size: 3rem !important;
    font-weight: 300 !important;
    font-family: Cormorant, Georgia, serif !important;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Project Cards - Matching React Implementation */
.project-card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: var(--luxury-shadow-light);
    transition: var(--transition-luxury);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--luxury-shadow);
}

.project-image-container {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.project-card:hover .project-image {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
}

.project-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    color: white;
}

.project-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    opacity: 0.9;
    font-size: 0.875rem;
}

.project-location .icon {
    width: 1rem;
    height: 1rem;
    color: #7C4721;
}

.project-name {
    font-size: 2rem;
    font-family: var(--font-luxury-serif);
    font-weight: 300;
    margin-bottom: 0.75rem;
}

.project-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.5;
	font-size:16px;
}

/* Actions Grid */
.actions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .actions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Action Cards */
.action-card {
    background: var(--card);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition-luxury);
}

.action-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}
.action-card .btn {
    width: 100%;
}
.text-primary {
    color: #7f471f !important;
}
.about-title .text-primary {
    display: block;
}
.action-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.5rem;
    background: #F2ECE8;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.action-card:hover .action-icon {
    background: #7C4721;
    transform: scale(1.1);
}

.action-icon .icon {
    width: 2rem;
    height: 2rem;
    color: #7C4721;
    transition: var(--transition-smooth);
}

.action-card:hover .action-icon .icon {
    color: white;
}

.action-title {
    font-size: 1.3rem;
    font-family: Cormorant, Georgia, serif;
    font-weight: 300;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.action-description {
    color: #999999;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    font-size: 1.15rem;
    font-weight: 400;
	min-height:3.5rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Fade In Animation */
.fadeInUp {
    transform: translateY(0px);
    opacity: 1;
}

/* Responsive Text Sizing */
@media (min-width: 768px) {
    .md\:text-6xl {
        font-size: 3.75rem;
        line-height: 1;
    }
}

/* Text Utilities */
.text-foreground {
    color: hsl(var(--foreground));
}

.leading-tight {
    line-height: 1.25;
}

.font-light {
    font-weight: 300;
}

.text-5xl {
    font-size: 3rem;
    line-height: 1;
}

/* Gallery Slider Styles */
.gallery-slider-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    margin: 2rem 0;
	direction:ltr;
}

.gallery-slider {
    display: flex;
    animation: slideLeft 20s linear infinite;
    width: calc(300px * 9); /* 6 original + 3 duplicates */
}

.gallery-slide {
    flex: 0 0 300px;
    margin-right: 1rem;
}

.gallery-slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-300px * 6 - 6rem)); /* Move by 6 slides + gaps */
    }
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 1200px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
}

.lightbox-close:hover {
    color: #7C4721;
}

.lightbox-counter {
    position: absolute;
    top: 20px;
    left: 30px;
    color: white;
    font-size: 16px;
    z-index: 10001;
}

.lightbox-title {
    display: block;
    margin-top: 5px;
    font-size: 14px;
    color: #999999;
}

#lightboxImage {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(124, 71, 33, 0.8);
    color: white;
    border: none;
    padding: 15px 20px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: #7C4721;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-thumbnails {
    position: absolute;
    bottom: 20px;
    left: 0%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    max-width: 90%;
    overflow-x: auto;
    padding: 10px;
}

.lightbox-thumbnails img {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.lightbox-thumbnails img:hover,
.lightbox-thumbnails img.active {
    opacity: 1;
    border: 2px solid #7C4721;
}

.about-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-family: Cormorant, Georgia, serif;
    font-weight: 300;
    color: black;
    margin-bottom: 2rem;
    line-height: 1.25;
    transform: translateY(0px);
    opacity: 1;
}

.about-title .text-primary {
    color: #7C4721;
}

.about-text {
    font-size: 1.25rem;
    color: #9A9A9A;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.about-text-secondary {
    font-size: 1.125rem;
    color: #9A9A9A;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.about-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .about-buttons {
        flex-direction: row;
    }
}

/* Our Story button styling */
.about-buttons .btn-primary {
    background: #7C4721;
    color: white;
}

.about-buttons .btn-primary:hover {
    background: #6B3D1A;
    color: white;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-card {
    background: var(--card);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition-luxury);
}

.stat-card:hover {
    box-shadow: var(--luxury-shadow-light);
    transform: translateY(-4px);
}

.stat-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.5rem;
    background: rgba(139, 69, 19, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon .icon {
    width: 2rem;
    height: 2rem;
    color: #7C4721;
}

.stat-number {
    display: inline;
    font-size: 2.5rem;
    font-family: var(--font-luxury-serif);
    font-weight: 200;
    color: #7C4721;
    margin-bottom: 0.5rem;
}

.stat-suffix {
    display: inline;
    font-size: 2.5rem;
    font-family: var(--font-luxury-serif);
    font-weight: 200;
    color: #7C4721;
}

.stat-label {
    color: #999999;
    font-size: 1.15rem;
    font-family: Inter, system-ui, sans-serif;
    margin-top: 0.5rem;
}

/* Footer - Updated Design */
.footer {
    background: #3A3A3A;
    color: white;
    padding: 4rem 0 0;
}

.footer-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 2rem;
}
.footer-links ul {
    margin-right: 0px;
    margin-left: 0px;
    padding-left: 0px;
    padding-right: 0px;
}
.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
a.social-link:hover {
    background: white;
    color: #7f471f;
}
.footer-links a:hover{
	   color: #7f471f;
}
a.social-link {
   border-radius:10px;
}
@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 5fr 4fr 4fr;
        gap: 4rem;
    }
}

.footer-logo {
    height: 2.5rem;
    width: auto;
    margin-bottom: 1.5rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1rem;
    font-weight: 300;
    max-width: 400px;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.375rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: hsl(var(--primary));
    color: hsl(var(--primary));
    transform: translateY(-2px);
}

.social-icon {
    width: 1rem;
    height: 1rem;
}

.footer-title {
    font-size: 1rem;
    font-family: Inter, system-ui, sans-serif;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: white;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
p {
    font-size: 1.1rem;
}
.contact-icon {
    color: #7C4721;
    width: 1rem;
    height: 1rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.contact-item span:not(.contact-icon) {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    font-size: 1rem;
    font-family: Inter, system-ui, sans-serif;
}
.footer-links a{
	 color: rgba(255, 255, 255, 0.85);
}
.footer-link-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    font-size: 0.875rem;
    text-decoration: none;
    font-family: Inter, system-ui, sans-serif;
}

.footer-link:hover {
    color: white;
}

/* Newsletter */
.newsletter-section {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

.newsletter-content {
    margin-bottom: 1.5rem;
}

.newsletter-title {
    font-size: 1.25rem;
    font-family: Inter, system-ui, sans-serif;
    font-weight: 400;
    margin-bottom: 1rem;
    color: white;
}

.newsletter-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    font-family: Inter, system-ui, sans-serif;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.875rem;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-btn {
    padding: 0.75rem 1.5rem;
    background: #7C4721;
    color: white;
    border: 1px solid #7C4721;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: Inter, system-ui, sans-serif;
}

.newsletter-btn:hover {
    background: #6B3D1A;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    font-family: Inter, system-ui, sans-serif;
    margin: 0;
}

.copyright p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    font-weight: 300;
}

/* Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 1rem;
    cursor: pointer;
    transition: var(--transition-luxury);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--luxury-shadow);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

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

/* Feature Cards */
.feature-card {
    background: var(--card);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--border);
    transition: var(--transition-luxury);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-card:hover {
    box-shadow: var(--luxury-shadow-light);
    transform: translateY(-4px);
}

.feature-icon {
    background: rgba(139, 69, 19, 0.1);
    padding: 0.75rem;
    border-radius: 0.75rem;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.feature-card:hover .feature-icon {
    background: rgba(139, 69, 19, 0.2);
    transform: scale(1.1);
}

.feature-icon .icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
}

/* Responsive adjustments */
@media (min-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Additional utility classes */
.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

.space-y-8 > * + * {
    margin-top: 2rem;
}

.aspect-4-3 {
    aspect-ratio: 4/3;
}

.object-contain {
    object-fit: contain;
}

.bg-white {
    background-color: white;
}

.text-center {
    text-align: center;
}

.max-w-2xl {
    max-width: 42rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.border-t {
    border-top: 1px solid var(--border);
}

.pt-8 {
    padding-top: 2rem;
}

.mt-12 {
    margin-top: 3rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.font-light {
    font-weight: 300;
}

.font-medium {
    font-weight: 500;
}

.leading-relaxed {
    line-height: 1.625;
}

.duration-300 {
    transition-duration: 300ms;
}

/* Project Logo Styles */
.project-logo {

    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.cala-logo {
    max-height: 150px;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}



/* Keyframe Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(50px);
    }
    50% {
        opacity: 1;
        transform: scale(1.05) translateY(-10px);
    }
    70% {
        transform: scale(0.9) translateY(0);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Base Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeInLeft 0.8s ease-out forwards;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 0.8s ease-out forwards;
}

.fade-in-scale {
    opacity: 0;
    transform: scale(0.9);
    animation: fadeInScale 0.8s ease-out forwards;
}

.slide-in-down {
    opacity: 0;
    transform: translateY(-30px);
    animation: slideInDown 0.8s ease-out forwards;
}

.bounce-in {
    opacity: 0;
    transform: scale(0.3) translateY(50px);
    animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.zoom-in {
    opacity: 0;
    transform: scale(0.5);
    animation: zoomIn 0.8s ease-out forwards;
}

/* Scroll-triggered Animations */
.scroll-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.scroll-slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-slide-up {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.scroll-slide-down {
    opacity: 0;
    transform: translateY(-60px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-slide-down.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.scroll-bounce {
    opacity: 0;
    transform: translateY(50px) scale(0.8);
    transition: opacity 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55),
                transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.scroll-bounce.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.scroll-zoom-in {
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-zoom-in.visible {
    opacity: 1;
    transform: scale(1);
}

.scroll-rotate {
    opacity: 0;
    transform: rotate(-10deg) scale(0.9);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-rotate.visible {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.scroll-flip {
    opacity: 0;
    transform: perspective(1000px) rotateY(90deg);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-flip.visible {
    opacity: 1;
    transform: perspective(1000px) rotateY(0deg);
}

/* Staggered Animations */
.scroll-stagger {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-stagger.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-animation > * {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.stagger-animation > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-animation > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-animation > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-animation > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-animation > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-animation > *:nth-child(6) { animation-delay: 0.6s; }

/* Hover Animations */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-rotate {
    transition: transform 0.3s ease;
}

.hover-rotate:hover {
    transform: rotate(5deg);
}

/* Loading Animations */
.loading-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.loading-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Number Counter Animation */
.number-counter {
    font-variant-numeric: tabular-nums;
    transition: all 0.3s ease;
}

/* Carousel Animations */
.carousel-slide-enter {
    opacity: 0;
    transform: scale(1.05);
    animation: slideEnter 0.6s ease-out forwards;
}

@keyframes slideEnter {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Accessibility: Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .scroll-fade-in,
    .scroll-slide-left,
    .scroll-slide-right,
    .scroll-scale,
    .scroll-stagger,
    .scroll-rotate,
    .scroll-bounce,
    .scroll-flip,
    .scroll-zoom-in,
    .scroll-slide-up,
    .scroll-slide-down {
        transition: opacity 0.3s ease;
        transform: none !important;
    }

    .scroll-fade-in.visible,
    .scroll-slide-left.visible,
    .scroll-slide-right.visible,
    .scroll-scale.visible,
    .scroll-stagger.visible,
    .scroll-rotate.visible,
    .scroll-bounce.visible,
    .scroll-flip.visible,
    .scroll-zoom-in.visible,
    .scroll-slide-up.visible,
    .scroll-slide-down.visible {
        opacity: 1;
        transform: none !important;
    }
}

/* Remove list bullets and spacing from nav menus */
.nav-menu-desktop,
.nav-menu,
.mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Optional: reset <li> padding and spacing */
.nav-menu-desktop,
.nav-menu li,
.mobile-nav-menu li,
.mobile-menu-content li{
    list-style: none;
    margin: 0;
    padding: 0;
}
.max-w-7xl{
	    max-width: 80rem;
} 
.px-8{
	padding-left: 2rem;
    padding-right: 2rem;
}
.btn-outline-back {
    color: rgb(153, 153, 153);
    font-size: 14px;
    background: white;
    border-width: 0px;
    border-style: solid;
	border-radius:10px;
    padding: 0.5rem 1.25rem;
}
.btn-outline-back:hover {
    color: rgb(51, 51, 51);
    font-size: 14px;
    background: rgb(124, 71, 33);
    border-width: 1px;
	border-color:rgb(124, 71, 33);
}
.search-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 40px;
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.4s ease;
}
	/* Mobile responsive behavior */
@media (max-width:1024px) and (min-width:600px) {
	.search-lightbox {
		align-items: flex-start;
	}

}
.search-lightbox.show { display: flex; opacity: 1; }

.search-lightbox-content {
  background: radial-gradient(ellipse at top, rgba(40,40,40,0.95), rgba(20,20,20,0.95));
  color: #fff;
  width: 80%;
  max-width: 1100px;
  border-radius: 16px;
  padding: 40px 10px;
  position: relative;
  box-shadow: 0 0 40px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(20px);
}

.search-close {
  position: absolute;
  top: 20px;
  right: 25px;
  background: none;
  color: #fff;
  font-size: 26px;
  border: none;
  cursor: pointer;
}

.search-title {
  font-family: 'Georgia', serif;
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 25px;
}

.search-input-group input {
  width: 100%;
  height: 56px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 0 15px;
}

.btn-search {
  background: #b76e2c;
  border: none;
  color: #fff;
  padding: 12px 28px;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.3s;
}
.btn-search:hover { background: #d07b2f; }

.btn-filters {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 12px 20px;
  border-radius: 8px;
  transition: all 0.3s;
}
.btn-filters:hover { background: rgba(255,255,255,0.15); }

.advanced-search {
  margin-top: 25px;
  animation: fadeIn 0.4s ease;
}
.area-error {
  color: #ff6666;
  font-size: 14px;
  font-weight: 500;
}
.form-control, .form-select {
  background: rgba(255,255,255,0.1);
  border: 1px solid #ccc;
  color: #000;
  height: 48px;
	border-radius:10px;
}
.form-control:hover, .form-select:hover {
  border: 3px solid #7f471f;
	box-shadow: none;
}
.form-control::placeholder { color: #bbb; }
.form-select option { background: #222; color: #fff; }

.form-label { color: #000; font-weight: 500; font-size: 15px; }

.form-check-label { color: #ccc; }

.btn-reset {
  color: #fff;
  background: none;
  border: none;
  text-decoration: underline;
  font-size: 14px;
}
.btn-reset:hover { color: #d07b2f; }

@keyframes fadeIn { from {opacity:0;transform:translateY(-10px);} to {opacity:1;transform:translateY(0);} }
.lightbox-thumbnails {
  display: flex;
  overflow-x: visible;
  gap: 8px;
  padding: 8px 0;
  scrollbar-width: thin;
  scroll-behavior: smooth;
}

.lightbox-thumbnails img {
  cursor: pointer;
  flex-shrink: 0;
  border-radius: 6px;
  transition: transform 0.2s ease, border 0.2s ease;
}

.lightbox-thumbnails img.active {
  border: 2px solid #333;
  transform: scale(1.05);
}
.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: 
cubic-bezier(.4, 0, .2, 1);
    transition-duration: .15s;
}
button#refineSearchBtn svg {
    width: 18px;
}
button#refineSearchBtn {
    margin: auto;
    border-color: #00000008;
	background:#00000008;
    padding: 0.5rem 1.25rem;
    border-radius: 10px;
    font-size: 14px;
    gap: 1rem;
    display: flex;
}
button#refineSearchBtn:hover {
	background:#7f471f;
	color:white;
}
select#sort {
    font-size: 14px;
    border: solid 1px #dedede;
    color: black;
}
.form-label.sort-label {
    color: black;
}
.group-hover-scale-105:hover {
    transform: scale(1.05);
}

.duration-700 {
    animation-duration: .7s;
}
.transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .15s;
}

.object-cover {
    -o-object-fit: cover;
    object-fit: cover;
}
.location{
	color:rgb(153, 153, 153);
	font-size:14px;
}
.property-meta i, .location i {
    color: #7f471f;;
}
.p-6 {
    padding: 1.5rem;
}
.property-card-title{
color:rgb(51, 51, 51);
	font-size:20px;
	font-weight:500;
	font-family: Cormorant, Georgia, serif;
}
.property-card-price{
color:#7f471f;
	font-size:1.5rem;
	font-weight:bold;
}
.property-card:hover .property-card-title{
	color:#7f471f;
}
.property-top-labels {
  top: 0;
  left: 0;
  right: 0;
			font-size:14px;
}

.property-project {
  background: #7f471f;
	border-radius:15px;
}

.property-status {
	border-radius:15px;
  color: #fff;
  font-weight: 600;
}

/* Dynamic colors based on status */
.status-available { background-color: #28a745; }   /* Green */
.status-rented { background-color: #17a2b8; }      /* Blue */
.status-sold { background-color: #dc3545; }        /* Red */
.status-upcoming { background-color: #ffc107; }    /* Yellow */

/* Amenities */
.property-amenities .amenity {
  background: #f5f5f5;
  border-radius: 8px;
  padding: 3px 12px;
}

.property-amenities .amenity-more {
  color: #777;
  font-weight: 500;
}

/* View Details button */
.btn-view-details {
  text-align: center;
  display: inline-block;
  border: 1px solid #7f471f;
  color:white;
  background: #7f471f;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-weight: 500;
  transition: all 0.3s ease;
}
.btn-view-details:hover {
  background: #7f471fe6;
	transform:translatey(-2px);
	 border: 1px solid #7f471f;
}
.border-t.border-border {
    border-top: solid 2px #eee;
}
.height-600{
	height:600px;
	max-height: 80vh;
}
.font-luxury-serif {
    font-family: Cormorant, Georgia, serif;
}
.text-foreground {
    color: #333;
}
.font-light{
    font-weight: 300;
}
.text-4xl{
    font-size: 3rem;
}
.text-6xl{
    font-size: 4.5rem;
}
.text-2xl{
	font-size:1.6rem;
}
.ax-w-3xl{
	max-width:48rem;
}
.text-muted-foreground {
    color: #999;
}
.text-xl, .text-xl p{
    font-size: 1.25rem;
    line-height: 1.75rem;
}
.opacity-90{
	opacity:0.9
}
.font-medium {
    font-size: 1rem;
}
.gap-12 {
    gap: 3em;
}

.btn-bg-primary{
    border-radius: 10px;
    background: #7C4721;
    color: white;
    border: 1px solid #7C4721;
    font-size: 0.875rem;
    padding: 0.75rem 1.875rem;
}
.cta-buttons {
    flex-wrap: wrap;
}
.max-w-4xl{
	max-width:56rem;
}
.flex.items-start {
    align-items: flex-start;
}
.bg-primary-10 {
    background-color: #7f471f1a;
}
.rounded-lg{
	border-radius:0.75rem;
}
h3.text-lg {
    font-size: 1.125rem;
}
.contact-card p {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 8px;
}
.font-luxury-sans {
    font-family: Inter, system-ui, sans-serif;
}
.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}
.contact-card-link {
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.25rem;
    border: solid 1px;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 7px;
    padding: 0.5rem 0.75rem;
    border-color: rgb(229, 231, 235);
}
svg.w-4.h-4 {
    height: 20px;
    width: 20px;
}
.contact-card-link:hover{
	color: #fff;
	background:#7c4721;
}
.flex.items-center {
    align-items: center;
}
.mr-1 {
    margin-right: 0.5rem;
}
.rounded-sm.border{

    border-radius: 8px;
}
.bg-primary-5 {
    background-color: #7f471f0d;
}
.border-primary-20,  .contact-card.border-primary-20 {
    border-color: #7f471f33;
}

.text-primary-foreground {
    color: #fff;
}
.text-sm {
    font-size: .875rem;
    line-height: 1.25rem;
}
.bg-hover-primary{
	background:#fff;
}
.bg-primary, .bg-hover-primary:hover {
    background-color: #7f471f!important;
}
.rounded-md {
    border-radius: 8px;
}
.mb-12 {
    margin-bottom: 3rem;
}
.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.to-accent-5 {
    --tw-gradient-to: #7f471f0d;
}
.from-primary-5 {
    --tw-gradient-from: #7f471f0d;
    --tw-gradient-stops: #7f471f0d;
}
.bg-gradient-to-r {
    background-image: linear-gradient(to right, #7f471f0d);
}
a.bg-primary:hover, a.text-hover-primary-foreground:hover{
	color:#fff;
}
.bg-card-white{
	background:#fff;
}
.icon-circle{
	display:inline-flex;
	    padding: 15px;
}
.icon-box:hover .icon-circle, .hover-bg-primary-20:hover{
	background-color: #7f471f33;
}
.mb-6 {
    margin-bottom: 1.5rem;
}
.border-thin{
	border:solid 1px #eee;
}
a.bg-primary.border-thin:hover, a.text-hover-primary-foreground.border-thin:hover{
	border-color:#7f471f;
}
.p-8 {
    padding: 2rem;
}

.to-accent-10 {
    --tw-gradient-to: #7f471f1a;
}
.from-primary-10 {  
    --tw-gradient-stops: #7f471f1a;
}
.bg-gradient-to-r {
    background-image: linear-gradient(to right, #7f471f1a);
}
.rounded-2xl {
    border-radius: 1rem;
}
.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}
.text-left{
	text-align:left;
}
.round-lg {
    border-radius: 50%;
}
.flex-equal {
  flex: 1 1 0 !important;
  min-width: 0;
}
.mb-10 {
    margin-bottom: 2.5rem
}
div#floorPlanCarousel {
    max-width: 500px;
    margin: auto;
}
.carousel-control-next .carousel-control-next-icon,
.carousel-control-prev .carousel-control-prev-icon {
	color:black;
	background-color:black;
	padding:10px;
	background-size:70%;
	border-radius:5px;
}
/* Curtain */
#page-transition {
  position: fixed;
  left: 0;
  bottom: 0;            /* grows from bottom */
  width: 100%;
  height: 0%;
  background: #000;
  z-index: 999999;
  transition: height 0.35s ease-in-out;
  pointer-events: none;
}

/* Grow and shrink */
#page-transition.grow { height: 100%; }
#page-transition.shrink { height: 0%; }

/* Hide page content while curtain runs */
#page-wrapper {
  visibility: hidden;   /* hide everything under curtain initially */
}

#page-wrapper.visible {
  visibility: visible;  /* show content after animation */
}
.advanced-search label.form-label {
    color: white;
}

.project-content .project-description {
    min-height: 50px;
}
.hide{
	display:none;
}
	ul#propertyTabs button {
    padding: 10px 15px;
    background: #eee;
    margin: 0pc 5px;
    color: black;
}
	ul#propertyTabs button.active, ul#propertyTabs button:hover{
		  background: #7C4721;
    color: white;
	}
footer .contact-item.ltr a {
    direction: ltr;
}
html[dir="rtl"] .form-control,
html[dir="rtl"] .form-select {
    text-align: right;
}
html[dir="rtl"] .contact-card p {
    text-align: right;
    direction: rtl;
}

html[dir="rtl"] .contact-card p.ltr{
    direction: ltr;
}
.property-meta .meta-item {
  margin-inline-end: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.property-meta .meta-item:last-child {
  margin-inline-end: 0;
}
html[dir="rtl"] .form-check .form-check-input {
    float: right;
    margin-left: 0;
    margin-right: -1.5rem;
}

/* =====================================================
   BASE NAV RESET
===================================================== */

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

.nav-item,
.mobile-nav-item {
    position: relative;
}


/* =====================================================
   DESKTOP DROPDOWN (DEFAULT)
===================================================== */

.nav-item .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
	background: #ffffff12;
    backdrop-filter: blur(20px);
    margin: 0;
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    z-index: 999;
}

.nav-container.scrolled .nav-item .sub-menu {
	background: #ffffff92;
}
/* Show dropdown on hover (DESKTOP) */
.nav-item.has-dropdown:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Desktop submenu links */
.nav-item .sub-menu li a {
    display: block;
    padding: 12px 22px;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}
.nav-container.scrolled .nav-item .sub-menu li a{
    color: #000;
}
.nav-item .sub-menu li a:hover {
   background: #0000002e;
    color: #000;
}


/* Dropdown arrow */
.nav-item.has-dropdown > a::after {
    content: "▾";
    margin-left: 6px;
    font-size: 0.7em;
    opacity: 0.7;
}


/* =====================================================
   MOBILE DROPDOWN (BOOTSTRAP OVERRIDES)
===================================================== */

@media (max-width: 991px) {
    /* Ensure the mobile menu container allows scrolling if menu is long */
    .mobile-menu-content {
        padding: 20px;
    }

    /* Reset the sub-menu from your desktop absolute positioning */
    .mobile-nav-item .dropdown-menu {
        position: static !important; /* Force static for mobile stack */
        float: none;
        transform: none !important;
        opacity: 1;
        visibility: visible;
        display: none; /* Bootstrap will toggle this to 'block' */
        box-shadow: none;
        border: none;
    }

    /* Show menu when Bootstrap adds the .show class */
    .mobile-nav-item .dropdown-menu.show {
        display: block;
    }

    /* Mobile Link Styles */
    .mobile-nav-link {
        color: #000; /* Adjust based on your mobile background */
        padding: 10px 0;
        display: block;
        font-size: 1.1rem;
        text-decoration: none;
    }

    /* Sub-menu Link Styles */
    .mobile-nav-item .dropdown-menu li a {
        color: rgba(0,0,0,0.8);
        padding: 8px 0;
        font-size: 0.95rem;
        text-decoration: none;
        display: block;
    }

    /* Rotate arrow when open (Bootstrap default uses a background image, 
       but since you used custom arrows, we do this:) */
    .dropdown-toggle::after {
        display: inline-block;
        margin-left: 0.255em;
        vertical-align: 0.255em;
        content: "";
        border-top: 0.3em solid;
        border-right: 0.3em solid transparent;
        border-bottom: 0;
        border-left: 0.3em solid transparent;
    }
	   html[dir="rtl"] .mobile-nav-link {
			text-align: right;
	}
}
footer .btn-accent {
    background-color: #7C4721;
    color: #fff;
    border: none;
    border-radius: 15px;
}
footer .btn-accent:hover {
    background-color: #5e3418;
}
