/* ===== GENERAL ===== */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
}

/* ===== HEADER ===== */
header {
    text-align: center;
    padding: 1rem;
    background: #1e3a8a;
    color: white;
}

header h1 {
    font-size: 2rem;
}

/* ===== NAV ===== */
nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    background: #374151;
    padding: 10rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 20px;
}

nav a:hover {
    color: #10b981;
}

/* ===== CONTENT ===== */
.content {
    padding: 10rem;
}

.section {
    margin-bottom: 2rem;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ===== PROPERTY ===== */
.property-container {
    display: flex;
    gap: 30px;
    margin: 40px auto;
    max-width: 1000px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.property-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 10px;
}

.property-details {
    flex: 1;
}

.price {
    font-size: 22px;
    font-weight: bold;
}

/* ===== BUTTON ===== */
.inquire-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #10b981;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
}

.inquire-btn:hover {
    background: #059669;
}

/* ===== CAROUSEL ===== */
.carousel {
    position: relative;
    max-width: 900px;
    margin: auto;
    overflow: hidden;
    text-align: center;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
}

.slide img,
.slide video {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    border-radius: 10px;
}

/* BUTTONS */
.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #10b981;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* ===== GALLERY ===== */
.gallery img {
    width: 550px;
    height: 475px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    margin: 5rem auto 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gallery video {
    width: 550px;
    height: 375px;
    margin: 5rem auto;
    display: block;
}

.caption {
    text-align: center;
    font-size: 20px;
    font-weight: 500;
}

/* ===== MARQUEE ===== */
.marquee {
    background: #28a745;
    color: white;
    padding: 10px;
    overflow: hidden;
}

.marquee p {
    white-space: nowrap;
    animation: scrollText 30s linear infinite;
}

.marquee p:hover {
    animation-play-state: paused;
}

@keyframes scrollText {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}

/* ===== FOOTER ===== */
.footer-dark {
    background: #0f172a;
    color: #e5e7eb;
    padding: 40px 0;
    text-align: center;
}

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

    header h1 {
        font-size: 1.5rem;
    }

    nav {
        flex-direction: column;
        gap: 10px;
    }

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

    .gallery img,
    .gallery video {
        width: 100%;
        height: auto;
        margin: 2rem auto;
    }

    /* 🔥 FIXED CAROUSEL MOBILE */
    .slide img,
    .slide video {
        max-height: 280px;
    }

    /* 🔥 BUTTONS BELOW IMAGE */
    .prev,
    .next {
        position: static;
        transform: none;
        display: inline-block;
        margin: 8px;
        padding: 8px 12px;
    }
}

/* newhhhhhhhhhhh */

/* 🌸 ELEGANT WOMEN STYLE THEME */

body {
    font-family: 'Libre Baskerville', serif;
    background: #fff8f6;
    color: #4a3f3f;
    margin: 0;
}

/* HEADER */
header {
    background: linear-gradient(to right, #f8e1e7, #fdf6f0);
    text-align: center;
    padding: 40px 20px;
    border-bottom: 1px solid #f1d5db;
}

header h1 {
    font-size: 28px;
    font-weight: 600;
    color: #b76e79;
    /* rose gold tone */
}

header p {
    font-size: 14px;
    color: #6d5c5c;
}

/* NAVIGATION */
nav {
    background: brown;
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 25px;
    border-bottom: 2px solid #eee;
}

nav a {
    text-decoration: none;
    font-size:large;
    color: whitesmoke;
    font-weight: 800;
    padding: 8px 14px;
    border-radius: 5px;
    transition: 0.3s;
}

nav a:hover {
    background: #f8e1e7;
}

/* MARQUEE */
.marquee {
    background: #fff0f3;
    padding: 10px;
    font-size: 13px;
    color: #b76e79;
    text-align: center;
}

/* SECTION */
.section {
    padding: 40px 20px;
    text-align: center;
}

.section h2 {
    color: #b76e79;
    margin-bottom: 15px;
}

/* CAROUSEL */
.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.slide img,
.slide video {
    width: 100%;
    border-radius: 15px;
}

.slide p {
    margin-top: 10px;
    font-size: 14px;
    color: #6d5c5c;
}

/* BUTTON STYLE */
.inquire-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 18px;
    border-radius: 25px;
    background: linear-gradient(to right, #d4a5a5, #b76e79);
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.inquire-btn:hover {
    background: linear-gradient(to right, #b76e79, #a05561);
}

/* PROPERTY CARD */
.property-container {
    display: flex;
    flex-wrap: wrap;
    background: #ffffff;
    margin: 25px auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    max-width: 1000px;
}

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

.property-image {
    flex: 1 1 300px;
}

.property-details {
    flex: 1 1 300px;
    padding: 20px;
    text-align: left;
}

.property-details h2 {
    color: #b76e79;
    font-size: 18px;
}

.property-details ul {
    padding-left: 18px;
    font-size: 14px;
}

/* HERO */
.hero {
    background: linear-gradient(to right, #f8e1e7, #fdf6f0);
    text-align: center;
    padding: 60px 20px;
}

.hero h1 {
    color: #b76e79;
    font-size: 32px;
}

/* FOOTER */
.footer-dark {
    background: #4a3f3f;
    color: #fff;
}

.footer-dark h4,
.footer-dark h5 {
    color: #f8e1e7;
}

.soc .footer-dark a {
    color: #f8e1e7;
    text-decoration: none;
}

.footer-dark a:hover {
    text-decoration: underline;
}

/* SOCIAL BUTTON */
ial-btn {
    display: inline-flex;
    background: #f8e1e7;
    color: #4a3f3f;
    padding: 10px;
    border-radius: 20px;
    font-size: 13px;
    margin-top: 10px;
}

/* MOBILE */
@media (max-width: 768px) {
    .property-container {
        flex-direction: column;
    }

    nav {
        flex-direction: row;
    }


.floating-btn {
    position: fixed;
    bottom: 10px;
    right: 20px;
    background: #b76e79;
    color: white;
    font-size: 10px;
    padding: 15px;
    border-radius: 20%;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: row;
    gap: 0rem;
    background: #374151;
    padding: 1rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 0;
    /* font-weight: 800; */
    padding: 2px 8px;
    border-radius: 2px;
}

nav a:hover {
    color: gold;
}
}