:root {
    --primary: #FF4F02;
    --primary-dark: #e04500;
    --dark: #1a1a2e;
    --dark-2: #16213e;
    --light: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #f0f0f0;
    --gray-200: #e0e0e0;
    --gray-400: #999;
    --gray-600: #666;
    --gray-800: #333;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --shadow: 0 4px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 50px rgba(0,0,0,0.12);
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--gray-800); line-height: 1.7; }
h1,h2,h3,h4 { font-family: var(--font-heading); line-height: 1.3; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(255,255,255,0.97); backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08); padding: 12px 0;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.navbar-logo { display: flex; align-items: center; gap: 10px; }
.navbar-logo .logo-icon {
    width: 42px; height: 42px; background: var(--primary); border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: white; font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem;
}
.navbar-logo .logo-text { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: var(--dark); }
.nav-back { display: flex; align-items: center; gap: 8px; color: var(--gray-600); font-weight: 500; font-size: 0.92rem; }
.nav-back:hover { color: var(--primary); }

.property-hero {
    margin-top: 70px; position: relative; height: 500px; overflow: hidden; background: var(--dark);
}
.property-hero img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.property-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(transparent 30%, rgba(26,26,46,0.85));
    display: flex; align-items: flex-end; padding: 50px 0;
}
.property-hero-content { width: 100%; }
.property-hero-content .status-badge {
    display: inline-block; padding: 6px 20px; border-radius: 50px;
    font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
    margin-bottom: 16px;
}
.status-for-sale { background: rgba(255,79,2,0.9); color: white; }
.status-upcoming { background: rgba(22,191,191,0.9); color: white; }
.status-closed { background: rgba(26,26,46,0.85); color: white; border: 1px solid rgba(255,255,255,0.3); }
.property-hero-content h1 { font-size: clamp(2rem, 4vw, 3rem); color: white; margin-bottom: 8px; }
.property-hero-content .location { color: rgba(255,255,255,0.7); font-size: 1.05rem; display: flex; align-items: center; gap: 8px; }
.property-hero-content .location i { color: var(--primary); }

.gallery { padding: 60px 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-grid .gallery-item {
    border-radius: var(--radius); overflow: hidden; height: 220px; cursor: pointer; position: relative;
}
.gallery-grid .gallery-item:first-child { grid-column: span 2; grid-row: span 2; height: 100%; }
.gallery-grid .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-grid .gallery-item:hover img { transform: scale(1.05); }

.property-details { padding: 0 0 80px; }
.details-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; }
.detail-section { margin-bottom: 40px; }
.detail-section h2 { font-size: 1.5rem; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--gray-100); }
.detail-section h2 i { color: var(--primary); margin-right: 10px; font-size: 1.2rem; }

.overview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.overview-item {
    background: var(--gray-50); border-radius: var(--radius); padding: 20px; text-align: center;
    transition: var(--transition);
}
.overview-item:hover { background: white; box-shadow: var(--shadow); }
.overview-item i { font-size: 1.5rem; color: var(--primary); margin-bottom: 8px; }
.overview-item .label { font-size: 0.8rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.5px; }
.overview-item .value { font-size: 1.1rem; font-weight: 700; color: var(--dark); }

.features-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; list-style: none; }
.features-list li {
    display: flex; align-items: center; gap: 10px; padding: 10px 16px;
    background: var(--gray-50); border-radius: 8px; font-size: 0.92rem;
}
.features-list li i { color: var(--primary); font-size: 0.85rem; }

.sidebar-card {
    background: white; border-radius: var(--radius); padding: 32px;
    box-shadow: var(--shadow); position: sticky; top: 100px;
}
.sidebar-card h3 { font-size: 1.2rem; margin-bottom: 20px; }
.sidebar-card .price-label { font-size: 0.85rem; color: var(--gray-400); }
.sidebar-card .price { font-size: 1.8rem; font-weight: 700; color: var(--primary); margin-bottom: 24px; }
.sidebar-card .btn {
    display: block; width: 100%; padding: 14px; text-align: center; border-radius: 50px;
    font-weight: 600; font-size: 0.95rem; cursor: pointer; border: none;
    font-family: var(--font-body); transition: var(--transition); margin-bottom: 12px;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255,79,2,0.3); }
.btn-dark { background: var(--dark); color: white; }
.btn-dark:hover { background: var(--dark-2); }
.sidebar-info { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--gray-100); }
.sidebar-info .info-item { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.sidebar-info .info-item i { color: var(--primary); width: 20px; text-align: center; }
.sidebar-info .info-item span { font-size: 0.9rem; color: var(--gray-600); }

.footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 40px 0; text-align: center; }
.footer p { font-size: 0.85rem; }
.footer a { color: var(--primary); }

.lightbox {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 9999;
    justify-content: center; align-items: center;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90%; max-height: 85vh; border-radius: var(--radius); }
.lightbox-close {
    position: absolute; top: 20px; right: 30px; font-size: 2rem; color: white;
    cursor: pointer; background: none; border: none;
}
.lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    font-size: 2rem; color: white; cursor: pointer; background: rgba(255,255,255,0.1);
    border: none; padding: 16px 20px; border-radius: 50%;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

@media (max-width: 768px) {
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid .gallery-item:first-child { grid-column: span 2; height: 250px; }
    .gallery-grid .gallery-item { height: 150px; }
    .details-grid { grid-template-columns: 1fr; }
    .overview-grid { grid-template-columns: repeat(2, 1fr); }
    .features-list { grid-template-columns: 1fr; }
    .property-hero { height: 350px; }
}
