:root {
    --cardinal: #990000;
    --dark-cardinal: #650000;
    --gold: #ffcc00;
    --cream: #fffaf0;
    --dark: #1b1b1b;
    --gray: #666;
    --light: #f5f5f5;
    --white: #fff;
    --shadow: 0 12px 35px rgba(0,0,0,.10);
    --radius: 18px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================
   NAVIGATION
========================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 14px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 55px;
    width: auto;
    max-height: 100%;
}

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

.nav-links a {
    font-size: 14px;
    font-weight: 700;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--cardinal);
}

.language {
    display: flex;
    background: #f2f2f2;
    padding: 4px;
    border-radius: 30px;
}

.language button {
    border: none;
    background: transparent;
    padding: 7px 12px;
    border-radius: 20px;
    font-weight: 700;
    cursor: pointer;
    font-size: 13px;
}

.language button.active {
    background: var(--cardinal);
    color: white;
}

.menu-btn {
    display: none;
    border: none;
    background: none;
    font-size: 26px;
    cursor: pointer;
}

/* =========================
   HERO
========================= */

.hero {
    min-height: 620px;
    display: flex;
    align-items: center;
    color: white;
    background:
        linear-gradient(
            90deg,
            rgba(85,0,0,.92),
            rgba(110,0,0,.68),
            rgba(0,0,0,.18)
        ),
        url("https://images.unsplash.com/photo-1560185008-b033106af5c3?auto=format&fit=crop&w=2000&q=85")
        center/cover;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    margin: auto;
    padding: 70px 25px;
}

.badge {
    display: inline-block;
    background: var(--gold);
    color: #5a0000;
    padding: 7px 15px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(40px, 6vw, 68px);
    line-height: 1.05;
    max-width: 850px;
    margin-bottom: 22px;
}

.hero h1 span {
    color: var(--gold);
}

.hero p {
    max-width: 620px;
    font-size: 18px;
    margin-bottom: 28px;
    opacity: 0.95;
}

.address {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 28px;
    font-weight: 700;
}

.buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 25px;
    border-radius: 9px;
    font-weight: 800;
    cursor: pointer;
    border: none;
    font-size: 15px;
    transition: 0.2s;
}

.btn-primary {
    background: var(--gold);
    color: #550000;
}

.btn-primary:hover {
    background: #ffe06b;
}

.btn-outline {
    border: 2px solid white;
    color: white;
    background: transparent;
}

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

.btn-secondary {
    background: var(--cardinal);
    color: white;
}

.btn-secondary:hover {
    background: var(--dark-cardinal);
}

/* =========================
   QUICK INFO
========================= */

.quick-info {
    max-width: 1100px;
    margin: -45px auto 0;
    position: relative;
    z-index: 10;
    background: white;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    display: grid;
    grid-template-columns: repeat(4,1fr);
    padding: 25px;
}

.info-item {
    text-align: center;
    border-right: 1px solid #eee;
}

.info-item:last-child {
    border-right: none;
}

.info-item strong {
    display: block;
    color: var(--cardinal);
    font-size: 24px;
}

.info-item span {
    color: var(--gray);
    font-size: 13px;
}

/* =========================
   GENERAL
========================= */

section {
    padding: 80px 25px;
}

.container {
    max-width: 1200px;
    margin: auto;
}

.section-header {
    max-width: 700px;
    margin-bottom: 40px;
}

.section-header.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.eyebrow {
    color: var(--cardinal);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.section-header h2 {
    font-size: clamp(30px,4.5vw,44px);
    line-height: 1.15;
    margin: 10px 0 14px;
}

.section-header p {
    color: var(--gray);
}

.page-hero {
    background: linear-gradient(135deg, var(--dark-cardinal), var(--cardinal));
    color: white;
    padding: 70px 25px 50px;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(32px, 5vw, 48px);
    margin: 12px 0;
}

.page-hero p {
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* =========================
   ABOUT
========================= */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;
}

.about-image {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.feature-list {
    display: grid;
    gap: 18px;
    margin-top: 25px;
}

.feature {
    display: flex;
    gap: 14px;
}

.feature-icon {
    min-width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff1f1;
    color: var(--cardinal);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 900;
    font-size: 14px;
}

/* =========================
   PROPERTY
========================= */

.property-section {
    background: var(--light);
}

.property-card {
    background: white;
    border-radius: var(--radius);
    padding: 35px;
    box-shadow: var(--shadow);
}

.property-title {
    color: var(--cardinal);
    font-size: 30px;
    margin-bottom: 8px;
}

.property-address {
    font-size: 16px;
    color: #555;
    margin-bottom: 22px;
}

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

.property-feature {
    background: #fafafa;
    padding: 18px;
    border-radius: 12px;
}

.property-feature strong {
    display: block;
    color: var(--cardinal);
    margin-bottom: 4px;
    font-size: 14px;
}

.property-desc {
    color: #444;
    margin: 18px 0;
    line-height: 1.7;
}

/* =========================
   APARTMENTS
========================= */

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

.apartment-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,.07);
    transition: .25s;
    border: 1px solid #f0f0f0;
}

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

.apartment-image {
    height: 210px;
    position: relative;
}

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

.availability {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #d9f7df;
    color: #167532;
    padding: 5px 11px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
}

.availability.unavailable {
    background: #fde8e8;
    color: #b42318;
}

.apartment-content {
    padding: 20px;
}

.apartment-content h3 {
    color: var(--cardinal);
    margin-bottom: 6px;
    font-size: 18px;
}

.apartment-content p {
    font-size: 14px;
    color: #555;
}

.details {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 14px 0;
}

.detail {
    background: #f3f3f3;
    padding: 4px 9px;
    border-radius: 6px;
    font-size: 12px;
}

.price {
    font-size: 22px;
    font-weight: 900;
    color: var(--dark);
}

.price small {
    color: #777;
    font-size: 12px;
    font-weight: 600;
}

/* =========================
   GALLERY
========================= */

.gallery {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-auto-rows: 180px;
    gap: 12px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    cursor: pointer;
}

.gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.video-label {
    position: absolute;
    left: 12px;
    bottom: 12px;
    background: rgba(0,0,0,.75);
    color: white;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 12px;
}

/* =========================
   BLOG
========================= */

.blog-section {
    background: var(--cream);
}

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

.blog-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,.06);
    transition: .25s;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-date {
    color: var(--cardinal);
    font-size: 12px;
    font-weight: 800;
}

.blog-content h3 {
    margin: 8px 0;
    font-size: 17px;
    line-height: 1.3;
}

.blog-content p {
    font-size: 14px;
    color: #555;
}

/* =========================
   REVIEWS
========================= */

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

.review {
    border: 1px solid #eee;
    border-radius: var(--radius);
    padding: 26px;
    background: white;
}

.stars {
    color: #dfa600;
    letter-spacing: 2px;
    margin-bottom: 12px;
    font-size: 16px;
}

.review p {
    color: #555;
    font-style: italic;
    font-size: 15px;
    line-height: 1.6;
}

.reviewer {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 18px;
}

.avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--cardinal);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
}

/* =========================
   FAQ
========================= */

.faq {
    max-width: 850px;
    margin: auto;
}

.faq-item {
    border-bottom: 1px solid #ddd;
}

.faq-question {
    width: 100%;
    padding: 18px 0;
    border: none;
    background: none;
    text-align: left;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--dark);
}

.faq-answer {
    display: none;
    color: #666;
    padding-bottom: 18px;
    font-size: 15px;
    line-height: 1.6;
}

.faq-item.open .faq-answer {
    display: block;
}

/* =========================
   CONTACT
========================= */

.contact-section {
    background: var(--cardinal);
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 55px;
}

.contact-info h2 {
    font-size: 40px;
    line-height: 1.1;
    margin: 12px 0 18px;
}

.contact-info p {
    color: #f5dcdc;
}

.contact-details {
    margin-top: 28px;
    display: grid;
    gap: 16px;
}

.contact-detail strong {
    display: block;
    color: var(--gold);
    font-size: 13px;
    margin-bottom: 2px;
}

.contact-form {
    background: white;
    color: var(--dark);
    padding: 28px;
    border-radius: var(--radius);
}

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

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
}

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

.disclaimer {
    margin-top: 30px;
    font-size: 12px;
    color: #f5dcdc;
    line-height: 1.5;
    opacity: 0.9;
}

/* =========================
   MAP
========================= */

.map-section {
    padding-top: 0;
}

.map-box {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-box iframe {
    width: 100%;
    height: 380px;
    border: 0;
}

/* =========================
   SOCIAL
========================= */

.social-links {
    display: flex;
    gap: 14px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    color: white;
    transition: 0.2s;
}

.social-links a:hover {
    background: var(--gold);
    color: var(--dark-cardinal);
}

.social-links svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 14px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #333;
    color: #ccc;
    transition: 0.2s;
}

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

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* =========================
   FOOTER
========================= */

footer {
    background: #1b1b1b;
    color: #aaa;
    padding: 45px 25px 25px;
}

.footer-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

footer h3 {
    color: white;
    margin-bottom: 12px;
    font-size: 16px;
}

footer a {
    display: block;
    margin: 7px 0;
    font-size: 14px;
}

footer a:hover {
    color: white;
}

.copyright {
    max-width: 1200px;
    margin: 30px auto 0;
    padding-top: 18px;
    border-top: 1px solid #333;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

/* =========================
   PAGE CONTENT HELPERS
========================= */

.content-block {
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.7;
    color: #444;
}

.content-block h3 {
    color: var(--cardinal);
    margin: 28px 0 10px;
    font-size: 20px;
}

.cta-box {
    background: var(--light);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    margin-top: 40px;
}

.cta-box h3 {
    margin-bottom: 10px;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:900px) {

    .nav-links {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 25px;
        box-shadow: var(--shadow);
        gap: 16px;
    }

    .nav-links.show {
        display: flex;
    }

    .menu-btn {
        display: block;
    }

    .quick-info {
        grid-template-columns: repeat(2,1fr);
        margin: -20px 20px 0;
    }

    .info-item {
        border: none;
        padding: 12px;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

    .apartment-grid,
    .blog-grid,
    .review-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery {
        grid-template-columns: repeat(2,1fr);
        grid-auto-rows: 160px;
    }

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

@media(max-width:600px) {

    section {
        padding: 55px 18px;
    }

    .hero {
        min-height: 560px;
    }

    .hero-content {
        padding: 45px 20px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .quick-info {
        grid-template-columns: 1fr 1fr;
        padding: 14px;
    }

    .apartment-grid,
    .blog-grid,
    .review-grid {
        grid-template-columns: 1fr;
    }

    .gallery {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 130px;
    }

    .gallery-item:first-child {
        grid-column: span 2;
        grid-row: span 1;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .page-hero {
        padding: 50px 20px 40px;
    }
}
