@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@300;400;500;600;700&display=swap');

:root {
  --color-primary: #FF4500;
  --color-primary-dark: #E03E00;
  --color-bg: #F8F9FA;
  --color-text-main: #333333;
  --color-text-muted: #666666;
  --color-white: #FFFFFF;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --radius-md: 12px;
  --radius-lg: 16px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Be Vietnam Pro', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* -- Container -- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* -- Header -- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links li a {
  text-decoration: none;
  color: var(--color-text-main);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  transition: var(--transition);
}

.nav-links li a:hover {
  color: var(--color-primary);
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  bottom: -4px;
  left: 0;
  transition: width 0.3s ease;
}

.nav-links li a:hover::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* -- Hero Section -- */
.hero {
  padding: 140px 0 80px;
  text-align: center;
  background: linear-gradient(135deg, rgba(248,249,250,1) 0%, rgba(255,230,220,0.5) 100%);
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.hero h1 span {
  color: var(--color-primary);
}

.hero p {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  max-width: 800px;
  margin: 0 auto 40px;
}

/* -- Section Defaults -- */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background: var(--color-primary);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

/* -- Products Grid -- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.product-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.product-img-wrapper {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrapper img {
  transform: scale(1.1);
}

.product-info {
  padding: 20px;
  text-align: center;
}

.product-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 10px;
}

/* -- About Section -- */
.about {
  background: var(--color-white);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-img img {
  width: 100%;
  height: auto;
  display: block;
}

.about-content h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.about-content p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

.about-content .highlight {
  font-weight: 600;
  color: var(--color-primary);
  display: inline-block;
  background: rgba(255, 69, 0, 0.1);
  padding: 5px 15px;
  border-radius: 20px;
  margin-top: 10px;
}

/* -- Contact Section -- */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info {
  background: var(--color-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.contact-info i {
  color: var(--color-primary);
  font-size: 1.3rem;
}

.btn-zalo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 20px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(255, 69, 0, 0.4);
}

.btn-zalo:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 6px 20px rgba(255, 69, 0, 0.6);
  transform: translateY(-2px);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border-radius: var(--radius-lg);
  border: none;
  box-shadow: var(--shadow-sm);
}

/* -- Floating Zalo Icon -- */
.floating-zalo {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 30px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(255, 69, 0, 0.5);
  z-index: 999;
  animation: pulse-zalo 2s infinite;
  transition: var(--transition);
}

.floating-zalo:hover {
  transform: scale(1.1);
}

@keyframes pulse-zalo {
  0% { box-shadow: 0 0 0 0 rgba(255, 69, 0, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(255, 69, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 69, 0, 0); }
}

/* -- Footer -- */
footer {
  background: #1a1a1a;
  color: #fff;
  padding: 30px 0;
  text-align: center;
}

/* -- Image Modal -- */
.modal {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.active {
  visibility: visible;
  opacity: 1;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.modal-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal.active .modal-content img {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: -40px;
  right: -40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--color-primary);
}

/* -- Responsive -- */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    padding: 20px 0;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links li {
    text-align: center;
  }
  .menu-toggle {
    display: block;
  }
  .about-inner, .contact-inner {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  @media (max-width: 600px) {
    .product-grid {
      grid-template-columns: 1fr;
    }
  }
  .modal-close {
    right: 0;
    top: -50px;
  }
}
