/* 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: #ffffff;
    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: #ffffff;
    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: #ffffff;              
    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: #ffffff;
        text-decoration: none;
        font-weight: bold;
        padding: 1vw;
        text-transform: uppercase;
        font-size: 1.4vw;
    }

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

 .contact-container {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 8vw; 
            max-width: 100%;
            padding: 2vw;
        }

/* Container của form */
.contact-form {
    max-width: 60%;
    margin: 0 auto;
    padding: 2vw;
    font-family: sans-serif;
    text-align: left;
}

/* Tiêu đề */
.contact-form h2 {
    font-size: 2vw;
    font-weight: bold;
    color:#8a5b3d;
    line-height: 1.4;
}

/* Phần mô tả nhỏ */
.contact-form p {
    font-size: 1.3vw;
    color:#3d2b1f;
    margin-bottom: 1.5vw;
}


/* Định dạng các trường input và textarea */
.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 1vw;
    margin-bottom: 1vw;
    border: 1px solid #3d2b1f;
    border-radius: 4px;
    font-size: 1.1vw;
}

/* Căn phải nút */
.button-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 1vw;
}

/* Button gửi */
.contact-form button {
    background-color:#8a5b3d;
    color:white;
    border: none;
    padding: 1vw;
    font-size: 1.2vw;
    font-weight: bold;
    border-radius: 20px;
    cursor: pointer;
    width: 8vw;
}

/* Hiệu ứng khi hover button */
.contact-form button:hover {
    background-color:#3d2b1f;
}

.infor {
    margin: 0 auto;
    font-family: sans-serif;
    text-align:center;
    max-width: 40%;
}
.infor h2 {
    font-size: 2.2vw;
    font-weight: bold;
    color:#8a5b3d;
    line-height: 1.4;
    margin-bottom: 1.5vw;
    margin-top: 8vw;
}
.infor p {
    font-size: 1.3vw;
    color:#3d2b1f;
}

 /* Styling đơn giản cho câu nói */
 #random-quote {
    display: flex;
    justify-content: center;
    text-align: center;
    font-family: serif;
    font-size: 1.2vw;
    font-style: italic;
    color: #006838;
    padding: 2vw;
    white-space: nowrap;
    margin-top: 3vw;
    width: 40%;
    margin-left: auto;
    margin-right: auto;
}

footer {
    display: flex;
    justify-content:center;
    padding: 1vw 1vw;
    background-color: #8a5b3d;
    color:#ffffff;
    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;
}