/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4a6fa5;
    --secondary-color: #7fa99b;
    --text-dark: #2c3e50;
    --text-light: #555;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --accent: #8b7e74;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Header */
.header {
    background-color: #d4e4f7;
    padding: var(--spacing-md) 0;
    border-bottom: 2px solid var(--secondary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: padding 0.3s ease;
}

.header.scrolled {
    padding: 0.5rem 0;
}

.header-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-align: left;
}

.header-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    text-align: left;
    transition: opacity 0.3s ease, max-height 0.3s ease;
    max-height: 200px;
    overflow: hidden;
}

.header.scrolled .header-subtitle {
    opacity: 0;
    max-height: 0;
    margin: 0;
}

/* Hero Section */
.hero {
    background: url('autumn-leaves.jpg') center/cover no-repeat;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--white);
    position: relative;
}

.hero-content {
    padding: var(--spacing-md);
    margin-left: var(--spacing-lg);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    text-align: left;
}

/* Section Titles */
.section-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    text-align: left;
}

/* About Section */
.about {
    padding: var(--spacing-lg) 0;
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-md);
    align-items: center;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 1.1rem;
    text-align: justify;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Pricing Section */
.pricing {
    padding: var(--spacing-lg) 0;
    background-color: var(--bg-light);
}

.pricing-note {
    text-align: left;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    font-style: italic;
}

.pricing-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: var(--spacing-md);
    max-width: 400px;
    margin: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.pricing-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.pricing-description {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.pricing-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Image Gallery Bar */
.image-gallery {
    display: flex;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.image-gallery img {
    flex: 1;
    width: 20%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Contact Section (Main - Before Image Bar) */
.contact-main {
    padding: var(--spacing-lg) 0;
    background-color: var(--white);
}

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

.contact-intro-center {
    text-align: center;
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 2;
}

.email-bold {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.2rem;
}

.email-bold:hover {
    text-decoration: underline;
}

.contact-form {
    background-color: var(--bg-light);
    border-radius: 10px;
    padding: var(--spacing-md);
    margin: 0 auto;
    max-width: 600px;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-button:hover {
    background-color: #3d5a85;
    transform: translateY(-2px);
}

.submit-button:active {
    transform: translateY(0);
}

/* Footer (Contact Info) */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: var(--spacing-md) 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
}

.footer p {
    margin: 0.5rem 0;
    color: var(--white);
}

.footer a {
    color: var(--white);
    text-decoration: underline;
}

.footer a:hover {
    opacity: 0.8;
}

.footer .copyright {
    margin-top: var(--spacing-md);
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-title {
        font-size: 1.5rem;
    }

    .header-subtitle {
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .about-image {
        order: -1;
        margin-bottom: var(--spacing-md);
    }

    .about-image img {
        max-width: 250px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .pricing-amount {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .header-title {
        font-size: 1.3rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero {
        min-height: 300px;
    }

    .about-text p {
        font-size: 1rem;
    }
}
