* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

/* Navigation */
nav {
    background-color: #0d3d3d;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #ff9800;
}

.sell-btn {
    background-color: #ff9800;
    color: white;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

.sell-btn:hover {
    background-color: #e68900;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=1200') center/cover;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Search Bar */
.search-container {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    gap: 1rem;
    max-width: 900px;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.search-field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-right: 1px solid #ddd;
}

.search-field:last-child {
    border-right: none;
}

.search-field select {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    color: #333;
    background: transparent;
    cursor: pointer;
}

.search-btn {
    background-color: #0d3d3d;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

.search-btn:hover {
    background-color: #0a2d2d;
}

/* Properties Section */
.properties-section {
    padding: 4rem 5%;
    background-color: #f9f9f9;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-label {
    color: #ff9800;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #0d3d3d;
    margin-bottom: 1rem;
}

.section-header p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.property-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.property-card:hover {
    transform: translateY(-5px);
}

.property-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: #ff9800;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
}

.property-price {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background-color: #0d3d3d;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 600;
}

.property-details {
    padding: 1.5rem;
}

.property-details h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #0d3d3d;
}

.property-location {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.property-features {
    display: flex;
    gap: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.9rem;
    color: #666;
}

.view-details-btn {
    margin-top: 1rem;
    background-color: transparent;
    color: #ff9800;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

.view-all-btn {
    display: block;
    margin: 0 auto;
    background-color: white;
    color: #0d3d3d;
    padding: 1rem 2rem;
    border: 2px solid #0d3d3d;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.view-all-btn:hover {
    background-color: #0d3d3d;
    color: white;
}

/* About Section */
.about-section {
    padding: 4rem 5%;
    background-color: white;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content h3 {
    color: #ff9800;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.about-content h2 {
    font-size: 2.5rem;
    color: #0d3d3d;
    margin-bottom: 1rem;
}

.about-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat {
    flex: 1;
}

.stat h4 {
    font-size: 2rem;
    color: #0d3d3d;
    margin-bottom: 0.3rem;
}

.stat p {
    color: #666;
    margin: 0;
}

.about-image {
    position: relative;
    height: 400px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.experience-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ff9800;
    color: white;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.experience-badge h3 {
    font-size: 3rem;
    margin: 0;
}

/* Footer */
footer {
    background-color: #0d3d3d;
    color: white;
    padding: 3rem 5%;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #ff9800;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-section a:hover {
    color: #ff9800;
}

.newsletter input {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    margin-bottom: 0.5rem;
}

.newsletter button {
    width: 100%;
    padding: 0.8rem;
    background-color: #ff9800;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #1a5555;
    color: #ccc;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .search-container {
        flex-direction: column;
    }

    .search-field {
        border-right: none;
        border-bottom: 1px solid #ddd;
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }

    .about-section {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
    .mobile-add-btn {
        display: none;
    }
}

/* Add this to your css/index.css file */

/* Mobile Add Property Button - Hidden by default on desktop */
.mobile-add-btn {
    display: none;
    background-color: #ff9800;
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s ease;
}

.mobile-add-btn:hover {
    background: #ff9800;
}

/* Show mobile button only on mobile devices */
@media (max-width: 650px) {
    .mobile-add-btn {
        display: none;
    }
    
    /* Adjust nav layout for mobile */
    nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1.5rem;
    }
    
    /* Hide the regular "Add Property" button in nav menu on mobile */
    .nav-menu .sell-btn {
        display: none;
    }
}