/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

h1, h2, h3 {
    font-weight: 300;
}

a {
    text-decoration: none;
    color: #333;
}

section {
    padding: 60px 20px;
    text-align: center;
}

.btn {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
    margin-top: 20px;
}

@media screen and (max-width: 480px) {
    .btn, #contact button, #contact input, #contact textarea {
        padding: 15px;
        font-size: 16px;
    }
}

/* Hero Section */
#hero {
    background-image: url('/images/fabric1.jpeg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    background: rgba(255, 255, 255, 0.8);
    padding: 40px;
    border-radius: 10px;
}

#hero h1 {
    font-size: 3rem;
}

#hero p {
    font-size: 1.2rem;
    margin-top: 10px;
}

@media screen and (max-width: 768px) {
    #hero {
        height: auto;
        min-height: 100vh;
    }

    .hero-content {
        padding: 20px;
        margin: 20px;
    }
}

/* About Section */
#about {
    background-color: #43571c;
    padding: 50px 20px;
    color: #ddd;
}

.about-container {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    flex: 1;
    padding: 20px 0;
}

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

.about-img img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

#about h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Media query for larger screens */
@media screen and (min-width: 768px) {
    .about-container {
        flex-direction: row;
        align-items: center;
    }

    .about-text {
        padding-right: 20px;
    }

    .about-img {
        padding-left: 20px;
    }
}

/* Socials Section */
#socials {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.socials-item {
    background-color: #ddd;
    height: 100%;
}

@media (max-width: 768px) {
    #socials {
      grid-template-columns: repeat(2, 1fr);
    }
  }

/* Contact Section */
#contact {
    background-color: #f4f4f4;
    padding: 40px 20px;
}

#contact form {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

#contact input, #contact textarea {
    padding: 15px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
}

#contact button {
    padding: 15px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

#contact button:hover {
    background-color: #555;
}

/* Media query for smaller screens */
@media screen and (max-width: 480px) {
    #contact form {
        max-width: 100%;
    }

    #contact input, #contact textarea, #contact button {
        padding: 12px;
        font-size: 16px;
    }

    #contact button {
        width: 100%;
    }
}

img {
    max-width: 100%;
    height: auto;
}

/* Media Queries for Responsive Design */

/* For tablets and smaller screens */
@media screen and (max-width: 768px) {
    #hero h1 {
        font-size: 2.5rem;
    }

    #hero p {
        font-size: 1rem;
    }

    #about h2 {
        font-size: 2rem;
    }

}

/* For mobile phones */
@media screen and (max-width: 480px) {
    #hero h1 {
        font-size: 2rem;
    }

    #hero p {
        font-size: 0.9rem;
    }

    #about h2 {
        font-size: 1.8rem;
    }

    #contact form {
        width: 90%;
    }
}