/* Tamil Nadu-Based Coffee Co. - Stylesheet */

/* --- 1. Global Resets & Variables --- */
:root {
  /* Color Palette */
  --bg-dark: #0b0908;
  /* Deep black/coffee bean dark */
  --bg-dark-accent: #13100e;
  /* Warm dark charcoal for features & footer */
  --bg-light: #f7f4ec;
  /* Warm luxury cream background */
  --bg-card: #ffffff;
  /* Card body background */
  --bg-card-img: #eae6db;
  /* Image wrapper background for cards */
  --primary: #c89f65;
  /* Premium gold accent */
  --primary-hover: #b28a52;
  /* Darker gold accent */
  --text-light: #ffffff;
  /* Pure white text */
  --text-muted-light: #a39b94;
  /* Muted warm grey for descriptions on dark */
  --text-dark: #1b1714;
  /* Warm dark text on light bg */
  --text-muted-dark: #6e6459;
  /* Muted warm brown/grey for descriptions on cream */

  /* Borders and Radius */
  --border-light: rgba(200, 159, 101, 0.2);
  --border-dark: #e8e3d9;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Fonts */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', Helvetica, sans-serif;

  /* Transitions */
  --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* --- Container Utility --- */
.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.btn-filled {
  background-color: var(--primary);
  color: var(--bg-dark);
}

.btn-filled:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-outlined {
  border: 1px solid var(--primary);
  color: var(--text-light);
  background-color: transparent;
}

.btn-outlined:hover {
  background-color: var(--primary);
  color: var(--bg-dark);
  transform: translateY(-2px);
}

.btn-dark-filled {
  background-color: var(--text-dark);
  color: var(--bg-light);
  padding: 14px 32px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  display: inline-block;
  text-align: center;
  transition: var(--transition-smooth);
}

.btn-dark-filled:hover {
  background-color: var(--primary);
  color: var(--bg-dark);
  transform: translateY(-2px);
}

/* --- 2. Top Announcement Bar --- */
.top-bar {
  background-color: #080605;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  padding: 10px 0;
  position: relative;
  z-index: 100;
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.announcement {
  font-weight: 500;
  color: var(--primary);
  flex: 1;
  overflow: hidden;
  position: relative;
}

.announcement-marquee {
  display: flex;
  overflow: hidden;
  width: 100%;
}

.announcement-track {
  display: flex;
  width: max-content;
  animation: slideMarquee 20s linear infinite;
}

.announcement-group {
  display: flex;
  align-items: center;
  gap: 60px;
  padding-right: 60px;
}

.announcement-item {
  white-space: nowrap;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.announcement-divider {
  color: rgba(200, 159, 101, 0.5);
  font-size: 0.8rem;
}

.top-actions {
  display: flex;
  gap: 24px;
}

.top-action-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted-light);
}

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

.top-action-link i {
  width: 14px;
  height: 14px;
}

/* --- 3. Main Header Navigation --- */
.main-header {
  background-color: rgba(11, 9, 8, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 99;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 15px 0;
}

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

/* Logo Design */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.coffee-bean-logo {
  width: 100%;
  height: 100%;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-light);
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--primary);
  font-weight: 500;
}

/* Navbar Links */
.navbar {
  margin-left: auto;
  margin-right: auto;
}

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

.nav-link {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-muted-light);
  padding: 6px 0;
  position: relative;
}

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

.nav-link.active {
  color: var(--text-light);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--primary);
}

.header-spacer-right {
  width: 160px;
  /* Symmetry spacer to balance the logo on wide viewports */
}

/* Hide spacer on smaller viewports */
@media (max-width: 992px) {
  .header-spacer-right {
    display: none;
  }
}

/* Mobile-only header actions styling (hidden by default) */
.mobile-header-actions {
  display: none;
}

/* Mobile offcanvas menu toggles and backdrop (hidden by default) */
.menu-toggle-btn,
.menu-close-btn {
  display: none;
}

.menu-backdrop {
  display: none;
}

/* --- 4. Hero Section --- */
.hero-section {
  padding: 60px 0 80px 0;
  background-color: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-subtitle {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--primary);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.8rem;
  line-height: 1.15;
  font-weight: 400;
  color: var(--text-light);
  margin-bottom: 25px;
}

.gold-text {
  color: var(--primary);
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-muted-light);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 60px;
}

/* Slider progress tracker */
.hero-pagination {
  display: flex;
  align-items: center;
  gap: 15px;
}

.pagination-num {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted-light);
}

.pagination-line-container {
  width: 120px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.15);
  position: relative;
}

.pagination-line-active {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 33.33%;
  background-color: var(--primary);
  transition: var(--transition-smooth);
}

/* Hero image column */
.hero-gallery {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1.25;
  height: 520px;
  /* Big height on desktop */
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .hero-image-wrapper {
    height: 380px;
    /* Responsive height on tablets/mobile */
  }
}

.hero-image-track {
  display: flex;
  width: 400%;
  /* 4 slides */
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-image-slide-container {
  width: 25%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.hero-image-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Direction Arrows bottom right */
.slider-arrows {
  position: absolute;
  bottom: -30px;
  right: 0;
  display: flex;
  gap: 15px;
  z-index: 10;
}

.arrow-btn {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  background-color: rgba(11, 9, 8, 0.5);
  backdrop-filter: blur(4px);
}

.arrow-btn:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--bg-dark);
  transform: scale(1.05);
}

.arrow-btn i {
  width: 20px;
  height: 20px;
}

/* --- 5. Features Row Section --- */
.features-section {
  background-color: var(--bg-dark-accent);
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  overflow: hidden;
  width: 100%;
}

.features-marquee {
  display: flex;
  overflow: hidden;
  width: 100%;
}

.features-track {
  display: flex;
  width: max-content;
  animation: slideMarquee 25s linear infinite;
}

.features-group {
  display: flex;
  align-items: center;
  gap: 60px;
  padding-right: 60px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  width: 280px;
}

/* Shared Infinite Horizontal Marquee Animation */
@keyframes slideMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  border: 1px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.feature-icon-wrapper i {
  width: 22px;
  height: 22px;
}

.feature-text {
  display: flex;
  flex-direction: column;
}

.feature-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-light);
  margin-bottom: 4px;
}

.feature-desc {
  font-size: 0.8rem;
  color: var(--text-muted-light);
  line-height: 1.4;
}

/* --- 6. Our Collection Section --- */
.collection-section {
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding: 100px 0;
  position: relative;
}

.collection-grid {
  display: grid;
  grid-template-columns: 0.85fr 2.15fr;
  gap: 50px;
  align-items: start;
}

/* Left Intro Column */
.collection-intro {
  position: relative;
  padding-right: 20px;
  height: 100%;
}

.botanical-bg {
  position: absolute;
  bottom: -40px;
  left: -20px;
  width: 240px;
  height: 240px;
  opacity: 0.15;
  color: var(--text-muted-dark);
  pointer-events: none;
}

.leaf-svg {
  width: 100%;
  height: 100%;
}

.collection-subtitle {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--primary);
  display: block;
  margin-bottom: 20px;
}

.collection-title {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  line-height: 1.2;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 25px;
}

.collection-description {
  font-size: 1rem;
  color: var(--text-muted-dark);
  margin-bottom: 40px;
  line-height: 1.7;
}

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

.product-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  border: 1px solid transparent;
  opacity: 0;
  animation: cardFadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:nth-child(1) {
  animation-delay: 0.1s;
}

.product-card:nth-child(2) {
  animation-delay: 0.2s;
}

.product-card:nth-child(3) {
  animation-delay: 0.3s;
}

.product-card:nth-child(4) {
  animation-delay: 0.4s;
}

.product-card:nth-child(5) {
  animation-delay: 0.5s;
}

.product-card:nth-child(6) {
  animation-delay: 0.6s;
}

.product-card:nth-child(7) {
  animation-delay: 0.7s;
}

.product-card:nth-child(8) {
  animation-delay: 0.8s;
}

@keyframes cardFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

.product-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px rgba(27, 23, 20, 0.12);
  border-color: rgba(200, 159, 101, 0.35);
}

.product-img-wrapper {
  background-color: var(--bg-card-img);
  aspect-ratio: 0.95;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  overflow: hidden;
  position: relative;
}

.product-image {
  max-height: 100%;
  max-width: 90%;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-image {
  transform: scale(1.08) rotate(1deg);
}

.product-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 8px;
}

.product-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.product-profile {
  font-size: 0.8rem;
  color: var(--text-muted-dark);
  margin-bottom: 20px;
}

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

.product-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.add-to-cart {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: var(--primary);
  color: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.4s ease,
    color 0.4s ease,
    transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.add-to-cart:hover {
  background-color: var(--text-dark);
  color: var(--bg-light);
  transform: scale(1.2);
}

.add-to-cart i {
  width: 16px;
  height: 16px;
  transition: transform 0.4s ease;
}

.add-to-cart:hover i {
  transform: rotate(90deg);
}

/* --- 7. Main Footer Section --- */
.main-footer {
  background-color: var(--bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 90px 0 30px 0;
  font-size: 0.9rem;
  color: var(--text-muted-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr;
  gap: 50px;
  margin-bottom: 70px;
}

/* Column 1: Brand Info */
.brand-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.footer-logo-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-light);
  line-height: 1;
}

.footer-logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--primary);
  font-weight: 500;
}

.footer-desc {
  line-height: 1.7;
  margin-bottom: 25px;
  font-size: 0.85rem;
}

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

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted-light);
  transition: var(--transition-smooth);
}

.social-links a:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: rgba(200, 159, 101, 0.05);
  transform: translateY(-2px);
}

.social-links i {
  width: 16px;
  height: 16px;
}

/* Footer Link Columns */
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-light);
  margin-bottom: 25px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links a {
  color: var(--text-muted-light);
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

/* Newsletter Column */
.newsletter-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 8px;
  align-items: center;
  transition: var(--transition-fast);
}

.newsletter-form:focus-within {
  border-color: var(--primary);
}

.newsletter-input {
  flex-grow: 1;
  color: var(--text-light);
  font-size: 0.85rem;
  padding: 6px 0;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.newsletter-btn {
  color: var(--primary);
  padding: 6px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.newsletter-btn:hover {
  transform: translateX(4px);
  color: var(--text-light);
}

.newsletter-btn i {
  width: 16px;
  height: 16px;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
}

.copyright {
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.4);
}

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

/* --- 8. Toast Notifications --- */
.notification-toast {
  position: fixed;
  bottom: -80px;
  right: 30px;
  background-color: var(--bg-dark-accent);
  border: 1px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 16px 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
}

.notification-toast.show {
  bottom: 30px;
}

.notification-message {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* --- 9. Search Modal Overlay --- */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(11, 9, 8, 0.98);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.search-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.search-box {
  width: 90%;
  max-width: 680px;
  text-align: center;
  position: relative;
  padding: 40px 20px;
}

.search-close-btn {
  position: absolute;
  top: -20px;
  right: 20px;
  color: var(--text-muted-light);
  transition: var(--transition-fast);
}

.search-close-btn:hover {
  color: var(--primary);
  transform: rotate(90deg);
}

.search-close-btn i {
  width: 28px;
  height: 28px;
}

.search-modal-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--text-light);
  margin-bottom: 30px;
  letter-spacing: 0.05em;
}

.search-input-wrapper {
  position: relative;
  border-bottom: 2px solid var(--primary);
  margin-bottom: 25px;
}

.modal-search-input {
  width: 100%;
  color: var(--text-light);
  font-size: 1.4rem;
  padding: 12px 40px 12px 0;
  font-weight: 300;
}

.modal-search-input::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.modal-search-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  width: 22px;
  height: 22px;
}

.search-suggestions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.suggestion-tag {
  font-size: 0.8rem;
  background-color: var(--bg-dark-accent);
  color: var(--text-muted-light);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: var(--transition-fast);
}

.suggestion-tag:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* --- 10. Responsive Breakpoints --- */

/* Tablet Layout (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.2rem;
  }

  .features-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .feature-item:not(:last-child) {
    border-right: none;
  }

  .feature-item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }

  .collection-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

/* Small Tablet / Large Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .announcement {
    display: none;
  }

  .top-bar {
    font-size: 0.7rem;
  }

  .top-bar-container {
    flex-direction: column;
    gap: 8px;
  }

  .main-header {
    padding: 10px 0;
  }

  .navbar {
    display: block;
    width: 100%;
    overflow-x: auto;
    padding: 5px 0;
  }

  .nav-links {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    width: max-content;
    padding: 0 10px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    text-align: center;
    align-items: center;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
    margin-bottom: 40px;
  }

  .hero-pagination {
    justify-content: center;
  }

  .slider-arrows {
    bottom: -20px;
    right: 50%;
    transform: translateX(50%);
  }

  .collection-intro {
    text-align: center;
    padding-right: 0;
  }

  .collection-title {
    font-size: 2.4rem;
  }

  .collection-description {
    margin-left: auto;
    margin-right: auto;
    max-width: 520px;
  }
}

/* Mobile Screen (max-width: 600px) */
@media (max-width: 600px) {
  .top-bar {
    display: none;
  }

  .announcement {
    display: none;
  }

  .header-container {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 15px 0;
  }

  .brand-logo {
    grid-column: 1 / 2;
    justify-content: flex-start;
    width: auto;
    margin-bottom: 0;
  }

  .brand-name {
    font-size: 1.1rem;
    letter-spacing: 0.12em;
    text-align: left;
  }

  .brand-sub {
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    text-align: left;
  }

  /* Hamburger toggle button */
  .menu-toggle-btn {
    grid-column: 2 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
  }


  
  .menu-toggle-btn i {
    width: 24px;
    height: 24px;
  }

  /* Offcanvas Navbar menu */
  .navbar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-dark-accent);
    border-left: 1px solid var(--primary);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: none;
    flex-direction: column;
    padding: 80px 24px 30px 24px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    overflow: visible;
  }

  .navbar.open {
    right: 0;
    display: flex;
  }

  /* Close toggle button inside offcanvas */
  .menu-close-btn {
    display: flex;
    position: absolute;
    top: 24px;
    right: 24px;
    color: var(--text-light);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
  }

  .menu-close-btn i {
    width: 24px;
    height: 24px;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 24px;
    width: 100%;
    padding: 0;
  }

  .nav-link {
    font-size: 1.1rem;
    width: 100%;
    display: block;
    padding: 8px 0;
  }

  .nav-link.active::after {
    bottom: 0;
    height: 2px;
  }

  /* Offcanvas backdrop overlay */
  .menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(11, 9, 8, 0.85);
    z-index: 999;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: none;
  }

  .menu-backdrop.open {
    display: block;
  }

  /* Mobile actions (Placed on Row 2) */
  .mobile-header-actions {
    grid-column: 1 / 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 15px;
    margin-top: 5px;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }

  .mobile-search-bar {
    position: relative;
    flex-grow: 1;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(200, 159, 101, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    padding: 0 12px;
  }

  .mobile-search-input {
    width: 100%;
    color: var(--text-light);
    font-size: 0.85rem;
    padding: 8px 24px 8px 0;
  }

  .mobile-search-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
  }

  .mobile-search-icon {
    position: absolute;
    right: 12px;
    color: var(--primary);
    width: 16px;
    height: 16px;
    cursor: pointer;
    transition: var(--transition-fast);
  }

  .mobile-search-icon:hover {
    color: var(--text-light);
  }

  .mobile-icons {
    display: flex;
    gap: 16px;
    align-items: center;
  }

  .mobile-action-link {
    color: var(--text-muted-light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition-fast);
  }

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

  .mobile-action-link i {
    width: 20px;
    height: 20px;
  }

  .mobile-cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background-color: var(--primary);
    color: var(--bg-dark);
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    transition: var(--transition-smooth);
  }

  /* Hero centering & image scaling */
  .hero-content {
    text-align: center;
    align-items: center;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-image-wrapper {
    height: 280px;
    aspect-ratio: 1.3;
    margin: 0 auto;
    width: 100%;
  }

  .slider-arrows {
    bottom: -15px;
    right: 50%;
    transform: translateX(50%);
  }

  .features-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-item:nth-child(odd) {
    border-right: none;
  }

  .products-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }
}

/* --- 11. Brand Story / About Section --- */
.about-section {
  background-color: var(--bg-dark-accent);
  padding: 100px 0;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.about-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: center;
}

.about-content {
  display: flex;
  flex-direction: column;
}

.about-text {
  font-size: 1rem;
  color: var(--text-muted-light);
  margin-bottom: 20px;
  line-height: 1.75;
}

.about-signature {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 25px;
}

.signature-icon {
  width: 50px;
  height: 50px;
  border: 1px solid var(--primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.signature-logo {
  width: 32px;
  height: 32px;
}

.signature-name {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 600;
}

.signature-title {
  font-size: 0.8rem;
  color: var(--primary);
}

.about-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.visual-stack {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 0.85;
}

.visual-img-container {
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
}

.visual-img-container.main-img {
  width: 80%;
  aspect-ratio: 0.9;
}

.visual-img-container.sub-img {
  position: absolute;
  bottom: -20px;
  right: 0;
  width: 50%;
  aspect-ratio: 0.9;
  border: 4px solid var(--bg-dark-accent);
}

.visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.visual-stack:hover .visual-img {
  transform: scale(1.05);
}

.gold-accent-box {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 80px;
  height: 80px;
  border-top: 2px solid var(--primary);
  border-left: 2px solid var(--primary);
  z-index: -1;
}

/* --- 12. Why Choose Us / USP Section --- */
.usp-section {
  background-color: var(--bg-dark);
  padding: 100px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.text-center {
  text-align: center;
}

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

.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.usp-card {
  background-color: var(--bg-dark-accent);
  border: 1px solid rgba(200, 159, 101, 0.05);
  border-radius: var(--radius-md);
  padding: 45px 30px;
  text-align: center;
  transition: var(--transition-smooth);
}

.usp-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.usp-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background-color: rgba(200, 159, 101, 0.08);
  border: 1px solid rgba(200, 159, 101, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin: 0 auto 25px auto;
  transition: var(--transition-smooth);
}

.usp-card:hover .usp-icon {
  background-color: var(--primary);
  color: var(--bg-dark);
  transform: scale(1.1);
}

.usp-icon i {
  width: 24px;
  height: 24px;
}

.usp-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 15px;
}

.usp-desc {
  font-size: 0.85rem;
  color: var(--text-muted-light);
  line-height: 1.6;
}

/* --- 13. Ice Coffee Autoplay Carousel --- */
.ice-carousel-section {
  width: 100%;
  overflow: hidden;
  padding: 0;
  background-color: var(--bg-dark-accent);
}

.ice-carousel-container {
  width: 100%;
  position: relative;
}

.ice-carousel-track {
  display: flex;
  width: 300%;
  /* 3 slides */
  transition: transform 1s cubic-bezier(0.65, 0, 0.35, 1);
}

.ice-carousel-slide {
  width: 33.3333%;
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ice-carousel-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45);
  z-index: 1;
}

.ice-carousel-caption {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  color: var(--text-light);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.ice-carousel-slide.active-slide .ice-carousel-caption {
  opacity: 1;
  transform: translateY(0);
}

.ice-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 15px;
  display: block;
}

.ice-title {
  font-size: 3.2rem;
  line-height: 1.15;
  font-weight: 400;
  margin-bottom: 20px;
}

.ice-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

/* --- 14. Ice Coffee Menu Grid --- */
.ice-collection-section {
  background-color: var(--bg-dark);
  padding: 100px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.ice-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.ice-card {
  background-color: var(--bg-dark-accent) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.ice-card .product-img-wrapper {
  background-color: #161311 !important;
}

.ice-card .product-name {
  color: var(--text-light) !important;
}

.ice-card .product-profile {
  color: var(--text-muted-light) !important;
}

.ice-card .product-price {
  color: var(--text-light) !important;
}

/* --- 15. Customer Testimonials Section --- */
.testimonials-section {
  background-color: var(--bg-light);
  padding: 100px 0;
  color: var(--text-dark);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(27, 23, 20, 0.04);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(27, 23, 20, 0.08);
  border-color: rgba(200, 159, 101, 0.25);
}

.stars {
  display: flex;
  gap: 4px;
  color: var(--primary);
  margin-bottom: 20px;
}

.stars i {
  width: 16px;
  height: 16px;
}

.star-filled {
  fill: var(--primary);
}

.testimonial-quote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted-dark);
  font-style: italic;
  margin-bottom: 25px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: auto;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: var(--bg-dark);
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  border: 1px solid var(--primary);
}

.author-details {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}

.author-desc {
  font-size: 0.75rem;
  color: var(--text-muted-dark);
}

/* --- 16. FAQ Accordion Section --- */
.faq-section {
  background-color: var(--bg-dark);
  padding: 100px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.faq-container {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.faq-intro {
  display: flex;
  flex-direction: column;
}

.faq-desc-text {
  font-size: 1rem;
  color: var(--text-muted-light);
  line-height: 1.7;
  margin-bottom: 35px;
}

.faq-accordions {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-fast);
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-light);
  text-align: left;
  transition: var(--transition-fast);
}

.faq-trigger:hover {
  color: var(--primary);
}

.faq-trigger[aria-expanded="true"] {
  color: var(--primary);
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-trigger[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-content-inner {
  padding-bottom: 24px;
  font-size: 0.9rem;
  color: var(--text-muted-light);
  line-height: 1.75;
}

/* --- 17. Standalone Newsletter Signup --- */
.newsletter-signup-section {
  background-color: var(--bg-dark-accent);
  padding: 80px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.newsletter-signup-container {
  display: flex;
  justify-content: center;
}

.newsletter-card-bg {
  width: 100%;
  max-width: 900px;
  background-color: var(--bg-dark);
  border: 1px solid rgba(200, 159, 101, 0.15);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.newsletter-badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 25px;
}

.newsletter-signup-title {
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.newsletter-signup-desc {
  font-size: 0.95rem;
  color: var(--text-muted-light);
  max-width: 600px;
  margin: 0 auto 35px auto;
  line-height: 1.6;
}

.newsletter-signup-form {
  display: flex;
  gap: 15px;
  max-width: 620px;
  margin: 0 auto;
  width: 100%;
}

.newsletter-signup-input {
  flex-grow: 1;
  padding: 15px 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: var(--text-light);
  background-color: rgba(255, 255, 255, 0.02);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.newsletter-signup-input:focus {
  border-color: var(--primary);
  background-color: rgba(255, 255, 255, 0.04);
}

.newsletter-signup-btn {
  white-space: nowrap;
}

/* --- 18. Advanced Footer Styling --- */
.contact-col p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 12px;
}

.contact-col p i {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-logo-name {
  line-height: 1.2 !important;
}

/* --- 19. Additional Responsive Overrides --- */
@media (max-width: 1024px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .about-content {
    align-items: center;
  }

  .about-signature {
    justify-content: center;
  }

  .visual-stack {
    margin: 0 auto;
  }

  .usp-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .ice-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .faq-intro {
    align-items: center;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 80px 0;
  }

  .usp-section {
    padding: 80px 0;
  }

  .ice-collection-section {
    padding: 80px 0;
  }

  .testimonials-section {
    padding: 80px 0;
  }

  .faq-section {
    padding: 80px 0;
  }

  .ice-carousel-slide {
    height: 420px;
  }

  .ice-title {
    font-size: 2.4rem;
  }

  .ice-desc {
    font-size: 0.95rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .usp-grid {
    grid-template-columns: 1fr;
  }

  .ice-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-signup-form {
    flex-direction: column;
    width: 100%;
  }

  .newsletter-signup-input {
    width: 100%;
  }

  .newsletter-signup-btn {
    width: 100%;
  }

  .newsletter-card-bg {
    padding: 40px 20px;
  }

  .newsletter-signup-title {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-col {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
  }
}