/* ---=== GOOGLE FONTS ===--- */
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Damion&family=Jost:wght@500&family=Lexend:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
/* ---=== CSS VARIABLES ===--- */
:root {
    /* Color Palette */
    --burgundy-primary: #4f0e22;
    --burgundy-dark: #3b0817;
    --burgundy-light: #A91B3D;
    --burgundy-ultra-light: #f496a9;
    --white: #FFFFFF;
    --cream: #FEF9F6;
    --light-gray: #f4ccd359;
    --medium-gray: #E9ECEF;
    --dark-gray: #2c2e31;
    --text-dark: #212529;
    --text-medium: #1e2429;
    
    /* Gradients */
    --primary-gradient: linear-gradient(135deg, #8B1538 0%, #A91B3D 50%, #D4526B 100%);
    --secondary-gradient: linear-gradient(135deg, #FEF9F6 0%, #FFFFFF 100%);
    --hero-gradient: linear-gradient(135deg, rgba(139, 21, 56, 0.95) 0%, rgba(169, 27, 61, 0.85) 100%);
    --card-gradient: linear-gradient(145deg, #FFFFFF 0%, #FEF9F6 100%);
    --border-gradient: linear-gradient(90deg, #8B1538, #D4526B);
    
    /* Typography */
    --font-primary: 'Jost', sans-serif;
    --font-display: 'Jost', serif;
    
    /* Shadows */
    --shadow-light: 0 2px 10px rgba(139, 21, 56, 0.08);
    --shadow-medium: 0 8px 25px rgba(139, 21, 56, 0.12);
    --shadow-heavy: 0 15px 40px rgba(139, 21, 56, 0.15);
    --shadow-burgundy: 0 10px 30px rgba(139, 21, 56, 0.3);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ---=== BASE & UTILITY STYLES ===--- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--burgundy-primary);
    text-decoration: none;
    transition: var(--transition-medium);
}

a:hover {
    color: var(--burgundy-dark);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--text-medium);
}

.section-title {
    text-align: center;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem auto;
    font-size: 1.2rem;
    color: var(--text-medium);
}

.highlight {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.view {
    display: none;
}

.view.active {
    display: block;
}

.content-section {
    padding: 6rem 0;
}

.text-center {
    text-align: center;
}

/* ---=== HEADER & NAVIGATION ===--- */
header {
    background: var(--burgundy-dark);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--medium-gray);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-light);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 50px;
    transition: var(--transition-medium);
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-tabs {
    display: flex;
    gap: 0.5rem;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--white);
    padding: 12px 20px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-medium);
    border-radius: 25px;
    position: relative;
    overflow: hidden;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    transition: var(--transition-medium);
    z-index: -1;
}

.tab-btn:hover::before {
    left: 0;
}

.tab-btn:hover {
    color: var(--white);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: var(--primary-gradient);
    color: var(--white);
    font-weight: 600;
    box-shadow: var(--shadow-burgundy);
}

.mobile-nav {
    display: none;
}

.mobile-menu {
    display: none;
}

.hamburger-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #FFFFFF;
    border-radius: 3px;
    transition: var(--transition-medium);
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---=== HERO SECTION ===--- */
.hero-video-container {
    display: none;
}

/* Create the collage container with better coverage */
.hero-collage-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-collage {
    position: absolute;
    top: -15%;
    left: -20%;
    width: 140%;
    height: 130%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    transform: skew(-15deg);
    transform-origin: center;
}

.collage-segment {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
    background-attachment: fixed;
}

/* Individual image segments - replace these paths with your actual image paths */
.segment-1 {
    background-image: url('../assets/images/Image1-min.jpg');
}

.segment-2 {
    background-image: url('../assets/images/image2-min.jpg');
}

.segment-3 {
    background-image: url('../assets/images/Image3-min.jpg');
}

.segment-4 {
    background-image: url('../assets/images/Image4-min.jpg');
}

/* Subtle hover effect on segments */
.collage-segment:hover {
    transform: scale(1.02);
}

/* Enhanced overlay for better text readability */
.hero-overlay {
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.1) 20%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.2) 60%
    );
    z-index: 2;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Enhanced hero content positioning and styling */
.hero-inner {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    padding: 2rem;
}

/* Enhanced text styling for better prominence */
.hero-title {
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9), 
                 1px 1px 3px rgba(0, 0, 0, 0.8);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: #ffffff;
    position: relative;
}

.hero-title .highlight {
    text-shadow: 3px 3px 6px rgba(139, 69, 19, 0.8), 
                 1px 1px 3px rgba(0, 0, 0, 0.9);
    color: #fff;
    position: relative;
}

.hero-title .highlight::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8B4513, #D2691E);
    border-radius: 2px;
}

.hero-description {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9), 
                 1px 1px 2px rgba(0, 0, 0, 0.8);
    font-weight: 500;
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 600px;
    color: #ffffff;
}

/* Enhanced CTA buttons - Mobile-first approach */
.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 500px;
}

.hero-cta .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    flex: 1;
    min-width: 200px;
    max-width: 240px;
}

.hero-cta .btn-primary {
    background: var(--burgundy-light);
    color: white;
    border: none;
}

.hero-cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.4);
    background: linear-gradient(45deg, #D2691E, #8B4513);
}

.hero-cta .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.hero-cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Ensure proper hero section sizing */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Animation for hero content */
@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    animation: heroFadeInUp 1s ease-out 0.3s both;
}

.hero-description {
    animation: heroFadeInUp 1s ease-out 0.6s both;
}

.hero-cta {
    animation: heroFadeInUp 1s ease-out 0.9s both;
}

/* ---=== BUTTONS ===--- */
.btn {
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-medium);
    border: 2px solid transparent;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    border: 2px solid transparent;
    box-shadow: var(--shadow-burgundy);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 45px rgba(139, 21, 56, 0.4);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--burgundy-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.btn-tertiary {
    background: var(--white);
    color: var(--burgundy-primary);
    border: 2px solid var(--burgundy-primary);
    box-shadow: var(--shadow-light);
}

.btn-tertiary:hover {
    background: var(--primary-gradient);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-burgundy);
}

/* ---=== TRUSTED BY SECTION ===--- */
.trusted-by-section {
    background: var(--light-gray);
    padding: 4rem 0;
    text-align: center;
}

.trusted-by-section p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 3rem;
    color: var(--text-medium);
    font-weight: 600;
}

.logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.logos-grid img {
    height: 40px;
    opacity: 0.6;
    transition: var(--transition-medium);
    filter: grayscale(100%);
}

.logos-grid img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* ---=== CARDS & GRIDS ===--- */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.info-card {
    background: var(--card-gradient);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--medium-gray);
    transition: var(--transition-medium);
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: var(--transition-medium);
}

.info-card:hover::before {
    transform: scaleX(1);
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.info-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.info-card p {
    color: var(--text-medium);
    line-height: 1.6;
}
/* -- PROCESS SECTION --*/

.process-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    padding: 5rem 0;
    position: relative;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e0e4e7 50%, transparent 100%);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.process-card {
    background: #ffffff;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 32px rgba(25, 25, 112, 0.08);
    border: 1px solid rgba(25, 25, 112, 0.05);
    transition: all 0.4s ease;
    overflow: hidden;
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #191970, #4169E1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.process-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(25, 25, 112, 0.15);
}

.process-card:hover::before {
    opacity: 1;
}

.process-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #191970 0%, #4169E1 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    position: relative;
    box-shadow: 0 8px 24px rgba(25, 25, 112, 0.2);
}

.process-icon {
    width: 40px;
    height: 40px;
    fill: white;
}

.process-number {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #8B4513, #D2691E);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
}

.process-card h3 {
    color: #191970;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.process-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* Enhanced Insights Section CSS */

.insights-section {
    background: #ffffff;
    padding: 5rem 0;
    position: relative;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.insight-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.insight-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.insight-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.insight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.insight-card:hover .insight-image img {
    transform: scale(1.05);
}

.insight-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.1) 50%,
        rgba(0, 0, 0, 0.3) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.insight-card:hover .insight-overlay {
    opacity: 1;
}

.insight-content {
    padding: 2.5rem 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.insight-content h3 {
    color: #191970;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.insight-content p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.insight-link {
    color: #8B4513;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.insight-link span {
    transition: transform 0.3s ease;
}

.insight-link:hover {
    color: #D2691E;
}

.insight-link:hover span {
    transform: translateX(4px);
}

/* ---=== TESTIMONIALS ===--- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--card-gradient);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--medium-gray);
    box-shadow: var(--shadow-light);
    position: relative;
    transition: var(--transition-medium);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--burgundy-light);
    font-family: var(--font-display);
    opacity: 0.3;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.6;
}

.testimonial-footer {
    border-top: 1px solid var(--medium-gray);
    padding-top: 1rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--burgundy-primary);
    margin-bottom: 0.5rem;
}

.testimonial-location {
    color: var(--text-medium);
    font-size: 0.9rem;
}

/* ---=== CTA SECTION ===--- */
.cta-section {
    background: var(--primary-gradient);
    border-radius: 25px;
    padding: 5rem 3rem;
    text-align: center;
    margin: 6rem 0;
    box-shadow: var(--shadow-burgundy);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

/* ---=== PROPERTIES VIEW ===--- */
.property-filters {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--card-gradient);
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--medium-gray);
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    min-width: 200px;
    flex: 1;
}

.filter-group label {
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-size: 1rem;
}

.filter-select {
    padding: 1rem;
    border: 2px solid var(--medium-gray);
    border-radius: 12px;
    background: var(--white);
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition-medium);
    font-family: var(--font-primary);
}

.filter-select:focus {
    outline: none;
    border-color: var(--burgundy-primary);
    box-shadow: 0 0 0 3px rgba(139, 21, 56, 0.1);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.property-card {
    background: var(--card-gradient);
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: var(--transition-medium);
    border: 1px solid var(--medium-gray);
    position: relative;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.property-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    cursor: pointer;
    background: var(--light-gray);
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.property-image:hover img {
    transform: scale(1.1);
}

.image-count {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(139, 21, 56, 0.9);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.no-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, var(--light-gray), var(--medium-gray));
    color: var(--text-medium);
    font-size: 1.3rem;
    font-weight: 500;
}

.property-content {
    padding: 2rem;
}

.property-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.property-location {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 1rem;
}

.pricing-options {
    margin-bottom: 2rem;
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 15px;
}

.price-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--medium-gray);
}

.price-option:last-child {
    border-bottom: none;
}

.price-option span {
    color: var(--text-medium);
    font-weight: 500;
}

.price-option strong {
    color: var(--burgundy-primary);
    font-weight: 700;
    font-size: 1.2rem;
}

.property-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.property-actions .btn {
    flex: 1;
    min-width: 140px;
    text-align: center;
    font-size: 1rem;
    background: midnightblue
}

.loading-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem;
    color: var(--text-medium);
}

.no-properties {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem;
    background: var(--card-gradient);
    border-radius: 20px;
    margin-top: 3rem;
    border: 1px solid var(--medium-gray);
}

.no-properties h3 {
    color: var(--burgundy-primary);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.no-properties p {
    color: var(--text-medium);
    font-size: 1.1rem;
}

/* ---=== FAQ SECTION ===--- */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-gradient);
    border-radius: 15px;
    margin-bottom: 1rem;
    border: 1px solid var(--medium-gray);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: var(--transition-medium);
}

.faq-item:hover {
    box-shadow: var(--shadow-medium);
}

.faq-question {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition-medium);
    background: transparent;
    position: relative;
}

.faq-question:hover {
    color: var(--burgundy-primary);
}

.faq-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-medium);
    flex-shrink: 0;
}

.faq-icon::before {
    content: '+';
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    transition: var(--transition-medium);
}

.faq-item.active .faq-icon::before {
    content: '−';
    transform: rotate(180deg);
}

.faq-item.active .faq-question {
    color: var(--burgundy-primary);
    background: var(--light-gray);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.faq-answer.active {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 2rem 2rem 2rem;
    margin: 0;
    color: var(--text-medium);
    line-height: 1.6;
    font-size: 1rem;
}

/* ---=== CONTACT US SECTION ===--- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-section {
    background: var(--card-gradient);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--medium-gray);
}

.contact-info-section h3 {
    color: var(--burgundy-primary);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.contact-methods {
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: var(--transition-medium);
}

.contact-method:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--burgundy-primary);
    margin-top: 0.2rem;
}

.contact-details h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-details p {
    margin: 0;
    color: var(--text-medium);
    line-height: 1.4;
}

.contact-details a {
    color: var(--burgundy-primary);
    font-weight: 500;
    transition: var(--transition-medium);
}

.contact-details a:hover {
    color: var(--burgundy-dark);
}

.social-media h3 {
    color: var(--burgundy-primary);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    align-items: left;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: left;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.social-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
}

/* Individual social media brand colors */
.social-link.facebook {
    color: #1877f2;
    border-color: rgba(24, 119, 242, 0.3);
}

.social-link.facebook:hover {
    background: #1877f2;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.social-link.tiktok {
    color: #ffffff;
    border-color: rgba(0, 0, 0, 0.3);
}

.social-link.tiktok:hover {
    background: linear-gradient(45deg, #ff0050, #00f2ea);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 80, 0.3);
}

.social-link.whatsapp {
    color: #25d366;
    border-color: rgba(37, 211, 102, 0.3);
}

.social-link.whatsapp:hover {
    background: #25d366;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.contact-form-section {
    background: var(--card-gradient);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--medium-gray);
}

.contact-form-section h3 {
    color: var(--burgundy-primary);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1.2rem;
    border: 2px solid var(--medium-gray);
    border-radius: 12px;
    background: var(--white);
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition-medium);
    font-family: var(--font-primary);
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--burgundy-primary);
    box-shadow: 0 0 0 3px rgba(139, 21, 56, 0.1);
}

.form-group textarea {
    min-height: 120px;
}

.contact-form .btn {
    margin-top: 1rem;
    align-self: flex-start;
    min-width: 200px;
}

.office-hours {
    background: var(--light-gray);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.hours-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--medium-gray);
    transition: var(--transition-medium);
}

.hours-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.hours-item strong {
    color: var(--burgundy-primary);
    font-size: 1.1rem;
}

/* ---=== ABOUT VIEW ===--- */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    background: var(--card-gradient);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--medium-gray);
}

.about-text h3 {
    color: var(--burgundy-primary);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.about-text p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-list {
    list-style: none;
    padding: 0;
}

.about-list li {
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 10px;
    border-left: 4px solid var(--burgundy-primary);
}

.about-list li strong {
    color: var(--burgundy-primary);
}

/* ---=== FEATURED SECTION ===--- */
.featured-section {
    background: var(--light-gray);
    padding: 5rem 3rem;
    margin: 1rem 0;
}

.featured-property {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.featured-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.featured-image img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    transition: var(--transition-slow);
}

.featured-image:hover img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-gradient);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-burgundy);
}

.featured-content h3 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-family: var(--font-display);
}

.featured-subtitle {
    font-size: 1.2rem;
    color: var(--burgundy-primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.featured-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.featured-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-tag {
    background: var(--white);
    color: var(--burgundy-primary);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--burgundy-light);
}

.featured-pricing {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.price-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-light);
}

.price-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.price-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--burgundy-primary);
}

/* ---=== INSIGHTS SECTION ===--- */
.insights-section {
    background: var(--cream);
}

#image-gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.95);
}

.gallery-container {
    position: relative;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-heavy);
    max-width: 95vw;
    max-height: 95vh;
    width: 3500px; /* Made much wider */
    display: flex;
    flex-direction: column;
}

.gallery-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--text-medium);
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-medium);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
}

.gallery-close:hover {
    color: var(--burgundy-primary);
    transform: scale(1.1);
    background: rgba(0, 0, 0, 0.2);
}

.main-image-container {
    position: relative;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    min-height: 500px; /* Minimum height */
    background: #f8f9fa;
    border-radius: 10px;
}

#gallery-main-image {
    max-width: 100%;
    max-height: 70vh; /* Increased height */
    object-fit: contain;
    border-radius: 10px;
    box-shadow: var(--shadow-medium);
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    padding: 1.2rem 1.8rem;
    border-radius: 50%;
    transition: var(--transition-medium);
    box-shadow: var(--shadow-burgundy);
    z-index: 5;
}

.nav-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-heavy);
}

.nav-btn.prev {
    left: -30px;
}

.nav-btn.next {
    right: -30px;
}

.gallery-thumbnails {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    overflow-x: auto;
    justify-content: center;
    max-height: 120px;
}

.thumbnail {
    height: 80px;
    width: auto;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    opacity: 0.7;
    transition: var(--transition-medium);
    flex-shrink: 0;
}

.thumbnail.active,
.thumbnail:hover {
    border-color: var(--burgundy-primary);
    opacity: 1;
    transform: scale(1.1);
}

/* Mobile adjustments for wider gallery */
@media (max-width: 768px) {
    .gallery-container {
        width: 98vw;
        max-height: 98vh;
        padding: 1rem;
    }
    
    #gallery-main-image {
        max-height: 60vh;
    }
    
    .nav-btn {
        padding: 1rem 1.2rem;
        font-size: 2rem;
    }
    
    .nav-btn.prev {
        left: -20px;
    }
    
    .nav-btn.next {
        right: -20px;
    }
    
    .thumbnail {
        height: 60px;
    }
}

@media (max-width: 480px) {
    .gallery-container {
        width: 100vw;
        max-height: 100vh;
        border-radius: 0;
        padding: 0.8rem;
    }
    
    .nav-btn.prev {
        left: -15px;
    }
    
    .nav-btn.next {
        right: -15px;
    }
}

/* ---=== ADMIN STYLES ===--- */
.admin-form {
    background: var(--card-gradient);
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--medium-gray);
    margin-bottom: 3rem;
}

.admin-form.hidden {
    display: none;
}

.form-container {
    padding: 3rem;
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--medium-gray);
}

.form-header h3 {
    color: var(--burgundy-primary);
    font-size: 1.8rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-medium);
    cursor: pointer;
    transition: var(--transition-medium);
}

.close-btn:hover {
    color: var(--burgundy-primary);
    transform: scale(1.1);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 2rem;
    border-top: 1px solid var(--medium-gray);
}

.admin-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

/* ---=== NOTIFICATIONS ===--- */
.notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--white);
    color: var(--text-dark);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-heavy);
    z-index: 10001;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 400px;
    border-left: 5px solid var(--burgundy-primary);
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification-error {
    border-left-color: #dc3545;
}

.notification-success {
    border-left-color: #28a745;
}

.notification-warning {
    border-left-color: #ffc107;
}

.notification button {
    background: none;
    border: none;
    color: var(--text-medium);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-medium);
}

.notification button:hover {
    color: var(--burgundy-primary);
}

/* ---=== FOOTER ===--- */
.site-footer {
    background: var(--burgundy-dark);
    color: var(--white);
    padding: 5rem 0 2rem 0;
    margin-top: 6rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 50px;
    filter: brightness(0) invert(1);
}

.footer-company-info h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-slogan {
    font-style: italic;
    color: var(--burgundy-ultra-light);
    margin: 0;
    font-size: 1rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 1rem;
}

.footer-section h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-medium);
    font-size: 1rem;
}

.footer-links a:hover {
    color: var(--burgundy-ultra-light);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    font-size: 1.2rem;
    color: var(--burgundy-ultra-light);
    margin-top: 0.2rem;
}

.contact-details p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    font-size: 1rem;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.social-link {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-medium);
    font-size: 1rem;
}

.social-link:hover {
    color: var(--burgundy-ultra-light);
}

.footer-website {
    margin-top: 1rem;
}

.footer-website p {
    color: var(--burgundy-ultra-light);
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 1rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--transition-medium);
}

.footer-legal a:hover {
    color: var(--burgundy-ultra-light);
}

.separator {
    color: rgba(255, 255, 255, 0.4);
}

/* ---=== LOADING STATES ===--- */
.loading {
    position: relative;
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    margin: -25px 0 0 -25px;
    border: 4px solid var(--medium-gray);
    border-top: 4px solid var(--burgundy-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1000;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ---=== SCROLL ANIMATIONS ===--- */
@media (prefers-reduced-motion: no-preference) {
    .fade-in-up {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
    
    .fade-in-up.visible {
        opacity: 1;
        transform: translateY(0);
    }
    
    .fade-in-left {
        opacity: 0;
        transform: translateX(-30px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
    
    .fade-in-left.visible {
        opacity: 1;
        transform: translateX(0);
    }
    
    .fade-in-right {
        opacity: 0;
        transform: translateX(30px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
    
    .fade-in-right.visible {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ---=== UTILITY CLASSES ===--- */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-grid { display: grid !important; }

.text-left { text-align: left !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }

.text-primary { color: var(--burgundy-primary) !important; }
.text-dark { color: var(--text-dark) !important; }
.text-medium { color: var(--text-medium) !important; }
.text-white { color: var(--white) !important; }

.bg-primary { background: var(--primary-gradient) !important; }
.bg-white { background: var(--white) !important; }
.bg-light { background: var(--light-gray) !important; }
.bg-dark { background: var(--text-dark) !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 1rem !important; }
.mb-2 { margin-bottom: 2rem !important; }
.mb-3 { margin-bottom: 3rem !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 1rem !important; }
.mt-2 { margin-top: 2rem !important; }
.mt-3 { margin-top: 3rem !important; }

.p-1 { padding: 1rem !important; }
.p-2 { padding: 2rem !important; }
.p-3 { padding: 3rem !important; }

.border-radius-sm { border-radius: 8px !important; }
.border-radius-md { border-radius: 15px !important; }
.border-radius-lg { border-radius: 25px !important; }

.shadow-sm { box-shadow: var(--shadow-light) !important; }
.shadow-md { box-shadow: var(--shadow-medium) !important; }
.shadow-lg { box-shadow: var(--shadow-heavy) !important; }

/* ---=== ADMIN SPECIFIC STYLES ===--- */
.admin-header-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 15px;
}

.admin-user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-user-info span {
    font-weight: 500;
    color: var(--text-dark);
}

.admin-dropdown {
    position: relative;
}

.admin-dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    box-shadow: var(--shadow-medium);
    min-width: 160px;
    z-index: 1000;
}

.admin-dropdown-content a {
    display: block;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.9rem;
    transition: background-color var(--transition-fast);
}

.admin-dropdown-content a:hover {
    background: var(--light-gray);
}

.admin-dropdown-content a:first-child {
    border-radius: 8px 8px 0 0;
}

.admin-dropdown-content a:last-child {
    border-radius: 0 0 8px 8px;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--burgundy-primary);
    color: var(--burgundy-primary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-outline:hover {
    background: var(--burgundy-primary);
    color: white;
}

/* Image Management Modal Styles */
.image-management-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.modal-container {
    position: relative;
    background: white;
    border-radius: 15px;
    max-width: 90vw;
    max-height: 90vh;
    width: 800px;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: var(--light-gray);
    border-bottom: 1px solid var(--medium-gray);
}

.modal-header h3 {
    margin: 0;
    color: var(--text-dark);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
    padding: 0.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-fast);
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

.modal-content {
    padding: 1.5rem;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
}

.image-upload-section {
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 10px;
}

.image-upload-section h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.upload-area {
    text-align: center;
}

.upload-note {
    margin: 1rem 0;
    color: var(--text-medium);
    font-size: 0.9rem;
}

.url-input-section {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: end;
}

.url-input-section .form-control {
    flex: 1;
    min-width: 200px;
}

.current-images-section h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.image-item {
    border: 1px solid var(--medium-gray);
    border-radius: 10px;
    overflow: hidden;
    background: white;
}

.image-preview {
    position: relative;
    height: 150px;
    overflow: hidden;
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-preview.error::after {
    content: '❌ Failed to load';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem;
    border-radius: 5px;
    font-size: 0.8rem;
}

.primary-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: var(--burgundy-primary);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 500;
}

.image-info {
    padding: 1rem;
}

.image-caption {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-medium);
}

.image-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-small {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-info {
    background: #17a2b8;
    color: white;
}

.btn-info:hover {
    background: #138496;
}

.btn-secondary {
    background: var(--medium-gray);
    color: var(--text-dark);
}

.btn-secondary:hover {
    background: var(--text-medium);
    color: white;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
}

.no-images {
    text-align: center;
    padding: 2rem;
    color: var(--text-medium);
    font-style: italic;
}

@media (max-width: 768px) {
    .modal-container {
        width: 95vw;
        max-height: 95vh;
    }
    
    .url-input-section {
        flex-direction: column;
        align-items: stretch;
    }
    
    .images-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .image-actions {
        justify-content: center;
    }
}

/* Admin Login Styles */
.admin-login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 2rem 0;
}

.admin-login-card {
    background: var(--card-gradient);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-heavy);
    border: 1px solid var(--medium-gray);
    max-width: 400px;
    width: 100%;
}

.admin-login-card h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--burgundy-primary);
    font-size: 2rem;
}

/* Admin Dashboard Styles */
.admin-dashboard {
    max-width: 1200px;
    margin: 0 auto;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--card-gradient);
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--medium-gray);
}

.admin-header h2 {
    color: var(--burgundy-primary);
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.admin-header p {
    color: var(--text-medium);
    margin: 0;
    font-size: 1.1rem;
}

.admin-header-right {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Admin Properties Section */
.admin-properties-section {
    background: var(--card-gradient);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--medium-gray);
}

.admin-properties-section h3 {
    color: var(--burgundy-primary);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.admin-properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.admin-property-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid var(--medium-gray);
    box-shadow: var(--shadow-light);
    transition: var(--transition-medium);
}

.admin-property-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.admin-property-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.admin-property-header h4 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin: 0;
    flex: 1;
    margin-right: 1rem;
}

.status-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-available {
    background: #d4edda;
    color: #155724;
}

.status-sold {
    background: #f8d7da;
    color: #721c24;
}

.status-reserved {
    background: #fff3cd;
    color: #856404;
}

.admin-property-details {
    margin-bottom: 1.5rem;
}

.admin-property-details p {
    margin-bottom: 0.5rem;
    color: var(--text-medium);
    font-size: 0.9rem;
}

.featured-badge {
    background: var(--primary-gradient);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 0.5rem;
    display: inline-block;
}

.admin-property-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.admin-property-actions .btn {
    flex: 1;
    min-width: 60px;
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
    border-radius: 8px;
}

/* Pagination Styles */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    padding: 1rem;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pagination-btn {
    padding: 0.8rem 1.5rem;
    background: var(--white);
    color: var(--burgundy-primary);
    border: 2px solid var(--burgundy-primary);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-medium);
    font-size: 0.9rem;
    font-weight: 500;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--burgundy-primary);
    color: white;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-info {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
}

/* Image Management Modal Styles */
.image-management-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.modal-container {
    position: relative;
    background: white;
    border-radius: 15px;
    max-width: 90vw;
    max-height: 90vh;
    width: 900px;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: var(--light-gray);
    border-bottom: 1px solid var(--medium-gray);
    flex-shrink: 0;
}

.modal-header h3 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
    padding: 0.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-fast);
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

.modal-content {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
}

.image-upload-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 10px;
}

.image-upload-section h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.2rem;
}

.upload-area {
    text-align: center;
    margin-bottom: 1rem;
}

.upload-note {
    margin: 1rem 0;
    color: var(--text-medium);
    font-size: 0.9rem;
    font-style: italic;
}

.url-input-section {
    display: flex;
    gap: 1rem;
    align-items: end;
    flex-wrap: wrap;
}

.url-input-section .form-group {
    flex: 1;
    min-width: 250px;
    margin-bottom: 0;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--medium-gray);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: var(--transition-medium);
}

.form-control:focus {
    outline: none;
    border-color: var(--burgundy-primary);
    box-shadow: 0 0 0 3px rgba(139, 21, 56, 0.1);
}

.current-images-section h4 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-size: 1.2rem;
}

.images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.image-item {
    border: 1px solid var(--medium-gray);
    border-radius: 10px;
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-light);
    transition: var(--transition-medium);
}

.image-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.image-preview {
    position: relative;
    height: 150px;
    overflow: hidden;
    background: var(--light-gray);
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.image-preview:hover img {
    transform: scale(1.05);
}

.image-preview.error {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: var(--text-medium);
}

.image-preview.error::after {
    content: '❌ Failed to load';
    font-size: 0.8rem;
}

.primary-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: var(--burgundy-primary);
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    box-shadow: var(--shadow-light);
}

.image-info {
    padding: 1rem;
}

.image-caption {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-medium);
    font-style: italic;
}

.image-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.no-images {
    text-align: center;
    padding: 3rem;
    color: var(--text-medium);
    font-style: italic;
    background: var(--light-gray);
    border-radius: 10px;
}

/* Button Variants */
.btn-small {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    border-radius: 6px;
    font-weight: 500;
}

.btn-info {
    background: #17a2b8;
    color: white;
    border: none;
    cursor: pointer;
    transition: var(--transition-medium);
}

.btn-info:hover {
    background: #138496;
    transform: translateY(-1px);
}

.btn-danger {
    background: #dc3545;
    color: white;
    border: none;
    cursor: pointer;
    transition: var(--transition-medium);
}

.btn-danger:hover {
    background: #c82333;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--burgundy-primary);
    color: var(--burgundy-primary);
    cursor: pointer;
    transition: var(--transition-medium);
    font-weight: 500;
}

.btn-outline:hover {
    background: var(--burgundy-primary);
    color: white;
    transform: translateY(-1px);
}

/* Form Enhancements */
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-group input[type="checkbox"] {
    margin-right: 0.5rem;
    transform: scale(1.2);
}

.form-group label:has(input[type="checkbox"]) {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
}

#change-password-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.5) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10000 !important;
    padding: 2rem !important;
    overflow-y: auto !important; /* Added for scroll if needed */
}

#change-password-modal.hidden {
    display: none !important;
}

#change-password-modal .form-container {
    background: white !important;
    border-radius: 15px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
    max-width: 500px !important;
    width: 100% !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    position: relative !important;
    margin: auto !important;
    transform: translateY(0) !important; /* Ensure no transform issues */
}
#property-form-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.5) !important;
    display: flex !important;
    align-items: flex-start !important; /* Changed from center to flex-start */
    justify-content: center !important;
    z-index: 9999 !important;
    padding: 2rem !important;
    overflow-y: auto !important;
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

#property-form-container.hidden {
    display: none !important;
}

#property-form-container .form-container {
    background: white !important;
    border-radius: 15px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
    max-width: 900px !important;
    width: 100% !important;
    max-height: calc(100vh - 4rem) !important;
    overflow-y: auto !important;
    position: relative !important;
    margin: 0 auto !important;
    transform: translateY(0) !important;
}

/* Ensure form content is properly visible */
#property-form-container .form-container .modal-content,
#property-form-container .form-container form {
    padding: 2rem !important;
    overflow-y: visible !important;
}

/* Fix form grid to be more responsive */
#property-form-container .form-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 1.5rem !important;
    margin-bottom: 2rem !important;
}

/* Ensure full-width elements span all columns */
#property-form-container .form-group.full-width {
    grid-column: 1 / -1 !important;
}

/* Fix modal headers */
.form-header {
    padding: 2rem 2rem 1rem 2rem !important;
    border-bottom: 1px solid #e0e0e0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    position: sticky !important;
    top: 0 !important;
    background: white !important;
    z-index: 10 !important;
}

/* Fix close buttons */
.close-btn {
    background: none !important;
    border: none !important;
    font-size: 2rem !important;
    cursor: pointer !important;
    color: #666 !important;
    padding: 0.5rem !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    position: absolute !important;
    right: 1rem !important;
    top: 1rem !important;
}

.close-btn:hover {
    background: #f0f0f0 !important;
    color: var(--burgundy-primary) !important;
}

/* Form actions at bottom */
.form-actions {
    display: flex !important;
    gap: 1rem !important;
    justify-content: flex-end !important;
    padding-top: 2rem !important;
    border-top: 1px solid #e0e0e0 !important;
    margin-top: 2rem !important;
    position: sticky !important;
    bottom: 0 !important;
    background: white !important;
    z-index: 10 !important;
}

/* Responsive adjustments for desktop */
@media (min-width: 1024px) {
    #change-password-modal .form-container {
        max-width: 600px !important;
    }
    
    #property-form-container .form-container {
        max-width: 1000px !important;
    }
    
    #property-form-container .form-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Tablet adjustments */
@media (max-width: 1023px) and (min-width: 769px) {
    #property-form-container .form-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    #change-password-modal,
    #property-form-container {
        padding: 1rem !important;
    }
    
    #change-password-modal .form-container,
    #property-form-container .form-container {
        max-width: 100% !important;
        margin: 0 !important;
        max-height: calc(100vh - 2rem) !important;
    }
    
    .form-header {
        padding: 1.5rem 1.5rem 1rem 1.5rem !important;
    }
    
    #property-form-container .form-container .modal-content,
    #property-form-container .form-container form {
        padding: 1.5rem !important;
    }
    
    .form-actions {
        flex-direction: column !important;
    }
    
    .btn {
        width: 100% !important;
    }
    
    #property-form-container .form-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Ensure body scroll is properly handled */
body.modal-open {
    overflow: hidden !important;
    padding-right: 15px !important; /* Prevent layout shift */
}

/* Additional fixes for form inputs */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 1rem !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    transition: border-color 0.3s ease !important;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none !important;
    border-color: var(--burgundy-primary) !important;
    box-shadow: 0 0 0 3px rgba(139, 21, 56, 0.1) !important;
}

.form-group label {
    display: block !important;
    margin-bottom: 0.5rem !important;
    font-weight: 600 !important;
    color: #333 !important;
}

.form-group textarea {
    min-height: 120px !important;
    resize: vertical !important;
}

/* Checkbox styling fix */
.form-group label:has(input[type="checkbox"]) {
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
    font-weight: 500 !important;
}

.form-group input[type="checkbox"] {
    width: auto !important;
    margin-right: 0.5rem !important;
    transform: scale(1.2) !important;
}