/* Polderpark Website Styles */

:root {
    --primary-color: #81A969;
    --secondary-color: #4A4843;
    --text-color: #000000;
    --light-bg: #F8F8F7;
    --white: #FFFFFF;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: var(--text-color);
}

/* Header and Navigation */
header {
    background-color: rgba(74, 72, 67, 0.8); /* Added opacity to #4A4843 for larger screens */
    padding: 10px 0;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* Add a class for desktop header to help with media queries */
.desktop-header {
    background-color: rgba(74, 72, 67, 0.8);
}

/* Styling for taller header on all pages */
.home-header {
    height: 90px; /* Increased height for the top navigation bar */
}

/* Make navigation vertically centered in the taller header */
.home-header .navbar {
    height: 100%;
    display: flex;
    align-items: center;
}

/* Adjust navigation items for vertical centering */
.home-header .navbar-nav {
    display: flex;
    align-items: center;
    height: 100%;
}

.home-header .collapse {
    height: 100%;
}

.home-header .nav-item {
    display: flex;
    align-items: center;
}

/* Logo styling for desktop overlap effect */
.logo-overlap {
    max-height: 100px;
    position: relative;
    z-index: 1010;
    margin-top: 10px;
}

/* Only apply the overlap effect on desktop */
@media (min-width: 992px) {
    .navbar-brand {
        position: absolute;
        left: 15px;
        top: 0;
    }
    
    .logo-overlap {
        max-height: 150px; /* Larger logo for desktop */
    }
    
    /* Positioning for logo in taller header */
    .home-header .navbar-brand {
        top: 0; /* Position logo at the top of the header */
    }
    
    .home-header .logo-overlap {
        max-height: 170px; /* Larger logo for taller header */
    }
}

.navbar {
    padding: 0;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--white);
    font-weight: 500;
    padding: 8px 18px;
    transition: color 0.3s ease;
}

/* Styling for navigation in taller header */
.home-header .navbar-nav .nav-link {
    padding: 10px 20px;
    font-size: 1.05rem;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Hero Section */
.hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 95px; /* Reduced to account for smaller header */
}

/* Adjust hero padding for desktop to accommodate overlapping logo */
@media (min-width: 992px) {
    .hero {
        padding-top: 130px; /* Increased further for taller header on all pages */
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 40px;
    border-radius: 5px;
    max-width: 700px;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero h1 span {
    color: var(--primary-color);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-light {
    background-color: var(--light-bg);
}

.section-title {
    margin-bottom: 40px;
    position: relative;
    text-align: center;
}

.section-title h2 {
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title h2 span {
    color: var(--primary-color);
}

/* About Section */
.about-img {
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

/* Units Section */
.unit-card {
    transition: transform 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
}

.unit-card:hover {
    transform: translateY(-10px);
}

.unit-img {
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.unit-info {
    padding: 20px;
    background-color: var(--white);
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.unit-info h3 {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.unit-price {
    font-weight: 700;
    margin: 15px 0;
    font-size: 1.2rem;
}

/* Unit specs list */
.unit-specs {
    list-style-type: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.unit-specs li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.unit-specs li:last-child {
    border-bottom: none;
}

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

/* Contact page styles */
.contact-item {
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.map-container {
    overflow: hidden;
    padding-bottom: 0;
    position: relative;
    height: 450px;
}

.map-container iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

/* Features Section */
.feature-box {
    text-align: center;
    margin-bottom: 30px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.feature-box h3 {
    font-weight: 600;
    margin-bottom: 10px;
}

/* Company Section */
.company-img {
    max-width: 200px;
    margin: 0 auto;
}

/* Contact CTA */
.contact-cta {
    text-align: center;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 40px 0 20px;
    font-size: 0.9rem;
}

footer a {
    color: var(--white);
    text-decoration: none;
}

footer a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* Social media icons in footer */
footer .fa-facebook-f,
footer .fa-instagram,
footer .fa-linkedin-in {
    transition: color 0.3s ease;
}

footer .fa-facebook-f:hover {
    color: #3b5998; /* Facebook blue */
}

footer .fa-instagram:hover {
    color: #e1306c; /* Instagram pink */
}

footer .fa-linkedin-in:hover {
    color: #0077b5; /* LinkedIn blue */
}

/* Footer social media section */
footer .social-section h5 {
    text-align: right;
}

footer .social-icons {
    display: flex;
    justify-content: flex-end;
}

/* Timeline styles for About page */
.timeline-container {
    position: relative;
    padding: 30px 0;
    margin: 40px 0;
}

/* Central vertical line */
.timeline-container::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--primary-color);
    opacity: 0.6;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    box-shadow: 0 0 8px rgba(129, 169, 105, 0.4);
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 30px;
}

/* Circles on the timeline */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background-color: white;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    top: 15px;
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(129, 169, 105, 0.2), 0 0 10px rgba(0, 0, 0, 0.2);
}

/* Place the container to the left */
.timeline-left {
    left: 0;
}

/* Place the container to the right */
.timeline-right {
    left: 50%;
}

/* Add arrows to the left container (pointing right) */
.timeline-left::before {
    content: " ";
    position: absolute;
    top: 15px;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 12px solid white;
    right: 29px;
    z-index: 1;
    filter: drop-shadow(3px 0px 2px rgba(0, 0, 0, 0.1));
}

/* Add arrows to the right container (pointing left) */
.timeline-right::before {
    content: " ";
    position: absolute;
    top: 15px;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-right: 12px solid white;
    left: 29px;
    z-index: 1;
    filter: drop-shadow(-3px 0px 2px rgba(0, 0, 0, 0.1));
}

/* Fix the circle for containers on the right side */
.timeline-left::after {
    right: -12px;
}

/* Fix the circle for containers on the left side */
.timeline-right::after {
    left: -12px;
}

.timeline-content {
    padding: 25px;
    background-color: white;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
    border: 1px solid rgba(0,0,0,0.05);
}

.timeline-content h4 {
    margin-top: 0;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.timeline-content .timeline-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

/* Make sure content is centered for mobile */
@media screen and (max-width: 767px) {
    .timeline-container {
        margin-left: 20px;
    }
    
    .timeline-container::after {
        left: 31px;
        box-shadow: 0 0 6px rgba(129, 169, 105, 0.6);
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
        left: 0;
        margin-bottom: 40px;
    }
    
    .timeline-item::after {
        left: 21px;
    }
    
    .timeline-left::before,
    .timeline-right::before {
        left: 60px;
        border-right: 12px solid white;
        border-left: 0;
        filter: drop-shadow(-3px 0px 2px rgba(0, 0, 0, 0.1));
    }
    
    .timeline-right {
        left: 0;
    }
    
    .timeline-content {
        padding: 20px;
    }
}

.btn-primary {
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 8px 23px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

/* Responsive */
@media (max-width: 992px) {
    /* Add padding to body for fixed header */
    body {
        padding-top: 70px;
    }
    
    /* Fixed header for responsive */
    header, .desktop-header {
        background-color: var(--secondary-color); /* Solid background without opacity */
        position: fixed;
        padding: 8px 0;
        top: 0;
    }
    
    .navbar-brand img {
        max-height: 50px; /* Smaller logo for mobile */
    }
    
    /* Reset hero padding since we have body padding */
    .hero {
        padding-top: 0;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 60vh;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .navbar-collapse {
        background-color: var(--secondary-color);
        padding: 10px;
        border-radius: 0 0 5px 5px;
    }
}

@media (max-width: 576px) {
    .hero-content {
        padding: 30px;
        margin: 0 15px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
}