/* Base Styles */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
}
/* Slideshow */
custom-slideshow {
  display: block;
  margin-bottom: 2rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('http://static.photos/estate/1200x630/1');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    max-width: 800px;
}

.cta-button {
    display: inline-block;
    background: #4CAF50;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid #4CAF50;
}

.cta-button:hover {
    background: transparent;
    color: white;
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    text-align: center;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.feature img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

/* Testimonials */
.testimonials {
    background: #f8f9fa;
    padding: 4rem 2rem;
    text-align: center;
}

.testimonials h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
}

.testimonial {
    max-width: 800px;
    margin: 0 auto;
    font-style: italic;
    font-size: 1.2rem;
}

.testimonial .author {
    font-style: normal;
    font-weight: bold;
    margin-top: 1rem;
}

/* Services Page */
.services-main {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.services-main h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.service-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-card h2 {
    padding: 1.5rem 1.5rem 0;
    font-size: 1.5rem;
    color: #2c3e50;
}

.service-card p {
    padding: 0 1.5rem;
    margin: 1rem 0;
}

.service-card ul {
    padding: 0 1.5rem 1.5rem;
    list-style-type: none;
}

.service-card li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li:before {
    content: "•";
    color: #4CAF50;
    position: absolute;
    left: 0;
}

/* Portfolio Page */
.portfolio-main {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.portfolio-main h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.portfolio-main .subtitle {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.2rem;
    color: #7f8c8d;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-info {
    padding: 1.5rem;
    background: white;
}

.portfolio-info h3 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
}

.portfolio-info p {
    margin: 0;
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Contact Page */
.contact-main {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 2rem;
    max-width: 500px;
}

.contact-details {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

.contact-details h3 {
    margin-top: 0;
    color: #2c3e50;
}

.contact-details p {
    margin: 1rem 0;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    background: #2c3e50;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: #1a252f;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
}