:root {
    --primary-color: #333;
    --secondary-color: #666;
    --accent-color: #9a8a78;
    --text-light: #fff;
    --text-dark: #333;
    --spacing-unit: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    height: 80px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-left {
    flex-shrink: 0;
}

.nav-right {
    display: flex;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #333;
    font-weight: 600;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

/* Underline hover effect */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #333;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: #000;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Active state */
.nav-links a.active {
    color: #000;
}

.nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #333;
    transition: color 0.3s ease;
}

.hamburger:hover {
    color: #000;
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    margin-top: 0; /* Remove margin-top */
    overflow: hidden;
}

.hero-slider {
    width: 100%;
    height: 100%;
}

.slide {
    width: 100%;
    height: 100%;
    position: relative;
    background: url('../images/hero-building.jpeg') no-repeat center center;
    background-size: cover;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3); /* Dark overlay */
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 2;
    color: #fff;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    font-weight: 400;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-indicator i {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    gap: 10px;
    z-index: 2;
}

.dot {
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: #fff;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Living with View Section */
.living-view {
    padding: 6rem 8rem;
    background: #fff;
}

.living-view h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #333;
    margin-bottom: 1.5rem;
    position: relative;
}

.living-view h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #333;
}

.living-view p {
    max-width: 800px;
    margin-bottom: 4rem;
    color: #666;
    line-height: 1.8;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 1.5rem;
    margin: 0;
}

.gallery-main {
    height: 600px;
    overflow: hidden;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-secondary {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Features Section */
.features-grid {
    padding: 6rem 8rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
}

.feature-item {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.feature-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.feature-item h3 {
    position: absolute;
    bottom: 60px;
    left: 20px;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
}

.feature-item p {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 0.9rem;
}

/* Project Overview */
.project-overview {
    padding: 4rem 2rem;
    text-align: center;
    background-color: #f9f9f9;
}

.overview-header {
    margin-bottom: 3rem;
}

.overview-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 1.2rem;
    color: #666;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-box {
    text-align: center;
}

.stat-box h3 {
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
}

.stat-box p {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Apartments for Sale */
.apartments-sale {
    padding: 4rem 2rem;
    text-align: center;
}

.development-map {
    max-width: 1200px;
    margin: 2rem auto;
}

.development-map img {
    width: 100%;
    height: auto;
}

/* Floor Plans */
.floor-plans {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
    text-align: center;
}

.floor-plan-details {
    display: flex;
    max-width: 1200px;
    margin: 2rem auto;
    gap: 2rem;
    align-items: center;
}

.plan-image {
    flex: 1;
}

.plan-image img {
    width: 100%;
    height: auto;
}

.plan-specs {
    flex: 1;
    text-align: left;
}

.plan-specs ul {
    list-style: none;
    padding: 0;
}

.plan-specs li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Phase Sections */
.phases {
    padding: 4rem 8rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.phase-item {
    position: relative;
    height: 300px;
}

.phase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer Styles */
.footer {
    background-color: #1a1a1a;
    padding: 4rem 0 2rem;
    color: #fff;
}

.footer .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 4rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 3rem;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo .logo-img {
    height: 45px;
    width: auto;
}

.footer-logo .logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #fff;
    font-weight: 500;
    letter-spacing: 1px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact p {
    color: #fff;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-links-column h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.footer-links-column ul {
    list-style: none;
    padding: 0;
}

.footer-links-column ul li {
    margin-bottom: 0.8rem;
}

.footer-links-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links-column ul li a:hover {
    color: #fff;
}

.footer-right {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.footer-cta {
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-cta:hover {
    background-color: #fff;
    color: #1a1a1a;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    color: #fff;
    font-size: 1.2rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.social-link:hover {
    opacity: 1;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-right {
        grid-column: 1 / -1;
        justify-content: center;
    }

    .footer-logo .logo-text {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .footer .container {
        padding: 0 2rem;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-left {
        align-items: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-logo {
        justify-content: center;
        gap: 0.8rem;
    }
    
    .footer-logo .logo-img {
        height: 40px;
    }
    
    .footer-logo .logo-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .footer-logo .logo-img {
        height: 35px;
    }
    
    .footer-logo .logo-text {
        font-size: 1.1rem;
    }
}

/* Location Section */
.location-section {
    padding: 6rem 0;
    background: #f8f8f8;
}

.location-content {
    display: grid;
    grid-template-columns: 30% 70%;
    gap: 3rem;
}

.location-text {
    padding-right: 2rem;
}

.location-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.location-text p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 2rem;
}

.address-details {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.address-details h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.address-details p {
    color: #666;
    margin-bottom: 0.5rem;
}

.direction-btn {
    margin-top: 1.5rem;
    padding: 0.8rem 1.5rem;
    background: #333;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.direction-btn:hover {
    background: #555;
}

.map-container {
    width: 100%;
    height: 100%;
    min-height: 600px; /* Ensures minimum height */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 600px;
}

/* Footer logo size adjustment */
.footer-logo img {
    max-height: 50px; /* Adjust this value as needed */
    width: auto;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .living-view,
    .features-grid,
    .project-overview,
    .phases {
        padding: 4rem 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-secondary {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 2rem;
    }
    
    .hero-content {
        left: 5%;
        right: 5%;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .gallery-secondary {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 1fr);
    }
    
    .features-grid,
    .phases {
        grid-template-columns: 1fr;
    }
    
    .overview-content {
        grid-template-columns: 1fr;
    }
    
    .location-text {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .map-container, 
    .map-container iframe {
        min-height: 400px; /* Slightly smaller on mobile */
    }
}

/* Contact Section Styles */
.contact-section {
    padding: 6rem 0;
    background-color: #f8f8f8;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.info-item p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.map-container {
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    color: #333;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: #333;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background: #444;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 4rem 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

/* Image Overlay Styles */
.image-overlay {
    position: relative;
    overflow: hidden;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
}

.image-overlay:hover .overlay {
    background: rgba(0, 0, 0, 0.5);
}

/* Gallery Grid with Overlays */
.gallery-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 1.5rem;
}

.gallery-main {
    height: 600px;
}

.gallery-secondary {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-main img,
.gallery-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-overlay:hover img {
    transform: scale(1.05);
}

/* Feature Items with Overlays */
.feature-item {
    position: relative;
    height: 400px;
}

.feature-content {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 2;
    color: #fff;
}

.feature-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.feature-content p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Phase Items with Overlays */
.phase-item {
    position: relative;
    height: 300px;
}

.phase-content {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 2;
    color: #fff;
}

.phase-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.phase-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #fff;
    padding-bottom: 3px;
    transition: opacity 0.3s ease;
}

.phase-link:hover {
    opacity: 0.8;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-secondary {
        grid-template-columns: 1fr;
    }
    
    .feature-content,
    .phase-content {
        left: 20px;
        bottom: 20px;
    }
}

/* Responsive styles */
@media (max-width: 992px) {
    .nav-right {
        justify-content: flex-end;
    }

    .hamburger {
        display: block;
        margin-left: auto;
    }

    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: white;
        padding: 2rem;
        gap: 1.5rem;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 2rem;
    }

    .logo-container {
        gap: 0.5rem;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.1rem;
    }
    
    .logo-img {
        height: 35px;
    }
}

/* Apartment Filter Styles */
.apartment-filter {
    padding: 2rem 0;
    text-align: center;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 1px solid #333;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: #333;
    color: white;
}

/* Apartment Gallery Styles */
.grid-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.apartment-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.apartment-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.apartment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.5));
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.apartment-card:hover::before {
    opacity: 1;
}

.apartment-card:hover img {
    transform: scale(1.05);
}

.apartment-info {
    position: relative;
    padding: 1.5rem;
    background: white;
    z-index: 2;
}

.apartment-type {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
}

.apartment-info h3 {
    margin-top: 0.5rem;
    font-family: 'Playfair Display', serif;
    color: #333;
}

/* Available Apartments Table Styles */
.available-apartments {
    padding: 4rem 2rem;
    text-align: center;
}

.available-apartments h2 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 2rem;
}

.table-responsive {
    overflow-x: auto;
    margin-bottom: 2rem;
}

.apartment-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
}

.apartment-table th,
.apartment-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.apartment-table th {
    background-color: #f8f8f8;
    font-weight: 500;
}

.download-plans-btn {
    padding: 1rem 2rem;
    background: #333;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* CTA Section Styles */
.cta-section {
    padding: 4rem 2rem;
    text-align: center;
    background-color: #f8f8f8;
}

.cta-section h2 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 2rem;
}

.cta-button {
    padding: 1rem 2rem;
    background: #333;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .stats-container {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .stat-box {
        flex: 1 1 40%;
    }

    .floor-plan-details {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .stat-box {
        flex: 1 1 100%;
    }
}

/* Gallery Section Styles */
.gallery-section {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item p {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    margin: 0;
    font-size: 0.9rem;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Phase Specific Styles */
.phase-header {
    text-align: center;
    margin-bottom: 3rem;
}

.phase-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Hero Split Section Styles */
.hero-split {
    width: 100%;
    height: 100vh;
    position: relative;
    margin-top: 80px; /* Account for fixed navbar */
}

.hero-image-container {
    width: 100%;
    height: 100%;
    display: flex;
}

.hero-image {
    flex: 1;
    position: relative;
    height: 100%;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-image.dark {
    position: relative;
}

.hero-image.dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%; /* Center within the dark image */
    transform: translate(-50%, -50%);
    z-index: 2;
    color: white;
    text-align: center;
    width: 80%;
    max-width: 500px;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .hero-image-container {
        flex-direction: column;
    }

    .hero-image {
        width: 100%;
        height: 50vh;
    }

    .hero-content {
        width: 90%;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

/* Floor Plans Section */
.floor-plans {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
}

.floor-plan-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 3rem;
    align-items: center;
}

.floor-plan-image {
    flex: 1;
}

.floor-plan-image img {
    width: 100%;
    height: auto;
}

.floor-plan-specs {
    flex: 1;
}

.floor-plan-specs ul {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.floor-plan-specs li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.floor-plan-specs i {
    color: #4CAF50;
}

/* Property Gallery */
.property-gallery {
    padding: 4rem 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item p {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-split {
        flex-direction: column;
    }
    
    .floor-plan-container {
        flex-direction: column;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* About Hero Section */
.about-hero {
    height: 70vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/about-hero.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.about-hero .hero-content {
    max-width: 800px;
    padding: 0 2rem;
    color: white;
}

.about-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1.2;
}

.about-hero p {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    letter-spacing: 0.5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .about-hero p {
        font-size: 1rem;
    }
}

/* Developer Info Section */
.developer-info {
    padding: 4rem 0;
    text-align: center;
}

.developer-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.developer-info p {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Previous Projects Section */
.previous-projects {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background: #fff;
}

.project-card .video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.project-card .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    z-index: 1;
}

.project-info .date {
    font-size: 0.9rem;
    opacity: 0.8;
}

.project-info h3 {
    margin: 0.5rem 0;
    font-size: 1.5rem;
}

.read-more {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Video Gallery Styles */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-card {
    text-align: left;
}

.video-card h3 {
    margin: 1rem 0 0.5rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 500;
}

.video-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Investment Section */
.investment-section {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

.investment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.invest-box, .joint-venture-box {
    padding: 3rem;
    text-align: center;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2.5rem;
    }

    .investment-grid {
        grid-template-columns: 1fr;
    }
}

/* Loading States */
.video-container.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid #ddd;
    border-top-color: #666;
    border-radius: 50%;
    animation: loading-spinner 1s linear infinite;
}

.video-container.loaded::before {
    display: none;
}

@keyframes loading-spinner {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Error States */
.error {
    border-color: #ff3333 !important;
}

/* Navigation States */
.navbar.scroll-down {
    transform: translateY(-100%);
}

.navbar.scroll-up {
    transform: translateY(0);
}

/* Progress Hero Section */
.progress-hero {
    height: 60vh;
    background-image: url('../images/progress-hero.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
}

.progress-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.progress-hero h1 {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    position: relative;
    z-index: 1;
}

/* Progress Info Section */
.progress-info {
    padding: 4rem 0;
    text-align: center;
}

.progress-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.progress-info p {
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-details p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Progress Pictures Section */
.progress-pictures {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

.timeline-gallery {
    margin-top: 3rem;
}

.date-list {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.date-list span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
    white-space: nowrap;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Progress Reports Grid */
.progress-reports-grid {
    padding: 4rem 0;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.report-card {
    text-align: center;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.report-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.report-card h3 {
    margin: 1rem 0;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
}

.download-btn {
    background: transparent;
    border: 2px solid #333;
    color: #333;
    padding: 0.8rem 1.5rem;
    margin-bottom: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.download-btn:hover {
    background: #333;
    color: white;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .progress-hero h1 {
        font-size: 2.5rem;
    }

    .contact-details {
        flex-direction: column;
        gap: 1rem;
    }

    .date-list {
        padding: 0 1rem;
    }

    .reports-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
}

/* Property Sales Specific Styles */
.property-filter {
    padding: 2rem 0;
    background: #f9f9f9;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.property-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.property-card:hover {
    transform: translateY(-5px);
}

.property-image {
    position: relative;
    height: 280px;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #2c3e50;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
}

.property-info {
    padding: 2rem;
}

.property-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.property-header h3 {
    font-size: 1.6rem;
    font-family: 'Playfair Display', serif;
    color: #2c3e50;
    margin-right: 1rem;
}

.price {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.4rem;
}

.property-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.property-details span {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #666;
    font-size: 1rem;
}

.property-description {
    margin-bottom: 2rem;
    line-height: 1.8;
    color: #666;
}

.property-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.view-details-btn, .download-btn {
    padding: 1rem;
    border: 2px solid #2c3e50;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-details-btn {
    background: #2c3e50;
    color: white;
}

.download-btn {
    background: transparent;
    color: #2c3e50;
}

.view-details-btn:hover {
    background: #34495e;
}

.download-btn:hover {
    background: #f8f9fa;
}

.property-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.property-table th,
.property-table td {
    padding: 1.2rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.property-table th {
    background: #f8f9fa;
    font-weight: 500;
    color: #2c3e50;
}

.sales-contact {
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)), url('../images/contact-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 6rem 0;
    color: white;
    text-align: center;
}

.sales-details {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
}

.sales-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.contact-btn {
    padding: 1rem 2rem;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.contact-btn.primary {
    background: white;
    color: #2c3e50;
}

.contact-btn.secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

@media (max-width: 768px) {
    .property-grid {
        grid-template-columns: 1fr;
    }

    .property-buttons {
        grid-template-columns: 1fr;
    }

    .sales-details {
        flex-direction: column;
        gap: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .property-table {
        font-size: 0.9rem;
    }
} 