body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 400;
    max-width: 100%;
    text-align: center;
}

ul li {
    list-style-type: none;
}

/* Header Section */
.container {
    display: flex;
    margin: auto 0 auto auto;
    gap: 20px;
    padding: 0;
}

.header-list {
    display: flex;
    padding: 15px 30px;
    margin: auto 0 auto auto;
    gap: 20px;
    cursor: pointer;
    font-weight: 500;
}

.header-list a,
a {
    text-decoration: none;
    color: #355D61;
}

a {
    color: #CD3483;
}

h1, h2, h3 {
    padding: 0;
    margin-top: 0;
}

h1 {
    font-size: 48px;
    color: #e8e2d6;
    padding-top: 10px;
    text-shadow: 0 1px 1px black;
}

h2 {
    font-size: 30px;
    color: #213F4B;
}

h3 {
    font-size: 25px;
    color: #213F4B;
    margin-top: 0;
}

h1 span {
    font-size: 65px;
    display: block;
    color: #CD3483;
    font-weight: 800;
    text-shadow: 0 1px 1px black;
}

header img {
    width: 80px;
    height: 80px;
    padding: 10px;
}

.photo-list img {
    width: 300px;
    height: auto;
    border-radius: 30px;
    border: #CD3483 2px solid;
}

/* Hero Section */
#hero-block {
    background-image: url("./img/converted.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center; /* Centers the image */
    background-color: #000; /* Optional: fallback background color */
    padding: 10px 0 10px 0;
    margin: 0 auto;
    height: 100vh;
}

.shop-btn {
    cursor: pointer;
    background-color: #1C949D;
    color: whitesmoke;
    border: none;
    padding: 15px 15px;
    border-radius: 10px;
    font-weight: 500;
    text-shadow: 0 1px 1px black;
    font-size: 18px;
    text-decoration: none;
    transition: background-color 0.5s;
    box-shadow: 1px 1px 2px black;
}

.shop-btn:hover,
.shop-btn:focus {
    background-color: #213F4B;
}

section {
    padding: 25px 0 0 0;
    margin-bottom: 0;
}

#hero-block .spacing{
    padding-bottom: 15px;
    color: #000000;
    font-weight: 400;
    font-size: 30px;
    text-shadow: 1px 1px 1px black;
}

/* Main Content */

#photo-block {
    background-color: #f0e7da;
}

.photo-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 5px 0;
    margin: 0;
    /* display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
    padding: 10px;
    margin: 0 auto; */
}

.product {
    box-sizing: border-box;
    width: calc(50% - 10px);
    margin: auto;
}

.product-text:hover,
.product-text:focus {
    font-size: 25px;
}

.product-text {
    font-size: 20px;
    font-weight: 500;
    color: #57143A;
    cursor: pointer;
}

/* About Us Section */
#about-block {
    padding: 25px 30px;
    color: #213F4B;
}

/* Contact Us section */
#contact-block {
    background-color: #C6D6D4;
    padding: 25px 30px;
    margin: 0;
}

#contact-block p a {
    color: #213F4B;
    text-decoration: none;
    font-weight: 700;
    font-size: 25px;
    text-decoration: underline;
}

#contact-block p a:hover,
#contact-block p a:focus {
    color: #CD3483;
}

form {
    padding: 20px;
    max-width: 500px;
    background-color: #4a67;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 0 11px #00000019;
}

form label {
    display: block;
    color: #001200;
    margin-top: 5px;
    font-weight: 600;
}

form input,
form textarea {
    width: 100%;
    font-size: 16px;
    margin-top: 5px;
    padding: 10px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.submit-btn {
    margin-top: 20px;
    padding: 10px 15px;
    background-color: #C6D6D4;
    color: #213F4B;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.5s;
}

.submit-btn:hover,
.submit-btn:focus {
    background-color: #CD3483;
    color: whitesmoke;
}


/* Footer section */

footer p {
    font-size: 15px;
    font-weight: 600;
    display: flex;
    color: #213F4B;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.developer {
    margin-left: auto;
    color: #213F4B;
    font-weight: 600;
}

.footer-box, .social-list {
    background-image: linear-gradient(#5ec5d1, #26B3BE, #1C949D);
    margin: 0 0 0 auto;
    padding: 0 10px;
    display: flex;
    list-style-type: none;
    gap: 25px;
    font-size: 20px;
}

.social-icon{
    width: 30px;
    height: 30px;
    list-style: none;
    cursor: pointer;
    padding: 15px 0;
}

/* ---------- Tablets (768px to 1024px) ---------- */
@media (max-width: 1024px) {
    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 24px;
    }

    .header-list {
        gap: 15px;
        font-size: 18px;
    }

    .product {
        width: 100%;
    }

    .photo-list {
        flex-direction: column;
        align-items: center;
    }

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

/* ---------- Phones (less than 768px) ---------- */
@media (max-width: 767px) {
    h1 {
        font-size: 28px;
    }

    h1 span {
        font-size: 40px;
    }

    .container,
    .header-list {
        flex-direction: column;
        align-items: center;
        margin: 0;
        gap: 10px;
    }

    header img {
        width: 60px;
        height: 60px;
    }

    .shop-btn {
        width: 100%;
    }

    .product {
        width: 100%;
        padding: 10px;
    }

    .photo-list {
        flex-direction: column;
        align-items: center;
    }

    form {
        padding: 15px;
    }

    .footer-box,
    .social-list {
        margin: auto;
        align-items: center;
        font-size: 18px;
    }

    footer p {
        margin: auto;
        text-align: center;
        padding: 10px;
    }

    @media (max-width: 600px) {
    #hero-block {
        padding: 20px 10px;
        background-position: top;
    }
}
}