/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background-color: #ffffff;
    overflow-x: hidden;
    height: auto;
}
/* Tổng quát cho header */
.header-container {
    background-color: #3d2b1f; 
    color: white;
    font-family: serif;
    width: 100%;
}

/* Phần trên với logo, thanh tìm kiếm, và biểu tượng chức năng */
.header-top {
    display: flex;
    align-items:center;
    justify-content:space-between;
    padding: 1vw 1vw;
    width: 100%;
}
.logo img {
    display: flex;
    align-items:center;
    justify-content:left;
    display: block;
    margin: 0 0 0 2vw;
    width:35%;
}
/* Tạo container cho thanh tìm kiếm */
.search-bar {
    display: flex;
    align-items: center;
    width: 50%; 
    margin: 1vw 2vw 1vw; 
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); 
}

/* Ô nhập tìm kiếm */
.search-input {
    flex: 1; 
    padding: 1vw 1vw;
    border: none;
    outline: none;
    font-size: 1vw;
}

/* Nút tìm kiếm */
.search-button {
    border: none;
    background-color: white;
    padding: 0.35vw 0.35vw ;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-icon {
    width: 2.5vw; 
    height: 2.5vw;
    transition: filter 0.3s ease;
}

.search-icon:hover {
    transform: scale(1.2);
}

/* Phần biểu tượng chức năng */
   /* Định dạng vùng chứa các biểu tượng trong header */
.header-icons {
    display: flex;
    justify-content:right;
    padding: 0;
    gap: 2vw;
}

/* Định dạng vùng chứa biểu tượng và chữ */
.icon-container {
    position: relative;
    width: 3vw;
    height: 3vw;
    display: flex;
    align-items: center;
    justify-content:center;
    overflow: hidden; 
}

/* Định dạng các biểu tượng */
.icon {
    position:absolute;
    left: 0;
    width: 3vw;
    height: 3vw;
    margin: 0;
    display:flex;
    align-items: center;
    justify-content:center;
    transition: transform 0.3s ease-in-out; 
}
.icon img {
    width: 4vw;
    height: 4vw;
    }
/* Định dạng chữ trượt ngang */
.text {
    position:absolute;
    right: 0;
    opacity: 0;                    
    color: white;              
    transition: opacity 0.3s ease-in-out;
    font-size: 1.3vw;
}

/* Khi di chuột vào container của biểu tượng */
.icon-container:hover .icon {
    transform: translateX(-100%); 
}

.icon-container:hover .text {
    opacity: 1;                
    transition-delay: 0.2s;  
}

/* Phần dưới với menu điều hướng */
.header-nav {
    background-color: #8a5b3d; 
    padding: 1vw;
    width:100%;
    margin: 0;
}

    .header-nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 4vw;
        text-align: center;
    }

    .header-nav li {
        display: inline;
    }

    .header-nav a {
        color: white;
        text-decoration: none;
        font-weight: bold;
        padding: 1vw;
        text-transform: uppercase;
        font-size: 1.4vw;
    }

        .header-nav a:hover {
            background-color: #3d2b1f;
        }

    .container {
            display: flex;
            align-items: center; 
            justify-items:center;
            margin: 3vw 0 0 1vw;
            gap: 1.5vw;
        }   
    .image {
            width: 3.5vw; 
            height: 3.5vw;
        }
    .title {
        font-family: serif; 
        text-align:left;
        color: #8a5b3d; 
        font-size: 3.2vw;
        font-weight: bold;
    }
    hr {
        width: 30%;
        height: 0.2vw;
        background-color: #006838; 
        border: none;
        margin-top: 0.5vw;
    }
    
    .detail {
        text-indent: 3.5vw;
        text-align:justify;
        align-content: center;
        font-family: sans-serif; 
        font-size: 1.5vw; 
        line-height: 1.6; 
        color: #3d2b1f; 
        flex-wrap: wrap;
        margin: 1vw 1.5vw;
    }
    .content {
    max-width: 100%;
    display: flex;
    align-items:center;
    justify-content:center;
    gap: 2vw;
    padding: 0; 
    margin: 0 2vw;
    }
    
    .logoimg img {
    width: 25vw; 
    height: auto;
    }
    .textt {
        text-align:justify;
        font-family: sans-serif; 
        flex: 1;
        font-size: 1.5vw; 
        line-height: 2; 
        color: #3d2b1f; 
        flex-wrap: wrap;
    }
    footer {
        display: flex;
        justify-content:center;
        padding: 1vw 1vw;
        background-color: #8a5b3d;
        color:white;
        border-top: 2px solid #006838;
        margin-top: auto;
    }
    
    .footer-column {
        padding: 0 3vw; 
    }
    
    .footer-column h3 {
        font-size: 1.2vw;
        font-weight: bold;
    }
    
    .conect {
        display:flex;
        flex-direction: column; 
        align-items: flex-start;
        gap: 0.5vw;
    }
    .conect a {
        margin: 0.5vw 0;
        font-size: 1.1vw;
        text-decoration: none;
        color:white;
    }
    .social-icons, .payment-icons {
        display: flex;
        gap: 1.5vw; 
        align-items: center;
        margin: 1vw 0;
    }
    .footer-column .social-icons img,
    .footer-column .payment-icons img {
        width: 2vw;
        height: 2vw;
    }