/* General Styles */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #343a40;
    line-height: 1.6;
}

.logo a {
    text-decoration: none;
    color: #fff;
    font-size: 1.5em;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.logo-accent {
    color: #26a69a; /* Lighter Teal */
}

/* Header and Navigation */
header {
    background: linear-gradient(135deg, #004d40 0%, #00695c 100%);
    color: #fff;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    margin: 0 auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #26a69a;
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
}

.burger-bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section with Slider */
.hero {
    position: relative;
    color: #fff;
    text-align: center;
    padding: 300px 0 200px;
    margin-top: 60px;
    overflow: hidden;
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(38, 166, 154, 0.1), rgba(0, 77, 64, 0.1));
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.slider-controls button {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    color: #004d40;
    font-size: 24px;
    padding: 10px 15px;
    margin: 0 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-controls button:hover {
    background: rgba(255, 255, 255, 1);
}

.hero-content h1 {
    font-size: 3em;
    margin-bottom: 0.5em;
    text-shadow: 0 4px 8px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Button */
.cta-button {
    background: linear-gradient(135deg, #26a69a 0%, #00796b 100%);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(38, 166, 154, 0.3);
    display: inline-block;
}

.cta-button:hover {
    background: linear-gradient(135deg, #00796b 0%, #004d40 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(38, 166, 154, 0.4);
}

/* Sections */
.features, .contact {
    padding: 4rem 0;
    text-align: center;
}

.feature-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 90%;
    margin: 0 auto;
}

.feature {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    flex-basis: 300px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.feature h3 {
    color: #004d40;
    margin-bottom: 1rem;
}

/* Investment Section */
.investment {
    padding: 4rem 0;
    background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%);
    text-align: center;
}

.investment h2 {
    font-size: 2.5em;
    margin-bottom: 2rem;
    color: #004d40;
}

.investment-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    width: 90%;
    margin: 0 auto;
    align-items: center;
}

.investment-text-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    width: 100%;
}

.investment-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    text-align: left;
    border-top: 4px solid #00796b;
}

.investment-card h3 {
    color: #004d40;
    margin-bottom: 1rem;
    font-size: 1.5em;
}

.investment-card ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.investment-text li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.investment-card li strong {
    color: #00796b;
}

.main-image-container {
    margin-bottom: 1rem;
}

#main-investment-image {
    width: 100%;
    height: 400px; /* Taller main image */
    object-fit: contain;
    object-position: center;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: opacity 0.3s ease;
}

.thumbnail-container {
    display: flex;
    gap: 10px;
    overflow-x: auto; /* Makes the row scrollable */
    padding: 10px 2px; /* Adds some space for scrollbar and hover effects */
}

.thumbnail-image {
    width: 80px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: border-color 0.3s ease, transform 0.3s ease;
    flex-shrink: 0; /* Prevents thumbnails from shrinking */
}

.thumbnail-image.active-thumbnail, .thumbnail-image:hover {
    border-color: #00796b; /* Highlight color */
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .investment-text-grid {
        grid-template-columns: 1fr;
    }
}
/* Video Section (if present) */
.video {
    padding: 4rem 0;
    text-align: center;
}

.video-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 15px;
}

/* Map Section */
.map {
    padding: 4rem 0;
    text-align: center;
}

.map-container {
    position: relative;
    width: 90%;
    height: 60vh; /* Good height for a map */
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-radius: 15px;
}

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

/* Points of Interest (POI) Section */
.poi-container {
    width: 90%;
    margin: 2rem auto 0;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    overflow: hidden; /* To keep rounded corners with menu */
}

.poi-container h3 {
    color: #004d40;
    padding: 1.5rem 0;
    margin: 0;
    text-align: center;
    font-size: 1.5em;
    background-color: #f8f9fa;
}

.poi-menu {
    display: flex;
    overflow-x: auto;
    background-color: #e0f2f1;
}

.poi-tab {
    padding: 1rem 1.5rem;
    cursor: pointer;
    border: none;
    background-color: transparent;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    color: #004d40;
    flex-shrink: 0;
    position: relative;
    transition: background-color 0.3s ease;
}

.poi-tab:hover {
    background-color: #b2dfdb;
}

.poi-tab.active {
    color: #00796b;
}

.poi-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #00796b;
}

.poi-content-container {
    padding: 2rem;
}

.poi-content {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: center;
}

.poi-content.active {
    display: grid;
}

.poi-content img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 10px;
}

.poi-text a.map-link-button {
    display: inline-block;
    margin-top: 1rem;
    background-color: #00796b;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.poi-text a.map-link-button:hover {
    background-color: #004d40;
}

/* Comparison Section */
.comparison-section {
    padding: 4rem 0;
    text-align: center;
}

.comparison-section h2 {
    font-size: 2.5em;
    margin-bottom: 2rem;
    color: #004d40;
}

.comparison-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    align-items: center;
    gap: 2rem;
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pie-chart {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: conic-gradient(
        #00796b 0% 65%, 
        #b2dfdb 65% 100%
    );
    margin-bottom: 1.5rem;
}

.chart-legend div {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.legend-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-right: 10px;
}

.legend-dot.this-property { background-color: #b2dfdb; }
.legend-dot.market-average { background-color: #00796b; }

.comparison-text h3 {
    color: #004d40;
    margin-top: 0;
}

.comparison-text {
    text-align: left;
}

.comparison-text ul {
    padding-left: 1.5rem;
}

.comparison-text li {
    margin-bottom: 1rem;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%);
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-name {
    font-size: 1.2em;
    font-weight: bold;
    color: #004d40;
    margin: 0;
}

.contact-link {
    color: #00796b;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #004d40;
    text-decoration: underline;
}

.whatsapp-link svg {
    transition: transform 0.3s ease;
}

.whatsapp-link:hover svg {
    transform: scale(1.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact input,
.contact textarea {
    width: 50%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid #b2dfdb;
    border-radius: 10px;
    transition: border-color 0.3s ease;
}

.contact input:focus,
.contact textarea:focus {
    outline: none;
    border-color: #26a69a;
}

.contact button {
    border: none;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #004d40 0%, #00695c 100%);
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    box-shadow: 0 -4px 8px rgba(0,0,0,0.2);
}

/* To Top Button */
.to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #26a69a 0%, #00796b 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(38, 166, 154, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.to-top:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(38, 166, 154, 0.4);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #25D366; /* Official WhatsApp Green */
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Media Queries */

/* Tablet */
@media (max-width: 768px) {
    .feature-grid {
        flex-direction: column;
        align-items: center;
    }

    .feature {
        flex-basis: 80%;
        max-width: 400px;
    }

    .contact input,
    .contact textarea {
        width: 70%;
    }
}

/* Mobile */
@media (max-width: 480px) {
    header {
        padding: 0.5rem 0;
    }

    .logo a {
        font-size: 1.2em;
    }

    main {
        /* Add padding to account for fixed header */
        padding-top: 50px;
    }

    .hero {
        margin-top: 0; /* Remove margin now that main has padding */
        padding: 100px 20px;
        min-height: auto;
    }

    /* Full-height sections for app feel */
    .hero {
        margin-top: 0;
        padding: 150px 20px 100px;
    }

    .features, .contact {
        padding: 2rem 1rem;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .feature-grid {
        flex-direction: column;
        gap: 15px;
    }

    .feature {
        flex-basis: auto;
        padding: 1.5rem;
        border-radius: 20px;
    }

    .contact form {
        width: 90%;
    }

    .contact input,
    .contact textarea {
        width: 100%;
        border-radius: 15px;
    }

    .cta-button {
        padding: 12px 24px;
        border-radius: 20px;
    }

    .video-container,
    .map-container {
        border-radius: 20px;
    }

    /* Adjust footer for mobile */
    footer {
        padding: 2rem 1rem;
        position: relative;
    }

    /* Investment section mobile */
    .investment-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .thumbnail-container {
        flex-wrap: wrap;
        justify-content: center;
        overflow-x: visible;
    }

    .thumbnail-image {
        width: 60px;
        height: 45px;
    }

    /* To-top button adjustment */
    .to-top {
        bottom: 80px; /* Above bottom nav */
    }

    .floating-whatsapp {
        bottom: 20px;
        left: 20px;
    }

    .comparison-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .poi-content {
        grid-template-columns: 1fr;
    }

    .poi-text {
        text-align: center;
    }
}
