/* Header and Navigation */
.header {
    background: transparent;
    padding: 1rem 0;
    position: absolute;
    width: 100%;
    z-index: 1002;
    margin-bottom: 0;
    transition: background 0.3s ease;
}

@media (max-width: 768px) {
    .header {
        background: white;
        position: relative;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
}

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

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.nav-menu li {
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s, opacity 0.2s;
    padding: 0;
    display: inline-block;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .nav-menu a {
        color: #333 !important;
        text-shadow: none;
    }
}

.nav-menu a:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .nav-menu a:hover {
        color: #0066cc !important;
        opacity: 1;
    }
}

.nav-menu a.active {
    font-weight: 600;
}

.logo {
    text-decoration: none;
    color: #ffffff !important;
    font-size: 1.5rem;
    font-weight: 600;
    white-space: nowrap;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .logo {
        color: #0066cc !important;
        text-shadow: none;
    }
}

.logo:hover {
    opacity: 0.8;
    text-decoration: none;
}

@media (max-width: 768px) {
    .logo:hover {
        color: #0052a3 !important;
        opacity: 1;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    text-align: center;
    margin-top: 0;
}

@media (max-width: 768px) {
    .hero {
        height: 500px;
        margin-top: 0;
    }
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: none;
    z-index: 0;
    object-fit: cover;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Search Bar */
.search-bar {
    background: white;
    border-radius: 50px;
    padding: 8px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 2;
    position: relative;
}

.search-container {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 8px;
}

.search-type-select {
    flex: 1;
}

.search-type-select select {
    width: 100%;
    height: 52px;
    font-size: 16px;
    padding: 12px 40px 12px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    background: #fff;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
    cursor: pointer;
}

.search-button {
    background: #0066cc;
    border: none;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.search-button:hover {
    background: #0052a3;
}

/* Properties Section */
.properties-section {
    padding: 4rem 0 2rem;
    background: #fff;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 3rem;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    width: 100%;
    padding: 0 20px;
}

.property-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

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

.property-card > a {
    display: block;
    text-decoration: none;
}

.property-image {
    width: 100%;
    height: 225px;
    object-fit: cover;
    display: block;
}

.property-details {
    padding: 16px;
}

.property-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-badge {
    font-size: 0.9rem;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
    background: #e8f4ff;
    color: #0066cc;
}

.status-badge.active {
    background-color: #4CAF50;
    color: white;
}

.property-price {
    font-size: 1.4rem;
    color: #0066cc;
    font-weight: 600;
    margin-bottom: 12px;
}

.property-specs {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.separator {
    color: #ddd;
}

.view-details-button {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: white;
    border: 1px solid #0066cc;
    border-radius: 8px;
    color: #0066cc;
    text-align: center;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s;
}

.view-details-button:hover {
    background-color: #f8f9fa;
    text-decoration: none;
    color: #0052a3;
    border-color: #0052a3;
}

.property-card:hover .property-title,
.property-card:hover .property-price,
.property-card:hover .property-specs {
    text-decoration: none;
}

/* Update responsive design for property cards */
@media (max-width: 1200px) {
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .properties-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .property-image {
        height: 200px;
    }

    .hero {
        height: 100vh;
        min-height: unset;
        padding: 60px 20px;
    }

    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        padding: 10px;
        cursor: pointer;
    }

    .hamburger {
        display: block;
        width: 24px;
        height: 2px;
        background: #333;
        position: relative;
    }

    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        width: 24px;
        height: 2px;
        background: #333;
        transition: transform 0.2s;
    }

    .hamburger::before {
        top: -6px;
    }

    .hamburger::after {
        bottom: -6px;
    }

    .mobile-menu-toggle.active .hamburger {
        background: transparent;
    }

    .mobile-menu-toggle.active .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }

    .mobile-menu-toggle.active .hamburger::after {
        transform: rotate(-45deg);
        bottom: 0;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        padding: 80px 20px 20px;
        flex-direction: column;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        text-align: center;
    }

    .nav-menu a {
        padding: 12px 0;
        display: block;
        font-size: 1.1rem;
    }

    .mobile-only {
        display: block;
    }

    .hero-content {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .hero h1 {
        font-size: 1.6rem;
        line-height: 1.2;
        margin-bottom: 10px;
        white-space: normal;
        padding: 0 10px;
        width: 100%;
        text-align: center;
    }

    .hero p {
        font-size: 1rem;
        line-height: 1.3;
        margin-bottom: 20px;
        white-space: normal;
        padding: 0 10px;
        width: 100%;
        text-align: center;
    }

    .search-bar {
        width: 100%;
        padding: 0;
        background: none;
        box-shadow: none;
    }

    .search-container {
        flex-direction: row;
        gap: 8px;
        padding: 0;
    }

    .search-type-select {
        flex: 1;
    }

    .search-type-select select {
        width: 100%;
        background-color: white;
        border-radius: 50px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .search-type-select select option[value="rent"] {
        content: "For Rent";
    }

    .search-type-select select option[value="sale"] {
        content: "For Sale";
    }

    .search-button {
        width: 52px;
        height: 52px;
        border-radius: 50%;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }

    .action-cards-container {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .neighborhood-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .neighborhood-text {
        padding-right: 0;
    }

    .neighborhood-text h3 {
        font-size: 1.75rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .header {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.4rem;
        padding: 0 5px;
    }

    .hero p {
        font-size: 0.9rem;
        padding: 0 5px;
    }
}

/* Neighborhood Section */
.neighborhood-section {
    padding: 4rem 0;
    background: #fff;
}

.neighborhood-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.neighborhood-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.neighborhood-text {
    padding-right: 20px;
}

.neighborhood-text h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.neighborhood-text p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.neighborhood-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.neighborhood-features li {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 1rem;
}

.neighborhood-features i {
    color: #0066cc;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.neighborhood-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    aspect-ratio: 16/9;
}

.neighborhood-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.learn-more-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #0066cc;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: background-color 0.2s;
    font-weight: 500;
}

.learn-more-btn:hover {
    background: #0052a3;
    color: white;
}

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

    .neighborhood-text {
        padding-right: 0;
        text-align: center;
    }

    .neighborhood-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-width: 600px;
        margin: 0 auto 2rem;
    }

    .neighborhood-features li {
        justify-content: flex-start;
        text-align: left;
    }

    .neighborhood-image {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .neighborhood-section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .neighborhood-text h3 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .neighborhood-text p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

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

    .neighborhood-features li {
        font-size: 1rem;
    }

    .neighborhood-features i {
        font-size: 1.2rem;
    }

    .learn-more-btn {
        width: 100%;
        text-align: center;
        padding: 1rem;
    }
}

/* Contact Form Section */
.contact-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.form-control:focus {
    border-color: #0066cc;
    outline: none;
}

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

.contact-submit {
    width: 100%;
    padding: 12px;
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.contact-submit:hover {
    background: #0052a3;
}

/* Action Cards Section */
.action-cards-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.action-cards-container {
    width: 100%;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.action-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

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

.action-icon {
    color: #0066cc;
    margin-bottom: 1.5rem;
}

.action-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.action-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.action-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #0066cc;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: background-color 0.2s;
}

.action-button:hover {
    background: #0052a3;
    color: white;
}

/* Footer */
.footer {
    background: #1a1a1a;
    padding: 4rem 0 0;
    color: white;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-section h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.footer-section ul li {
    margin-bottom: 0.75rem;
}

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

.footer-section ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    color: #ccc;
    font-size: 1.5rem;
    transition: color 0.2s;
}

.social-link:hover {
    color: white;
}

.footer-bottom {
    margin-top: 3rem;
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid #333;
}

.footer-bottom p {
    color: #999;
    margin: 0;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
}

.mobile-only {
    display: none;
}

/* Additional Responsive Design for Footer and Action Cards */
@media (max-width: 1200px) {
    .action-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section p {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .action-cards-container {
        grid-template-columns: 1fr;
    }
} 