* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    color: #2C3E50;
    line-height: 1.6;
    background-color: #fff;
}

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

header {
    background: white;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 20px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #1B8B8B;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.logo-star {
    color: #D97D4A;
    font-size: 20px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    flex: 1;
}

.nav-links a {
    text-decoration: none;
    color: #2C3E50;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    color: #D97D4A;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    white-space: nowrap;
}

.btn {
    padding: 8px 16px;
    border: 1px solid #D97D4A;
    background: white;
    color: #D97D4A;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #D97D4A;
    color: white;
    transform: translateY(-2px);
}

.btn-primary {
    background: #1B8B8B;
    color: white;
    border-color: #1B8B8B;
}

.btn-primary:hover {
    background: #0d5a5a;
    border-color: #0d5a5a;
}

main {
    min-height: calc(100vh - 200px);
}

.hero {
    background: linear-gradient(135deg, #1B8B8B 0%, #0d5a5a 100%);
    color: white;
    padding: 100px 0 80px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
}

.hero p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 30px;
}

section {
    padding: 40px 0;
}

.section-title {
    font-size: 32px;
    color: #1B8B8B;
    margin: 40px 0 30px;
    text-align: center;
    font-weight: bold;
}

.subsection-title {
    font-size: 20px;
    color: #1B8B8B;
    margin: 30px 0 20px;
    font-weight: bold;
}

.content-text {
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
    font-size: 16px;
}

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

.card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.card:hover {
    border-color: #D97D4A;
    box-shadow: 0 8px 16px rgba(217, 125, 74, 0.15);
    transform: translateY(-4px);
}

.card-image {
    height: 180px;
    background: linear-gradient(135deg, #C9A876 0%, #1B8B8B 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
}

.card-content {
    padding: 20px;
}

.card-price {
    font-size: 24px;
    color: #D97D4A;
    font-weight: bold;
    margin-bottom: 8px;
}

.card-title {
    font-size: 16px;
    font-weight: bold;
    color: #2C3E50;
    margin-bottom: 8px;
}

.card-meta {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

.card-description {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.property-detail {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 30px;
}

.property-header {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.property-title {
    font-size: 32px;
    color: #1B8B8B;
    margin-bottom: 10px;
    font-weight: bold;
}

.property-location {
    color: #666;
    margin-bottom: 20px;
    font-size: 16px;
}

.amenities {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.amenity {
    font-size: 14px;
    padding: 8px;
    background: #f5f5f5;
    border-radius: 4px;
    border-left: 3px solid #1B8B8B;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.blog-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog-card:hover {
    border-color: #D97D4A;
    box-shadow: 0 8px 16px rgba(217, 125, 74, 0.15);
}

.blog-date {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
    font-weight: 500;
}

.blog-title {
    font-size: 18px;
    color: #1B8B8B;
    margin-bottom: 10px;
    font-weight: bold;
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    color: #D97D4A;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #1B8B8B;
}

.tag-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: white;
    color: #2C3E50;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.tag-btn:hover,
.tag-btn.active {
    background: #1B8B8B;
    color: white;
    border-color: #1B8B8B;
}

footer {
    background: #2C3E50;
    color: white;
    padding: 40px 0;
    margin-top: 60px;
    text-align: center;
    font-size: 14px;
    line-height: 1.8;
}

input[type="text"],
input[type="email"],
input[type="date"],
select,
textarea {
    font-family: inherit;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #1B8B8B !important;
}

@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .property-header {
        grid-template-columns: 1fr;
    }

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

    .section-title {
        font-size: 24px;
    }

    .property-title {
        font-size: 24px;
    }

    nav {
        flex-wrap: wrap;
    }

    .logo {
        flex: 1;
    }

    .auth-buttons {
        flex: 1;
        justify-content: flex-end;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    header nav {
        padding: 0.75rem 0;
    }

    .nav-links {
        display: none;
    }

    .logo {
        font-size: 20px;
    }

    .hero {
        padding: 60px 0 40px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 14px;
    }

    .btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .property-detail {
        padding: 20px;
    }

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