* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2d5016;
    --secondary-color: #4a7c2a;
    --accent-color: #6ba644;
    --light-green: #8bc34a;
    --blue: #2196f3;
    --brown: #8d6e63;
    --dark-text: #333;
    --light-text: #666;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12px;
    line-height: 1.6;
    color: var(--dark-text);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 0;
}

.logo img {
    height: 70px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-text);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('images/herobg-greenville.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.collage-item {
    position: absolute;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: float 20s infinite ease-in-out;
}

/* Shop House 1 - Top Left */
.shop-house-1 {
    top: 10%;
    left: 5%;
    width: 200px;
    height: 150px;
    background: linear-gradient(135deg, #8d6e63 0%, #6d4c41 100%);
    clip-path: polygon(20% 0%, 80% 0%, 100% 30%, 100% 100%, 0% 100%, 0% 30%);
    animation-delay: 0s;
}

.shop-house-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    width: 60%;
    height: 40%;
    background: #5d4037;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.shop-house-1::after {
    content: '';
    position: absolute;
    bottom: 20%;
    left: 15%;
    width: 25%;
    height: 30%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    box-shadow: 35px 0 0 rgba(255, 255, 255, 0.3);
}

/* Shop House 2 - Top Right */
.shop-house-2 {
    top: 15%;
    right: 8%;
    width: 180px;
    height: 140px;
    background: linear-gradient(135deg, #a1887f 0%, #8d6e63 100%);
    clip-path: polygon(15% 0%, 85% 0%, 100% 25%, 100% 100%, 0% 100%, 0% 25%);
    animation-delay: 2s;
}

.shop-house-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 25%;
    width: 50%;
    height: 35%;
    background: #6d4c41;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.shop-house-2::after {
    content: '';
    position: absolute;
    bottom: 25%;
    left: 20%;
    width: 20%;
    height: 25%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    box-shadow: 40px 0 0 rgba(255, 255, 255, 0.3);
}

/* Lodging 1 - Middle Left */
.lodging-1 {
    top: 45%;
    left: 3%;
    width: 160px;
    height: 120px;
    background: linear-gradient(135deg, #4a7c2a 0%, #2d5016 100%);
    clip-path: polygon(10% 0%, 90% 0%, 100% 20%, 100% 100%, 0% 100%, 0% 20%);
    animation-delay: 4s;
}

.lodging-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 30%;
    width: 40%;
    height: 30%;
    background: #1a3d0f;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.lodging-1::after {
    content: '';
    position: absolute;
    bottom: 30%;
    left: 25%;
    width: 15%;
    height: 20%;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    box-shadow: 30px 0 0 rgba(255, 255, 255, 0.4), 60px 0 0 rgba(255, 255, 255, 0.4);
}

/* Lodging 2 - Middle Right */
.lodging-2 {
    top: 50%;
    right: 5%;
    width: 150px;
    height: 110px;
    background: linear-gradient(135deg, #6ba644 0%, #4a7c2a 100%);
    clip-path: polygon(12% 0%, 88% 0%, 100% 22%, 100% 100%, 0% 100%, 0% 22%);
    animation-delay: 6s;
}

.lodging-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 28%;
    width: 44%;
    height: 32%;
    background: #2d5016;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.lodging-2::after {
    content: '';
    position: absolute;
    bottom: 28%;
    left: 22%;
    width: 18%;
    height: 22%;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    box-shadow: 32px 0 0 rgba(255, 255, 255, 0.4), 64px 0 0 rgba(255, 255, 255, 0.4);
}

/* Office Building - Top Center */
.office-1 {
    top: 8%;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 200px;
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    clip-path: polygon(20% 0%, 80% 0%, 100% 5%, 100% 100%, 0% 100%, 0% 5%);
    animation-delay: 1s;
}

.office-1::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 15%;
    width: 70%;
    height: 8%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    box-shadow: 0 20px 0 rgba(255, 255, 255, 0.3),
                0 40px 0 rgba(255, 255, 255, 0.3),
                0 60px 0 rgba(255, 255, 255, 0.3),
                0 80px 0 rgba(255, 255, 255, 0.3),
                0 100px 0 rgba(255, 255, 255, 0.3);
}

/* Chalet 1 - Bottom Left */
.chalet-1 {
    bottom: 15%;
    left: 10%;
    width: 170px;
    height: 130px;
    background: linear-gradient(135deg, #8d6e63 0%, #6d4c41 100%);
    clip-path: polygon(30% 0%, 70% 0%, 100% 40%, 100% 100%, 0% 100%, 0% 40%);
    animation-delay: 3s;
}

.chalet-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 25%;
    width: 50%;
    height: 50%;
    background: #5d4037;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.chalet-1::after {
    content: '';
    position: absolute;
    bottom: 25%;
    left: 20%;
    width: 20%;
    height: 25%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    box-shadow: 45px 0 0 rgba(255, 255, 255, 0.3);
}

/* Chalet 2 - Bottom Right */
.chalet-2 {
    bottom: 12%;
    right: 12%;
    width: 190px;
    height: 145px;
    background: linear-gradient(135deg, #a1887f 0%, #8d6e63 100%);
    clip-path: polygon(25% 0%, 75% 0%, 100% 35%, 100% 100%, 0% 100%, 0% 35%);
    animation-delay: 5s;
}

.chalet-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 22%;
    width: 56%;
    height: 48%;
    background: #6d4c41;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.chalet-2::after {
    content: '';
    position: absolute;
    bottom: 22%;
    left: 18%;
    width: 22%;
    height: 28%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    box-shadow: 48px 0 0 rgba(255, 255, 255, 0.3);
}

/* Nature Elements - Trees */
.nature-1 {
    bottom: 20%;
    left: 25%;
    width: 80px;
    height: 100px;
    background: linear-gradient(135deg, #2d5016 0%, #1a3d0f 100%);
    clip-path: polygon(50% 0%, 0% 50%, 20% 50%, 10% 100%, 90% 100%, 80% 50%, 100% 50%);
    animation-delay: 7s;
}

.nature-2 {
    bottom: 18%;
    right: 25%;
    width: 70px;
    height: 90px;
    background: linear-gradient(135deg, #4a7c2a 0%, #2d5016 100%);
    clip-path: polygon(50% 0%, 0% 50%, 18% 50%, 8% 100%, 92% 100%, 82% 50%, 100% 50%);
    animation-delay: 8s;
}

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) translateX(10px) rotate(1deg);
    }
    50% {
        transform: translateY(-10px) translateX(-5px) rotate(-1deg);
    }
    75% {
        transform: translateY(-15px) translateX(8px) rotate(0.5deg);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 2;
}

.scroll-indicator i {
    font-size: 2rem;
    color: var(--white);
    opacity: 0.8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--light-bg);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: var(--primary-color);
    color: var(--white);
    width: 100%;
    margin-top: 15px;
}

.btn-secondary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--light-text);
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--white);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--light-text);
}

/* Property Sections */
.property-section {
    padding: 100px 0 80px;
    scroll-margin-top: 100px;
    position: relative;
    z-index: 2;
}

.property-section.alt-bg {
    background: var(--light-bg);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.property-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.property-image {
    position: relative;
    height: 250px;
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.property-image-100 {
    position: relative;
    height:500px;
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.property-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slider-image.active {
    opacity: 1;
    z-index: 1;
}

.property-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0;
}

.property-image:hover .slider-arrow,
.property-image-100:hover .slider-arrow {
    opacity: 1;
}

.slider-arrow:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow i {
    color: var(--primary-color);
    font-size: 1rem;
}

.slider-prev {
    left: 10px;
}

.slider-next {
    right: 10px;
}

.slider-arrow.hidden {
    display: none;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.property-image:hover .slider-dots,
.property-image-100:hover .slider-dots {
    opacity: 1;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--white);
    border-color: var(--white);
    transform: scale(1.2);
}

.slider-dots.hidden {
    display: none;
}

.property-placeholder {
    color: var(--white);
    font-size: 4rem;
    opacity: 0.8;
}

.property-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    z-index: 20;
}
.property-badge-grey {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgb(238, 238, 238);
    color: grey;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    z-index: 20;
}

.property-content {
    padding: 25px;
}

.property-content h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.property-location {
    color: var(--light-text);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 11px;
    color: var(--light-text);
}

.property-details span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-details i {
    color: var(--primary-color);
}

.property-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--light-text);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 12px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 60px;
    width: 60px;
    object-fit: contain;
    margin-bottom: 15px;
}

.footer-section p {
    margin-bottom: 15px;
    opacity: 0.9;
    line-height: 1.8;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 12px;
}

.newsletter-form .btn {
    padding: 10px 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 20px 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 10px 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    /* Collage responsive adjustments */
    .collage-item {
        opacity: 0.3;
    }

    .shop-house-1, .shop-house-2 {
        width: 120px;
        height: 90px;
    }

    .lodging-1, .lodging-2 {
        width: 100px;
        height: 75px;
    }

    .office-1 {
        width: 80px;
        height: 140px;
    }

    .chalet-1, .chalet-2 {
        width: 110px;
        height: 85px;
    }

    .nature-1, .nature-2 {
        width: 50px;
        height: 60px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--white);
    margin: auto;
    padding: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--light-text);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s ease;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
}

.modal-close:hover,
.modal-close:focus {
    color: var(--primary-color);
    background: rgba(0, 0, 0, 0.1);
}

.modal-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border-radius: 10px 10px 0 0;
}

.modal-header h2 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.modal-location {
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.modal-body {
    padding: 30px;
}

.modal-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 8px;
    margin-bottom: 25px;
    overflow: hidden;
    position: relative;
}

.modal-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.modal-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.modal-slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.modal-slider-image.active {
    opacity: 1;
    z-index: 1;
}

.modal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image .property-placeholder {
    color: var(--white);
    font-size: 5rem;
    opacity: 0.8;
}

/* Modal Slider Arrows */
.modal-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.modal-slider-arrow:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.modal-slider-arrow i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.modal-slider-prev {
    left: 15px;
}

.modal-slider-next {
    right: 15px;
}

/* Modal Slider Dots */
.modal-slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.modal-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-slider-dot.active {
    background: var(--white);
    border-color: var(--white);
    transform: scale(1.3);
}

.modal-details {
    margin-bottom: 25px;
}

.modal-details h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.modal-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.modal-details-grid .detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--light-bg);
    border-radius: 5px;
    font-size: 12px;
}

.modal-details-grid .detail-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.modal-description {
    margin-bottom: 25px;
}

.modal-description h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.modal-description p {
    color: var(--light-text);
    line-height: 1.8;
    font-size: 12px;
}

.modal-price-section {
    padding: 20px;
    background: var(--light-bg);
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
}

.modal-price {
    font-size: 1.5rem;
    color: var(--dark-text);
    font-weight: 600;
}

.modal-price span {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
}

.modal-footer {
    padding: 20px 30px 30px;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    border-top: 1px solid var(--border-color);
}

.modal-footer .btn {
    min-width: 120px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .modal-header {
        padding: 25px 20px 15px;
    }

    .modal-header h2 {
        font-size: 1.5rem;
        padding-right: 40px;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-footer {
        flex-direction: column;
        padding: 20px;
    }

    .modal-footer .btn {
        width: 100%;
    }

    .modal-details-grid {
        grid-template-columns: 1fr;
    }
}

