/* ===== CSS Variables ===== */
:root {
    /* Navy Blue & Gold Theme */
    --navy: #001f3f;
    --navy-dark: #001429;
    --navy-light: #0a2a4a;
    --gold: #D4AF37;
    --gold-dark: #B8931C;
    --gold-light: #E6C158;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --gray: #6c757d;
    --dark-gray: #343a40;

    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Playfair Display', serif;

    /* Spacing */
    --section-padding: 80px 0;
    --container-width: 1200px;

    /* Transitions */
    --transition: all 0.3s ease;
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1rem;
}

.section-title {
    color: var(--navy);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--gray);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--light-gray);
}

.text-center {
    text-align: center;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.btn-primary:hover {
    background-color: var(--navy-dark);
    border-color: var(--navy-dark);
}

.btn-gold {
    background-color: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

.btn-gold:hover {
    background-color: var(--gold-dark);
    border-color: var(--gold-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--navy);
    border-color: var(--navy);
}

.btn-outline:hover {
    background-color: var(--navy);
    color: var(--white);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* ===== Navigation ===== */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    position: fixed;
    background-color: rgba(0, 31, 63, 0.95);
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-img {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.logo-text {
    font-family: var(--font-secondary);
}

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.nav-list a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--gold);
}

.nav-list a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--gold);
}

.nav-cta {
    margin-left: 20px;
}

.mobile-toggle {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== Hero Slider ===== */
.hero-slider {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-search {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 30px;
    margin-top: 30px;
}

.search-form {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.search-input {
    position: relative;
}

.search-input i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
}

.search-input select {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    color: var(--navy);
    appearance: none;
}

.search-btn {
    grid-column: span 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.slider-prev,
.slider-next {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--gold);
    color: var(--navy);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--gold);
}

/* ===== Featured Properties ===== */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.property-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.property-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gold);
    color: var(--navy);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.property-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 31, 63, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.property-card:hover .property-overlay {
    opacity: 1;
}

.property-content {
    padding: 20px;
}

.property-price {
    color: var(--gold);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.property-title {
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 10px;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    margin-bottom: 15px;
}

.property-location i {
    color: var(--gold);
}

.property-features {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.feature i {
    color: var(--gold);
    font-size: 1.2rem;
}

/* ===== Services ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 2rem;
    color: var(--gold);
}

.service-card h3 {
    color: var(--navy);
    margin-bottom: 15px;
}

/* ===== Dubai Locations ===== */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.location-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
}

.location-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.location-card:hover img {
    transform: scale(1.05);
}

.location-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 31, 63, 0.9), transparent);
    color: var(--white);
}

.location-content h3 {
    color: var(--white);
    margin-bottom: 5px;
}

/* ===== Footer ===== */
.footer {
    background-color: var(--navy);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 20px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: var(--gold);
    width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ===== Pages Common Styles ===== */
.page-header {
    background: linear-gradient(rgba(0, 31, 63, 0.8), rgba(0, 31, 63, 0.8)),
        url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 150px 0 80px;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-content {
    padding: var(--section-padding);
}


/* ===== Responsive Styles ===== */

/* Large Devices (Desktops) */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .hero-title {
        font-size: 3rem;
    }
}

/* Medium Devices (Tablets) */
@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }

    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .search-form {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .nav-list {
        gap: 20px;
    }
}

/* Small Devices (Mobile Landscape) */
@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }

    .section {
        padding: 60px 0;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-search {
        padding: 20px;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--navy);
        transition: var(--transition);
        padding: 40px 20px;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .nav-list li {
        width: 100%;
        margin-bottom: 15px;
    }

    .nav-list a {
        display: block;
        padding: 10px 0;
        font-size: 1.1rem;
    }

    .nav-cta {
        margin: 20px 0 0;
        width: 100%;
    }

    .properties-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .locations-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .slider-controls {
        bottom: 20px;
    }

    .page-header {
        padding: 120px 0 60px;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }
}

/* Extra Small Devices (Mobile Portrait) */
@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .btn-large {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .property-image {
        height: 200px;
    }

    .property-features {
        flex-direction: column;
        gap: 10px;
    }

    .feature {
        flex-direction: row;
        justify-content: flex-start;
        width: 100%;
    }

    .slider-controls {
        flex-direction: column;
        gap: 10px;
    }

    .page-header {
        padding: 100px 0 50px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }
}

/* Height adjustments for mobile */
@media (max-height: 700px) {
    .hero-slider {
        height: auto;
        min-height: 100vh;
    }

    .hero-content {
        padding: 80px 0 40px;
    }
}

/* Print Styles */
@media print {

    .navbar,
    .footer,
    .slider-controls,
    .hero-search,
    .property-overlay {
        display: none;
    }

    .hero-slider {
        height: auto;
    }

    .hero-slide {
        position: relative;
        opacity: 1;
        background: none !important;
        color: #000;
    }

    .hero-title,
    .hero-subtitle {
        color: #000;
    }
}

/* Additional styles for contact page */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    margin-bottom: 60px;
}

.contact-info h2 {
    color: var(--navy);
    margin-bottom: 30px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--gold);
}

.contact-details h4 {
    color: var(--navy);
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--gray);
    margin-bottom: 0;
}

.business-hours {
    background: var(--light-gray);
    padding: 25px;
    border-radius: 10px;
}

.business-hours h4 {
    color: var(--navy);
    margin-bottom: 15px;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.hours-list li:last-child {
    border-bottom: none;
}

.map-container {
    height: 400px;
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-direction: column;
    gap: 20px;
}

.map-placeholder i {
    font-size: 3rem;
}

.map-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 300px;
}

.map-overlay h4 {
    color: var(--navy);
    margin-bottom: 10px;
}

.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--navy);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.required {
    color: #dc3545;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    display: none;
}

.team-contact {
    background: var(--light-gray);
    padding: 60px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-member-contact {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.team-member-contact:hover {
    transform: translateY(-10px);
}

.team-member-contact img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.team-member-contact h4 {
    color: var(--navy);
    margin-bottom: 5px;
}

.team-member-contact p {
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 15px;
}

.team-contact-info {
    margin-top: 20px;
}

.team-contact-info a {
    color: var(--navy);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.team-contact-info a:hover {
    color: var(--gold);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 25px;
    }

    .map-overlay {
        position: relative;
        top: 0;
        right: 0;
        max-width: 100%;
        margin-top: 20px;
    }
}

/* ===== Additional Styles for Properties Page ===== */
.property-filters {
    background: var(--light-gray);
    padding: 60px 0;
}

.filters-container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.filters-header {
    text-align: center;
    margin-bottom: 30px;
}

.filters-header h2 {
    color: var(--navy);
    margin-bottom: 10px;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--navy);
    font-weight: 500;
}

.filter-group label i {
    color: var(--gold);
    margin-right: 8px;
}

.filter-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--dark-gray);
    background: white;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23001f3f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}

.filter-select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.1);
}

.filter-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.filter-btn, .reset-btn {
    min-width: 180px;
}

.listing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.listing-header h2 {
    color: var(--navy);
    margin-bottom: 0;
}

.property-count {
    color: var(--gray);
    font-weight: 500;
}

.view-options {
    display: flex;
    align-items: center;
    gap: 15px;
}

.view-option {
    background: white;
    border: 1px solid #ddd;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-option.active {
    background: var(--navy);
    color: white;
    border-color: var(--navy);
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.properties-container {
    display: grid;
    gap: 30px;
}

.properties-container.grid-view {
    grid-template-columns: repeat(3, 1fr);
}

.properties-container.list-view {
    grid-template-columns: 1fr;
}

.properties-container.list-view .property-card {
    display: grid;
    grid-template-columns: 300px 1fr;
}

.properties-container.list-view .property-image {
    height: 100%;
}

.properties-container.list-view .property-content {
    padding: 30px;
}

.property-description {
    color: var(--gray);
    margin: 15px 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.property-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.btn-icon {
    background: none;
    border: none;
    color: var(--gray);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    padding: 8px;
    border-radius: 50%;
}

.btn-icon:hover {
    color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
}

.load-more {
    text-align: center;
    margin-top: 50px;
}

.load-more .btn {
    min-width: 200px;
}

/* Property Modal Styles */
.property-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 31, 63, 0.95);
    z-index: 2000;
    padding: 20px;
    overflow-y: auto;
}

.modal-content {
    background: white;
    max-width: 1000px;
    margin: 50px auto;
    border-radius: 15px;
    position: relative;
    animation: modalSlide 0.3s ease;
}

@keyframes modalSlide {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--navy);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-property {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.modal-gallery {
    position: relative;
    overflow: hidden;
    border-radius: 15px 0 0 15px;
}

.modal-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbs {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.gallery-thumbs img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.gallery-thumbs img:hover {
    border-color: var(--gold);
}

.modal-details {
    padding: 40px;
    overflow-y: auto;
}

.modal-price {
    font-size: 2rem;
    color: var(--gold);
    font-weight: 700;
    margin: 10px 0;
}

.modal-location {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray);
    margin-bottom: 20px;
}

.modal-location i {
    color: var(--gold);
}

.modal-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    background: var(--light-gray);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.modal-features .feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-features .feature i {
    color: var(--gold);
    width: 20px;
}

.modal-description h3 {
    color: var(--navy);
    margin: 25px 0 15px;
}

.amenities-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 15px 0;
    list-style: none;
}

.amenities-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.amenities-list i {
    color: var(--gold);
}

.modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--navy);
    color: white;
    padding: 15px 25px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Responsive Styles for Properties Page */
@media (max-width: 992px) {
    .properties-container.grid-view {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .filter-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modal-property {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .modal-gallery {
        height: 300px;
        border-radius: 15px 15px 0 0;
    }
    
    .amenities-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .properties-container.grid-view,
    .properties-container.list-view {
        grid-template-columns: 1fr;
    }
    
    .properties-container.list-view .property-card {
        grid-template-columns: 1fr;
    }
    
    .filter-row {
        grid-template-columns: 1fr;
    }
    
    .listing-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .view-options {
        width: 100%;
        justify-content: space-between;
    }
    
    .filter-actions {
        flex-direction: column;
    }
    
    .filter-btn, .reset-btn {
        width: 100%;
    }
    
    .modal-features {
        grid-template-columns: 1fr;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-actions .btn {
        width: 100%;
    }
}
