/* ========================================
   HOMEPAGE STYLES
   Greece Real Estate Mockup
   ======================================== */

/* ─── CONTAINER ─── */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 60px;
}

/* ─── HERO ─── */
.hero {
    height: 92vh;
    min-height: 600px;
    background: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=1920&q=85') center/cover no-repeat;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,35,53,0.75) 0%, rgba(26,58,92,0.4) 100%);
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 700px;
    padding: 0 60px;
    color: var(--white);
}

.hero-tag {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-sub {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    max-width: 500px;
}

/* ─── BUTTONS ─── */
.btn-gold {
    display: inline-block;
    background: var(--gold);
    color: var(--navy-dark);
    padding: 14px 36px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: var(--radius);
    transition: var(--transition);
    border: 2px solid var(--gold);
}

.btn-gold:hover {
    background: transparent;
    color: var(--gold);
}

.btn-outline {
    display: inline-block;
    border: 2px solid var(--navy);
    color: var(--navy);
    padding: 12px 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: var(--radius);
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--navy);
    color: var(--white);
}

/* ─── FILTER BAR ─── */
.filters-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 80px;
    z-index: 999;
}

.filters-bar .container {
    display: flex;
    gap: 0;
    overflow-x: auto;
    padding: 0 60px;
}

.filter-btn {
    display: inline-block;
    padding: 18px 24px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--text-light);
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    color: var(--navy);
    border-bottom-color: var(--gold);
}

/* ─── SECTION HEADER ─── */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: clamp(30px, 3.5vw, 44px);
    color: var(--navy);
}

/* ─── PROPERTY GRID ─── */
.section-properties {
    padding: 90px 0;
    background: var(--cream);
}

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

.property-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 16px var(--shadow);
    transition: var(--transition);
    display: block;
}

.property-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 40px rgba(26,58,92,0.2);
}

.card-image {
    height: 240px;
    overflow: hidden;
    position: relative;
}

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

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

.card-type {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--navy);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
}

.card-status {
    position: absolute;
    top: 16px;
    right: 16px;
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.card-body { padding: 22px; }

.card-body h3 {
    font-size: 18px;
    color: var(--navy);
    margin-bottom: 8px;
    font-family: 'Playfair Display', serif;
}

.card-location {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 14px;
}

.card-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 14px;
}

.card-stats span {
    font-size: 13px;
    color: var(--text);
}

.card-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--gold);
    font-family: 'Playfair Display', serif;
}

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

/* ─── WHY CHOOSE US ─── */
.section-why {
    padding: 90px 0;
    background: var(--white);
}

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

.why-card {
    text-align: center;
    padding: 30px 20px;
}

.why-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.why-card h3 {
    font-size: 18px;
    color: var(--navy);
    margin-bottom: 12px;
    font-family: 'Playfair Display', serif;
}

.why-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ─── CTA BANNER ─── */
.cta-banner {
    background: var(--navy);
    padding: 80px 0;
    text-align: center;
}

.cta-banner h2 {
    font-size: clamp(28px, 3vw, 40px);
    color: var(--white);
    margin-bottom: 15px;
}

.cta-banner p {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 35px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
    .property-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .container { padding: 0 30px; }
    .hero-content { padding: 0 30px; }
    .filters-bar .container { padding: 0 30px; }
    .property-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .section-properties { padding: 60px 0; }
}

@media (max-width: 600px) {
    .container { padding: 0 20px; }
    .hero-content { padding: 0 20px; }
    .filters-bar .container { padding: 0 20px; }
    .property-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .card-image { height: 200px; }
}