@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
:root {
    --primary: #e75a2a;
    --primary-light: #f07b53;
    --primary-dark: #c4451a;
    --dark: #0a0a0a;
    --dark-accent: #151515;
    --light: #ffffff;
    --gray-soft: #f8f8f8;
    --gray-medium: #888888;
    --border-glass: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --gold: #d4a373;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
 font-family: "Poppins", sans-serif;
}

body {
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

::selection {
    background: var(--primary);
    color: var(--light);
}

/* Typography Enhancements */
h1,
h2,
h3,
h4,
h5,
h6 {

    font-weight: 700;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.form-input select{
    background-color: #000;
    color: #fff;
}
/* Navbar Extension */
/* Luxury Island Navbar */
#navbar {
    position: fixed;
    top: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1400px;
    z-index: 1000;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    background: transparent;
    padding: 1.25rem 1.5rem;
    border-radius: 100px;
    border: 1px solid transparent;
}

@media (min-width: 1024px) {
    #navbar {
        top: 0.2rem;
        width: 95%;
        padding: 1.5rem 2.5rem;
    }
}

#navbar.nav-scrolled {
    top: 0.5rem;
    padding: 0.8rem 2rem;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(25px) saturate(180%);
    border-color: rgb(114, 114, 114);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Ensure navbar is above menu when open */
body.menu-open #navbar {
    z-index: 1002 !important;
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

#navbar .nav-link {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

#navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

#navbar .nav-link:hover::after {
    width: 50%;
}

/* Luxury Sections */
.section-luxury {
    padding: clamp(4rem, 10vw, 10rem) 5%;
    position: relative;
    overflow: hidden;
}

/* Base Typography Styling */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.1;
    font-weight: 900;
}

p,
.text-base {
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .section-luxury {
        padding: 6rem 8%;
    }
}

@media (max-width: 768px) {
    .section-luxury {
        padding: 4rem 6%;
    }
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 3rem;
    transition: all 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: rgba(231, 90, 42, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

/* Premium Buttons */
.btn-premium {
    position: relative;
    padding: 1rem 2rem;
    background: var(--primary);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 100px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: inline-block;
    text-decoration: none;
    font-size: 0.75rem;
}

@media (min-width: 1024px) {
    .btn-premium {
        padding: 1.25rem 3rem;
        font-size: 0.875rem;
    }
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-premium:hover::before {
    width: 300px;
    height: 300px;
}

.btn-premium:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(231, 90, 42, 0.3);
}

.btn-outline-luxury {
    padding: 1rem 2rem;
    border: 2px solid var(--border-glass);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 100px;
    transition: all 0.4s ease;
    display: inline-block;
    text-decoration: none;
    font-size: 0.75rem;
}

@media (min-width: 1024px) {
    .btn-outline-luxury {
        padding: 1.25rem 3rem;
        font-size: 0.875rem;
    }
}



.btn-outline-luxury:hover {
    background: white;
    color: black;
    border-color: white;
}

/* Property Grid */
.property-card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    cursor: pointer;
}

@media (max-width: 768px) {
    .property-card {
        aspect-ratio: 4 / 3;
    }
}

.property-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.property-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 60%);
    padding: clamp(1.5rem, 5vw, 3rem);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.4s ease;
}

.property-card:hover .property-img {
    transform: scale(1.1);
}

.property-card:hover .property-overlay {
    background: linear-gradient(to top, rgba(231, 90, 42, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.stagger-reveal>* {
    opacity: 0;
    transform: translateY(30px);
}

.stagger-reveal.active>* {
    opacity: 1;
    transform: translateY(0);
}

/* Testimonials Luxury */
.testimonial-card {
    padding: 4rem;
    background: var(--glass-bg);
    border: 1px solid var(--border-glass);
    border-radius: 40px;
    text-align: center;
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 2rem;
    opacity: 0.5;
}

/* Footer Luxury */
.footer-luxury {
    background: var(--dark-accent);
    padding: 8rem 5% 4rem;
    border-top: 1px solid var(--border-glass);
}

.footer-link {
    color: var(--gray-medium);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-link:hover {
    color: var(--primary);
    padding-left: 10px;
}

/* Mobile Menu Logic Mirror */
#navbar-toggle {
    z-index: 1001;
    color: white;
}

#navbar-menu {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.98);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
}

body.menu-open #navbar-menu {
    opacity: 1;
    visibility: visible;
}

#close-icon {
    display: none;
}

body.menu-open #hamburger-icon {
    display: none !important;
}

body.menu-open #close-icon {
    display: block !important;
}

/* Custom Hero Animations */
@keyframes slow-zoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

@keyframes slide-up {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fade-in-right {
    from {
        transform: translateX(40px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes progress {
    from {
        width: 0;
    }

    to {
        width: 80%;
    }
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #ff8c00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 4K/Ultra Scaling Adjustments */
@media (min-width: 2560px) {
    .ultra-text-scale {
        font-size: 1.5rem;
    }
}

.hero-buy {
    background-color: var(--dark);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

/* =========================================
   Luxury Loading Animation
   ========================================= */

#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark);
    /* or black */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#page-loader.loader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.loader-logo {
    width: 60px;
    /* Adjust size as needed */
    height: auto;
    margin-bottom: 1rem;
    animation: pulse-logo 2s infinite ease-in-out;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(231, 90, 42, 0.2);
    /* var(--primary) with opacity */
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-text {
    color: var(--light);
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    animation: fade-pulse 1.5s infinite alternate;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse-logo {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes fade-pulse {
    0% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}


/* =========================================
   PROFESSIONAL SEARCH BAR - RESPONSIVE
   ========================================= */

/* Main Search Container - Responsive Wrapper */
#property-search-form {
    position: relative;
    width: 100%;
    overflow: visible;
}

#search-container {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    background-color: white;
    border-radius: 1rem;
    padding: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    overflow: visible;
}

/* Mobile - Stay in row, items shrink/wrap */
@media (max-width: 640px) {
    #search-container {
        flex-direction: row;
        border-radius: 1rem;
        gap: 0.5rem;
        padding: 0.5rem;
        min-height: 44px;
    }

    #search-container > div {
        min-width: 0;
        flex-shrink: 1;
    }

    #search-container > div:first-child {
        flex: 1.2;
    }

    #search-container > div:nth-child(3) {
        flex: 0.8;
    }
}

/* Tablet and above - Row layout with rounded */
@media (min-width: 641px) {
    #search-container {
        flex-direction: row;
        border-radius: 9999px;
        gap: 0;
        padding: 0.75rem;
        align-items: center;
    }
}

/* Hover effect with proper z-index */
#search-container:hover {
    box-shadow: 0 0 50px rgba(231, 90, 42, 0.4);
}

/* Location Suggestions Dropdown */
#location-suggestions {
    position: fixed;
    z-index: 10000;
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
    overflow: hidden;
    max-height: 20rem;
    overflow-y: auto;
    min-width: 280px;
}

/* Mobile adjustments for location suggestions */
@media (max-width: 640px) {
    #location-suggestions {
        position: fixed;
        left: 1rem !important;
        right: 1rem !important;
        width: calc(100vw - 2rem);
        max-width: calc(100vw - 2rem);
        bottom: auto;
        top: auto;
    }
}

/* Tablet and desktop - Absolute positioning */
@media (min-width: 641px) {
    #location-suggestions {
        position: absolute;
        left: 0;
        right: auto;
        top: 100%;
        width: auto;
        min-width: 300px;
        margin-top: 0.5rem;
    }
}

/* 4K Screen adjustments */
@media (min-width: 2560px) {
    #location-suggestions {
        min-width: 400px;
        font-size: 1.1rem;
    }
}

#location-list {
    padding: 0.5rem 0;
    margin: 0;
    list-style: none;
}

#location-list li {
    padding: 0;
    margin: 0;
    transition: background-color 0.2s ease;
    border-left: 3px solid transparent;
    cursor: pointer;
}

#location-list li:hover {
    background-color: #f5f5f5;
    border-left-color: var(--primary);
}

#location-list button {
    width: 100%;
    text-align: left;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1f2937;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

#location-list button:hover {
    padding-left: 2rem;
    color: var(--primary);
}

/* Property Recommendations Dropdown */
#property-recommendations {
    position: absolute;
    z-index: 10000;
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
    overflow: hidden;
    max-height: 400px;
    left: 0;
    right: 0;
    top: 100%;
    width: 100%;
    margin-top: 0.75rem;
}

/* 4K Screen - Larger recommendation boxes */
@media (min-width: 2560px) {
    #property-recommendations {
        max-height: 600px;
        border-radius: 1.5rem;
    }

    #recommendations-list button {
        padding: 1.5rem;
        gap: 1.5rem;
    }

    #recommendations-list img {
        width: 5rem;
        height: 5rem;
    }

    #recommendations-list h4 {
        font-size: 1.1rem;
    }

    #recommendations-list p {
        font-size: 1rem;
    }
}

#recommendations-list {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-y: auto;
    max-height: 320px;
}

#recommendations-list button {
    width: 100%;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    background: transparent;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.2s ease;
}

#recommendations-list button:last-child {
    border-bottom: none;
}

#recommendations-list button:hover {
    background-color: #f5f5f5;
}

#recommendations-list img {
    width: 4rem;
    height: 4rem;
    border-radius: 0.5rem;
    object-fit: cover;
    transition: box-shadow 0.2s ease;
    flex-shrink: 0;
}

#recommendations-list button:hover img {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

#recommendations-list h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.25rem 0;
}

#recommendations-list p {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0 0 0.5rem 0;
}

#recommendations-list .flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

#recommendations-list .text-orange-600 {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.875rem;
}

#recommendations-list .text-gray-500 {
    color: #6b7280;
    font-size: 0.75rem;
}

#recommendations-list i {
    color: var(--primary);
    opacity: 0;
    transition: opacity 0.2s ease;
}

#recommendations-list button:hover i {
    opacity: 1;
}

/* Search Status Message */
#search-status {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(231, 90, 42, 0.3);
    border-radius: 0.75rem;
    color: var(--primary);
    font-size: 0.75rem;
    text-align: center;
    font-weight: 300;
}

/* Input Fields - Consistent styling */
#property-location,
#property-type {
    background-color: transparent;
    color: #1f2937;
    border: none;
    font-family: 'Poppins', sans-serif;
    min-width: 0;
}

#property-location::placeholder {
    color: #9ca3af;
}

#property-location:focus,
#property-type:focus {
    outline: none;
}

/* Icon positioning and color */
.flex-shrink-0.text-\[\#e75a2a\] {
    flex-shrink: 0;
    color: var(--primary);
}

/* Scrollbar styling for dropdowns */
#location-suggestions::-webkit-scrollbar,
#recommendations-list::-webkit-scrollbar {
    width: 6px;
}

#location-suggestions::-webkit-scrollbar-track,
#recommendations-list::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

#location-suggestions::-webkit-scrollbar-thumb,
#recommendations-list::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

#location-suggestions::-webkit-scrollbar-thumb:hover,
#recommendations-list::-webkit-scrollbar-thumb:hover {
    background: #d94a1a;
}

/* Firefox scrollbar */
#location-suggestions,
#recommendations-list {
    scrollbar-color: var(--primary) #f0f0f0;
    scrollbar-width: thin;
}

