@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Display:ital,wght@0,100..900;1,100..900&display=swap');

* {
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

.sticky {
    position: sticky;
    top: 0;
    z-index: 1020;
}

.section-title {
    text-align: center;
    font-size: 2.1rem;
    letter-spacing: 2px;
    margin-bottom: 30px;
    font-family: 'Noto Serif Display', serif;
    color: #bb1d0b;
}

.hero-slider {
    width: 100%;
    height: 48vw;
    min-height: 320px;
    max-height: 550px;
    overflow: hidden;
    position: relative;
    background: #000;
    margin-bottom: 12px;
}

.slider-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.9s cubic-bezier(0.4,0,0.2,1);
    z-index: 1;
    left: 0; top: 0;
}
.slider-slide.active {
    opacity: 1;
    z-index: 2;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.92);
}
.slider-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59,23,14,0.41) 37%, rgba(0,0,0,0.33) 100%);
    z-index: 3;
}
.slider-caption {
    position: absolute;
    left: 6vw;
    bottom: 14vw;
    color: #fff;
    font-size: 2.2rem;
    font-family: 'Noto Serif Display', serif;
    z-index: 5;
    text-shadow: 2px 2px 18px rgba(0,0,0,0.6);
    max-width: 60vw;
    font-weight: 600;
    line-height: 1.2;
    animation: fadeInUp 1.2s;
}
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(40px);}
    100% { opacity: 1; transform: translateY(0);}
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: #c7372a;
    border: none;
    font-size: 2.2rem;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.16);
    cursor: pointer;
    opacity: 0.82;
    transition: background 0.2s, color 0.2s;
    z-index: 20;
}
.slider-btn:hover {
    background: #c7372a;
    color: #fff;
    opacity: 1;
}
.slider-btn.prev { left: 24px;}
.slider-btn.next { right: 24px;}

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    background-color: #6a0900;
    overflow-x: hidden;
    transition: width 0.5s;
    padding-top: 60px;
    box-shadow: 2px 0 20px rgba(0,0,0,0.12);
}
.sidenav img {
    margin-left: 30px;
    max-width: 80%;
    border-radius: 12px;
    margin-bottom: 18px;
}
.sidenav a, .sidenav .closebtn {
    padding: 14px 40px;
    font-size: 17px;
    color: white;
    text-decoration: none;
    display: block;
    border-radius: 8px;
    transition: background-color 0.3s, color 0.25s;
    margin-bottom: 3px;
    font-weight: 500;
    letter-spacing: 1px;
}
.sidenav a i {
    margin-right: 9px;
}
.sidenav a:hover,
.sidenav .closebtn:hover {
    background-color: #c7372a;
    color: #ffe082;
}
.topnav {
    background-color: #c7372a;
    padding: 12px 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.topnav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    margin-right: 15px;
    transition: opacity 0.3s;
}
.topnav a img {
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.14);
    margin-right: 10px;
}
.topnav a.icon {
    margin-left: auto;
    font-size: 24px;
    margin-right: 0;
    background: rgba(0,0,0,0.06);
    border-radius: 50%;
    padding: 5px 12px 2px 12px;
}
.topnav a:hover {
    opacity: 0.8;
}

.box {
    color: white;
    background-color: #c7372a;
    padding: 40px 20px;
    margin: 18px auto 10px auto;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    max-width: 1350px;
}

.box h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

.box h2 {
    font-size: 18px;
    margin-bottom: 8px;
}

.box-container-2 {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    gap: 38px;
    padding: 0 0 20px 0;
    background-color: transparent;
    color: inherit;
    flex-wrap: wrap;
}

.product-col {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    color: #222;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    padding: 26px 14px 18px 14px;
    margin: 0;
    min-width: 0;
    transition: box-shadow 0.3s, transform 0.25s;
}
.product-col:hover {
    box-shadow: 0 8px 28px rgba(199,55,42,0.18), 0 2px 6px rgba(0,0,0,0.08);
    transform: translateY(-6px) scale(1.035);
}

.underbox {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.underbox img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    margin-bottom: 16px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.14);
    transition: transform 0.3s;
}
.product-col:hover .underbox img {
    transform: scale(1.06);
}

.ubtext {
    width: 100%;
    margin: 0;
    font-size: 1.13rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
    color: inherit;
    text-align: left;
}

.ubtext h2 {
    font-family: 'Noto Serif Display', serif;
    font-size: 22px;
    margin-bottom: 10px;
    color: #c7372a;
}

.ubtext p {
    font-size: 15px;
    color: #333;
}

.subbox {
    background-color: white;
    color: #c7372a;
    padding: 13px 6px;
    border-radius: 10px;
    width: 48%;
    margin-top: 5px;
    margin-bottom: 5px;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.13);
    transition: all 0.3s, color 0.18s;
    cursor: pointer;
    font-size: 1.06rem;
    border: 1.5px solid #ffe082;
}
.subbox:hover {
    background-color: #fee9c5;
    color: #c7372a;
    transform: translateY(-3px) scale(1.02);
    border-color: #c7372a;
}

.about-section {
    background: linear-gradient(135deg, #c7372a 64%, #ffe082 100%);
    color: #fff;
}
.about-highlight {
    font-family: 'Noto Serif Display', serif;
    font-size: 21px;
    text-align: center;
    color: #ffe082;
    margin-top: 20px;
    margin-bottom: 0;
    font-weight: 600;
    text-shadow: 1px 1px 10px rgba(199,55,42,0.11);
}

.button {
    background: linear-gradient(90deg, #c7372a 70%, #ffe082 110%);
    color: white;
    padding: 14px 37px;
    border: none;
    font-size: 17px;
    font-weight: bold;
    border-radius: 25px;
    cursor: pointer;
    outline: none;
    box-shadow: 0 2px 24px rgba(199,55,42,0.13);
    transition: background 0.3s, box-shadow 0.18s;
    letter-spacing: 0.5px;
    margin-top: 10px;
}
.button:hover, .cta-glow:hover {
    background: linear-gradient(90deg, #bb1d0b 60%, #ffe082 100%);
    box-shadow: 0 0 16px #ffe082, 0 2px 16px #c7372a;
    color: #fff;
}
.cta-glow {
    box-shadow: 0 0 0 0 #ffe082;
    animation: glowBtn 2.4s infinite;
}

.button-white {
    background: white;
    color: #bb1d0b;
    padding: 14px 37px;
    border: none;
    font-size: 17px;
    font-weight: bold;
    border-radius: 25px;
    cursor: pointer;
    outline: none;
    box-shadow: 0 2px 24px rgba(199,55,42,0.13);
    transition: background 0.3s, box-shadow 0.18s;
    letter-spacing: 0.5px;
    margin-top: 10px;
}
@keyframes glowBtn {
    0% { box-shadow: 0 0 0 0 #ffe082;}
    70% { box-shadow: 0 0 16px 8px #ffe082;}
    100% { box-shadow: 0 0 0 0 #ffe082;}
}

.about {
    background-color: #ffe082;
    padding: 35px 20px 25px 20px;
    text-align: center;
}

.about-box {
    background: white;
    padding: 23px 18px;
    border-radius: 13px;
    display: inline-block;
    text-align: left;
    max-width: 600px;
    font-size: 16px;
    line-height: 1.8;
    box-shadow: 0 2px 12px rgba(0,0,0,0.13);
}

footer {
    background: #ffe082;
    color: black;
    text-align: center;
    padding: 30px 12px 18px 12px;
    margin-top: 26px;
    border-radius: 48px 48px 0 0;
    box-shadow: 0 -6px 36px rgba(199,55,42,0.10);
}
.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 17px;
}
.footer-logo {
    width: 40px;
    height: 40px;
    border-radius: 13px;
    margin-right: 10px;
    vertical-align: middle;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.footer-title {
    font-size: 1.4rem;
    font-family: 'Noto Serif Display', serif;
    font-weight: 700;
    letter-spacing: 2px;
    vertical-align: middle;
}
.footer-links {
    margin: 12px 0;
}
.footer-links a {
    color: #fff;
    font-size: 1.8rem;
    margin: 0 11px;
    transition: color 0.22s;
}
.footer-links a:hover {
    color: #ffe082;
}
.footer-copyright {
    font-size: 0.98rem;
    opacity: 0.82;
    margin-top: 3px;
}

/* Nút nổi góc trái dưới */
.back-to-top-btn,
.call-fixed-btn,
.fb-fixed-btn,
.zalo-fixed-btn {
  position: fixed;
  left: 24px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(44, 111, 194, 0.13);
  transition: box-shadow 0.2s, transform 0.18s, background 0.18s, color 0.18s;
  outline: none;
  border: none;
  cursor: pointer;
  font-size: 2rem;
  background: #fff;
}

/* Vị trí từng nút: từ dưới lên */
.zalo-fixed-btn    { bottom: 24px; border: 3px solid #3a7be0; background: #fff; }
.fb-fixed-btn      { bottom: 92px; border: 3px solid #4267B2; background: #fff; color: #4267B2;}
.call-fixed-btn    { bottom: 160px; border: 3px solid #25d366; background: #fff; color: #25d366;}
.back-to-top-btn   { bottom: 228px; background: #c7372a; color: #fff; border: none;}

.zalo-fixed-btn img {
  width: 40px;
  height: 40px;
  display: block;
}
.fb-fixed-btn i {
  font-size: 2.1rem;
}
.call-fixed-btn i {
  font-size: 2.1rem;
}

/* Hover effects */
.zalo-fixed-btn:hover, .zalo-fixed-btn:focus {
  box-shadow: 0 0 16px 4px #3a7be0, 0 4px 16px rgba(44,111,194,0.13);
  transform: scale(1.08);
  background: #eaf2fc;
}
.fb-fixed-btn:hover, .fb-fixed-btn:focus {
  background: #4267B2;
  color: #fff;
  box-shadow: 0 0 16px 4px #4267B2, 0 4px 16px rgba(44,67,178,0.13);
  transform: scale(1.08);
}
.call-fixed-btn:hover, .call-fixed-btn:focus {
  background: #25d366;
  color: #fff;
  box-shadow: 0 0 16px 4px #25d366, 0 4px 16px rgba(37,211,102,0.13);
  transform: scale(1.08);
}
.back-to-top-btn:hover, .back-to-top-btn:focus {
  background: #ffe082;
  color: #c7372a;
  box-shadow: 0 0 16px 4px #c7372a, 0 4px 16px rgba(199,55,42,0.13);
  transform: scale(1.08);
}

/* Responsive nhỏ hơn trên mobile */
@media (max-width: 600px) {
  .zalo-fixed-btn, .fb-fixed-btn, .call-fixed-btn, .back-to-top-btn {
    width: 48px;
    height: 48px;
    left: 10px;
    font-size: 1.3rem;
  }
  .zalo-fixed-btn    { bottom: 10px;}
  .fb-fixed-btn      { bottom: 62px;}
  .call-fixed-btn    { bottom: 114px;}
  .back-to-top-btn   { bottom: 166px;}
  .zalo-fixed-btn img {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 1200px) {
    .box-container-2 {
        gap: 20px;
        max-width: 950px;
    }
    .slider-caption {
        font-size: 1.1rem;
        left: 3vw;
        max-width: 80vw;
    }
}
@media (max-width: 1024px) {
    .box-container-2 {
        flex-direction: column;
        gap: 22px;
        width: 97%;
        padding: 0 0 16px 0;
    }
    .product-col {
        width: 100%;
        max-width: 100%;
    }
    .underbox img {
        height: 160px;
    }
}
@media (max-width: 850px) {
    .slider-caption {
        font-size: 1.05rem;
        left: 4vw;
        bottom: 10vw;
    }
}

@media (max-width: 700px) {
    .hero-slider {
        height: 45vw;
        min-height: 170px;
    }
    .slider-caption {
        font-size: 0.96rem;
        left: 3vw;
        bottom: 7vw;
    }
    .about-box {
        font-size: 13px;
    }
    .footer-title {
        font-size: 1.1rem;
    }
    .section-title {
        font-size: 1.45rem;
    }
}

@media (max-width: 600px) {
    .underbox img {
        height: 110px;
    }
    .ubtext h2 {
        font-size: 0.97rem;
    }
    .product-col {
        padding: 10px 5px;
    }
    .about-section {
        padding: 18px 7px;
    }
    .about-highlight {
        font-size: 15px;
    }
    footer { border-radius: 16px 16px 0 0;}
    .subbox{
        width: 100%;
        margin-top: 1.5px;
        margin-bottom: 1.5px;
    }
}

@media (max-width: 600px) {
  .zalo-fixed-btn {
    width: 48px;
    height: 48px;
    left: 10px;
    bottom: 10px;
    padding: 3px;
    border-width: 2px;
  }
  .zalo-fixed-btn img {
    width: 30px;
    height: 30px;
  }

  .back-to-top-btn {
    width: 48px;
    height: 48px;
    left: 10px;
    bottom: 64px; /* 48px + 6px margin + 10px padding */
    font-size: 1.3rem;
  }
}