/* Global Styles */
:root {
    --primary-color: #0e4a86;
    --secondary-color: #f0f8ff;
    --accent-color: #ffa500;
    --text-color: #333;
    --light-text: #666;
    --white: #ffffff;
    --section-padding: 4rem 0;
    --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--light-text);
}

.btn-primary, .btn-view, .btn-search {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover, .btn-view:hover, .btn-search:hover {
    background-color: var(--accent-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.logo a {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-svg {
    height: 40px;
    margin-right: 0.5rem;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-left: 1.5rem;
}

.nav-menu a {
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a.active, .nav-menu a:hover {
    color: var(--accent-color);
}

.nav-menu a.active::after, .nav-menu a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 2px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(14, 74, 134, 0.8), rgba(14, 74, 134, 0.8)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect width="1200" height="600" fill="%23e6f2ff"/><path d="M0,400 Q300,350 600,450 T1200,400 V600 H0 Z" fill="%230e4a86"/></svg>') no-repeat center/cover;
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.search-box {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.search-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: flex-end;
}

.search-group {
    flex: 1 1 200px;
    text-align: left;
}

.search-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.search-group select {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: var(--white);
}

/* Featured Properties Section */
.featured-properties {
    padding: var(--section-padding);
    background-color: var(--secondary-color);
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.property-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
    position: relative;
}

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

.property-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.8rem;
    z-index: 1;
}

.property-tag.sale {
    background-color: #4CAF50;
}

.property-tag.rent {
    background-color: #2196F3;
}

.property-image {
    height: 200px;
    width: 100%;
    overflow: hidden;
}

.property-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-content {
    padding: 1.5rem;
}

.property-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.7rem;
    color: var(--primary-color);
}

.property-location {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--light-text);
}

.property-location svg {
    margin-right: 0.5rem;
}

.property-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 0.8rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.detail {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.detail svg {
    margin-right: 0.3rem;
}

.property-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.btn-view {
    width: 100%;
    text-align: center;
    padding: 0.8rem;
}

.view-all {
    text-align: center;
}

/* About Section */
.about-section {
    padding: var(--section-padding);
}

.about-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.about-image {
    flex: 1;
}

.about-svg {
    width: 100%;
    max-width: 400px;
    display: block;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 1.5rem;
}

/* Services Section */
.services-section {
    padding: var(--section-padding);
    background-color: var(--secondary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.service-icon {
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    color: var(--light-text);
}

/* Gaming Section */
.gaming-section {
    padding: var(--section-padding);
}

.gaming-content {
    max-width: 800px;
    margin: 0 auto;
}

.entertainment-list {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.entertainment-list li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 0.5rem;
}

.entertainment-list li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    flex: 1 1 300px;
}

.footer-logo p {
    margin-top: 1rem;
}

.footer-links {
    flex: 2 1 600px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-column {
    flex: 1;
    min-width: 160px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-column ul li a:hover {
    color: var(--accent-color);
}

address p {
    margin-bottom: 0.3rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-color);
}

/* Media Queries for Responsive Design */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-image {
        margin-bottom: 2rem;
    }
    
    .about-svg {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--white);
        display: none;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        margin: 0.5rem 0;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .footer-content, .footer-links {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .search-row {
        flex-direction: column;
    }
    
    .search-group {
        width: 100%;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .property-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}
