
/* Reset and Base Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
background-color: #f5f5f5;
color: #333;
line-height: 1.6;
}

/* Header Styles */
header {
background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
background-size: cover;
background-position: center;
height: 80vh;
display: flex;
flex-direction: column;
color: white;
}

.navbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1.5rem 5%;
background-color: rgba(0, 0, 0, 0.3);
}

.logo {
font-size: 1.8rem;
font-weight: 700;
color: white;
text-decoration: none;
}

.nav-links {
display: flex;
list-style: none;
}

.nav-links li {
margin-left: 2rem;
}

.nav-links a {
color: white;
text-decoration: none;
font-weight: 500;
transition: color 0.3s;
}

.nav-links a:hover {
color: #FFD700;
}

.hero-content {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
padding: 0 20px;
}

.hero-content h1 {
font-size: 3.5rem;
margin-bottom: 1rem;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
font-size: 1.2rem;
max-width: 700px;
margin-bottom: 2rem;
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.search-bar {
width: 100%;
max-width: 700px;
display: flex;
margin-bottom: 2rem;
}

.search-bar input {
flex: 1;
padding: 1rem;
border: none;
border-radius: 5px 0 0 5px;
font-size: 1rem;
}

.search-bar button {
padding: 1rem 1.5rem;
background-color: #FFD700;
border: none;
border-radius: 0 5px 5px 0;
color: #333;
font-weight: 600;
cursor: pointer;
transition: background-color 0.3s;
}

.search-bar button:hover {
background-color: #FFC400;
}

/* Main Content Styles */
main {
padding: 3rem 5%;
}

.section-title {
text-align: center;
margin-bottom: 3rem;
font-size: 2.5rem;
color: #333;
position: relative;
}

.section-title::after {
content: '';
display: block;
width: 80px;
height: 4px;
background-color: #FFD700;
margin: 1rem auto;
}

/* Featured Properties */
.properties-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 2rem;
}

.property-card {
background: white;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
transition: transform 0.3s, box-shadow 0.3s;
}

.property-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.property-image {
height: 220px;
overflow: hidden;
position: relative;
}

.property-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s;
}

.property-card:hover .property-image img {
transform: scale(1.05);
}

.property-tag {
position: absolute;
top: 15px;
right: 15px;
background-color: #FFD700;
color: #333;
padding: 0.3rem 0.8rem;
border-radius: 20px;
font-weight: 600;
font-size: 0.8rem;
}

.property-info {
padding: 1.5rem;
}

.property-title {
font-size: 1.3rem;
margin-bottom: 0.5rem;
color: #333;
}

.property-location {
display: flex;
align-items: center;
margin-bottom: 1rem;
color: #666;
font-size: 0.9rem;
}

.property-location i {
margin-right: 0.5rem;
color: #FFD700;
}

.property-details {
display: flex;
justify-content: space-between;
margin-bottom: 1rem;
padding-bottom: 1rem;
border-bottom: 1px solid #eee;
}

.detail {
display: flex;
align-items: center;
font-size: 0.9rem;
color: #666;
}

.detail i {
margin-right: 0.3rem;
color: #FFD700;
}

.property-price {
font-size: 1.5rem;
font-weight: 700;
color: #333;
margin-bottom: 1rem;
}

.property-description {
font-size: 0.9rem;
color: #666;
margin-bottom: 1.5rem;
line-height: 1.5;
}

.view-btn {
display: inline-block;
padding: 0.7rem 1.5rem;
background-color: #333;
color: white;
text-decoration: none;
border-radius: 5px;
font-weight: 600;
transition: background-color 0.3s;
}

.view-btn:hover {
background-color: #FFD700;
color: #333;
}

/* Services Section */
.services {
background-color: #333;
color: white;
padding: 5rem 5%;
margin: 4rem 0;
}

.services-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
margin-top: 3rem;
}

.service-card {
text-align: center;
padding: 2rem;
background-color: rgba(255, 255, 255, 0.05);
border-radius: 10px;
transition: transform 0.3s;
}

.service-card:hover {
transform: translateY(-10px);
background-color: rgba(255, 255, 255, 0.1);
}

.service-icon {
font-size: 3rem;
color: #FFD700;
margin-bottom: 1.5rem;
}

.service-title {
font-size: 1.5rem;
margin-bottom: 1rem;
}

.service-description {
font-size: 0.95rem;
line-height: 1.6;
}

/* Testimonials */
.testimonials {
padding: 5rem 5%;
text-align: center;
}

.testimonial-card {
max-width: 800px;
margin: 0 auto;
padding: 3rem;
background-color: white;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
font-size: 1.2rem;
font-style: italic;
margin-bottom: 2rem;
line-height: 1.8;
}

.client-info {
display: flex;
align-items: center;
justify-content: center;
}

.client-image {
width: 70px;
height: 70px;
border-radius: 50%;
overflow: hidden;
margin-right: 1.5rem;
}

.client-image img {
width: 100%;
height: 100%;
object-fit: cover;
}

.client-details h4 {
font-size: 1.2rem;
margin-bottom: 0.3rem;
}

.client-details p {
color: #666;
font-size: 0.9rem;
}

/* Contact Section */
.contact {
padding: 5rem 5%;
background-color: #f9f9f9;
}

.contact-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 3rem;
}

.contact-info h3 {
font-size: 1.8rem;
margin-bottom: 1.5rem;
}

.contact-details {
margin-bottom: 2rem;
}

.contact-item {
display: flex;
align-items: center;
margin-bottom: 1rem;
}

.contact-item i {
width: 40px;
height: 40px;
background-color: #FFD700;
color: #333;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-right: 1rem;
}

.contact-form h3 {
font-size: 1.8rem;
margin-bottom: 1.5rem;
}

.form-group {
margin-bottom: 1.5rem;
}

.form-group label {
display: block;
margin-bottom: 0.5rem;
font-weight: 500;
}

.form-group input,
.form-group textarea {
width: 100%;
padding: 0.8rem;
border: 1px solid #ddd;
border-radius: 5px;
font-size: 1rem;
}

.form-group textarea {
height: 150px;
resize: vertical;
}

.submit-btn {
padding: 1rem 2rem;
background-color: #333;
color: white;
border: none;
border-radius: 5px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: background-color 0.3s;
}

.submit-btn:hover {
background-color: #FFD700;
color: #333;
}

/* Footer */
footer {
background-color: #222;
color: white;
padding: 4rem 5% 2rem;
}

.footer-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 2rem;
margin-bottom: 3rem;
}

.footer-col h4 {
font-size: 1.3rem;
margin-bottom: 1.5rem;
position: relative;
padding-bottom: 0.5rem;
}

.footer-col h4::after {
content: '';
position: absolute;
left: 0;
bottom: 0;
width: 40px;
height: 3px;
background-color: #FFD700;
}

.footer-col ul {
list-style: none;
}

.footer-col ul li {
margin-bottom: 0.8rem;
}

.footer-col ul li a {
color: #bbb;
text-decoration: none;
transition: color 0.3s;
}

.footer-col ul li a:hover {
color: #FFD700;
}

.social-links {
display: flex;
gap: 1rem;
}

.social-links a {
display: inline-flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
background-color: rgba(255, 255, 255, 0.1);
color: white;
border-radius: 50%;
transition: background-color 0.3s;
}

.social-links a:hover {
background-color: #FFD700;
color: #333;
}

.copyright {
text-align: center;
padding-top: 2rem;
border-top: 1px solid rgba(255, 255, 255, 0.1);
color: #bbb;
font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
.navbar {
    flex-direction: column;
    padding: 1rem 5%;
}

.nav-links {
    margin-top: 1rem;
}

.nav-links li {
    margin: 0 0.8rem;
}

.hero-content h1 {
    font-size: 2.5rem;
}

.search-bar {
    flex-direction: column;
}

.search-bar input {
    border-radius: 5px;
    margin-bottom: 1rem;
}

.search-bar button {
    border-radius: 5px;
}

main {
    padding: 2rem 5%;
}

.section-title {
    font-size: 2rem;
}
}
