/* CSS Reset and Variables */
:root {
    --primary: #2c5530;
    --primary-dark: #1e3a23;
    --secondary: #d4af37;
    --light: #eef0f3;
    --dark: #343a40;
    --gray: #6c757d;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--secondary);
    color: var(--dark);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #b8941f;
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--primary);
}

.section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--gray);
}

/* Navigation */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 20px;
}

.logo-image {
    height: 65px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.current-page {
    color: var(--secondary);
    font-weight: 600;
}

.nav-links a.current-page::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--secondary);
    border-radius: 2px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
    padding: 0.5rem;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    color: var(--primary-dark);
    transform: scale(1.1);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 90vh;
    min-height: 700px;
    margin-top: 80px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-content {
    text-align: center;
    color: white;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease 0.3s;
}

.slide.active .hero-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-tagline {
    color: #f1e2ae;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: 1.4rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto 3rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 10;
}

.slider-prev,
.slider-next {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--dark);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 0.75rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: scale(1.2);
}

.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
}

.progress-bar {
    height: 100%;
    background: var(--secondary);
    width: 0;
}

/* Hot Property */
.hot-property {
    background: #fff9e6;
}

.alert-badge {
    display: inline-block;
    background: #ff4444;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

.hot-property-alert h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary);
}

.alert-description {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.property-highlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.property-features {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
}

.feature {
    background: var(--light);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9rem;
}

.feature:hover {
    background: var(--secondary);
    color: var(--dark);
    transform: translateY(-2px);
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    margin: 1rem 0;
}

.urgency {
    color: #ff4444;
    font-weight: 600;
}

.property-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.hot-property-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.5s ease;
}

.property-highlight:hover .hot-property-img {
    transform: scale(1.05);
}

/* Featured Properties */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.property-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.property-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.just-listed {
    background: var(--secondary);
    color: var(--dark);
}

.featured {
    background: var(--primary);
    color: white;
}

.property-info {
    padding: 1.5rem;
}

.property-info h3 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.property-meta {
    display: flex;
    gap: 1rem;
    margin: 0.5rem 0;
    color: var(--gray);
}

.property-type {
    color: var(--gray);
    font-style: italic;
    margin-bottom: 0.5rem;
}

.property-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary);
}

.property-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}

.member-info h3 {
    margin: 1rem 0 0.5rem;
    color: var(--primary);
}

.member-role {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.whatsapp-link {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.whatsapp-link:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* Video Gallery */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.video-thumbnail {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.video-thumbnail:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.thumbnail-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.thumbnail-image {
    position: relative;
    height: 200px;
    background-size: cover;
    background-position: center;
}

.thumbnail-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border: 3px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.play-icon {
    color: white;
    font-size: 2rem;
    margin-left: 5px;
}

.thumbnail-link:hover .play-button {
    background: var(--secondary);
    border-color: var(--secondary);
}

.thumbnail-link:hover .play-icon {
    color: var(--dark);
}

.video-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    text-align: center;
    color: white;
}

.video-info h4 {
    margin: 0 0 0.25rem;
    font-size: 1.1rem;
}

.video-info p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.thumbnail-info {
    padding: 1.5rem;
}

.thumbnail-info h3 {
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.thumbnail-info p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.video-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.video-duration {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
}

.video-cta {
    text-align: center;
    padding: 2rem;
    background: var(--light);
    border-radius: 10px;
    margin-top: 2rem;
}

/* Blog Section */
.blog-section {
    background: var(--light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.blog-category {
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: 500;
    font-size: 0.8rem;
}

.blog-date {
    color: var(--gray);
    font-size: 0.8rem;
}

.blog-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary);
    line-height: 1.4;
}

.blog-excerpt {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.blog-author {
    color: var(--gray);
    font-size: 0.9rem;
    font-weight: 500;
}

.blog-read-more {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.9rem;
}

.blog-read-more:hover {
    color: var(--primary);
    transform: translateX(5px);
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--secondary);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.footer-section p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-link {
    background: rgba(255,255,255,0.1);
    padding: 8px 16px;
    border-radius: 5px;
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
}

.social-link:hover {
    background: var(--secondary);
    color: var(--dark);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #ccc;
    font-size: 0.9rem;
}

.dev-link {
    color: inherit;
    text-decoration: none;
}

.dev-link:hover {
    text-decoration: underline;
    color: var(--secondary);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        z-index: 1000;
        overflow-y: auto;
        border-top: 2px solid var(--primary);
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease;
    }

    .nav-links a {
        padding: 1rem 1.5rem;
        border-bottom: 1px solid #f0f0f0;
        font-size: 1.1rem;
    }

    .nav-links a.current-page {
        background: var(--primary);
        color: white;
        border-left: 4px solid var(--secondary);
    }

    .nav-links a.current-page::after {
        display: none;
    }

    .hero-slider {
        height: 80vh;
        min-height: 600px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .slider-controls {
        bottom: 30px;
        gap: 1rem;
    }

    .slider-prev,
    .slider-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .property-highlight {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .property-actions {
        flex-direction: column;
    }

    .videos-grid {
        grid-template-columns: 1fr;
    }

    .thumbnail-image {
        height: 180px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section p {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 70vh;
        min-height: 500px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1.8rem;
    }

    .slider-controls {
        bottom: 20px;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.btn-full {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
}