/* Base Styling */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "DM Sans", sans-serif;
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: #2c2f24;
  transition: color 0.5s ease-in-out;
  text-decoration: none;
}

h1 {
  font-size: 150px;
  line-height: 64px;
  color: #2c2f24;
}

h2 {
  font-size: 46px;
  line-height: 54px;
  color: #2c2f24;
  font-family: "Playfair Display", serif;
}

h4 {
  font-size: 20px;
  color: #2c2f24;
}

h6 {
  font-size: 12px;
  font-weight: 700;
}

p {
  font-size: 16px;
  color: #2c2f24;
  margin: 15px 0 20px 0;
}

body {
  background-color: #ffffff;
}

body::-webkit-scrollbar {
  width: 0;
}

.row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

p {
  line-height: 1.5;
}

/* Header Section */
section.header-section {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  font-family: "Playfair Display", "Georgia", serif;
}

/* Top Contact Bar */
.top-bar {
  background-color: #4e342e;
  height: 45px;
  color: #f9f9f7;
  font-size: 14px;
  padding: 6px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-left span {
  font-size: 16px;
  vertical-align: middle;
  margin-right: 4px;
}

.top-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-right a {
  margin-left: 12px;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.top-right a:hover {
  opacity: 1;
}

/* Navbar */
.navbar {
  background-color: #fff8e1;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  font-style: italic;
  color: #212121;
}

.logo span {
  font-style: normal;
  font-weight: normal;
}

nav a {
  margin: 0 16px;
  text-decoration: none;
  color: #212121;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 20px;
  transition: background 0.3s;
}

nav a.active,
nav a:hover {
  padding: 10px 20px;
  background-color: #d81b60;
  color: white;
}

.cart-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  position: relative;
}

.cart-link i {
  font-size: 1.2rem;
}

.cart-count {
  font-size: 1rem;
  font-weight: bold;
  margin-left: 4px;
  color: #d81b60;
}

/* Sticky WhatsApp Button */
.whatsapp-wrapper {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}

.whatsapp-label {
  position: absolute;
  right: 60px;
  bottom: 8px;
  background-color: #1e5c22;
  color: white;
  padding: 6px 30px;
  border-radius: 20px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(5px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Show label on hover */
.whatsapp-wrapper:hover .whatsapp-label {
  opacity: 1;
  transform: translateY(0);
}

.whatsapp-float {
  background-color: #2e7d32;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #1e5c22;
}

.whatsapp-float img {
  width: 24px;
  height: 24px;
}

/* CTA Button */
.cta-button {
  background-color: #d81b60;
  color: white;
  padding: 10px 20px;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: bold;
  transition: box-shadow 0.3s ease;
}

.cta-button:hover {
  box-shadow: 0 0 0 2px #d81b60;
}

#mobile {
  display: none;
  align-items: center;
}

/* Hide the link that should close the topnav on small screens */
nav .close-button {
  display: none;
}

/* Hide the link that should open the topnav on small screens */
nav .icon {
  display: none;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

:root {
  --footer-bg: #4e342e;
  --footer-text: #fff8f0;
}

:root {
  --footer-bg: #3e2723;
  --footer-text: #fff8f0;
  --accent-color: #ffca28;
}

/* Footer Base */
#footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  font-size: 0.9rem;
  overflow: hidden;
}

/* Scrolling Words */
.footer-categories {
  overflow: hidden;
  background: var(--footer-bg);
  padding: 1rem 0;
}

.scroll-track {
  overflow: hidden;
  position: relative;
}

.scroll-content {
  display: inline-flex;
  gap: 3.5rem;
  white-space: nowrap;
  animation: scrollLeft 35s linear infinite;
}

.scroll-content span {
  color: var(--footer-text);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.scroll-content strong {
  color: var(--accent-color);
  font-weight: 800;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Main Footer Area */
.footer-main {
  margin: 2rem auto;
  padding: 3rem 4rem;
  display: flex;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease forwards;
}

.footer-column {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-column.about {
  flex: 2;
}

.footer-column h2 {
  color: #ffffff;
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.footer-column h4 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.footer-column p,
.footer-column a {
  color: var(--footer-text);
  font-size: 0.95rem;
  line-height: 1.6;
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--accent-color);
  transition: color 0.3s;
}

/* Social Icons */
.footer-column .socials {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.footer-column .socials img {
  width: 24px;
  height: 24px;
  filter: brightness(90%);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-column .socials img:hover {
  transform: scale(1.2);
  filter: brightness(120%);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid #5d4037;
  padding: 1.2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  flex-wrap: wrap;
}

.footer-bottom .extra-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom a {
  color: var(--footer-text);
  text-decoration: underline;
  font-weight: 500;
}

.footer-bottom p {
  color: var(--footer-text);
  font-weight: 500;
}

.footer-bottom a:hover {
  color: var(--accent-color);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 768px) {
 footer {
    text-align: center;
  }

  .footer-main {
    padding: 1.25rem 0.625rem;
  }

  .footer-bottom {
    padding: 0.625rem 0.3125rem;
    justify-content: center;
  }
  
}