/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700&family=Lato:wght@300;400;700&family=Montserrat:wght@400;500;600;700&display=swap');

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

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333333;
    font-weight: 400;
}

/* Navigation Bar */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.nav-logo {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.nav-logo h2 {
    color: #1A2E40;
    font-size: 26px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
    justify-content: flex-end;
}

.nav-link {
    text-decoration: none;
    color: #333333;
    font-weight: 500;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    padding: 8px 14px;
    border-radius: 5px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.nav-link:hover {
    background: #f5f5f5;
}

.crm-link {
    background: #4A90E2;
    color: white !important;
}

.crm-link:hover {
    background: #357ABD !important;
}

.nav-logo a {
    text-decoration: none;
    color: inherit;
}

.nav-logo a:visited,
.nav-logo a:active,
.nav-logo a:hover {
    color: inherit;
    background: none;
    text-decoration: none;
}

/* Hamburger Menu for Mobile */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #6B6B6B;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section with Peach Background */
.hero-section {
    position: relative;
    height: 70vh;
    margin-top: 60px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-container {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
    z-index: 1;
}

.hero-gallery {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-content {
    width: 50%;
    text-align: left;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.hero-title {
    font-size: 4.2rem;
    margin-bottom: 30px;
    color: #f8f4f0;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    letter-spacing: -1px;
    line-height: 1.1;
    width: 100%;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-profile {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
    justify-content: flex-start;
    width: 100%;
    margin-left: 0;
}

.profile-circle {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.profile-name {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: #F8F4F0;
    margin-bottom: 1px;
    letter-spacing: -0.3px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.profile-description {
    font-size: 1.1rem;
    color: #F8F4F0;
    line-height: 1.7;
    margin-bottom: 15px;
    font-weight: 600;

    font-family: 'Montserrat', sans-serif;
        letter-spacing: 0.1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.cta-button {
    background: #4A90E2;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.3rem;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    letter-spacing: 0.3px;
    align-self: flex-start;
    margin-left: 0;
}

.cta-button:hover {
    background: #357ABD;
}

/* Looping Gallery Styles */
.looping-gallery {
    display: flex;
    gap: 0px;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.gallery-column {
    height: 700px;
    overflow: hidden;
    position: relative;
}

.gallery-column:first-child {
    width: 33.33%; /* Equal size - half of the gallery area */
}

.gallery-column:nth-child(2) {
    width: 66.67%; /* Equal size - half of the gallery area */
}

.column-loop-up,
.column-loop-down {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 20px;
    position: relative;
}

/* Fallback CSS animations if GSAP doesn't load */
@keyframes scrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

@keyframes scrollDown {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(0); }
}

/* Apply fallback animations */
.column-loop-up {
    animation: scrollUp 35s linear infinite;
}

.column-loop-down {
    animation: scrollDown 35s linear infinite;
}

/* Pause animations on hover */
.gallery-column:hover .column-loop-up,
.gallery-column:hover .column-loop-down {
    animation-play-state: paused;
}

.gallery-image {
    width: 100%;
    height: 220px; /* This line sets the height of the gallery images */
    object-fit: cover;
    border-radius: 0px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

/* Remove the old width override since we're using percentages now */

.gallery-image:hover {
    transform: scale(1.05);
}

/* Properties Section with Off-white Background */
.properties-section {
    background: white;
    padding: 60px 0 40px 0;
}

.container {
    width: 100%;
    margin: 0;
    padding: 0 40px;
}







.section-heading {
    text-align: center;
    font-size: 3.2rem;
    margin-bottom: -30px;
    margin-top: -40px;
    color: #1A2E40;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.5px;
    line-height: 1.2;
    position: relative;
}

.section-heading::after {
    content: "";
    display: block;
    width: 200px;               /* adjust length as needed */
    height: 3px;               /* thickness of the line */
    background-color: #6B6B6B;    /* subtle accent color */
    margin: 15px auto 0;       /* space above the line and center it */
    border-radius: 2px;        /* optional: rounded edges */
}







/* Horizontal Gallery for Properties Section */
.horizontal-gallery {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 40px;
}

.row-loop-left, .row-loop-right {
    display: flex;
    width: max-content;
    gap: 20px;
    align-items: center;
    justify-content: flex-end;
}










.gallery-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: -10px;
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.gallery-row-right {
    justify-content: flex-end;
}



.property-item {
     background: #fff;
     border-radius: 0;
     box-shadow: 0 4px 24px rgba(0,0,0,0.09);
     overflow: hidden;
     min-width: 380px;
     max-width: 380px;
     height: 300px;
     position: relative;
     transition: transform 0.25s cubic-bezier(.4,2,.6,1), box-shadow 0.25s;
     cursor: pointer;
     display: flex;
     flex-direction: column;
}

















.property-item:hover {
    transform: scale(1.05);
    z-index: 2;
}

.company-logo-section {
    height: 60px;
    width: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #f0f0f0;
}

.company-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.property-gallery-image {
    width: 100%;
    height: calc(100% - 60px);
    object-fit: cover;
    border-radius: 0;
}

/* Property overlay styles removed as requested */

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        gap: 15px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .hero-gallery {
        width: 100%;
    }
    
    .hero-content {
        width: 100%;
        text-align: center;
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-profile {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .profile-circle {
        width: 140px;
        height: 140px;
    }
    
    .profile-name {
        font-size: 1.5rem;
    }
    
    .looping-gallery {
        gap: 15px;
    }
    
    .gallery-column {
        height: 650px;
    }
    
    .gallery-column:first-child {
        width: 60%;
    }
    
    .gallery-column:nth-child(2) {
        width: 40%;
    }
    
    .gallery-image {
        height: 170px;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
    }
    
    .section-heading {
        font-size: 2rem;
    }

    /* Responsive adjustments for property items */
    .property-item {
        width: 350px;
        height: 200px;
    }

    .gallery-row {
        height: 220px;
    }
}


/* Footer */
.footer {
    background: #1f1f1f;
    color: white;
    padding: 20px 0 20px; /* Adjusted padding-top */
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #4A90E2;
}

.footer-section p {
    margin-bottom: 10px;
    color: #ccc;
}

.footer-section p i {
    margin-right: 10px;
    color: #4A90E2;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #ccc;
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-section {
        height: auto;
        min-height: 70vh;
        padding: 40px 0;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .gallery-column {
        width: 160px;
        height: 520px;
    }
    
    .gallery-image {
        height: 130px;
    }

    /* Further adjustments for property items on mobile */
    .property-item {
        width: 150px;
        height: 100px;
    }

    .gallery-row {
        height: 100px;
    }

    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }


}
