﻿:root {
  --pink-main: #F8C8DC;
  --pink-dark: #E89AB6;
  --bg: #FFF6F9;
  --text: #333;
  --text-light: #777;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg) !important;
  color: var(--text);
}

header {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--pink-dark);
    align-content: center;
}

nav a {
    margin: 0 15px;
    text-decoration: none;
    color: var(--text);
    font-weight: 400;
    font-size: 18px;
}

nav a:hover {
  color: var(--pink-dark);
}

.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Ảnh nền */
.hero-image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

    .hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Overlay */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(232,154,182,0.4);
    z-index: 2;
}

/* Nội dung luôn nằm trên overlay */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
}

    .hero-content h1 {
        font-size: 48px;
        margin-bottom: 30px;
    }

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

    .hero-buttons .btn {
        padding: 14px 32px;
        border-radius: 30px;
        border: none;
        cursor: pointer;
        font-size: 16px;
        background: #e89ab6;
        color: #fff;
        font-weight: 600;
        transition: 0.3s;
        box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    }

        .hero-buttons .btn:hover {
            transform: translateY(-3px);
            background: #d97fa1;
        }

.btn-outline {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}


.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  margin-bottom: 20px;
}


.btn:hover {
  background: #d77fa0;
}

.section {
  padding: 70px 8%;
  text-align: center;
}

.section h2 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 40px;
  font-size: 32px;
}
#toplmfoods {
    display: flex;
    width: 90%;
    margin: 0 auto;
    align-items: center;
}
.categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 20px;
}

.category-box {
  background: white;
  padding: 40px 20px;
  border-radius: 15px;
  transition: 0.3s;
}

.category-box:hover {
  background: var(--pink-main);
  transform: translateY(-5px);
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 30px;
}

.product-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  transition: 0.3s;
}

.product-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.product-card:hover {
  transform: scale(1.03);
}

.product-info {
  padding: 20px;
}
.category-box a {
    color: black !important;
}
.price {
    color: var(--pink-dark);
    font-weight: 500;
}

footer {
  background: white;
  padding: 40px 8%;
  text-align: center;
  color: var(--text-light);
  margin-top: 60px;
}