/* Basic Reset & Body Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8; /* Light background from screenshot */
}

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



.hero-section {
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 0;
    position: relative;
    height: 500px; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;

    /* ДОБАВЬТЕ ЭТО СВОЙСТВО */
    background-attachment: fixed;
}


.scroll-reveal {
    opacity: 0; /* Изначально элемент невидимый */
    transform: translateY(30px); /* Изначально элемент немного смещен вниз */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out; /* Плавный переход */
    will-change: opacity, transform; /* Подсказка браузеру для оптимизации анимации */
}

.scroll-reveal.is-visible {
    opacity: 1; /* Становится полностью видимым */
    transform: translateY(0); /* Возвращается в исходное положение */
}

.scroll-reveal.is-visible.revealed {

}

/* Header Styles */
.main-header {
    background-color: #ffffff; /* White header background */
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 130px; /* Adjust as needed */
    vertical-align: middle;
    margin-right: 10px;
}

.site-name {
    font-size: 1.5em;
    font-weight: bold;
    color: #333; /* Or the brown from your logo */
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-nav ul li {
    margin-left: 20px;
}

.main-nav ul li a {
    text-decoration: none;
    color: #555;
    font-weight: bold;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.main-nav ul li a:hover {
    color: #7b4f3b; /* A sample brown color */
}

/* Hero Section */
.hero-section {
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 0;
    position: relative;
    height: 500px; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    background-color: rgba(0, 0, 0, 0.3); /* Dark overlay to make text readable */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section h1 {
    font-size: 3em;
    margin-bottom: 10px;
    line-height: 1.2;
}

.hero-section p {
    font-size: 1.5em;
    margin-bottom: 30px;
}

.hero-button {
    background-color: #7b4f3b; /* Brown color from screenshot */
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.hero-button:hover {
    background-color: #a07a68;
}

/* About Section */
.about-section {
    background-color: #e0f2f7; /* Light blue from screenshot */
    padding: 60px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns */
    gap: 40px;
    align-items: center;
}

.about-text h2 {
    font-size: 2em;
    color: #333;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 30px;
}

.about-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 5px; /* Slight round corners */
}

.learn-more-button {
    background-color: #7b4f3b; /* Brown color */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.learn-more-button:hover {
    background-color: #a07a68;
}

/* Services Section (How we do it) */
.services-section {
    padding: 60px 0;
    text-align: center;
}

.services-section h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Three columns */
    gap: 30px;
}

.service-item {
    background-color: #4793a3;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: left;
}
.service-item1 {
    background-color: #492700;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: left;
}
.service-item2 {
    background-color: #90c4cf;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: left;
}

.service-item img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover; /* Cover the area, cropping if necessary */
    display: block;
}

.service-item1 img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover; /* Cover the area, cropping if necessary */
    display: block;
}
.service-item2 img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover; /* Cover the area, cropping if necessary */
    display: block;
}
.service-description {
    padding: 20px;
}

.service-description h3 {
    margin-top: 0;
    font-size: 1.3em;
    color: #333;
}

.service-description p {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 20px;
}

.service-button {
    background-color: #7b4f3b; /* Brown color */
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

.service-button:hover {
    background-color: #a07a68;
}

/* Why Choose Us Section */
.why-choose-us-section {
    background-color: #2c5f66; /* Dark teal from screenshot */
    color: white;
    padding: 0px 0;
}

.why-choose-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns */
    gap: 40px;
    align-items: center;
}

.why-choose-us-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
}

.why-choose-us-text h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.why-choose-us-text p {
    margin-bottom: 30px;
}

.read-more-button {
    background-color: #e0f2f7; /* Light blue from screenshot (for contrast) */
    color: #2c5f66; /* Dark teal text */
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.read-more-button:hover {
    background-color: #fff;
    color: #2c5f66;
}

/* Footer */
.main-footer {
    background-color: #e0f2f7; /* Light blue from screenshot */
    padding: 40px 0;
    color: #333;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap; /* Allows items to wrap on smaller screens */
    gap: 20px;
    text-align: left; /* Align text within footer columns */
}

.footer-content > div {
    flex: 1; /* Distribute space */
    min-width: 250px; /* Minimum width before wrapping */
}

.footer-content h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.newsletter-signup form {
    display: flex;
    gap: 10px;
}

.newsletter-signup input[type="email"] {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.newsletter-signup button {
    background-color: #7b4f3b; /* Brown color */
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-signup button:hover {
    background-color: #a07a68;
}

.social-media p { /* Placeholder, you'd use icons here */
    font-size: 0.9em;
}

.copyright {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.1);
    font-size: 0.8em;
    color: #555;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    .main-nav ul {
        flex-direction: column;
        margin-top: 15px;
    }
    .main-nav ul li {
        margin: 5px 0;
    }

    .about-grid,
    .service-grid,
    .why-choose-us-grid {
        grid-template-columns: 1fr; /* Single column layout on small screens */
    }

    .about-image,
    .why-choose-us-image {
        order: -1; /* Image appears above text on mobile for about section */
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
        
       

}