/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'San Francisco', 'Segoe UI', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}
.container {
    width: 92%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

h1, h2, h3 {
    margin-bottom: 20px;
    color: #172b25;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 15px;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    background-color: #172b25;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    cursor: pointer;
    font-weight: 600;
}

.btn:hover {
    background-color: #0e1a17;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #172b25;
    color: white;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    margin-right: 10px;
    vertical-align: middle;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ddd;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    color: white;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: background-color 0.3s ease;
    border: none;
    outline: none;
    margin: 0;
}

.menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.menu-toggle:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    background-image: linear-gradient(to right, rgba(23, 43, 37, 0.4), rgba(23, 43, 37, 0.7)), url('https://img.freepik.com/premium-photo/person-holding-small-house-model-real-estate-agent-offer-house-property-insurance-security-concept-wide-banner-composition-with-bokeh-background-copy-space_528263-2843.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    margin-top: 0;
    padding-top: 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    z-index: -1;
    opacity: 0.6;
    animation: pulse 15s infinite alternate;
}

@keyframes pulse {
    0% { opacity: 0.4; }
    100% { opacity: 0.8; }
}

.hero .container {
    max-width: 900px;
    padding: 0 30px;
    margin: 0 auto;
    margin-top: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-top: 40px;
}

.btn {
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background-color: #172b25;
    color: white;
    border: 2px solid #172b25;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    background-color: #0f1c18;
}

.contact-form .btn {
    width: 100%;
    background-color: #172b25;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.contact-form .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    z-index: 1;
}

.contact-form .btn:hover::before {
    left: 0;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    z-index: -1;
}

.btn-secondary:hover {
    background-color: transparent;
    border-color: white;
}

.btn-secondary:hover::before {
    left: 0;
}

/* Video Modal */
.video-modal-content {
    width: 90%;
    max-width: 1000px;
    background-color: transparent;
    padding: 0;
}

.video-modal-content .video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
}

.video-modal-content .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: white;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
}

.hero h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
}

.hero p {
    font-size: 1.5rem;
    margin: 30px auto;
    max-width: 700px;
    line-height: 1.6;
    font-weight: 300;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

/* Upcoming Projects Section */
.upcoming-projects {
    background-color: #fff;
    padding: 80px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    height: 250px;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(23, 43, 37, 0.9), transparent);
    padding: 20px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}

.project-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.project-status {
    font-size: 0.9rem;
    background-color: #172b25;
    padding: 5px 10px;
    border-radius: 20px;
    display: inline-block;
}

.project-modal-content {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    padding: 0;
    max-width: 800px;
}

.project-modal-content img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

.project-modal-details {
    padding: 30px;
}

.project-modal-details h3 {
    margin-bottom: 10px;
    color: #172b25;
}

.project-modal-details p {
    margin-bottom: 15px;
    line-height: 1.6;
}

#project-modal-status {
    display: inline-block;
    background-color: #172b25;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* Properties Gallery Section */
.properties {
    background-color: #f9f9f9;
}

.gallery-container {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.colony-list {
    flex: 1;
    max-width: 300px;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.colony-list h3 {
    margin-bottom: 20px;
    text-align: center;
}

#colony-selector li {
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #f5f5f5;
}

#colony-selector li:hover {
    background-color: #e9e9e9;
}

#colony-selector li.active {
    background-color: #172b25;
    color: white;
}

.gallery-view {
    flex: 3;
}

.colony-gallery {
  display: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}


.colony-gallery.active {
  display: block;
}
.property-info-card {
     position: relative;
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    width: 100%;
}

.official-website-link {
  position: absolute;
  bottom: 20px;
  right: 30px;
  font-size: 0.95rem;
  color: #172b25; /* green tone */
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
}

.official-website-link i {
  margin-left: 6px;
  transition: transform 0.2s ease;
}

.official-website-link:hover {
  text-decoration: underline;
}

.official-website-link:hover i {
  transform: translateX(3px);
}
.property-info-card .info-media {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.property-info-card iframe,
.property-info-card img {
    flex: 1 1 48%;
    height: 250px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.map-image-wrapper {
  position: relative;
  cursor: pointer;
  display: inline-block;
}

.map-image-wrapper .zoom-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(23, 43, 37, 0.8);
  color: white;
  padding: 8px;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-size: 1rem;
  pointer-events: none;
}

.map-image-wrapper:hover .zoom-icon {
  opacity: 1;
}
.gallery-item {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    position: relative;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(23, 43, 37, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item .overlay span {
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    text-align: center;
    padding: 15px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    top: 50%;
    transform: translateY(-50%);
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1101;
}

#modal-image {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

#modal-title {
    color: white;
    margin-top: 20px;
    text-align: center;
}

/* Contact Section */
.contact {
    background-color: #f5f8f7;
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px;
    margin-top: 40px;
}

.contact-info, .contact-form, .map-container {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(23, 43, 37, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info:hover, .contact-form:hover, .map-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(23, 43, 37, 0.12);
}

.contact h3 {
    color: #172b25;
    margin-bottom: 25px;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #172b25;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.info-item i {
    font-size: 1.5rem;
    color: #172b25;
    margin-right: 15px;
    margin-top: 5px;
    transition: transform 0.3s ease;
}

.info-item:hover i {
    transform: scale(1.2);
}

.info-item a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: #172b25;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #172b25;
    box-shadow: 0 0 0 2px rgba(23, 43, 37, 0.1);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.map-container {
    display: flex;
    flex-direction: column;
}

.map-wrapper {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    height: 350px;
    border: 2px solid #172b25;
    box-shadow: 0 5px 15px rgba(23, 43, 37, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-wrapper:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(23, 43, 37, 0.2);
}

.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: hue-rotate(10deg) saturate(1.2);
}

/* Footer */
.footer {
    background-color: #172b25;
    color: white;
    padding: 60px 0 20px;
    position: relative;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px; /* spacing between logo and text */
}

.logo-img-footer {
    width: 60px; /* adjust as needed */
    height: auto;
}

.logo-text h3 {
    margin: 0;
    font-size: 1.2em;
    color: white;
}

.logo-text p {
    margin: 0;
    font-size: 0.9em;
    color: #ccc;
}


.footer-contact i {
    margin-right: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.back-to-top {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: white;
    color: #172b25;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.back-to-top:hover {
    background-color: #f5f5f5;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .gallery-container, .contact-container {
        flex-direction: column;
    }
    
    .colony-list {
        max-width: 100%;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .video-modal-content {
        width: 95%;
    }
    
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .map-container {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block !important;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #172b25;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        z-index: 1000;
        display: none;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        display: flex;
        pointer-events: auto;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .map-wrapper {
        height: 250px;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.3;
    }
    
    .hero h1::after {
        width: 60px;
        height: 2px;
        bottom: -8px;
    }
    
    .hero p {
        font-size: 1.2rem;
        margin: 25px auto;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
    }
    
    .btn {
        padding: 12px 28px;
        width: 100%;
        max-width: 280px;
    }
    
    section {
        padding: 60px 0;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-card {
        height: 220px;
    }
    
    .project-overlay {
        transform: translateY(0);
        background: linear-gradient(to top, rgba(23, 43, 37, 0.8), rgba(23, 43, 37, 0.4), transparent);
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 0 15px;
    }
    
    .hero .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero h1::after {
        width: 50px;
        height: 2px;
        bottom: -6px;
    }
    
    .hero p {
        font-size: 1rem;
        margin: 20px auto;
        line-height: 1.5;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        max-width: 240px;
    }
    
    .hero-buttons {
        margin-top: 25px;
        gap: 12px;
    }
    
    .colony-gallery {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .project-card {
        height: 200px;
    }
    
    .project-modal-content {
        width: 100%;
    }
    
    .project-modal-details {
        padding: 20px;
    }
    
    .video-modal-content {
        width: 100%;
    }
    
    .upcoming-projects {
        padding: 40px 0;
    }
}