* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #000;
}


section, footer {
    width: 100%;
    max-width: 100vw;
    padding: 60px 20px;
    overflow-x: hidden;
}

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

.navbar-nav .nav-link {
    color: white !important;
    padding: 8px 15px;
    transition: background 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.dropdown-menu {
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 160px;
    padding: 10px 0;
}


.navbar {
    background-color: rgba(0, 0, 0, 0.6); /* nền đen mờ */
    backdrop-filter: blur(6px);           /* làm mờ nền phía sau (nếu trình duyệt hỗ trợ) */
    -webkit-backdrop-filter: blur(6px);   /* hỗ trợ Safari */
    transition: background-color 0.3s ease;
    height: 60px;
}

.navbar a, .navbar .dropdown-toggle {
    color: white;
}

.nav-left {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-brand {
    margin-left: auto;
    margin-right: auto;
}

#shop-preview .carousel .card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

#shop-preview .carousel-item .row {
    display: flex;
    align-items: stretch;
}

#shop-preview .carousel-item .col-md-4 {
    display: flex;
}

#shop-preview .card-img-top {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: 100%;
    min-height: 250px;
    border-top-left-radius: .5rem;
    border-top-right-radius: .5rem;
}

#shop-preview .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}



/* ----- MENU DROPDOWN DƯỚI NAVBAR ----- */
#menu {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: #111;
    color: #fff;
    z-index: 1055;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
}

/* Khi menu hiển thị */
#menu.open {
    display: flex;
    opacity: 1;
}

/* Link trong menu */
#menu a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 6px 0;
    transition: color 0.2s ease;
}

/* Hover đẹp */
#menu a:hover {
    color: #ffcc66;
    text-shadow: 0 0 8px rgba(255,204,102,0.5);
}

/* Mobile friendly */
@media (max-width: 768px) {
    #menu {
        font-size: 1rem;
        gap: 10px;
    }
}

/* Vùng section */
#about {
    padding: 60px 20px;
    font-family: 'Open Sans', sans-serif;
    color: #222;
}

/* Lưới 2 cột cân đối */
.about-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;   /* 50% - 50% */
    gap: 48px;                        /* khoảng cách giữa 2 cột */
    align-items: center;
}

/* Cột ảnh trái */
.about-image img {
    width: 100%;
    max-width: 520px;                 /* hạn chế ảnh quá lớn */
    display: block;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(0,0,0,.18);
    object-fit: cover;
}

/* Cột chữ phải */
.about-text h2 {
    font-size: 2.2rem;
    margin: 0 0 16px;
    letter-spacing: .3px;
    font-weight: 700;
}
.about-text p {
    line-height: 1.9;
    font-size: 1.20rem;
    margin: 0 0 14px;
}

/* Nhịp điệu thị giác kiểu tạp chí: thêm viền mảnh bên trái */
.about-text {
    border-left: 2px solid #e6e2db;  /* be nhạt cổ điển */
    padding-left: 26px;
}

/* Responsive: xuống 1 cột trên mobile */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .about-text { border-left: none; padding-left: 0; }
    .about-text h2 { text-align: center; }
    .about-image img { margin: 0 auto; }
}


#hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 60px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

#hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

#hero h1 {
    font-size: 48px;
    font-family: 'Noto Serif Display', serif;
    font-weight: 700;
    text-transform: none;
    margin-bottom: 20px;
    line-height: 1.2;
}


#hero p {
    font-size: 20px;
}

h2 {
    font-size: 32px;
    margin-bottom: 20px;
    text-align: center;
    font-family: 'Noto Serif Display', serif;
    font-weight: 700;
    text-transform: none;
}

p {
    margin-bottom: 16px;
    font-size: 18px;
}

.gallery {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.product-card {
    max-width: 300px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    border-radius: 8px;
    padding: 15px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.product-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.product-card h3 {
    font-size: 20px;
    margin: 10px 0 5px;
    color: #111;
}

.product-card p {
    font-size: 16px;
    color: #444;
}

.product-card a {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background-color: #222;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.product-card a:hover {
    background-color: #444;
}

.story-card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.story-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 15px;
}

@media (max-width: 600px) {
    #hero h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 24px;
    }

    .gallery img {
        max-width: 100%;
    }
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.story-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.story-card div {
    padding: 20px;
}

.story-card h3 {
    margin-bottom: 10px;
    font-size: 20px;
    color: #333;
}

.story-card p {
    font-size: 16px;
    color: #555;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
}

.contact-form button {
    padding: 12px;
    background-color: #222;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #444;
}

.card-title {
    font-size: 18px;
    font-weight: bold;
}

.card-text {
    font-size: 14px;
    color: #444;
}

.card .btn {
    border-radius: 30px;
    padding: 6px 20px;
    font-size: 14px;
}

.site-footer { background:#1f2428; }
.footer-logo { max-height:250px; width:auto; }
.site-footer a { color:#eaeaea; text-decoration:none; }
.site-footer a:hover { color:#ffffff; text-decoration:underline; }
.footer-nav .list-inline-item { margin:0 .75rem; }
.footer-social { display:inline-flex; align-items:center; }
.copyright { opacity:.8; }

/* Mobile: menu thành danh sách dọc cho dễ bấm */
@media (max-width: 991.98px) {
    .footer-nav .list-inline-item { display:block; margin:.25rem 0; }
}

