/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap");

/* Base Styles */
:root {
  --primary-color: #3a2718; /* Nâu tối hơn */
  --secondary-color: #5d4037; /* Nâu trung bình */
  --light-brown: #8d6e63; /* Nâu sáng hơn một chút */
  --dark-brown: #2d1e12; /* Nâu rất tối */
  --cream: #e6ded1; /* Màu kem nhẹ hơn */
  --white: #ffffff;
  --black: #000000;
  --gray: #f5f2ed; /* Xám ấm hơn */
  --dark-gray: #343a40;
  --transition: all 0.3s ease;
   /* Coffee-inspired color palette */
   --color-dark-brown: #3a2618;
   --color-medium-brown: #6b4423;
   --color-light-brown: #a67c52;
   --color-cream: #f5e9d9;
   --color-beige: #e6d7c3;
   --color-accent: #d4a76a;
   --color-white: #ffffff;
   --color-black: #1a1a1a;
   --color-gray: #f8f8f8;
   --color-text: #333333;
   --color-text-light: #666666;
 
   /* Typography */
   --font-heading: "Playfair Display", serif;
   --font-body: "Poppins", sans-serif;
 
   /* Spacing */
   --spacing-xs: 0.5rem;
   --spacing-sm: 1rem;
   --spacing-md: 1.5rem;
   --spacing-lg: 2rem;
   --spacing-xl: 3rem;
 
   /* Border radius */
   --border-radius-sm: 4px;
   --border-radius-md: 8px;
   --border-radius-lg: 12px;
 
   /* Transitions */
   --transition-fast: 0.2s ease;
   --transition-normal: 0.3s ease;
 
   /* Shadows */
   --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
   --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
   --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* CSS Variables */
:root {
  /* Coffee-inspired color palette */
  --color-dark-brown: #3a2618;
  --color-medium-brown: #6b4423;
  --color-light-brown: #a67c52;
  --color-cream: #f5e9d9;
  --color-beige: #e6d7c3;
  --color-accent: #d4a76a;
  --color-white: #ffffff;
  --color-black: #1a1a1a;
  --color-gray: #f8f8f8;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-success: #28a745;
  --color-warning: #ffc107;
  --color-danger: #dc3545;

  /* Typography */
  --font-heading: "Playfair Display", serif;
  --font-body: "Poppins", sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;

  /* Border radius */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 20px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.15);
}

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

body {
  font-family: "Poppins", sans-serif;
  color: var(--dark-gray);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
}

p {
  line-height: 1.8;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  margin-bottom: 60px;
  text-align: center;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--dark-brown);
}

.divider {
  width: 70px;
  height: 3px;
  background-color: var(--primary-color);
  margin-bottom: 20px;
}

/* .btn {
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
} */

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}


.btn:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}

.btn:active:after {
  width: 200px;
  height: 200px;
  opacity: 1;
  transition: all 0.6s;
}

.btn-primary {
  background-color: #a67c52; /* Giữ màu nút sáng hơn để nổi bật */
  border-color: #a67c52;
}

.btn-primary:hover {
  background-color: #8d6e63;
  border-color: #8d6e63;
}

.btn-outline-light {
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-light:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

img {
  max-width: 100%;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}


/* Navbar */
.navbar {
  padding: 20px 0;
  transition: var(--transition);
  background-color: transparent;
  background-color: var(--dark-brown);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  padding: 10px 0;
  color: var(--cream);
}

.navbar.scroll {
  background-color: var(--dark-brown);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  padding: 10px 0;
}

.navbar.scroll .navbar-brand,
.navbar.scroll .nav-link {
  color: var(--cream);
}

.navbar.scroll .navbar-toggler {
  color: var(--cream);
}

.navbar-brand {
  display: flex;
  align-items: center;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--cream);
}

.navbar-brand span {
  margin-left: 10px;
}

.logo {
  height: 40px;
}

.navbar-nav {
  margin-left: auto;
}

.nav-link {
  color: var(--cream);
  font-weight: 500;
  margin: 0 10px;
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  /* background-color: var(--primary-color); */
  bottom: 0;
  left: 0;
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.btn-shop {
  background-color: #a67c52;
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 30px;
}

.btn-shop:hover {
  background-color: #8d6e63;
}

.navbar-toggler {
  border: none;
  color: var(--primary-color);
  font-size: 1.5rem;
}


/* Footer */
.footer {
  background-color: var(--dark-brown);
  color: var(--cream);
  padding: 80px 0 0;
}

.footer-logo {
  height: 50px;
  margin-bottom: 15px;
}

.footer-info h3 {
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.footer-info p {
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.social-links a:hover {
  background-color: #a67c52;
}

.footer-links {
  margin-bottom: 30px;
}

.footer-links h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h4::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 2px;
  background-color: #a67c52;
  bottom: 0;
  left: 0;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #ddd;
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--light-brown);
  padding-left: 5px;
}

.footer-newsletter h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-newsletter h4::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 2px;
  background-color: #a67c52;
  bottom: 0;
  left: 0;
}

.footer-newsletter p {
  margin-bottom: 20px;
}

.footer-newsletter form {
  position: relative;
}

.footer-newsletter input {
  width: 100%;
  padding: 12px 15px;
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 30px;
  color: var(--white);
}

.footer-newsletter button {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  background-color: #a67c52;
  border: none;
  color: var(--white);
  padding: 0 20px;
  border-radius: 0 30px 30px 0;
  cursor: pointer;
  transition: var(--transition);
}

.footer-newsletter button:hover {
  background-color: #8d6e63;
}

.copyright {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 50px;
}

.copyright p {
  margin: 0;
}

.copyright a {
  color: var(--light-brown);
}

/* Back to top button */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 40px;
  height: 40px;
  background-color: #a67c52;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: #8d6e63;
  color: var(--white);
}