
/* Hero section */
.hero-home {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: white;
    min-height: 600px;
}

.hero-home-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-home-container {
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    width:;
    
}

.hero-home-overlay {
    position: relative;
    z-index: 2;
    width: 100%;

}

.hero-home-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
    z-index: -1;
}

.hero-home-content {
    text-align: center;

    padding: 60px 0;
}

.hero-home-content a {
    /* font-weight: 300;*/
    /*font-family: "Cormorant SC", serif;*/
}

.hero-home h1 {
    font-size: 56px;
    font-weight: 100;
    font-family: "Cormorant SC", serif;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    height: fit-content;
}

.hero-subtitle {
    width: 800px;
    font-size: 32px;
     font-family: "Cormorant SC", serif;
    color: #f8f8f8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
        position: relative;
        top: -20px;
}

.hero-home p a {
    position: relative;
    top: -40px;
    margin-top: 20px;
    width: 200px;
}

.btn:hover {
    background-color: #2980b9;
}

/* About section */
.about {
    padding: 80px 0;
    background-color: white;
}

.section-title-home {
    text-align: center;
    margin-bottom: 50px;
    color: #284139;
    font-size: 46px;
}
.service-image-container-home {
    position: relative;
    overflow: hidden;

}
.service-image-home {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Наложення з текстом */
.service-overlay-home {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;

    transition: opacity 0.5s ease;
    text-align: center;
}
.about-content {
    display: flex;
    align-items: center;

}

.about-text {
    flex: 1;
    margin: 0 40px;
}

.about-image {
    flex: 1;
    height: 400px;
    background-color: #e0e0e0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #777;
}

/* Features section */
.features {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.features-grid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 5px;

}

.feature-card {
    width: 250px;
    background-color: white;
    padding: 20px;
    border-radius: 8px;

    transition: transform 0.3s;
}

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

.feature-card h3 {
    color: #284139;
    margin-bottom: 15px;
    font-size: 24px;
}

.feature-card ul {
    list-style-type: none;
}

.feature-card ul li {
    font-size: 14px;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.feature-card ul li:before {
    content: "•";
    color: #3498db;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Services section */
.services {
    padding: 80px 0;
    background-color: white;
}

.services-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card-home {
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-image-home {
    height: 100%;
    max-height: 800px;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
}

.service-content-home {
    padding: 20px;

}

.service-content-home h3 {
    color: #2E2E2E;
    margin-bottom: 10px;
}

/* Projects section */
.projects {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

}

.project-card {
    display: flex;
    flex-direction: row;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 350px;
    margin:20px;
}

.project-image {
    width: 300px;
    height: 100%;
    object-fit: cover;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    flex-shrink: 0;
}

.project-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 25px;
    text-align: left;
}

.project-content h3 {
    margin-top: 0;
    margin-bottom: 15px;
    min-height: 60px;
}

.project-content > div:first-of-type {
    flex-grow: 1;
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-content > div:last-child {
    margin-top: auto;
    text-align: left;
}
/* Contact section */
.contact {
    padding: 80px 0;
    background-color: white;
}

.contact-content {
    display: flex;
    gap: 40px;
}

.contact-info {
    flex: 1;
}

.contact-form {
    flex: 1;
}

.contact-info h3 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

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

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

.section-title-contact{
    font-size: 32px;
    text-align:center;
    margin-bottom: 15px;
}@media (max-width: 800px) {    .hero-subtitle {        font-size: 28px;        width: 100%;        line-height: 1em;        margin-top: 18px;    }}