@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --surface-dark: #2d1902df;
  --surface-card: rgba(20, 20, 20, 0.6);
  --surface-card-hover: rgba(30, 30, 30, 0.85);
  --border-light: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(245, 176, 65, 0.3);
  --text-primary: #ffffff;
  --text-secondary: #aaaaaa;
  --brand-primary: #f5b041;
  --brand-gradient: linear-gradient(135deg, #f5b041 0%, #e67e22 100%);
  --nav-bg: #2d1902df;
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6);
}

/* Global Scrollbar Hide Utility */
.scrollbar-hide::-webkit-scrollbar {
  display: none !important;
}

.scrollbar-hide {
  -ms-overflow-style: none !important;
  /* IE and Edge */
  scrollbar-width: none !important;
  /* Firefox */
  overflow: -moz-scrollbars-none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--surface-dark);
  color: var(--text-primary);
  background-image:
    radial-gradient(circle at 15% 25%, rgba(245, 176, 65, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(245, 176, 65, 0.06) 0%, transparent 40%);
  background-attachment: fixed;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.font-serif {
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.02em;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-section {
  animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Glassmorphism Navbar (Simplified for transparency) */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

/* Hover Underline Animation */
.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

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

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

/* Hero Gradient Text */
.hero-gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Premium Buttons */
.btn-premium {
  background: var(--brand-gradient);
  color: #0b0b0b;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.8rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  box-shadow: 0 6px 20px rgba(245, 176, 65, 0.2);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

@media (min-width: 768px) {
  .btn-premium {
    padding: 12px 36px;
    font-size: 0.95rem;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(245, 176, 65, 0.25);
  }
}

.btn-premium::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f8c471 0%, #f39c12 100%);
  z-index: -1;
  transition: opacity 0.4s ease;
  opacity: 0;
}

.btn-premium:hover::after {
  opacity: 1;
}

.btn-premium:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 35px rgba(245, 176, 65, 0.4);
}

/* Glass Outline Button */
.btn-glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  transition: all 0.4s ease;
}

@media (min-width: 768px) {
  .btn-glass {
    padding: 12px 36px;
    font-size: 0.95rem;
    letter-spacing: 1px;
  }
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--brand-primary);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 25px rgba(245, 176, 65, 0.15);
}

/* Category Cards */
.category-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--glass-shadow);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 11, 11, 0.95) 0%, rgba(11, 11, 11, 0.3) 60%, transparent 100%);
  z-index: 10;
  pointer-events: none;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card-content {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}

.category-card:hover {
  transform: translateY(-10px);
}

.category-card:hover img {
  transform: scale(1.12);
}

/* Shake/Menu Cards Glassmorphism */
.shake-card {
  background: var(--surface-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 1.75rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.shake-card:hover {
  background: var(--surface-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-12px);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(245, 176, 65, 0.1);
}

.shake-card img {
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* Blog Cards */
.blog-card {
  background: var(--surface-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.5s ease;
}

.blog-card:hover {
  transform: translateY(-12px);
  border-color: rgba(245, 176, 65, 0.3);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(245, 176, 65, 0.05);
}

.blog-image-wrapper {
  overflow: hidden;
  height: 250px;
  position: relative;
}

.blog-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.blog-card:hover .blog-image-wrapper img {
  transform: scale(1.08);
}

.blog-card .p-6 {
  padding: 2rem;
}

.blog-card h3 {
  color: var(--text-primary);
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
}

.blog-card p {
  color: var(--text-secondary);
}

/* Marquee tweaks */
.marquee-container {
  overflow: hidden;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  white-space: nowrap;
  display: flex;
  padding: 3rem 0;
  /* Increased spacing */
}

.marquee-content {
  display: flex;
  animation: marquee-flow 25s linear infinite;
  gap: 2.5rem;
  padding: 0 1.25rem;
  will-change: transform;
}

@keyframes marquee-flow {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.marquee-content .shake-card {
  min-width: 320px;
  flex-shrink: 0;
  white-space: normal;
}

/* Animations in Hero */
.coffee-tag-line {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  opacity: 0;
  transform: translateX(-30px);
}

@media (max-width: 768px) {
  .coffee-tag-line {
    font-size: 2.5rem;
  }
}

.tagline-fade-in {
  opacity: 1;
  transform: translateX(0);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Modal Overlay */
.modal-overlay {
  background-color: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(12px);
}

/* Divider Gradient */
.section-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  margin: 4rem 0;
}

/* Menu Page Hero Slider */
.menu-hero-wrapper {
  background-color: transparent;
  padding: 0;
  overflow: hidden;
}

.menu-hero {
  height: 85vh;
  min-height: 600px;
  position: relative;
  overflow: hidden;
  margin: 0;
  width: 100%;
}

.hero-video-container {
  z-index: 1;
  pointer-events: none;
}

.hero-slider-container {
  height: 100%;
  width: 100%;
  background-color: transparent;
  /* Changed from #1a1a1a to show video */
  z-index: 5;
  position: relative;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1), transform 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  transform: scale(1.1);
  transition: transform 6s linear;
}

.hero-slide.active img {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0.2) 50%,
      var(--surface-dark) 100%);
  z-index: 5;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 0 4rem;
  color: #ffffff;
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s;
  text-transform: uppercase;
  color: #ffffff;
  /* White like in reference */
  margin-bottom: 0.5rem;
}

.hero-title {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.7s;
  color: #f6dccf;
  /* Peach/Tan like in reference */
  line-height: 0.9;
  text-transform: uppercase;
}

.hero-slide.active .hero-title,
.hero-slide.active .hero-subtitle {
  opacity: 1;
  transform: translateY(0);
}

.hero-shop-btn {
  background: #ffffff;
  color: #1a1a1a;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  text-transform: capitalize;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease 1s;
  display: inline-block;
  text-decoration: none;
}

.hero-slide.active .hero-shop-btn {
  opacity: 1;
  transform: translateY(0);
}

.hero-slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 15;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--brand-primary);
  width: 30px;
  border-radius: 5px;
}

/* Premium Modern Footer - Light Glassmorphism */
.footer-premium {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.footer-premium .footer-column h4 {
  color: #ffffff;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.footer-premium .footer-link {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.footer-premium .footer-link:hover {
  color: #ffffff;
  transform: translateX(5px);
}

.footer-premium .social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-premium .social-icon:hover {
  background: #ffffff;
  color: #0b0b0b;
  transform: translateY(-5px) scale(1.1);
}

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem 0;
  margin-top: 2.5rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  text-align: center;
}

/* Featured Cards Style (Reference Image Matching) */
.featured-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 40px;
  padding: 2.5rem;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.featured-card:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-15px);
  border-color: #f5b041;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

.featured-card img {
  border-radius: 30px;
  width: 100%;
  height: 300px;
  object-fit: cover;
  margin-bottom: 2rem;
}

.featured-card h3 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.featured-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.featured-price {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #f5b041;
}

.btn-order-featured {
  background: linear-gradient(90deg, #f5b041 0%, #e67e22 100%);
  color: #000;
  padding: 18px 45px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(245, 176, 65, 0.2);
}

.btn-order-featured:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(245, 176, 65, 0.4);
}