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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1420px;
    margin: 0 auto;
    padding: 0;
}

h1, h2, h3 {
    font-weight: 600;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2a2a2a;
}

/* FRESH HERO SECTION - CLEAN START */

/* Hero Container - 50vh height */
.hero {
    display: flex;
    height: 50vh;
    width: 100%;
    background: #ece7e4;
}

/* Info Panel - Left Side - 25% width */
.hero-info-panel {
    width: 25%;
    background: linear-gradient(135deg, #b8860b 0%, #d4af37 100%);
    color: white;
    padding: 2rem;
    overflow-y: auto;
    flex-shrink: 0;
    order: 1;
}

/* Image Grid Container - Right Side - 75% width */
.hero-grid {
    width: 75%;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: repeat(3, 1fr);
    gap: 8px;
    padding: 8px;
    background: #ece7e4;
    order: 2;
}

/* All grid items */
.hero-grid-item {
    overflow: hidden;
    position: relative;
    min-height: 0;
}

.hero-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Grid positions */
.hero-main {
    grid-column: 1;
    grid-row: 1 / 4;
}

.hero-secondary-1 {
    grid-column: 2;
    grid-row: 1;
}

.hero-secondary-2 {
    grid-column: 3;
    grid-row: 1;
}

.hero-tertiary-1 {
    grid-column: 2;
    grid-row: 2;
}

.hero-tertiary-2 {
    grid-column: 3;
    grid-row: 2;
}

.hero-tertiary-3 {
    grid-column: 2;
    grid-row: 3;
}

.hero-tertiary-4 {
    grid-column: 3;
    grid-row: 3;
}

/* Info Panel Content */
.hero-info-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding: 0.75rem;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
}

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

.hero-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.7rem;
    opacity: 0.9;
    text-transform: uppercase;
}

.hero-features {
    display: grid;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    font-size: 0.9rem;
}

.hero-feature svg {
    flex-shrink: 0;
}

.hero-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem;
    background: rgba(0,0,0,0.2);
    border-radius: 6px;
    margin-bottom: 1.25rem;
}

.hero-price .price-from {
    font-size: 0.8rem;
}

.hero-price .price-amount {
    font-size: 2rem;
    font-weight: 700;
}

.hero-price .price-period {
    font-size: 0.85rem;
}

.btn-hero {
    display: block;
    width: 100%;
    padding: 0.875rem;
    background: white;
    color: #b8860b;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Building Details Section */
.building-details {
    padding: 80px 0;
    background: white;
}

.details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.intro-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
}

.details-main p {
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Building Features */
.building-features {
    margin-top: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: #fff;
    border-color: #b8860b;
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.1);
}

.feature-item svg {
    color: #b8860b;
    flex-shrink: 0;
}

/* Price Card */
.price-card {
    background: linear-gradient(135deg, #b8860b 0%, #d4af37 100%);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(184, 134, 11, 0.2);
    position: sticky;
    top: 20px;
}

.price-card h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.price-range {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.price-from {
    font-size: 0.9rem;
    opacity: 0.9;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin: 0.5rem 0;
}

.price-period {
    font-size: 1rem;
    opacity: 0.9;
}

.price-slider-container {
    margin-bottom: 1.5rem;
}

.price-slider-container label {
    display: block;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

#priceSlider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255,255,255,0.3);
    outline: none;
    -webkit-appearance: none;
}

#priceSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

#priceSlider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.price-slider-value {
    text-align: center;
    margin-top: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.btn-primary {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    background: white;
    color: #b8860b;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

/* Quick Info */
.quick-info {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #e9ecef;
    margin-top: 2rem;
}

.quick-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

.quick-info h3:first-child {
    margin-top: 0;
}

.quick-info p {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: #666;
    line-height: 1.6;
}

.quick-info svg {
    color: #b8860b;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Apartments Section */
.apartments {
    padding: 80px 0;
    background: #f8f9fa;
}

.apartment-filters {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2a2a2a;
}

.filter-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #495057;
}

.filter-btn:hover {
    border-color: #b8860b;
    color: #b8860b;
}

.filter-btn.active {
    background: #b8860b;
    border-color: #b8860b;
    color: white;
}

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

.apartment-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.apartment-card.hidden {
    display: none;
}

.apartment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.apartment-image {
    position: relative;
    padding-top: 66.67%;
    overflow: hidden;
    background: #e9ecef;
}

.apartment-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.apartment-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #b8860b;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.apartment-content {
    padding: 1.5rem;
}

.apartment-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.apartment-type {
    color: #b8860b;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.apartment-features {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    color: #666;
}

.apartment-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.apartment-feature svg {
    color: #b8860b;
}

.apartment-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.apartment-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.apartment-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: #b8860b;
}

.apartment-price-period {
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
}

.btn-view {
    padding: 0.75rem 1.5rem;
    background: #b8860b;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-view:hover {
    background: #9a7209;
    transform: translateX(4px);
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
}

.no-results p {
    font-size: 1.25rem;
}

/* Location Map Section */
.location-map {
    padding: 80px 0;
    background: white;
}

.map-container {
    margin-bottom: 4rem;
}

#map {
    height: 500px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

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

.attraction-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #e9ecef;
    text-align: center;
    transition: all 0.3s ease;
}

.attraction-card:hover {
    background: white;
    border-color: #b8860b;
    box-shadow: 0 4px 16px rgba(184, 134, 11, 0.1);
}

.attraction-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b8860b;
    border: 2px solid #b8860b;
}

.attraction-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.distance {
    color: #b8860b;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.attraction-card p:not(.distance) {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #b8860b 0%, #d4af37 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        height: auto;
    }

    .hero-info-panel {
        width: 100%;
        order: 2;
    }

    .hero-grid {
        width: 100%;
        height: 400px;
        order: 1;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .price-card {
        position: static;
    }

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

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

    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 1fr);
        height: auto;
        aspect-ratio: auto;
    }

    .hero-grid-item {
        aspect-ratio: 4/3;
    }

    .hero-main {
        grid-column: 1;
        grid-row: 1;
    }

    .hero-secondary-1 {
        grid-column: 2;
        grid-row: 1;
    }

    .hero-secondary-2 {
        grid-column: 1;
        grid-row: 2;
    }

    .hero-tertiary-1 {
        grid-column: 2;
        grid-row: 2;
    }

    .hero-tertiary-2 {
        grid-column: 1;
        grid-row: 3;
    }

    .hero-tertiary-3 {
        grid-column: 2;
        grid-row: 3;
    }

    .hero-tertiary-4 {
        display: none;
    }

    .hero-info-panel {
        padding: 2rem 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 1rem;
    }

    .hero-stat-value {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .apartments-grid {
        grid-template-columns: 1fr;
    }

    .apartment-filters {
        flex-direction: column;
        gap: 1.5rem;
    }

    .attractions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-price .price-amount,
    .hero-stat-value {
        font-size: 1.75rem;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
        padding: 1rem;
    }
}
