* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--secondary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: 70px;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.4), rgba(0,0,0,0.2));
    z-index: 1;
}

.slide-1 {
    background-image: linear-gradient(135deg, rgba(102,126,234,0.2), rgba(118,75,162,0.2)), url('https://images.unsplash.com/photo-1523217582562-09d0def993a6?q=80&w=1600&auto=format&fit=crop');
}
.slide-2 {
    background-image: linear-gradient(135deg, rgba(240,147,251,0.2), rgba(245,87,108,0.2)), url('https://images.unsplash.com/photo-1505843513577-22bb7d21e455?q=80&w=1600&auto=format&fit=crop');
}
.slide-3 {
    background-image: linear-gradient(135deg, rgba(79,172,254,0.2), rgba(0,242,254,0.2)), url('https://images.unsplash.com/photo-1484154218962-a197022b5858?q=80&w=1600&auto=format&fit=crop');
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-content {
    text-align: center;
    color: var(--white);
    z-index: 2;
    padding: 2rem;
    animation: fadeInUp 1s ease;
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 10;
}

.prev-btn, .next-btn {
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: var(--white);
    font-size: 3rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.prev-btn:hover, .next-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--white);
    transform: scale(1.3);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 10;
    opacity: 0.9;
}
.scroll-indicator .mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255,255,255,0.8);
    border-radius: 20px;
    position: relative;
}
.scroll-indicator .wheel {
    width: 4px;
    height: 8px;
    background: rgba(255,255,255,0.9);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheel 1.6s infinite;
}
@keyframes wheel {
    0% { opacity: 0; transform: translate(-50%, 0); }
    50% { opacity: 1; transform: translate(-50%, 10px); }
    100% { opacity: 0; transform: translate(-50%, 20px); }
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
}

/* About Section */
.about-section {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.8;
}

.features-list {
    list-style: none;
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.features-list li {
    color: var(--primary-color);
    font-weight: 500;
}

.about-image img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.residences-section {
    background: var(--light-bg);
}
.residences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.residence-card {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.residence-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}
.residence-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.residence-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.residence-body h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
}
.residence-body p {
    color: #555;
}
.residence-body ul {
    list-style: none;
    display: grid;
    gap: 10px;
}
.residence-body ul li {
    position: relative;
    padding-left: 22px;
    color: #444;
}
.residence-body ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

/* Stats Section */
.stats-section {
    background: var(--light-bg);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    align-items: stretch;
}
.stat-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
}
.stat-number {
    font-size: 2.2rem;
    color: var(--secondary-color);
    font-weight: 800;
    margin-bottom: 10px;
}
.stat-label {
    color: #666;
    font-weight: 600;
}

/* Amenities Section */
.amenities-section {
    background: var(--light-bg);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.amenity-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.amenity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.amenity-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.amenity-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.amenity-card p {
    color: #666;
    line-height: 1.6;
}

/* Gallery Section */
.gallery-section {
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* CTA */
.cta-section {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: var(--white);
}
.cta-content {
    text-align: center;
}
.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}
.cta-content p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}
.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--white);
}

/* Contact Section */
.contact-section {
    background: var(--light-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.info-item {
    margin-bottom: 25px;
}

.info-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.info-item p {
    color: #666;
    line-height: 1.8;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-group textarea {
    resize: vertical;
}

/* Testimonials */
.testimonials-section {
    background: var(--white);
}
.testimonials-wrapper {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
    margin-bottom: 25px;
}
.testimonials-track {
    overflow: hidden;
    position: relative;
    min-height: 240px;
}
.testimonial-card {
    position: absolute;
    inset: 0;
    background: var(--light-bg);
    padding: 35px;
    border-radius: 14px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
}
.testimonial-quote {
    font-size: 1.2rem;
    font-style: italic;
    color: #444;
    margin-bottom: 20px;
}
.testimonial-meta h4 {
    color: var(--primary-color);
    margin-bottom: 4px;
}
.testimonial-meta span {
    color: #666;
    font-size: 0.95rem;
}
.testimonial-nav {
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--light-bg);
    box-shadow: var(--shadow);
    font-size: 1.6rem;
    color: var(--secondary-color);
    cursor: pointer;
    transition: var(--transition);
}
.testimonial-nav:hover {
    background: var(--secondary-color);
    color: var(--white);
}
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
}
.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(44, 62, 80, 0.25);
    cursor: pointer;
    transition: var(--transition);
}
.testimonial-dot.active {
    background: var(--secondary-color);
    transform: scale(1.2);
}

/* Location */
.location-section {
    background: var(--light-bg);
}
.location-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}
.map-container iframe {
    width: 100%;
    height: 360px;
    border: 0;
    border-radius: 12px;
    box-shadow: var(--shadow);
}
.location-details h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}
.location-details p {
    color: #555;
    margin-bottom: 20px;
}
.location-details ul {
    list-style: none;
    display: grid;
    gap: 10px;
    margin-bottom: 25px;
}
.location-details ul li {
    color: #444;
}

/* 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-section h3,
.footer-section h4 {
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}
.lightbox.open {
    display: flex;
}
.lightbox-content {
    background: var(--white);
    max-width: 900px;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.lightbox-body {
    position: relative;
    background: #000;
}
.lightbox-image {
    width: 100%;
    max-height: 70vh;
    object-fit: cover;
    display: block;
}
.lightbox-caption {
    padding: 15px 20px;
    font-weight: 600;
}
.lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255,255,255,0.9);
    color: #333;
    font-size: 1.5rem;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1;
}

/* Back To Top */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--secondary-color);
    color: var(--white);
    box-shadow: var(--shadow);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 1500;
}
.back-to-top.show {
    display: flex;
}
.back-to-top:hover {
    transform: translateY(-4px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .slide-content h1 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1.2rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .residences-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .testimonial-nav {
        display: none;
    }

    .location-grid {
        grid-template-columns: 1fr;
    }

    .map-container iframe {
        height: 300px;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .slide-content h1 {
        font-size: 1.5rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .btn-primary {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    .prev-btn, .next-btn {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

    .testimonial-quote {
        font-size: 1.05rem;
    }
}

