/*
Theme Name: Luxora Infinity Custom Theme
Theme URI: https://luxorainfinity.ae
Author: Fazal Karim
Description: Custom WordPress theme
Version: 1.0
*/

/* =========================
   GLOBAL
========================= */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: #222;
    background: #ffffff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================
   HEADER
========================= */
.site-header {
    background: #111;
    color: #fff;
    padding: 35px 0;
    text-align: center;
}

.site-header h1 {
    margin: 0;
    font-size: 28px;
    letter-spacing: 0.5px;
}

.site-header p {
    margin: 5px 0 0;
    font-size: 14px;
    color: #ccc;
}

/* =========================
   HERO SECTION
========================= */
.hero-banner {
    min-height: 550px;
    background: #222;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 50px 20px;
}

.hero-content {
    max-width: 700px;
}

.hero-content h2 {
    font-size: 46px;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 25px;
}

.hero-btn {
    display: inline-block;
    padding: 14px 28px;
    background: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}

/* =========================
   ABOUT SECTION
========================= */
.about-section {
    padding: 100px 0;
    background: #f8f8f8;
}

.about-content {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

.about-content h3 {
    font-size: 36px;
    margin-bottom: 25px;
    font-weight: 600;
}

.about-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #444;
}

/* =========================
   PROPERTIES SECTION
========================= */
.properties-section {
    padding: 120px 0;
    background: #fff;
}

.properties-section h3 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

/* Grid */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Card */
.property-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.property-card:hover {
    transform: translateY(-6px);
}

/* Image */
.property-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: 0.4s;
}

.property-card:hover img {
    transform: scale(1.05);
}

/* Content */
.property-card h4 {
    font-size: 19px;
    margin: 15px;
}

.property-card .price {
    font-weight: bold;
    margin: 0 15px 10px;
    color: #000;
}

.property-card p {
    margin: 0 15px 10px;
    color: #555;
}

/* Button */
.property-btn {
    display: inline-block;
    margin: 15px;
    padding: 10px 18px;
    background: #111;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    transition: 0.3s;
}

.property-btn:hover {
    background: #333;
}

/* =========================
   COMING SOON
========================= */
.coming-soon {
    min-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #111;
    color: #fff;
}

.coming-content h1 {
    font-size: 56px;
    margin-bottom: 20px;
}

.coming-content p {
    font-size: 22px;
}

/* =========================
   FOOTER
========================= */
footer {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 25px 0;
    margin-top: 60px;
}
/* =========================
   PROPERTY DETAIL PAGE
========================= */

.property-detail {
    padding: 80px 0;
}

.property-title {
    font-size: 36px;
    margin-bottom: 20px;
}

.property-image img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.property-price {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
}

.property-meta {
    font-size: 18px;
    margin-bottom: 25px;
    color: #555;
}

.property-description {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* WhatsApp Button */
.whatsapp-btn {
    display: inline-block;
    padding: 14px 24px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}
/* =========================
   PROPERTY HERO
========================= */
.property-hero {
    position: relative;
}

.property-hero img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.property-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
}

.property-hero-overlay h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.hero-price {
    font-size: 24px;
    font-weight: bold;
}

/* =========================
   PROPERTY DETAIL
========================= */
.property-detail {
    padding: 60px 0;
}

.property-meta {
    font-size: 18px;
    margin-bottom: 20px;
    color: #555;
}

.property-description {
    line-height: 1.7;
    margin-bottom: 30px;
}

/* CTA */
.property-cta {
    margin-top: 30px;
}

.whatsapp-btn {
    display: inline-block;
    padding: 14px 24px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}
/* =========================
   FLOATING WHATSAPP BUTTON
========================= */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    z-index: 999;
    transition: 0.3s;
}

.whatsapp-float:hover {
    background: #1ebe5d;
    transform: scale(1.1);
}
/* Property Action Buttons */
.property-actions {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    gap: 10px;
}

.whatsapp-small {
    display: inline-block;
    padding: 10px 14px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    transition: 0.3s;
}

.whatsapp-small:hover {
    background: #1ebe5d;
}
/* =========================
   PROPERTY GALLERY FIXED
========================= */
.property-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 25px 0;
}

.property-gallery img {
    width: 100%;
    aspect-ratio: 1 / 1;   /* keeps nice rectangle */
    object-fit: cover;
    border-radius: 10px;
    display: block;
    transition: 0.3s;
}

.property-gallery img:hover {
    transform: scale(1.05);
}
/* =========================
   LIGHTBOX
========================= */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

#close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

/* Clickable images */
.gallery-item img {
    cursor: pointer;
}
/* =========================
   PROPERTY SLIDER
========================= */

.property-slider {
    position: relative;
    margin: 30px 0;
}

.slider-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

/* Arrows */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    font-size: 24px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    z-index: 10;
}

.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }

/* Thumbnails */
.slider-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    overflow-x: auto;
}

.slider-thumbs img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 5px;
    opacity: 0.7;
}

.slider-thumbs img:hover {
    opacity: 1;
}
