/* ==========================================================================
   محامص ومطاحن سمراء عدن - Landing Page Master Stylesheet
   Established 1991 | Pure CSS3 & RTL First Architecture
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Variables & Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --primary: #4B2E1F;        /* Deep Roasted Espresso */
  --primary-rgb: 75, 46, 31;
  --secondary: #7A4E2D;      /* Medium Mocha Coffee */
  --secondary-rgb: 122, 78, 45;
  --accent: #C89B3C;         /* Warm Amber Gold */
  --accent-rgb: 200, 155, 60;
  --accent-hover: #E2B354;
  --accent-light: rgba(200, 155, 60, 0.15);
  --light-bg: #F8F5F0;       /* Soft Cream Warm White */
  --light-card: #FFFFFF;
  --dark-bg: #2B1D16;        /* Espresso Dark Night */
  --dark-surface: #1E130E;
  
  --text-dark: #2B1D16;
  --text-muted: #6E5B50;
  --text-light: #F8F5F0;
  --text-gold: #D4AF37;
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-dark-bg: rgba(30, 19, 14, 0.75);
  --glass-border: rgba(200, 155, 60, 0.25);
  --glass-shadow: 0 15px 35px rgba(43, 29, 22, 0.08), 0 5px 15px rgba(0, 0, 0, 0.05);
  --glass-hover-shadow: 0 25px 50px rgba(75, 46, 31, 0.18), 0 10px 20px rgba(200, 155, 60, 0.15);

  /* Fonts & Radius */
  --font-main: 'Cairo', system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Container */
  --container-max: 1240px;
}

/* --------------------------------------------------------------------------
   2. Global Reset & Base Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  direction: rtl;
  text-align: right;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-main);
  background-color: var(--light-bg);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(200, 155, 60, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(75, 46, 31, 0.04) 0%, transparent 40%);
}

/* Selection */
::selection {
  background-color: var(--accent);
  color: #fff;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.3;
  color: var(--primary);
}

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

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

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.text-accent {
  color: var(--accent);
}

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

/* --------------------------------------------------------------------------
   3. Custom Cursor (Desktop Only)
   -------------------------------------------------------------------------- */
.cursor-dot,
.cursor-circle {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease, transform 0.15s ease-out;
  z-index: 99999;
}

@media (pointer: fine) {
  .cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    opacity: 1;
  }

  .cursor-circle {
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(200, 155, 60, 0.6);
    opacity: 1;
    transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease, transform 0.08s ease-out;
  }

  body.hovering .cursor-circle {
    width: 54px;
    height: 54px;
    background-color: rgba(200, 155, 60, 0.12);
    border-color: var(--accent);
  }
}

/* --------------------------------------------------------------------------
   4. Loading Screen
   -------------------------------------------------------------------------- */
.loading-screen {
  position: fixed;
  inset: 0;
  background-color: var(--dark-bg);
  z-index: 999999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  overflow: hidden;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.loading-logo {
  width: 130px;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
  animation: pulseLogo 2s ease-in-out infinite;
}

.coffee-cup-loader {
  position: relative;
  width: 70px;
  height: 60px;
  background: var(--accent);
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  box-shadow: 0 10px 25px rgba(200, 155, 60, 0.3);
  margin-top: 15px;
}

.coffee-cup-loader::after {
  content: '';
  position: absolute;
  top: 10px;
  right: -16px;
  width: 14px;
  height: 25px;
  border: 4px solid var(--accent);
  border-left: none;
  border-radius: 0 15px 15px 0;
}

.steam-wrap {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.steam {
  width: 4px;
  height: 20px;
  background: rgba(248, 245, 240, 0.7);
  border-radius: 4px;
  animation: steamRise 1.6s ease-in-out infinite;
}

.steam:nth-child(2) { animation-delay: 0.3s; height: 26px; }
.steam:nth-child(3) { animation-delay: 0.6s; }

.loading-title {
  color: var(--text-light);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.loading-subtitle {
  color: var(--accent);
  font-size: 0.95rem;
  opacity: 0.9;
}

.loading-bar-wrap {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 10px;
}

.loading-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  border-radius: 4px;
  transition: width 0.3s ease;
}

@keyframes steamRise {
  0% { transform: translateY(0) scaleX(1); opacity: 0; }
  50% { opacity: 0.8; transform: translateY(-12px) scaleX(1.4); }
  100% { transform: translateY(-25px) scaleX(2); opacity: 0; }
}

@keyframes pulseLogo {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* --------------------------------------------------------------------------
   5. Scroll Progress Bar
   -------------------------------------------------------------------------- */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
  z-index: 100001;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(270deg, var(--accent), #F2C94C);
  box-shadow: 0 0 10px rgba(200, 155, 60, 0.8);
  transition: width 0.1s ease-out;
}

/* --------------------------------------------------------------------------
   6. Buttons & Micro-Interactions (Ripple)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all var(--transition-normal);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #B0822B 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 25px rgba(200, 155, 60, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(200, 155, 60, 0.5);
  background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(200, 155, 60, 0.6);
  color: var(--text-light);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(200, 155, 60, 0.3);
}

.btn-dark {
  background: var(--primary);
  color: var(--text-light);
}

.btn-dark:hover {
  background: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(75, 46, 31, 0.3);
}

/* Ripple Animation */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: rippleAnim 0.6s linear;
  pointer-events: none;
}

@keyframes rippleAnim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* --------------------------------------------------------------------------
   7. Navigation Bar
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10000;
  padding: 18px 0;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  padding: 10px 0;
  background: var(--glass-dark-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(200, 155, 60, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo {
  height: 52px;
  width: auto;
  transition: transform var(--transition-normal);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.navbar.scrolled .nav-logo {
  height: 44px;
}

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

.brand-name {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-light);
  line-height: 1.1;
  letter-spacing: -0.3px;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  color: rgba(248, 245, 240, 0.88);
  font-weight: 600;
  font-size: 0.98rem;
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2.5px;
  background: var(--accent);
  border-radius: 2px;
  transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-cta-btn {
  padding: 10px 22px;
  font-size: 0.9rem;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  background: transparent;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
  z-index: 10002;
}

.mobile-toggle span {
  width: 28px;
  height: 3px;
  background-color: var(--text-light);
  border-radius: 3px;
  transition: all var(--transition-normal);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  background-color: var(--accent);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  background-color: var(--accent);
}

/* --------------------------------------------------------------------------
   8. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 130px;
  padding-bottom: 80px;
  background-color: var(--dark-bg);
  overflow: hidden;
  color: var(--text-light);
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  background-image: url('assets/image/hero_bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.08);
  transition: transform 0.2s ease-out;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(30, 19, 14, 0.75) 0%,
    rgba(43, 29, 22, 0.85) 50%,
    rgba(30, 19, 14, 0.95) 100%
  );
  z-index: 2;
}

#heroBeansCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

.hero-container {
  position: relative;
  z-index: 4;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 22px;
  background: rgba(200, 155, 60, 0.15);
  border: 1px solid rgba(200, 155, 60, 0.4);
  border-radius: var(--radius-full);
  color: var(--accent-hover);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 25px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.hero-badge i {
  color: var(--accent);
  font-size: 1.1rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 900;
  color: var(--text-light);
  margin-bottom: 22px;
  line-height: 1.25;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  color: rgba(248, 245, 240, 0.9);
  max-width: 720px;
  margin: 0 auto 38px auto;
  font-weight: 400;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
  padding: 24px 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(200, 155, 60, 0.25);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-number {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--accent);
}

.stat-label {
  font-size: 0.88rem;
  color: rgba(248, 245, 240, 0.8);
  font-weight: 600;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  color: var(--accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.3s;
}

.hero-scroll-indicator:hover {
  opacity: 1;
}

.mouse-icon {
  width: 24px;
  height: 38px;
  border: 2px solid var(--accent);
  border-radius: 12px;
  position: relative;
}

.wheel-dot {
  width: 4px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.8s infinite;
}

@keyframes scrollWheel {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 14px); opacity: 0; }
}

/* --------------------------------------------------------------------------
   9. Section Header Styles
   -------------------------------------------------------------------------- */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 60px auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-light);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  border: 1px solid rgba(200, 155, 60, 0.2);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   10. About Us Section
   -------------------------------------------------------------------------- */
.about-section {
  background: var(--light-bg);
  position: relative;
  overflow: hidden;
}

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

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

.timeline-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: var(--accent);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 1rem;
  width: fit-content;
  box-shadow: 0 6px 20px rgba(75, 46, 31, 0.2);
}

.about-text-lead {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--secondary);
  line-height: 1.8;
}

.about-text-body {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-features-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
}

.feature-point {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  color: var(--primary);
}

.feature-icon-box {
  width: 38px;
  height: 38px;
  background: rgba(200, 155, 60, 0.15);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.about-image-wrapper {
  position: relative;
}

.about-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--glass-hover-shadow);
  border: 4px solid #FFFFFF;
}

.about-image-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-image-frame:hover img {
  transform: scale(1.05);
}

.about-floating-card {
  position: absolute;
  bottom: -25px;
  right: -25px;
  background: var(--dark-bg);
  color: var(--text-light);
  padding: 22px 28px;
  border-radius: var(--radius-md);
  border: 2px solid var(--accent);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 2;
  animation: floating 4s ease-in-out infinite;
}

.floating-card-icon {
  font-size: 2.2rem;
  color: var(--accent);
}

.floating-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.2;
}

.floating-card-sub {
  font-size: 0.85rem;
  color: rgba(248, 245, 240, 0.75);
}

/* --------------------------------------------------------------------------
   11. Products Section
   -------------------------------------------------------------------------- */
.products-section {
  background-color: var(--dark-bg);
  color: var(--text-light);
  position: relative;
}

.products-section .section-title {
  color: var(--text-light);
}

.products-section .section-subtitle {
  color: rgba(248, 245, 240, 0.75);
}

/* Filter Tabs */
.filter-tabs-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.filter-tab {
  padding: 12px 26px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(200, 155, 60, 0.3);
  color: var(--text-light);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all var(--transition-normal);
  backdrop-filter: blur(8px);
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
  box-shadow: 0 8px 25px rgba(200, 155, 60, 0.4);
  transform: translateY(-2px);
}

/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 30px;
}

.product-card {
  background: rgba(43, 29, 22, 0.8);
  border: 1px solid rgba(200, 155, 60, 0.2);
  border-radius: var(--radius-md);
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: transform 0.4s var(--transition-normal), box-shadow 0.4s var(--transition-normal), border-color 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(200, 155, 60, 0.2);
}

.product-image-box {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.product-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-image-box img {
  transform: scale(1.08);
}

.product-category-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--glass-dark-bg);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.product-details {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 12px;
}

.product-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-light);
}

.product-desc {
  font-size: 0.92rem;
  color: rgba(248, 245, 240, 0.7);
  line-height: 1.6;
  flex-grow: 1;
}

.product-subitems-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.subitem-badge {
  background: rgba(200, 155, 60, 0.12);
  border: 1px solid rgba(200, 155, 60, 0.3);
  color: var(--accent-hover);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
}

.product-footer-action {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-card-order {
  padding: 8px 18px;
  font-size: 0.88rem;
  border-radius: var(--radius-full);
}

/* --------------------------------------------------------------------------
   12. Why Choose Us Section & Animated Counters
   -------------------------------------------------------------------------- */
.why-us-section {
  background: var(--light-bg);
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
}

.feature-card {
  background: var(--light-card);
  padding: 35px 25px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(75, 46, 31, 0.08);
  box-shadow: var(--glass-shadow);
  transition: all var(--transition-normal);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--glass-hover-shadow);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card-icon {
  width: 70px;
  height: 70px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 22px auto;
  transition: transform var(--transition-bounce);
}

.feature-card:hover .feature-card-icon {
  transform: scale(1.15) rotate(-8deg);
  background: var(--accent);
  color: #FFFFFF;
}

.feature-card-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

.feature-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Counters Container */
.counters-wrapper {
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark-bg) 100%);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  color: var(--text-light);
  box-shadow: 0 20px 45px rgba(43, 29, 22, 0.25);
  border: 1px solid var(--glass-border);
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.counter-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.counter-value {
  font-size: clamp(2.5rem, 4vw, 3.6rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
  direction: ltr;
}

.counter-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-light);
}

/* --------------------------------------------------------------------------
   13. Gallery Section & Lightbox
   -------------------------------------------------------------------------- */
.gallery-section {
  background: #F2EDE4;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 280px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(43, 29, 22, 0.85) 0%, rgba(43, 29, 22, 0.2) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  color: #FFFFFF;
  padding: 20px;
  text-align: center;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-icon-zoom {
  width: 50px;
  height: 50px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 12px;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-icon-zoom {
  transform: translateY(0);
}

.gallery-title {
  font-size: 1.15rem;
  font-weight: 800;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 10, 7, 0.92);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  backdrop-filter: blur(15px);
  padding: 30px;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 60px rgba(0,0,0,0.8);
  border: 2px solid var(--accent);
}

.lightbox-caption {
  color: #FFFFFF;
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 15px;
  text-align: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(200, 155, 60, 0.2);
  border: 1px solid var(--accent);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.3s;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--accent);
  color: #fff;
  transform: scale(1.1);
}

.lightbox-close { top: 20px; left: 20px; }
.lightbox-prev { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { left: 20px; top: 50%; transform: translateY(-50%); }

/* --------------------------------------------------------------------------
   14. Customer Reviews / Testimonials Section
   -------------------------------------------------------------------------- */
.testimonials-section {
  background: var(--dark-bg);
  color: var(--text-light);
  position: relative;
}

.testimonials-section .section-title { color: var(--text-light); }
.testimonials-section .section-subtitle { color: rgba(248, 245, 240, 0.75); }

.testimonials-slider-container {
  position: relative;
  max-width: 850px;
  margin: 0 auto;
  overflow: hidden;
  padding: 20px 10px;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-card {
  min-width: 100%;
  padding: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(200, 155, 60, 0.25);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.quote-icon {
  font-size: 2.8rem;
  color: var(--accent);
  opacity: 0.8;
}

.testimonial-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: rgba(248, 245, 240, 0.92);
  font-style: italic;
}

.rating-stars {
  color: var(--accent);
  font-size: 1.1rem;
  display: flex;
  gap: 4px;
}

.client-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.client-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-light);
}

.client-tag {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 35px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(200, 155, 60, 0.4);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.slider-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

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

.slider-dot.active {
  background: var(--accent);
  width: 28px;
  border-radius: 12px;
}

/* --------------------------------------------------------------------------
   15. Contact Section
   -------------------------------------------------------------------------- */
.contact-section {
  background: var(--light-bg);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-card {
  background: var(--light-card);
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(75, 46, 31, 0.08);
  box-shadow: var(--glass-shadow);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: transform var(--transition-normal);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--glass-hover-shadow);
}

.info-card-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.info-card-content {
  display: flex;
  flex-direction: column;
}

.info-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.info-card-value {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--secondary);
  direction: ltr;
  text-align: right;
}

.contact-actions-bar {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.btn-whatsapp-color {
  background: #25D366;
  color: #fff;
}
.btn-whatsapp-color:hover {
  background: #1DA851;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.btn-maps-color {
  background: #4285F4;
  color: #fff;
}
.btn-maps-color:hover {
  background: #2B6CB0;
  box-shadow: 0 10px 25px rgba(66, 133, 244, 0.4);
}

/* Contact Map Box */
.contact-map-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.map-container-box {
  background: var(--light-card);
  padding: 10px;
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-hover-shadow);
  border: 2px solid rgba(200, 155, 60, 0.3);
  overflow: hidden;
  position: relative;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.map-container-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(75, 46, 31, 0.22);
}

.map-container-box iframe {
  display: block;
  width: 100%;
  border-radius: 16px;
}
  box-shadow: 0 0 0 4px rgba(200, 155, 60, 0.15);
}

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--dark-bg);
  color: var(--text-light);
  padding-top: 80px;
  padding-bottom: 30px;
  border-top: 2px solid var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  height: 60px;
  width: auto;
}

.footer-desc {
  color: rgba(248, 245, 240, 0.75);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-col-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 35px;
  height: 2px;
  background: var(--accent);
}

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

.footer-link {
  color: rgba(248, 245, 240, 0.8);
  transition: color 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-link:hover {
  color: var(--accent);
  transform: translateX(-4px);
}

.working-hours-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: rgba(248, 245, 240, 0.8);
  font-size: 0.92rem;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  color: rgba(248, 245, 240, 0.6);
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   17. Floating Controls (Scroll to Top & Floating WhatsApp)
   -------------------------------------------------------------------------- */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
  z-index: 9999;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: pulseGreen 2s infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.7);
}

.scroll-top-btn {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--dark-bg);
  border: 2px solid var(--accent);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  z-index: 9998;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-5px);
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --------------------------------------------------------------------------
   18. Manual IntersectionObserver Animation Classes (AOS Style)
   -------------------------------------------------------------------------- */
[data-animate] {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

[data-animate="fade-up"] { transform: translateY(40px); }
[data-animate="fade-left"] { transform: translateX(40px); }
[data-animate="fade-right"] { transform: translateX(-40px); }
[data-animate="zoom"] { transform: scale(0.85); }
[data-animate="scale"] { transform: scale(0.95); }

[data-animate].animated {
  opacity: 1;
  transform: translate(0) scale(1);
}

@keyframes floating {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* --------------------------------------------------------------------------
   19. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--dark-bg);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    padding: 40px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    transition: right 0.4s ease;
    border-left: 2px solid var(--accent);
  }

  .nav-menu.active {
    right: 0;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-stats-strip {
    grid-template-columns: 1fr;
    gap: 15px;
  }

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

  .testimonial-card {
    padding: 25px 20px;
  }
}
