﻿/* =========================================================
   LUXURY GLOBAL DESIGN SYSTEM
   ========================================================= */

:root {
    /* Primary Colors */
    --lux-navy: #0F172A;
    --lux-dark: #0F172A;
    --lux-slate: #1F2937;
    --lux-white: #FFFFFF;

    /* Accent Colors */
    --lux-gold: #C9A86A;
    --lux-taupe: #D9CBB6;

    /* Neutrals */
    --lux-gray-light: #E5E7EB;
    --lux-gray-medium: #9CA3AF;
    --lux-shadow: rgba(0,0,0,0.25);

    /* UI */
    --lux-dark-glass: rgba(15, 23, 42, 0.55);
    --lux-radius: 12px;
    --lux-transition: 0.3s ease;
}

body {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: var(--lux-slate);
    line-height: 1.6;
    padding-top: 90px;
}

/* =========================================================
   PREMIUM NAVIGATION BAR
   ========================================================= */

.lux-nav {
    z-index: 2000;
    backdrop-filter: blur(12px);
    background: var(--lux-dark-glass);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 0.75rem 0;
}

.lux-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.lux-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--lux-white);
}

.lux-links {
    gap: 2rem;
}

.lux-link {
    position: relative;
    color: var(--lux-white) !important;
    opacity: 0.85;
    text-decoration: none;
}

.lux-link:hover {
    opacity: 1;
}

.lux-link:hover::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 1px;
    background: var(--lux-white);
    border-radius: 2px;
}

.lux-link.active {
    position: relative;
    opacity: 1;
}

.lux-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: var(--lux-white); 
    border-radius: 2px;
}

/* Mobile menu */
.lux-menu-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
}

.lux-mobile-menu {
    display: none;
    flex-direction: column;
    background: rgba(15, 23, 42, 0.95);
    padding: 1rem 1.5rem;
}

.lux-mobile-link {
    color: var(--lux-white);
    text-decoration: none;
    padding: 0.75rem 0;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.lux-mobile-link:last-child {
    border-bottom: none;
}

/* =========================================================
   HERO SECTION 
   ========================================================= */

.hero-section {
    position: relative;
    height: 70vh;
    min-height: 480px;
    overflow: hidden;
}

/* Hero Image */
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: top; 
    filter: brightness(0.80);
    animation: heroZoom 6s ease-out forwards;
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1);  }
}

@keyframes heroFadeUp {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.hero-overlay {
    position: absolute;
    bottom: 50px; 
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    max-width: 75%;
    text-align: center;
    color: white;
    opacity: 0;
    animation: heroFadeUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    padding: 0 1rem;
}

.hero-overlay h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-shadow: 0 6px 18px rgba(0,0,0,0.55);
}

.hero-overlay p {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.45;
    font-weight: 300;
    margin-top: 0.75rem;
    text-shadow: 0 4px 12px rgba(0,0,0,0.45);
}

.hero-tagline {
    font-size: 1.4rem;
    font-weight: 300;
    opacity: 0.95;
}

.hero-facts {
    font-family: 'Inter', sans-serif;
}

.hero-address {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 600;
}

.hero-location {
    font-size: 1.2rem;
    opacity: 0.85;
}

.hero-price {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
}

/* Text Shadow */
.hero-overlay h1,
.hero-overlay p {
    text-shadow: 0 6px 18px rgba(0,0,0,0.55);
}

/* =========================================================
   GALLERY
   ========================================================= */

.gallery-hover {
    transition: transform var(--lux-transition), box-shadow var(--lux-transition);
}

.gallery-hover:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px var(--lux-shadow);
}

.gallery-item img {
    border-radius: var(--lux-radius);
}

/* Tabs */
.nav-tabs .nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.75rem 1.25rem;
    border-radius: var(--lux-radius) var(--lux-radius) 0 0;
}

.nav-tabs .nav-link.active {
    background-color: var(--lux-dark);
    color: var(--lux-white);
}

.gallery-caption {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    opacity: 0.85;
    margin-top: 0.5rem;
    text-align: center;
}

/* =========================================================
   MODERN HIGHLIGHTS GRID
   ========================================================= */

.highlights-grid {
    opacity: 0;
    animation: fadeInUp 1.2s ease-out forwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(25px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.highlight-card {
    background: #ffffff;
    padding: 24px;
    border-radius: 14px;
    text-align: center;
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0,0,0,0.05);
}

/* Hover animation */
.highlight-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

/* Mobile refinement */
@media (max-width: 768px) {
    .highlight-card {
        font-size: 1.05rem;
        padding: 20px;
    }
}


/* =========================================================
   AGENT SECTION
   ========================================================= */

.agent-hero {
    position: relative;
    overflow: hidden;
    height: 65vh;
}

/* Hero Image */
.agent-hero-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center top;
    filter: brightness(0.90);
    opacity: 0;
    animation: agentHeroFade 1.2s ease-out forwards;
}

@keyframes agentHeroFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Hero Text Overlay */
.agent-overlay {
    position: absolute;
    bottom: 40px; 
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0;
    animation: agentTextRise 1.4s ease-out forwards;
}


@keyframes agentTextRise {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(25px);
    }

    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Ultra-Subtle Glow Behind Text */
.agent-overlay::before {
    content: "";
    position: absolute;
    inset: -15px;
    background: radial-gradient( circle at center, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0) 75% );
    z-index: -1;
    filter: blur(6px);
}

/* Agent Photo Hover */
.agent-photo {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.agent-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

/* Agent Specialty Cards */
.agent-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.agent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.agent-contact a {
    color: var(--luxury-dark, #111);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.agent-contact a:hover {
    border-color: rgba(0,0,0,0.3);
}

.agent-contact p {
    line-height: 1.6;
}


/* =========================================================
   AGENT PAGE
   ========================================================= */

.agent-photo {
    transition: transform var(--lux-transition), box-shadow var(--lux-transition);
}

.agent-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.agent-card {
    transition: transform var(--lux-transition), box-shadow var(--lux-transition);
    border-radius: var(--lux-radius);
}

.agent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.agent-card h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.agent-card p {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */

input.form-control-lg,
textarea.form-control-lg {
    transition: box-shadow var(--lux-transition);
    border-radius: var(--lux-radius);
}

input.form-control-lg:focus,
textarea.form-control-lg:focus {
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
}

.form-label {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1rem;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn-dark {
    background-color: var(--lux-dark);
    border-radius: var(--lux-radius);
    padding: 0.6rem 1.4rem;
    transition: background var(--lux-transition), transform var(--lux-transition);
}

.btn-dark:hover {
    background-color: #1e293b;
    transform: translateY(-2px);
}

.btn-outline-dark {
    border-radius: var(--lux-radius);
    padding: 0.6rem 1.4rem;
    transition: background var(--lux-transition), transform var(--lux-transition);
}

.btn-outline-dark:hover {
    background-color: var(--lux-dark);
    color: var(--lux-white);
    transform: translateY(-2px);
}

/* =========================================================
   HOMEPAGE ENHANCEMENTS
   ========================================================= */

.quick-stats .col {
    border-right: 1px solid var(--lux-gray-light);
}

.quick-stats .col:last-child {
    border-right: none;
}

.property-story {
    background: var(--lux-gray-light);
    border-radius: var(--lux-radius);
    padding: 3rem 2rem;
}

.video-frame iframe {
    border-radius: var(--lux-radius);
}

.highlight-item {
    padding: 1.5rem;
    border-radius: var(--lux-radius);
    background: var(--lux-gray-light);
    transition: var(--lux-transition);
}

.highlight-item:hover {
    background: var(--lux-taupe);
    transform: translateY(-3px);
}

.agent-home-photo {
    max-width: 200px;
    transition: transform var(--lux-transition), box-shadow var(--lux-transition);
}

.agent-home-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px var(--lux-shadow);
}

/* =========================================================
   PREMIUM FOOTER
   ========================================================= */

.lux-footer {
    background: var(--lux-dark);
    color: var(--lux-white);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
}

.lux-footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: var(--lux-white);
}

.lux-footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.lux-footer-link {
    color: var(--lux-white);
    opacity: 0.95;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    transition: opacity var(--lux-transition);
}

.lux-footer-link:hover {
    opacity: 1;
}

.lux-footer-contact {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.6;
}

.lux-footer-copy {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    opacity: 0.75;
    margin-top: 1rem;
}

/* =========================================================
   MLS LISTINGS PAGE
   ========================================================= */

.lux-listing-card {
    background: var(--lux-white);
    border-radius: var(--lux-radius);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: var(--lux-transition);
    overflow: hidden;
}

.lux-listing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--lux-shadow);
}

.listing-photo {
    border-radius: var(--lux-radius);
    transition: var(--lux-transition);
}

.listing-photo:hover {
    transform: scale(1.03);
}

.lux-listing-body {
    padding: 1.25rem;
}

.lux-listing-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.lux-listing-price {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--lux-gold);
    margin-bottom: 0.75rem;
}

.lux-listing-details {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    opacity: 0.85;
    margin-bottom: 1rem;
}

.lux-idx-wrapper {
    border-radius: var(--lux-radius);
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.lux-idx-frame {
    width: 100%;
    height: 700px;
    border: none;
}

/* =========================================================
   GALLERY PAGE
   ========================================================= */

.gallery-header {
    margin-top: -20px;
    padding-bottom: 10px;
}

.gallery-address {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    font-weight: 600;
}

.gallery-location {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    opacity: 0.85;
}

.luxury-heading {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 600;
}

.luxury-tabs .nav-link {
    font-family: 'Inter', sans-serif;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.luxury-tabs .nav-link.active {
    background-color: #000;
    color: #fff;
}

.luxury-tabs .nav-link:hover {
    background-color: #eaeaea;
}

.featured-row {
    margin-bottom: 3rem;
}

.featured-image {
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.featured-image:hover {
    transform: scale(1.02);
}

.featured-caption {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    opacity: 0.9;
    margin-top: 1rem;
}

.gallery-caption {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    opacity: 0.85;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item {
    position: relative;
}

.gallery-image {
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.02);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0));
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 0 0 12px 12px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.glightbox-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0));
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    text-align: left;
}

.glightbox-overlay span {
    display: block;
    padding-bottom: 0.25rem;
}

.virtual-tour-box {
    background: #000;
    color: #fff;
    padding: 2.5rem 1rem;
    border-radius: 12px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    transition: background 0.3s ease;
}

.virtual-tour-box:hover {
    background: #333;
}

/* =========================================================
   GALLERY PAGE
   ========================================================= */

.history-address {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    opacity: 0.85;
}

/* =========================================================
   LOCATION PAGE
   ========================================================= */

.location-block {
    width: 75%;
    margin: 0 auto;
}

/* Headings: Left-aligned, elegant */
.location-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    font-size: 2.25rem;
    letter-spacing: -0.3px;
    color: #1a1f2e;
    text-align: left;
    margin-bottom: 1rem;
}

/* Paragraphs: Left-aligned, premium spacing */
.location-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    line-height: 1.55;
    font-weight: 300;
    text-align: left;
    margin-bottom: 1.25rem; 
}

.location-gallery {
    width: 75%;
    margin: 0 auto;
}

.location-photo {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.location-caption {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    text-align: center;
    margin-top: 0.5rem;
    opacity: 0.85;
}
