
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

/* Header */
header {
    background-color: #f7d6e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* LOGO */
.logo-container {
    display: flex;
    align-items: center;
    gap: 10px; 
    text-decoration: none;
}


.logo-icon {
    width: 45px; 
    height: 45px;
    animation: float 3s ease-in-out infinite; 
}
.logo-text {
    font-family: 'Pacifico', cursive; 
    font-size: 2rem; 
    color: #d63384; 
    text-shadow: 2px 2px 0px #fff; 
    text-decoration: none;
    letter-spacing: 1px;
}

.logo-text:hover {
    color: #ff69b4; 
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}
header {
    padding: 10px 50px; 
}
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

nav a:hover {
    color: #d63384;
}

/* Banner */
.banner {
    background: url('ảnh/banner-quang-cao-my-pham_083548926.jpg') center/cover no-repeat;
    text-align: center;
    padding: 130px 20px;
    color: white;
}

.banner h2 {
    font-size: 2.2em;
    margin-bottom: 10px;
}

.banner .btn {
    display: inline-block;
    background-color: #ffb6c1;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.banner .btn:hover {
    background-color: #ff69b4;
}

/* Sản phẩm */
.products {
    padding: 60px 20px;
    text-align: center;
}

.products h2 {
    margin-bottom: 30px;
    color: #d63384;
}

.product-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.product {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 15px;
    width: 250px;
    transition: transform 0.3s;
}

.product:hover {
    transform: scale(1.05);
}

.product img {
    width: 100%;
    border-radius: 10px;
}

.product h3 {
    margin: 10px 0;
    color: #333;
}

.product p {
    font-size: 14px;
    color: #666;
}

.product span {
    display: block;
    color: #d63384;
    font-weight: bold;
    margin: 10px 0;
}

.product button {
    background: #ffb6c1;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    color: white;
    transition: 0.3s;
}

.product button:hover {
    background: #ff69b4;
}

/* Giới thiệu */
.about {
    background-color: #fff5f8;
    padding: 60px 20px;
    text-align: center;
}

.about p {
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Liên hệ */
.contact {
    padding: 60px 20px;
    background: #fde2e4;
    text-align: center;
}

.contact form {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact input, .contact textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.contact button {
    background: #d63384;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

.contact button:hover {
    background: #ff69b4;
}

/* Footer */
footer {
    background-color: #f7d6e0;
    text-align: center;
    padding: 15px;
    font-size: 14px;
}
/* Menu */
#menu ul{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

#menu > ul{
    gap: 12px;
    padding: 0 10px;
}
#menu > ul > li {
    position: relative;
}
#menu > ul > li > a{
    display: block;
    padding: 12px 18px;
    border-radius: 6px;
}

#menu ul li:hover{
    background-color: transparent;
}
#menu ul li:hover > a{
    background-color: #ff69b4;
}

#menu ul ul{
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ff69b4;
    min-width: 180px;
    z-index: 100;
    margin: 0;
    padding: 0;
}

#menu li:hover > ul{
    display: block;
}

#menu ul ul ul{
    top: 0;
    left: 100%;
}

#menu ul ul li{
    position: relative;
}
#menu ul ul li a{
    display: block;
    padding: 10px 15px;
    white-space: nowrap;
}

#menu ul ul li:hover > a{
    background-color: #ff69b4;
}
/* Dịch vụ */
.service-card {
    text-align: center;
    padding: 20px;
    background: #fff;
    border: 1px solid #ffe4e1;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(214, 51, 132, 0.2);
}
.service-card h3 { color: #d63384; margin-bottom: 10px; }

/* Trang Tin tức */
.news-container {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.news-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.news-item:hover { transform: scale(1.02); }
.news-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.news-content { padding: 20px; }
.news-content h3 { color: #333; margin-bottom: 10px; font-size: 1.2em; }
.news-content p { color: #666; font-size: 0.9em; margin-bottom: 15px; }
.read-more {
    color: #d63384;
    font-weight: bold;
    text-decoration: none;
}

/* Trang Liên hệ  */
.contact-page-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 50px 20px;
    flex-wrap: wrap;
}
.contact-info, .contact-form-box {
    flex: 1;
    min-width: 300px;
    background: #fff5f8;
    padding: 30px;
    border-radius: 15px;
}
.contact-info h3 { color: #d63384; margin-bottom: 20px; }
.contact-info p { margin-bottom: 15px; color: #555; }
.contact-info strong { color: #333; }
/* THANH TÌM KIẾM*/
.search-box {
    background-color: white;
    border-radius: 25px; 
    padding: 5px;
    border: 2px solid #ffb6c1; 
    display: flex;
    align-items: center;
    transition: 0.3s;
}

.search-box:hover, .search-box:focus-within {
    border-color: #d63384; 
    box-shadow: 0 0 8px rgba(214, 51, 132, 0.3);
}

.search-box form {
    display: flex;
    align-items: center;
}

.search-box input {
    border: none;
    outline: none;
    padding: 5px 10px;
    font-size: 14px;
    color: #555;
    width: 150px; 
    background: transparent;
}
.search-box input::placeholder {
    color: #fca5b9; 
}
.search-box button {
    background-color: #ffb6c1;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%; 
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}

.search-box button:hover {
    background-color: #d63384; 
    transform: scale(1.1);
}