/* 
   LUXOR REAL ESTATE - CSS DESIGN SYSTEM
   Modern, Premium, and Responsive
*/

:root {
    --primary-color: #0f172a;
    --primary-light: #1e293b;
    --accent-color: #fbbf24;
    --accent-hover: #d97706;
    --secondary-color: #2563eb;
    --bg-light: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --container-max: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

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

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: var(--container-max);
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

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

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

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

.text-gradient {
    background: linear-gradient(to right, var(--accent-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header & Navigation */
#main-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 0;
    transition: var(--transition);
}

#main-header.scrolled {
    padding: 10px 0;
    background: #0f172a;
    color: white;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    letter-spacing: -1px;
}

.logo-accent {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Buttons */
.btn {
    padding: 12px 28px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

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

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}

.btn-search {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 40px;
}

.btn-full {
    width: 100%;
    margin-top: 15px;
}

.btn-outline-full {
    width: 100%;
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-main);
}

/* Hero Section */
#hero {
    height: 90vh;
    background: url('assets/hero-house.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.3));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    max-width: 800px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* Search Box in Hero */
.search-box-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-main);
}

.hero-search-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 8px 20px;
    border-radius: 30px;
    border: none;
    background: #e2e8f0;
    cursor: pointer;
    font-weight: 600;
}

.tab-btn.active {
    background: var(--primary-color);
    color: white;
}

.search-bar {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 15px;
}

.search-input {
    position: relative;
}

.search-input i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-input input, .search-input select {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-md);
    font-size: 1rem;
    outline: none;
}

/* Listings Layout */
.section-title {
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-muted);
}

.listings-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
}

/* Filters Sidebar */
.filters-sidebar {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius-lg);
    position: sticky;
    top: 100px;
    height: fit-content;
}

.filter-group {
    margin-bottom: 30px;
}

.filter-group h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.range-inputs {
    display: flex;
    gap: 10px;
}

.range-inputs input {
    width: 50%;
    padding: 10px;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
}

.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.custom-checkbox {
    display: block;
    margin-bottom: 10px;
}

/* Properties Grid */
.view-toggle {
    margin-bottom: 30px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.view-btn {
    padding: 10px 20px;
    border-radius: var(--radius-md);
    border: 1px solid #cbd5e1;
    background: white;
    cursor: pointer;
}

.view-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Property Card */
.property-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid #f1f5f9;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.property-img {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.property-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.property-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    z-index: 5;
}

.property-details {
    padding: 25px;
}

.property-details h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.property-location {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.property-specs {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 15px;
}

.property-specs span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.property-specs i {
    color: var(--secondary-color);
    margin-right: 5px;
}

.property-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Map Section */
.map-container {
    height: 600px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

#map {
    height: 100%;
    width: 100%;
}

.hidden {
    display: none !important;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 40px 30px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

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

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-lg);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--primary-color);
    color: white;
    padding: 30px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.experience-badge .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.sub-title {
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.features-list {
    margin: 30px 0;
}

.features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list i {
    color: var(--accent-color);
}

/* Testimonials */
.bg-overlay {
    background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)), url('assets/hero-house.jpg') center/cover fixed;
}

.section-title.white h2 {
    color: white;
    text-align: center;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.stars {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.client-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

/* Contact */
.contact-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-md);
    outline: none;
}

.contact-info-side {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius-lg);
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

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

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.social-links a:hover {
    background: var(--secondary-color);
    color: white;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    padding: 80px 0 20px;
}

.footer-content {
    display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo { margin-bottom: 20px; }
.footer-links h4, .footer-newsletter h4 { margin-bottom: 25px; }
.footer-links ul li { margin-bottom: 12px; }

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    border: none;
}

.newsletter-form button {
    background: var(--accent-color);
    padding: 12px 20px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    border: none;
    cursor: pointer;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Animations */
.animate-up { opacity: 0; transform: translateY(30px); animation: fadeInUp 0.8s forwards; }
.animate-left { opacity: 0; transform: translateX(-30px); animation: fadeInSide 0.8s forwards; }
.animate-right { opacity: 0; transform: translateX(30px); animation: fadeInSide 0.8s forwards; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInSide {
    to { opacity: 1; transform: translateX(0); }
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Responsive */
@media (max-width: 968px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .listings-layout { grid-template-columns: 1fr; }
    .about-layout { grid-template-columns: 1fr; }
    .contact-container { grid-template-columns: 1fr; }
    .search-bar { grid-template-columns: 1fr; }
    .testimonials-slider { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; }
}
