/* ========================================
   MENTA REAL ESTATE & SOTHEBY'S - PREMIUM STYLES
   ======================================== */

:root {
    --primary: #012b55;
    --primary-dark: #293243;
    --primary-light: #546e87;
    --secondary: #4d5a60;
    --white: #ffffff;
    --off-white: #fbfbfb;
    --gray-light: #fbfbfb;
    --gray-medium: #898989;
    --gray-dark: #4d5a60;
    --black: #000000;
    
    --font-display: 'Times New Roman', Georgia, serif;
    --font-body: 'Raleway', -apple-system, sans-serif;
    
    --shadow-sm: 0 1px 2px rgba(1, 43, 85, 0.05);
    --shadow: 0 4px 6px -1px rgba(1, 43, 85, 0.1);
    --shadow-md: 0 10px 25px -5px rgba(1, 43, 85, 0.1);
    --shadow-lg: 0 25px 50px -12px rgba(1, 43, 85, 0.2);
    
    --transition: all 0.3s ease;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.3;
    color: var(--primary);
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* NAVIGATION */
.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(1, 43, 85, 0.98);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo { display: flex; align-items: center; color: var(--white); }

.logo-text {
    font-family: var(--font-display);
    font-size: 1.3rem;
    letter-spacing: 0.1em;
}

.logo-text span { font-style: italic; }

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

.nav-links a {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
}

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

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span { width: 25px; height: 2px; background: var(--white); transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 35px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-white { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn-white:hover { background: transparent; color: var(--white); }

/* HERO */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920') center/cover;
    opacity: 0.15;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.hero-logo { margin-bottom: 50px; animation: fadeIn 1s ease; }

.hero-logo h1 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--white);
    margin-bottom: 10px;
}

.hero-logo h1 span { font-style: italic; }

.hero-divider { width: 60px; height: 1px; background: var(--white); margin: 30px auto; opacity: 0.5; }

.hero-tagline {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 15px;
    font-style: italic;
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 300;
    margin-bottom: 40px;
}

.hero-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent); margin: 10px auto 0; }

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

/* FEATURED PROPERTIES */
.featured-properties { padding: 100px 0; background: var(--white); }

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

.property-card {
    background: var(--white);
    border: 1px solid rgba(1, 43, 85, 0.1);
    overflow: hidden;
    transition: var(--transition);
}

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

.property-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.property-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary);
    color: var(--white);
    padding: 8px 16px;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.property-info { padding: 25px; }

.property-info h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 10px;
}

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

.property-location i { margin-right: 8px; color: var(--primary-light); }

.property-features {
    display: flex;
    gap: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(1, 43, 85, 0.1);
}

.property-features span {
    font-size: 0.85rem;
    color: var(--gray-dark);
}

.property-features i { margin-right: 6px; color: var(--primary-light); }

/* SECTIONS */
.section { padding: 100px 0; }
.section-alt { background: var(--off-white); }

.section-header { text-align: center; margin-bottom: 60px; }

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary-light);
    margin-bottom: 15px;
    font-weight: 500;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--primary);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-medium);
    max-width: 600px;
    margin: 0 auto;
}

/* Section with Image */
.section-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-with-image.reverse { direction: rtl; }
.section-with-image.reverse > * { direction: ltr; }

.section-image {
    position: relative;
    height: 500px;
    overflow: hidden;
}

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

.section-image::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 100px; height: 100px;
    background: var(--primary);
    opacity: 0.1;
}

.section-content .section-tag { text-align: left; display: block; }
.section-content .section-title { text-align: left; font-size: 2rem; }
.section-content .section-subtitle { text-align: left; margin: 0 0 30px 0; }

/* Services List Compact */
.services-list-compact { margin-top: 30px; }

.service-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(1, 43, 85, 0.1);
}

.service-item:last-child { border-bottom: none; }

.service-item i {
    font-size: 1.5rem;
    color: var(--primary);
    width: 40px;
    flex-shrink: 0;
}

.service-item h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.service-item p { font-size: 0.95rem; color: var(--gray-dark); line-height: 1.6; }

/* Check List */
.check-list { margin: 30px 0; }

.check-list li {
    padding: 10px 0;
    font-size: 0.95rem;
    color: var(--gray-dark);
}

.check-list i { color: var(--primary); margin-right: 12px; }

.objective-text {
    margin-top: 20px;
    padding: 20px;
    background: rgba(1, 43, 85, 0.05);
    font-size: 0.95rem;
    color: var(--primary-light);
    font-style: italic;
}

/* Image Banner */
.image-banner {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.banner-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(1, 43, 85, 0.85);
}

.banner-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    max-width: 700px;
    padding: 0 20px;
}

.banner-content h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 15px;
}

.banner-content p {
    font-size: 1.1rem;
    opacity: 0.8;
}

.marketing-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.marketing-features span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.marketing-features i { margin-right: 8px; }

/* Stats Banner */
.stats-banner {
    background: var(--primary);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item { color: var(--white); }

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

/* Investor Grid */
.investor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.investor-card {
    background: var(--white);
    padding: 40px 30px;
    border: 1px solid rgba(1, 43, 85, 0.1);
    text-align: center;
    transition: var(--transition);
}

.investor-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.investor-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(1, 43, 85, 0.05);
    border-radius: 50%;
}

.investor-icon i { font-size: 1.8rem; color: var(--primary); }

.investor-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.investor-card ul { text-align: left; }

.investor-card li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--gray-dark);
    padding-left: 15px;
    position: relative;
}

.investor-card li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* CONTACT */
.contact {
    background: var(--primary);
    color: var(--white);
    padding: 100px 0;
}

.contact .section-title { color: var(--white); }
.contact .section-subtitle { color: rgba(255, 255, 255, 0.7); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

.contact-info h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 30px;
}

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

.contact-item i { font-size: 1.2rem; color: rgba(255, 255, 255, 0.7); width: 25px; }
.contact-item span { font-size: 1rem; color: rgba(255, 255, 255, 0.9); }

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-group label {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.form-group input,
.form-group textarea {
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255, 255, 255, 0.4); }

.form-group textarea { resize: vertical; min-height: 120px; }

/* FOOTER */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 10px;
}

.footer-logo p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); }

.footer-links { display: flex; gap: 60px; }

.footer-links h4 {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); }
.footer-links a:hover { color: var(--white); }

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

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover { background: var(--white); color: var(--primary); }

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--primary);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transition: var(--transition);
    }
    .nav-links.active { right: 0; }
    .hamburger { display: flex; }
    .properties-grid { grid-template-columns: repeat(2, 1fr); }
    .section-with-image { grid-template-columns: 1fr; gap: 40px; }
    .section-with-image.reverse { direction: ltr; }
    .section-image { height: 350px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .investor-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero-logo h1 { font-size: 2.5rem; }
    .hero-tagline { font-size: 1.3rem; }
    .section { padding: 60px 0; }
    .section-title { font-size: 2rem; }
    .properties-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .stat-number { font-size: 2.5rem; }
    .investor-grid { grid-template-columns: 1fr; }
    .image-banner { height: 300px; background-attachment: scroll; }
    .banner-content h2 { font-size: 1.8rem; }
    .footer-content { flex-direction: column; gap: 40px; }
    .footer-links { flex-wrap: wrap; gap: 30px; }
}

@media (max-width: 480px) {
    .hero-logo h1 { font-size: 1.8rem; letter-spacing: 0.1em; }
    .hero-buttons { flex-direction: column; }
    .btn { padding: 12px 25px; font-size: 0.8rem; width: 100%; }
    .stats-grid { grid-template-columns: 1fr; }
}

/* SEARCH FILTERS */
.search-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    background: var(--white);
    padding: 30px;
    border: 1px solid rgba(1, 43, 85, 0.1);
    margin-bottom: 30px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-light);
    font-weight: 500;
}

.filter-group select {
    padding: 12px 15px;
    border: 1px solid rgba(1, 43, 85, 0.2);
    background: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--gray-dark);
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23546e87' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 35px;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.filter-btn {
    align-self: flex-end;
    padding: 12px 25px !important;
}

.results-info {
    margin-bottom: 30px;
    font-size: 0.95rem;
    color: var(--gray-medium);
}

.results-info span {
    font-weight: 600;
    color: var(--primary);
}

/* Properties Grid Full */
.properties-grid-full {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.section-cta {
    text-align: center;
    margin-top: 50px;
}

.load-more {
    text-align: center;
    margin-top: 50px;
}

/* Property Card Price */
.property-price {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.property-address {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 5px;
    font-weight: 500;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-medium);
}

.loading i {
    font-size: 2rem;
    margin-bottom: 15px;
    animation: spin 1s linear infinite;
}

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

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.no-results i {
    font-size: 3rem;
    color: var(--gray-medium);
    margin-bottom: 20px;
}

.no-results h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.no-results p {
    color: var(--gray-medium);
}

/* Responsive Search */
@media (max-width: 1024px) {
    .properties-grid-full {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .search-filters {
        grid-template-columns: 1fr 1fr;
    }
    
    .properties-grid-full {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .search-filters {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   PROPERTY DETAIL PAGE
   ======================================== */

.property-card { display: block; cursor: pointer; }

.property-detail { padding-top: 80px; }

.detail-loading {
    text-align: center;
    padding: 150px 20px;
    color: var(--gray-medium);
}

.detail-loading i { font-size: 2rem; margin-bottom: 15px; display: block; }

/* Back Link */
.detail-back {
    padding: 20px 0;
    background: var(--off-white);
}

.detail-back a {
    font-size: 0.9rem;
    color: var(--primary-light);
    font-weight: 500;
    letter-spacing: 0.05em;
}

.detail-back a:hover { color: var(--primary); }
.detail-back i { margin-right: 8px; }

/* Gallery */
.detail-gallery {
    background: var(--black);
}

.gallery-main {
    position: relative;
    max-height: 550px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-main img {
    width: 100%;
    max-height: 550px;
    object-fit: cover;
}

.gallery-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary);
    color: var(--white);
    padding: 8px 20px;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.gallery-thumbs {
    display: flex;
    gap: 4px;
    padding: 4px;
    overflow-x: auto;
    background: var(--primary-dark);
}

.gallery-thumb {
    flex: 0 0 100px;
    height: 70px;
    cursor: pointer;
    opacity: 0.5;
    transition: var(--transition);
    overflow: hidden;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    opacity: 1;
}

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

.gallery-more {
    flex: 0 0 100px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-more:hover { background: rgba(255,255,255,0.2); }

/* Detail Header */
.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 40px 0 30px;
    border-bottom: 1px solid rgba(1,43,85,0.1);
    gap: 20px;
    flex-wrap: wrap;
}

.detail-header h1 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.detail-location {
    font-size: 1rem;
    color: var(--gray-medium);
}

.detail-location i { margin-right: 6px; color: var(--primary-light); }

.detail-header-price { text-align: right; }

.detail-price {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--primary);
}

.detail-days {
    font-size: 0.85rem;
    color: var(--gray-medium);
}

/* Quick Stats */
.detail-stats {
    display: flex;
    gap: 0;
    padding: 30px 0;
    border-bottom: 1px solid rgba(1,43,85,0.1);
    flex-wrap: wrap;
}

.detail-stat {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 15px 10px;
    border-right: 1px solid rgba(1,43,85,0.1);
}

.detail-stat:last-child { border-right: none; }

.detail-stat i {
    display: block;
    font-size: 1.3rem;
    color: var(--primary-light);
    margin-bottom: 10px;
}

.detail-stat .stat-val {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.detail-stat .stat-lbl {
    font-size: 0.8rem;
    color: var(--gray-medium);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Detail Body */
.detail-body {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 50px;
    padding: 50px 0 80px;
}

.detail-section {
    margin-bottom: 50px;
}

.detail-section h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(1,43,85,0.1);
}

.detail-remarks {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-dark);
}

/* Tags */
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.detail-tag-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(1,43,85,0.05);
    font-size: 0.85rem;
    color: var(--primary);
}

.detail-tag-item i { font-size: 0.7rem; color: var(--primary-light); }

/* Full Details */
.detail-full-section {
    margin-bottom: 30px;
}

.detail-full-section h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

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

.detail-group h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-light);
    margin-bottom: 10px;
}

.detail-group ul {
    columns: 2;
    column-gap: 30px;
}

.detail-group li {
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--gray-dark);
    border-bottom: 1px solid rgba(1,43,85,0.05);
    break-inside: avoid;
}

/* History */
.detail-history {
    border: 1px solid rgba(1,43,85,0.1);
}

.history-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(1,43,85,0.05);
    font-size: 0.9rem;
}

.history-item:last-child { border-bottom: none; }
.history-date { color: var(--gray-medium); }
.history-val { color: var(--primary); font-weight: 600; }

/* Sidebar */
.sidebar-card {
    background: var(--off-white);
    padding: 30px;
    margin-bottom: 20px;
    border: 1px solid rgba(1,43,85,0.1);
}

.sidebar-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.sidebar-agent, .sidebar-office {
    font-size: 0.95rem;
    color: var(--gray-dark);
    margin-bottom: 10px;
}

.sidebar-agent i, .sidebar-office i {
    color: var(--primary-light);
    margin-right: 10px;
    width: 20px;
}

.sidebar-attribution {
    font-size: 0.8rem;
    color: var(--gray-medium);
    margin: 15px 0;
    line-height: 1.5;
}

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

.sidebar-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(1,43,85,0.08);
    font-size: 0.9rem;
}

.sidebar-row:last-child { border-bottom: none; }
.sidebar-row span { color: var(--gray-medium); }
.sidebar-row strong { color: var(--primary); font-weight: 500; }

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

.mls-disclaimer {
    font-size: 0.7rem;
    color: var(--gray-medium);
    line-height: 1.5;
    margin-top: 10px;
}

/* Photos Modal */
.photos-modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    overflow-y: auto;
    padding: 20px;
}

.photos-modal.open { display: block; }

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.modal-header h3 {
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.3rem;
}

.modal-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
}

.modal-close:hover { opacity: 0.7; }

.modal-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.modal-photo {
    position: relative;
    overflow: hidden;
}

.modal-photo img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.modal-room {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    color: var(--white);
    padding: 4px 12px;
    font-size: 0.8rem;
}

/* Detail Responsive */
@media (max-width: 1024px) {
    .detail-body { grid-template-columns: 1fr; }
    .detail-header h1 { font-size: 1.8rem; }
    .detail-price { font-size: 2rem; }
}

@media (max-width: 768px) {
    .detail-header { flex-direction: column; }
    .detail-header-price { text-align: left; }
    .detail-stats { flex-wrap: wrap; }
    .detail-stat { min-width: 100px; border-bottom: 1px solid rgba(1,43,85,0.1); }
    .gallery-main { max-height: 350px; }
    .gallery-main img { max-height: 350px; }
    .detail-group ul { columns: 1; }
    .modal-grid { grid-template-columns: 1fr; }
    .modal-photo img { height: 250px; }
}
