/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary color palette */
    --primary-color: #2c3e50;      /* Deep blue-gray */
    --secondary-color: #34495e;     /* Softer blue-gray */
    --accent-color: #c0392b;        /* Deep red accent */
    --text-color: #2c3e50;         /* Dark blue-gray for text */
    --light-text: #ecf0f1;         /* Light gray for contrast text */
    --bg-light: #f8f9fa;           /* Light background */
    --bg-dark: #2c3e50;            /* Dark background */
    --border-color: #e0e0e0;       /* Subtle border color */
    
    /* Reduced spacing units */
    --spacing-xs: 0.4rem;
    --spacing-sm: 0.8rem;
    --spacing-md: 1.2rem;
    --spacing-lg: 1.6rem;
    --spacing-xl: 2.4rem;

    --navy: #0A2342;
    --gold: #C5A880;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --green: #4A7C59;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--navy);
    line-height: 1.6;
    font-size: 14px;
}

/* Reduced base font size */
html {
    font-size: 14px;
}

@media (max-width: 1200px) {
    html {
        font-size: 15px;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 12px;
    }
}

/* Responsive container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Bootstrap Navbar Customization */
.navbar {
    padding: 1rem 0;
    background-color: var(--white) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--navy) !important;
}

.nav-link {
    color: var(--navy) !important;
    font-weight: 500;
    margin: 0 1rem;
    position: relative;
}

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

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

/* Hero section with gray overlay */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 35, 66, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
    max-width: 800px;
    margin: 0 auto;
    top: 50%;
    transform: translateY(-50%);
}

.hero-content h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    color: var(--light-gray);
    font-size: 1.625rem;
    margin-bottom: 2rem;
}

/* Buttons */
.btn-gold {
    background-color: var(--gold);
    color: var(--navy);
    padding: 0.75rem 2rem;
    border-radius: 0;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 2rem auto 0;
}

.btn-gold:hover {
    background-color: #B3966D;
    color: var(--navy);
    transform: translateY(-2px);
}

/* About & Location Section */
.about-location {
    min-height: 100vh;
    width: 100%;
    padding: 0;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    position: relative;
}

.about-location .section-heading {
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5rem;
    color: var(--navy);
    text-align: center;
    width: 100%;
    margin: 0;
    padding: 0 1rem;
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
}

.about-location .section-description {
    position: absolute;
    top: 8rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 800px;
    margin: 0;
    padding: 0 1rem;
    font-size: 1.43rem;
    color: var(--navy);
}

.about-location .container-fluid {
    width: 100%;
    max-width: none;    /* Remove max-width constraint */
    padding: 0;
    margin: 0;
    padding-top: 12rem;
}

.about-location .row {
    min-height: 100vh;  /* Full height row */
    margin: 0;
}

.about-location .col-lg-6 {
    min-height: 100vh;  /* Full height columns */
    padding: 4rem;      /* Add internal padding instead */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Adjust map container for full width */
.map-container {
    margin-top: 3rem;  /* Add space above the map to align with the heading */
    width: 100%;
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Ensure content stays centered and readable */
.about-content, .location-content {
    max-width: 800px;   /* Keep content width reasonable */
    margin: 0 auto;     /* Center content horizontally */
    padding: 0 2rem;    /* Add some padding on the sides */
}

.about-content h2, .location-content h2 {
    font-size: 2.5rem;  /* Larger heading size */
    margin-bottom: 1.5rem;
}

.about-content p, .location-content p {
    font-size: 1.1rem;  /* Larger paragraph text */
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.location-features {
    list-style: none;
    padding: 0;
    margin: 2rem auto;
    max-width: 800px;
}

.location-features li {
    margin-bottom: 1.5rem;  /* Increased space between list items */
    padding: 1rem;  /* Added padding around each item */
    font-size: 1.43rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;  /* Space between icon and text */
}

.location-features li i {
    color: var(--gold);
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

/* Add subtle hover effect for better interactivity */
.location-features li:hover {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;  /* Reduced gap */
    margin-top: 2rem;
}

.location-item {
    text-align: center;
    padding: 1rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.location-item h3 {
    font-size: 1.2rem;  /* Larger heading size */
    margin-bottom: 0.5rem;
    color: var(--navy);
}

.location-item p {
    font-size: 1.1rem;  /* Larger text size */
    color: var(--gold);
    font-weight: 600;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .about-location .col-lg-6 {
        min-height: auto;  /* Allow natural height on mobile */
        padding: 3rem 2rem;
    }
}

/* Features Section */
.features {
    min-height: 100vh;
    display: flex;
    background-color: var(--white);
}

.features-image {
    width: 50%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.features-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.features-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3%;
    position: relative;
    background: linear-gradient(to right, var(--white), var(--accent-bg));
}

.features-logo {
    margin-bottom: 2rem;
}

.logo-icon {
    width: 80px;
    height: 80px;
    opacity: 0.1;
}

.features h2 {
    font-size: 6rem;
    font-weight: 900;
    color: var(--secondary-color);
    text-transform: none;
    line-height: 1;
    margin-bottom: 1rem;
}

.features h3 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 3rem;
}

.features-text {
    max-width: 900px;
    margin: 0 auto 1.5rem;
}

.features-text p {
    font-size: 1.56rem;
    line-height: 1.8;
    color: var(--text-color);
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.features-text ul {
    margin: 0.5rem 0 1rem 0;
    padding-left: 1.3rem;
}

.features-text li {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 0.7rem;
    color: var(--text-color);
    opacity: 0.9;
}

.features .buy-now-btn {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    letter-spacing: 1px;
    width: fit-content;
    margin-top: 0.5rem;
}

.features .buy-now-btn:hover {
    background-color: #B3966D;
}

@media (max-width: 992px) {
    .features {
        flex-direction: column;
    }

    .features-image,
    .features-content {
        width: 100%;
    }

    .features-image {
        height: 50vh;
    }
}

@media (max-width: 576px) {
    .features-image {
        height: 30vh;
    }

    .features h2 {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }

    .features h3 {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
    }
}

/* Gallery Section */
.gallery {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.gallery-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    padding: 2rem;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.carousel-slide.active .carousel-caption {
    transform: translateY(0);
}

.carousel-caption h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.carousel-caption p {
    font-size: 1.56rem;
    opacity: 0.9;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-prev {
    left: 2rem;
}

.carousel-next {
    right: 2rem;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.carousel-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

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

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

@media (max-width: 768px) {
    .carousel-caption h3 {
        font-size: 2rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    .carousel-prev,
    .carousel-next {
        width: 40px;
        height: 40px;
    }

    .carousel-prev {
        left: 1rem;
    }

    .carousel-next {
        right: 1rem;
    }
}

/* Why Ashongman Section */
.why-ashongman {
    padding: 5rem 0;
}

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--green);
    margin-bottom: 1rem;
}

/* Contact Section */
.contact {
    position: relative;
    padding: 6rem 0;
    background: url('img/frontviewCar.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 35, 71, 0.95);
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact-header {
    margin-bottom: 4rem;
}

.contact-header h2 {
    color: var(--white);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.contact-subtitle {
    color: var(--gold);
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    max-width: 600px;
    margin: 0 auto;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.contact-info {
    color: var(--white);
}

.info-header {
    margin-bottom: 3rem;
}

.info-header h3 {
    color: var(--gold);
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.info-header p {
    color: var(--white);
    font-size: 1.1rem;
    opacity: 0.9;
}

.info-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--gold);
    background: rgba(197, 168, 128, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.info-content h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.info-content p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #4A3C31; /* Darker earth tone color */
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 15px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder,
.contact-form select {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--gold);
    outline: none;
}

.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 1rem) center;
    padding-right: 2.5rem;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: var(--gold);
    color: var(--navy);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background: #B3966D;
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .info-details {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 4rem 0;
    }

    .contact-wrapper {
        padding: 1.5rem;
    }

    .info-item {
        gap: 1rem;
    }

    .info-item i {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-header h2 {
        font-size: 2rem;
    }

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

    .info-header h3 {
        font-size: 1.5rem;
    }

    .info-content h4 {
        font-size: 1.1rem;
    }

    .info-content p {
        font-size: 0.9rem;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }

    .submit-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Footer Styles */
footer.bg-dark {
    background-color: #0C2347 !important;
}

footer {
    background-color: #0C2347 !important;
    color: var(--white);
    padding: 4rem 0 2rem;
}

footer h4 {
    color: var(--gold);
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

footer .social-links a {
    color: var(--white);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

footer .social-links a:hover {
    color: var(--gold);
}

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

footer ul li a:hover {
    color: var(--gold) !important;
}

footer .newsletter-form .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

footer .newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

footer .newsletter-form .btn-gold {
    background-color: var(--gold);
    color: #0C2347;
    border: none;
    padding: 0.375rem 1rem;
    transition: background-color 0.3s ease;
}

footer .newsletter-form .btn-gold:hover {
    background-color: #B3966D;
}

footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    opacity: 1;
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .navbar {
        padding: 0.6rem 3%;
    }
    
    .logo h1 {
        font-size: 1.75rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: var(--spacing-sm);
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        padding: var(--spacing-sm);
        text-align: center;
        width: 100%;
        border-bottom: 1px solid #eee;
        margin-left: 0;
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .about-content h2,
    .location h2,
    .features h2,
    .contact h2 {
        font-size: 2.2rem;
    }

    .btn {
        padding: 1rem 2rem;
    }

    .location > p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .map-container {
        margin: 0 auto 3rem;
    }

    .map-container iframe {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 2%;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: var(--spacing-sm);
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        padding: var(--spacing-sm);
        text-align: center;
        width: 100%;
        border-bottom: 1px solid #eee;
        margin-left: 0;
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }

    .mobile-menu {
        display: block;
        cursor: pointer;
        padding: 10px;
    }

    .mobile-menu i {
        font-size: 24px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .about-content h2,
    .location h2,
    .features h2,
    .contact h2 {
        font-size: 2.2rem;
    }

    .btn {
        padding: 1rem 2rem;
    }

    .location > p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .map-container {
        margin: 0 auto 3rem;
    }

    .map-container iframe {
        height: 350px;
    }
}

/* Property Card Styles */
.property-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.property-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.property-info {
    padding: 1.5rem;
}

.property-info h3 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.property-price {
    color: #3498db;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0.5rem 0;
}

.property-details {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    color: #666;
}

.property-details span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Property Modal Styles */
.property-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image {
    height: 400px;
    background-size: cover;
    background-position: center;
}

.modal-info {
    padding: 2rem;
}

.modal-info h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.contact-agent {
    background: #3498db;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 1rem;
    transition: background 0.3s ease;
}

.contact-agent:hover {
    background: #2980b9;
}

.view-details {
    background: #3498db;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    margin-top: 1rem;
    transition: background 0.3s ease;
}

.view-details:hover {
    background: #2980b9;
}

.property-location {
    color: #666;
    margin: 0.5rem 0;
}

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

    .modal-image {
        height: 300px;
    }

    .modal-info {
        padding: 1.5rem;
    }
}

/* Top Contact Bar */
.top-contact {
    display: none; /* Remove the old top contact bar */
}

/* Sanbra City Section */
.sanbra-city {
    height: 100vh;
    display: flex;
    background: #F5E6D3;
}

.sanbra-city-image {
    width: 50%;
    height: 100%;
    background-image: url('img/UnderGarage.jpg');
    background-size: cover;
    background-position: center;
}

.sanbra-city-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5%;
    position: relative;
    background: linear-gradient(to right, #F5E6D3, #E6D5C3);
}

.sanbra-city-content h2 {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 900;
    color: #4A3C31;
    text-transform: none;
    line-height: 0.9;
    margin-bottom: 2rem;
    position: relative;
}

.sanbra-city-content h3 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #6B4423;
    margin-bottom: 3rem;
    letter-spacing: 2px;
}

.buy-now-btn {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    background-color: var(--accent-color);
    color: var(--light-text);
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    letter-spacing: 1px;
    width: fit-content;
}

.buy-now-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 992px) {
    .sanbra-city {
        flex-direction: column;
    }

    .sanbra-city-image,
    .sanbra-city-content {
        width: 100%;
    }

    .sanbra-city-image {
        height: 40vh;
    }
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    overflow: hidden;
}

.gallery-modal .modal-content {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-modal .modal-content img {
    max-width: 85vw;
    max-height: 85vh;
    object-fit: contain;
    display: block;
    margin: 0;
    padding: 0;
}

.gallery-modal .modal-caption {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    text-align: center;
    padding: 2rem;
    z-index: 10000;
}

.gallery-modal .modal-caption h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.gallery-modal .modal-caption p {
    font-size: 1.3rem;
    opacity: 0.9;
}

.gallery-modal .modal-close {
    position: fixed;
    top: 2rem;
    right: 2.5rem;
    color: var(--white);
    font-size: 3.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

.gallery-modal .modal-close:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

@media (max-width: 576px) {
    .gallery-modal .modal-content img {
        max-width: 98vw;
        max-height: 70vh;
    }

    .gallery-modal .modal-caption h3 {
        font-size: clamp(1.2rem, 4vw, 1.6rem);
    }

    .gallery-modal .modal-caption p {
        font-size: clamp(0.9rem, 2vw, 1.1rem);
    }
    
    .gallery-modal .modal-close {
        width: 35px;
        height: 35px;
        font-size: clamp(1.5rem, 4vw, 2rem);
    }
}

/* Mobile menu styles */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 15px;
        text-align: center;
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .mobile-menu {
        display: block;
        cursor: pointer;
        padding: 10px;
    }

    .mobile-menu i {
        font-size: 24px;
    }
}

/* Desktop styles */
@media screen and (min-width: 769px) {
    .mobile-menu {
        display: none;
    }

    .nav-links {
        display: flex;
    }
}

/* Responsive sections */
.about,
.location,
.features,
.gallery,
.contact {
    padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 3vw, 3%);
}

/* Responsive grid layouts */
.location-grid,
.gallery-grid,
.footer-content {
    display: grid;
    gap: var(--spacing-md);
}

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

.gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

@media (max-width: 576px) {
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive Sanbra City section */
.sanbra-city-content h2 {
    font-size: clamp(3rem, 10vw, 7rem);
}

.sanbra-city-content h3 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

@media (max-width: 992px) {
    .sanbra-city {
        flex-direction: column;
    }
    
    .sanbra-city-image,
    .sanbra-city-content {
        width: 100%;
    }
    
    .sanbra-city-image {
        height: 40vh;
    }
}

/* Responsive buttons */
.btn,
.buy-now-btn {
    padding: clamp(0.6rem, 2vw, 1.2rem) clamp(1.5rem, 4vw, 3.5rem);
    font-size: clamp(0.8rem, 1.5vw, 1.1rem);
}

/* Responsive form elements */
#contact-form input,
#contact-form textarea {
    padding: clamp(0.6rem, 2vw, 0.8rem);
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
}

/* Responsive images */
img {
    max-width: 100%;
    height: auto;
}

/* Touch-friendly interactions */
@media (hover: none) {
    .btn:hover,
    .gallery-item:hover,
    .location-item:hover {
        transform: none;
    }
}

/* Print styles */
@media print {
    .navbar,
    .hero-buttons,
    .gallery,
    .contact-form,
    .modal-nav,
    .modal-close {
        display: none;
    }
}

/* Reduced heading sizes */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
}

h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
}

/* Content text adjustments */
p, li {
    font-size: 1.17rem;
    line-height: 1.6;
    color: #333333; /* Deeper text color */
}

.about-location .section-description {
    position: absolute;
    top: 8rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 800px;
    margin: 0;
    padding: 0 1rem;
    font-size: 1.43rem;
    color: #222222; /* Deeper text color */
}

.hero-content p {
    font-size: 1.625rem;
    margin-bottom: 2rem;
    color: #ffffff; /* Brighter white for better contrast */
}

.features-text p {
    font-size: 1.56rem;
    line-height: 1.8;
    color: #222222; /* Deeper text color */
    opacity: 1; /* Removed opacity to make text more solid */
    margin-bottom: 1.5rem;
}

.features-text ul {
    margin: 0.5rem 0 1rem 0;
    padding-left: 1.3rem;
}

.features-text li {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 0.7rem;
    color: #222222; /* Deeper text color */
    opacity: 1; /* Removed opacity to make text more solid */
}

.carousel-caption p {
    font-size: 1.56rem;
    opacity: 1; /* Removed opacity to make text more solid */
    color: #ffffff; /* Brighter white for better contrast */
}

.contact-info p {
    font-size: 1.17rem;
    margin-bottom: 0.8rem;
    color: #444444; /* Deeper text color */
}

footer p {
    font-size: 1.17rem;
    line-height: 1.6;
    color: #e0e0e0; /* Brighter text for better contrast on dark background */
}

footer ul li {
    color: #e0e0e0; /* Brighter text for better contrast on dark background */
}

/* Luxury Living Section */
.luxury-living {
    min-height: 100vh;
    position: relative;
    background: url('img/FenceView.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    padding: 5rem 2rem;
}

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

.luxury-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.luxury-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #ffffff;
    font-family: 'Playfair Display', serif;
}

.luxury-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.feature-item p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.btn-outline-light {
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-light:hover {
    background: #ffffff;
    color: var(--navy);
}

@media (max-width: 992px) {
    .luxury-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .luxury-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-item {
        padding: 1.5rem;
    }
}

/* Project Info Section */
.project-info {
    background-color: #0C2347; /* Lightened from #0A1F3D */
    color: #ffffff;
    padding: 6rem 0;
    position: relative;
}

.project-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
}

.project-logo {
    width: 120px;
    margin-bottom: 2rem;
}

.project-info h2 {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: #ffffff;
    font-family: 'Playfair Display', serif;
}

.project-description {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.project-description p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.project-info .btn-outline-light {
    margin-top: 2rem;
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
    background: transparent;
}

.project-info .btn-outline-light:hover {
    background: #ffffff;
    color: #0C2347; /* Updated to match new background color */
}

@media (max-width: 768px) {
    .project-info {
        padding: 4rem 0;
    }

    .project-info h2 {
        font-size: 2.2rem;
    }

    .project-description p {
        font-size: 1.1rem;
        line-height: 1.6;
    }
}

/* Location Showcase Section */
.location-showcase {
    padding: 6rem 0;
    background: #ffffff;
    position: relative;
}

.location-showcase .row {
    align-items: flex-start !important;
    margin-top: -3rem;
}

.location-text {
    padding: 2rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.location-text .text-center {
    margin-top: 1rem;
}

.location-cta {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background: var(--gold);
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-size: 1.1rem;
}

.location-cta:hover {
    background: #B3966D;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    text-decoration: none;
}

.text-center.mt-4 {
    margin-top: 2.5rem !important;
}

.distance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.distance-item {
    background: #0C2347;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.distance-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    background: #0A1F3D;
}

.distance-item h3 {
    font-size: 0.95rem;
    color: #ffffff;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.distance-item p {
    font-size: 1rem;
    color: var(--gold);
    margin: 0;
    font-weight: 700;
}

@media (max-width: 992px) {
    .location-text {
        padding-right: 0;
        margin-bottom: 3rem;
    }

    .location-text h2 {
        font-size: 2.4rem;
    }

    .distance-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .location-showcase {
        padding: 4rem 0;
    }

    .location-text h2 {
        font-size: 2rem;
    }

    .location-amenities li {
        font-size: 1.1rem;
    }

    .distance-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Image Showcase Section */
.image-showcase {
    position: relative;
    height: 100vh;
    background: #0C2347;
    overflow: hidden;
}

.showcase-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.showcase-slides {
    width: 100%;
    height: 100%;
}

.showcase-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-slide.active {
    opacity: 1;
}

.showcase-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: clamp(1rem, 4vw, 2rem);
    background: linear-gradient(transparent, rgba(12, 35, 71, 0.9));
    color: #ffffff;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.showcase-slide.active .showcase-caption {
    transform: translateY(0);
}

.showcase-caption h3 {
    font-size: clamp(1.2rem, 3vw, 2rem);
    margin-bottom: clamp(0.3rem, 1vw, 0.5rem);
    font-family: 'Playfair Display', serif;
    color: var(--gold);
}

.showcase-caption p {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    color: #ffffff;
    margin: 0;
    line-height: 1.4;
}

.showcase-prev,
.showcase-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(12, 35, 71, 0.7);
    color: #ffffff;
    border: none;
    width: clamp(35px, 6vw, 50px);
    height: clamp(35px, 6vw, 50px);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-prev {
    left: clamp(0.5rem, 2vw, 2rem);
}

.showcase-next {
    right: clamp(0.5rem, 2vw, 2rem);
}

.showcase-prev:hover,
.showcase-next:hover {
    background: rgba(12, 35, 71, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.showcase-prev i,
.showcase-next i {
    font-size: clamp(1rem, 2vw, 1.5rem);
}

.showcase-dots {
    position: absolute;
    bottom: clamp(4rem, 10vh, 8rem);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: clamp(0.5rem, 1vw, 1rem);
    z-index: 10;
}

.showcase-dot {
    width: clamp(8px, 1.5vw, 12px);
    height: clamp(8px, 1.5vw, 12px);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.showcase-dot.active {
    background: var(--gold);
    transform: scale(1.2);
}

/* Portrait Mobile Devices */
@media screen and (max-width: 480px) and (orientation: portrait) {
    .image-showcase {
        height: calc(100vh - 60px); /* Account for mobile browser chrome */
    }

    .showcase-caption {
        padding: 1rem;
    }

    .showcase-caption h3 {
        font-size: 1.1rem;
        margin-bottom: 0.2rem;
    }

    .showcase-caption p {
        font-size: 0.9rem;
    }

    .showcase-prev,
    .showcase-next {
        width: 32px;
        height: 32px;
    }

    .showcase-dots {
        bottom: 3rem;
    }
}

/* Landscape Mobile Devices */
@media screen and (max-height: 480px) and (orientation: landscape) {
    .image-showcase {
        height: 100vh;
    }

    .showcase-caption {
        padding: 0.8rem;
        background: rgba(12, 35, 71, 0.9);
    }

    .showcase-caption h3 {
        font-size: 1rem;
        margin-bottom: 0.2rem;
    }

    .showcase-caption p {
        font-size: 0.8rem;
    }

    .showcase-dots {
        bottom: 2.5rem;
    }

    .showcase-prev,
    .showcase-next {
        width: 30px;
        height: 30px;
    }
}

/* Tablets */
@media screen and (min-width: 481px) and (max-width: 1024px) {
    .showcase-caption {
        padding: 1.5rem;
    }

    .showcase-caption h3 {
        font-size: 1.5rem;
    }

    .showcase-caption p {
        font-size: 1rem;
    }

    .showcase-dots {
        bottom: 5rem;
    }
}

/* Touch-enabled devices */
@media (hover: none) {
    .showcase-prev,
    .showcase-next {
        background: rgba(12, 35, 71, 0.8);
        padding: 0.8rem;
    }

    .showcase-prev:hover,
    .showcase-next:hover {
        transform: translateY(-50%);
        background: rgba(12, 35, 71, 0.8);
    }
}

/* High-resolution displays */
@media screen and (min-width: 1400px) {
    .showcase-caption {
        padding: 2.5rem;
    }

    .showcase-caption h3 {
        font-size: 2.2rem;
    }

    .showcase-caption p {
        font-size: 1.3rem;
    }
}

/* Ensure content is visible on very small screens */
@media screen and (max-width: 320px) {
    .showcase-caption {
        padding: 0.8rem;
    }

    .showcase-caption h3 {
        font-size: 1rem;
    }

    .showcase-caption p {
        font-size: 0.8rem;
    }

    .showcase-prev,
    .showcase-next {
        width: 28px;
        height: 28px;
    }

    .showcase-dots {
        bottom: 2rem;
    }
}