/* General styles */

/*The everthing selector */
    *{
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

body { 
        font-family: Helvetica, sans-serif;
}

/*container*/

.main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/*button*/

.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: black;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 17px;
}

/*hover effect*/

.btn:hover {
        background-color: #e0b66d;
}

.btn-light {
        display: inline-block;
        padding: 10px 20px;
        background-color: #e0b66d;
        color: white;
        border-radius: 20px;
        text-decoration: none;
}

/*Navbar*/

.navbar {
        background-color: #e8dfd9;
        padding: 10px 25px;
}

.nav-top {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;      
}

/*logos*/

.logo-mobile {
        display: block;
        width: 140px;
}

.logo-desktop {
        display: none;
        width: 180px;
}

/*icons right*/

.nav-icons {
        display: flex;
        position: absolute;
        right: 0;
        gap: 15px;
}

.nav-icons img {
        width: 20px;
}


/*logo*/

.menu {
        display: flex;
        justify-content: center;
        list-style: none;
        gap: 20px;
        margin-top: 15px;
        }

.menu a {
        text-decoration: none;
        color: black;
        font-size: 16px;
        }

/*hero image*/

.hero {
        position: relative;
}

.hero-img {
        width: 100%;
}

.hero-content {
        position: absolute;
        top: 80px;
        left: 20px;
        color:white;
}

.hero-content h1{
        font-size: 50px;

}

.hero-content p {
        margin-top: 15px;
        font-size: 18px;
        line-height: 1.6;
}


/*footer image*/

.footerimage {
        position: relative;
        width: 100%;
        padding: 0;

}

.footerimage-container {
        position: relative;

}

.footerimage-img img {
        width: 100%;
        height: 600px;
        object-fit: cover;
        display: block;
}

.footerimage-text {
       position: absolute;
       top: 50%;
       left: 50%;
       transform: translate(-50%, -50%);
       text-align: center;
       color: black;
}

.footerimage-text h2 {
        font-size: 40px;
        margin-bottom: 15px;

}
.footerimage-text p {
        margin-bottom: 20px;
        font-size: 18px;
}


/*products*/

.products {
            padding: 60px 40px;
            text-align: center;

}

.products h2 {
            margin-bottom: 40px;
            font-size: 24px;

}

.product-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr); 
            gap: 20px;
}

.product-btn {
    margin-top: 60px;
}

/*each product*/
.product img {
            width: 100%;
            aspect-ratio: 3 / 4;
            object-fit: cover;
}
.product p {
            margin-top: 10px;
            font-size: 14px;
}

.product span {
            display: block;
            margin-top: 5px;
            font-weight: bold;
}

/*collection*/

.collection {
        padding: 0 40px 60px 40px;
        text-align: center;

}

.collection h2 {
        font-size: 24px;
        margin-bottom: 10px;
}

.collection-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        margin-top: 30px;
}

.collection-item img {
        width: 100%;
        height: 350px;
        object-fit: cover;
}

.collection-item p {
        margin-top: 20px;
        font-size: 14px;

}

.collection-btn {
        margin-top: 50px;

}

.collection-btn .btn-light {
        display: block;
        width: fit-content;
        margin: 0 auto;

}

/*shop page*/

.shop-item h2 {
        margin-top: 10px;
        margin-bottom: 5px;
        font-size: 14px;
        font-weight: normal;
}

.shop-page {
        padding: 60px 80px;
        text-align: center;
        background-color: #d8cdc2;
}

.shop-page h1 {
        font-size: 24px;
        margin-bottom: 10px;
}

.shop-subtitle {
        font-size: 14px;
        margin-bottom: 50px;
}

/*grid*/

.shop-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
        max-width: 1000px;
        margin: 0 auto;
        margin-top: 40px;
}

/*item*/

.shop-item {
        text-align: center;
}

.shop-item img {
        width: 100%;
        height: 320px;
        object-fit: cover;
        display: block;
}

.shop-item p {
        margin-top: 12px;
        font-size: 14px;
}

.shop-item span {
        display: block;
        margin-top: 5px;
        font-size: 13px;
        font-weight: normal;
}

/*collection-page*/

.collection-page {
        background-color: #d8cdc2;
        padding: 60px 0;
        text-align: center;
}

.collection-text {
        width: 320px;
        text-align: left;
}

.collection-text h2 {
        font-size: 20px;
        margin-bottom: 15px;
}

.collection-text p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 25px;
}

.collection-img img {
        width: 450px;
        height: 450px;
        object-fit: cover;
}

.btn-outline {
        display: inline-block;
        padding: 10px 20px;
        border: 2px solid #e0b66d;
        color: black;
        text-decoration: none;
        font-size: 14px;
}

.collection-page h1 {
        font-size: 28px;
        margin-bottom: 10px;
}

.collection-page p {
        font-size: 16px;
        margin-bottom: 60px;
}

.collection-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 80px;
        max-width: 800px;
        margin: 0 auto 80px auto;
}

/*about page*/

.about-page {
        background-color: #d8cdc2;
        width: 100%;
        padding: 80px 0;
        text-align: center;
}

.about-page h1 {
        font-size: 48px;
        margin-bottom: 70px;
}

/*first and third row*/

.about-row,
.quality-row {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 90px;
        margin-bottom: 100px;
}

.reverse {
    flex-direction: row-reverse;
}

/*text*/
.about-text,
.quality-text {
        width: 360px;
        text-align: left;
}

.about-text h2,
.quality-text h2 {
        font-size: 16px;
        margin-bottom: 10px;
}

.about-text p,
.quality-text p {
        font-size: 15px;
        line-height: 1.5;
}

.about-row,
.quality-row {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/*images*/

.about-img img,
.ourstory-img img,
.stainlessteel-img img {
        width: 320px;
        height: 320px;
        object-fit: cover;
}

/*features*/
.about-features {
        background-color: #d4b27a;
        padding: 70px 20px;
        margin-top: 40px;
}

.about-features h3 {
        font-size: 16px;
        margin-bottom: 25px;
}

.features-grid {
    display: flex;
    justify-content: center;
    gap: 120px;
}

.feature {
        width: 160px;
        text-align: center;
}

.feature p {
    font-size: 14px;
    margin-top: 10px;
}


/*contact page*/
.contact-page {
    background-color: #d8cdc2;
    padding: 60px 0;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-page h1 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 48px;
}

.contact-form {
    width: 450px;
}

.contact-form h2 {
    font-size: 18px;
    margin-bottom: 20px;
}

form input,
form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #e0b66d;
    background-color: transparent;
    font-size: 13px;
}

form textarea {
    height: 150px;
    resize: none;
}

form button {
    background-color: black;
    color: white;
    padding: 12px;
    width: 200px;
    border: none;
    font-size: 12px;
    margin-top: 10px;
}

.contact-image {
    position: relative;
    width: 100%;
}

.contact-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.contact-image p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    font-size: 20px;
    text-align: center;
    color: white;
    width: 80%;
}

/*footer*/
.footer {
        background-color: black;
        color: white;
        padding: 60px 80px 30px;
}

.footer-container {
        display: flex;
        justify-content: space-evenly;
        align-items: flex-start;
}

.footer-logo img {
        width: 200px;
        margin-top: 40px;
}

.footer-menu {
        display: flex;
        flex-direction: column;
        gap: 18px;
}

.footer-menu h3 {
        font-size: 20px;
        margin-bottom: 10px;
}

.footer-menu a {
        text-decoration: none;
        color: white;
        font-size: 18px;
}

.footer-contact {
        text-align: left;
}

.footer-contact h3 {
        font-size: 20px;
        margin-bottom: 35px;
}

.footer-contact p {
        font-size: 18px;
        line-height: 1.5;
}
.social-icons {
        display: flex;
        gap: 35px;
        margin-top: 50px;
}

.footer-bottom {
        text-align: center;
        margin-top: 60px;
}

.footer-bottom p {
        font-size: 15px;

}

/* Extra small devices (phones, 600px and down) */

@media only screen and (max-width: 600px) {

    /* NAVIGATION */

    .navbar {
        padding: 10px;
    }

    .nav-top {
    display: flex;
    flex-direction: column; /* ✅ logo en haut */
    align-items: center;   /* ✅ centre horizontalement */
}


    .logo-mobile {
        width: 100px;
    }

    .menu {
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 10px;
    }

    .menu a {
        font-size: 14px;
    }

    /* HERO */

    .hero {
        height: 350px;
        overflow: hidden;
    }

    .hero-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .hero-content {
        top: 30px;
        left: 15px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .btn {
        font-size: 14px;
        padding: 10px 20px;
    }

    /* PRODUCTS */

    .products {
        padding: 40px 20px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* COLLECTION */

    .collection {
        padding: 40px 20px;
    }

    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .collection-item img {
        height: 250px;
    }

    /* SHOP PAGE */

    .shop-page {
        padding: 40px 20px;
    }

    .shop-grid {
        grid-template-columns: 1fr;
    }

    /* COLLECTION PAGE */

    .collection-row {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .collection-text {
        width: 100%;
        text-align: center;
        padding: 0 20px;
    }

    .collection-img img {
        width: 100%;
        height: auto;
    }

    /* ABOUT PAGE */

    .about-page h1 {
        font-size: 32px;
    }

    .about-row,
    .quality-row {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 60px;
    }

    .about-text,
    .quality-text {
        width: 100%;
        text-align: center;
    }

    .about-img img,
    .ourstory-img img,
    .stainlessteel-img img {
        width: 100%;
        height: auto;
    }

    .features-grid {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    /* CONTACT */

    .contact-page h1 {
        font-size: 32px;
    }

    .contact-container {
        padding: 0 20px;
    }

    .contact-form {
        width: 100%;
    }

    .contact-image img {
        height: 250px;
    }

    .contact-image p {
        font-size: 16px;
    }

    /* FOOTER IMAGE */

    .footerimage-img img {
        height: 350px;
    }

    .footerimage-text h2 {
        font-size: 24px;
    }

    .footerimage-text p {
        font-size: 14px;
    }

    /* FOOTER */

    .footer {
        padding: 40px 20px;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .footer-contact {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
        margin-top: 25px;
    }
}


/* Small devices (portrait tablets and large phones, 600px and up) */

@media only screen and (min-width: 600px) {

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .collection-row {
        flex-direction: column;
        text-align: center;
    }

    .collection-text {
        width: 100%;
        text-align: center;
    }

    .collection-img img {
        width: 100%;
        max-width: 600px;
        height: auto;
    }

    .about-row,
    .quality-row {
        flex-direction: column;
    }

    .features-grid {
        flex-wrap: wrap;
        gap: 50px;
    }
}


/* Large devices (laptops/desktops, 992px and up) */

@media only screen and (min-width: 992px) {

    /* NAVIGATION */

    .navbar {
        padding: 20px 40px;
    }

    .nav-top {
        justify-content: space-between;
        align-items: center;
    }

    .logo-mobile {
        display: none;
    }

    .logo-desktop {
        display: block;
        width: 120px;
    }

    .menu {
        margin-top: 20px;
        justify-content: center;
        gap: 50px;
    }

    .menu a {
        font-size: 16px;
        font-weight: 500;
        letter-spacing: 1px;
    }

    .nav-icons {
        position: static;
    }
    
    /*hero*/

    .hero {
        height: 500px;
        overflow: hidden;
    }

    .hero-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 20%;

    }

    /* PRODUCTS */

    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* COLLECTION */

    .collection-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* SHOP */

    .shop-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* COLLECTION PAGE */

    .collection-row {
        flex-direction: row;
        text-align: left;
    }

    .collection-text {
        width: 320px;
        text-align: left;
    }

    .collection-img img {
        width: 500px;
        height: 450px;
    }

    /* ABOUT */

    .about-row,
    .quality-row {
        flex-direction: row;
    }

    .features-grid {
        flex-direction: row;
        gap: 120px;
    }

    /* FOOTER */

    .footer-container {
        flex-direction: row;
        text-align: left;
    }

    .footer-contact {
        text-align: left;
    }
}