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

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: white;
    overflow-x: hidden;
    overflow-y: auto;
}

/* NAVBAR */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;

    backdrop-filter: blur(10px);
    background: rgba(0,0,0,0.4);
}

.nav-container {
    display: flex;
    justify-content: center; /* 👈 CENTER EVERYTHING */
    align-items: center;
    padding: 15px 25px;
}

.logo {
    font-size: 1.2rem;
    font-weight: 600;
}

nav ul {
    display: flex;
    gap: 35px;
    list-style: none;
}

nav a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.3s;
}

nav a:hover {
    color: #f0a500;
}

/* ===== INTRO SCREEN ===== */
.intro {
    position: absolute;
    width: 100%;
    height: 100vh;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 900;

    transition: opacity 1s ease;
}

.intro.fade-out {
    opacity: 0;
    pointer-events: none;
}

.intro-content {
    text-align: center;
}

.stat-line {
    font-size: 2rem;
    margin: 20px 0;

    display: flex;
    justify-content: center;
    gap: 20px;
}

.stat-line span:first-child {
    color: #aaa;
}

.stat-line span:last-child {
    color: #f0a500;
    font-weight: bold;
}

/* ===== HERO ===== */
.hero {
    height: 100vh;
    background:
    
        url("assets/background.png") center/cover no-repeat;

    display: flex;
    justify-content: center;
    align-items: center; /* 👈 FIXED */
    text-align: center;

    padding-top: 700px;

    opacity: 0;
    transition: opacity 1s ease;
}

.hero.show {
    opacity: 1;
}

.hero-content {
    margin-bottom: 120px;
    max-width: 650px;

    transform: translateY(20px);
    opacity: 0;
    transition: all 1s ease;
}

.hero.show .hero-content {
    transform: translateY(0);
    opacity: 1;
}

/* MAIN TITLE */
.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.2;
}

/* SUBTEXT */
.hero p {
    margin: 15px 0 30px;
    font-size: 1.05rem;
    color: #bbb;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* BUTTON */
.btn {
    padding: 14px 32px;
    background: #f0a500;
    color: #000;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.5px;

    transition: all 0.3s ease;
}

.btn:hover {
    background: #ffbb33;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 25px rgba(240,165,0,0.3);
}

/* MOBILE */
@media (max-width: 768px) {
    .stat-line {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }
}

/* ===== LISTINGS PAGE ===== */
.listings-page {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: white;
}

/* FILTERS */
.filters {
    margin-top: 80px;
    display: flex;
    gap: 15px;
    padding: 20px;
    justify-content: center;
}

.filters input,
.filters select {
    padding: 10px;
    border-radius: 8px;
    border: none;
    background: #111;
    color: white;
}

/* CARDS */
.listings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 30px;
}

.card {
    border-radius: 20px;
    overflow: hidden;
    background: #111;
    transition: 0.3s;
}

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

.card-info {
    padding: 15px;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

/* FULLSCREEN PROPERTY */
.property-view {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: #000;
    z-index: 2000;

    display: none;
    flex-direction: column;

    animation: fadeIn 0.4s ease;
}

@property --fade {}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.property-view.active {
    display: flex;
}

/* BACK BUTTON */
.back-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2100;

    padding: 10px 18px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(6px);

    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 30px;

    font-size: 0.9rem;
    cursor: pointer;

    transition: 0.3s;
}

.back-btn:hover {
    background: #f0a500;
    color: #000;
}

/* PROPERTY CONTENT */
.property-content {
    display: flex;
    height: 100%;
}

/* GALLERY */
.gallery {
    flex: 1.2;
    position: relative;
    background: #000;
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease;
}

.gallery-controls {
    position: absolute;
    bottom: 25px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.gallery-controls button {
    width: 45px;
    height: 45px;
    border-radius: 50%;

    border: none;
    background: rgba(0,0,0,0.6);
    color: white;

    font-size: 1.2rem;
    cursor: pointer;

    transition: 0.3s;
}

.gallery-controls button:hover {
    background: #f0a500;
    color: #000;
}

/* DETAILS */
.details {
    flex: 1;
    padding: 50px 40px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.details h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.price {
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.price .old {
    text-decoration: line-through;
    color: #777;
    font-size: 1rem;
}

.price .new {
    color: #f0a500;
    font-size: 2rem;
    font-weight: bold;
}

.price::after {
    content: "Discount";
    background: #f0a500;
    color: #000;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 20px;
}

.details ul {
    margin-top: 10px;
    list-style: none;
}

.details li {
    margin: 8px 0;
    color: #ccc;
}

/* MOBILE */
@media (max-width: 768px) {

    .property-content {
        flex-direction: column;
    }

    .gallery {
        height: 45%;
    }

    .details {
        padding: 25px;
    }

    .details h1 {
        font-size: 1.8rem;
    }

    .price .new {
        font-size: 1.5rem;
    }
}

.card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: white;
}

/* HERO */
.hero {
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background: url("assets/background.png") center/cover;
}

.hero h2 {
    font-family: 'Playfair Display';
    font-size: 3rem;
}

.hero p {
    margin-top: 10px;
    color: #bbb;
}

/* STORY BLOCKS */
.story {
    padding: 80px 10%;
}

.block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 80px;
    gap: 40px;
}

.block.reverse {
    flex-direction: row-reverse;
}

.block img {
    width: 45%;
    border-radius: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.block img:hover {
    transform: scale(1.03);
}

.text {
    width: 50%;
}

.text h3 {
    font-family: 'Playfair Display';
    font-size: 2rem;
    margin-bottom: 10px;
}

.text p {
    color: #bbb;
    line-height: 1.6;
}

/* MAP */
.map-section {
    text-align: center;
    padding: 60px 10%;
}

.map-section iframe {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    margin-top: 20px;
    border: none;
}

/* LIGHTBOX */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.95);
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
}

.lightbox span {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    cursor: pointer;
}

.footer {
    text-align: center;
    padding: 30px;
    background: rgba(0,0,0,0.6);
    color: #aaa;
    margin-top: 80px;
}


/* CONTACT GRID */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    padding: 40px 10%;
    text-align: center;
}

.contact-card {
    background: #111;
    padding: 30px;
    border-radius: 15px;
    transition: 0.3s;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.contact-card img {
    width: 50px;
    margin-bottom: 15px;
}

.contact-card h3 {
    font-family: 'Playfair Display';
    margin-bottom: 10px;
}

.contact-card p {
    color: #bbb;
}

/* FORM */
.contact-form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: #111;
    color: white;
}

.contact-form button {
    padding: 12px;
    background: #f0a500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.contact-form button:hover {
    background: #ffbb33;
}

.hero-content {
    margin-bottom: 0; /* REMOVE PUSH DOWN */
}

html, body {
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.footer {
    margin-top: auto;
}