* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

/* Header Styles */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #FF8C00;
}

.logo img {
    height: 100px;
    width: auto;
    margin-right: 0.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #FF8C00;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #FFD700;
}

.cta-button {
    background: linear-gradient(135deg, #FF8C00, #FFD700);
    text-decoration: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: #FF8C00;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

.hero-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: left;
}

/* About Section */
.about {
    padding: 80px 0;
    background: white;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.about-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-content {
    text-align: right;
}

.section-label {
    color: #FF8C00;
    font-weight: 600;
    margin-bottom: 1rem;
}

.about-content h2 {
    font-size: 2.5rem;
    color: #FF8C00;
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

.learn-more-btn {
    background: linear-gradient(135deg, #FF8C00, #FFD700);
    text-decoration: none;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.learn-more-btn:hover {
    transform: translateY(-2px);
}

/* Properties Section */
.properties {
    padding: 80px 0;
    background: #f8f9fa;
}

.properties-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.properties h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #FF8C00;
    margin-bottom: 3rem;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.property-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.property-card:hover {
    transform: translateY(-5px);
}

.property-image {
    height: 250px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-info {
    padding: 1.5rem;
}

.property-price {
    background: linear-gradient(135deg, #FF8C00, #FFD700);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    display: inline-block;
}

.property-location {
    color: #6c757d;
    margin-bottom: 1rem;
}

.property-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #FF8C00;
}

.book-now-btn {
    background: linear-gradient(135deg, #FF8C00, #FFD700);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 100%;
}

.book-now-btn a {
    text-decoration: none;
    color: white;
}

.book-now-btn:hover {
    transform: translateY(-2px);
}

/* ` Section */
.gallery {
    padding: 80px 0;
    background: white;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #FF8C00;
    margin-bottom: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: auto;
    gap: 2rem;
    align-items: center;
}

/*
.gallery-person {
    text-align: center;
}

.gallery-person img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
*/
.gallery-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gallery-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.gallery-placeholder img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #FF8C00;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container,
    .about-container,
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-content {
        text-align: center;
    }

    .nav-links {
        display: none;
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Gallery Carousel Styles */

/* Carousel Wrapper */
.carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Gallery Images as Carousel */
.gallery-images.carousel-active {
    display: flex;
    width: 600%; /* 6 images * 100% */
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-images.carousel-active .gallery-placeholder {
    flex: 0 0 calc(100% / 6); /* Each image takes 1/6 of the container */
    padding: 0;
}

.gallery-images.carousel-active .gallery-placeholder img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 0;
}

/* Carousel Controls */
.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    pointer-events: none;
    z-index: 10;
}

.carousel-btn {
    background: rgba(255, 140, 0, 0.8);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
    background: rgba(255, 140, 0, 1);
    transform: scale(1.1);
}

.carousel-btn:active {
    transform: scale(0.95);
}

/* Dot Indicators */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 140, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.dot.active {
    background: #FF8C00;
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 140, 0, 0.6);
}

/* Loading animation for dots */
.dot.active::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 2px solid #FF8C00;
    border-radius: 50%;
    opacity: 0.6;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.3;
    }
    100% {
        transform: scale(1);
        opacity: 0.6;
    }
}

/* Smooth fade transition for images */
.gallery-images.carousel-active .gallery-placeholder img {
    transition: opacity 0.3s ease;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .gallery-images.carousel-active {
        width: 600%; /* 6 images */
    }
    
    .gallery-images.carousel-active .gallery-placeholder {
        flex: 0 0 calc(100% / 6);
    }
    
    .gallery-images.carousel-active .gallery-placeholder img {
        height: 250px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .carousel-controls {
        padding: 0 10px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .gallery-images.carousel-active .gallery-placeholder img {
        height: 200px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .carousel-controls {
        padding: 0 8px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    .carousel-dots {
        gap: 8px;
        margin-top: 15px;
    }
}

/* Add touch feedback */
.gallery-images.carousel-active {
    touch-action: pan-y;
}

/* Prevent image selection during swipe */
.gallery-images.carousel-active .gallery-placeholder img {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    pointer-events: none;
}

/* Fade in animation for carousel */
.carousel-wrapper {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}