/* ===================================
   Premium CSS Design - MBM Garden
   =================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Premium Color Palette */
  --color-primary: #7ba88a;
  --color-primary-light: #a8d5ba;
  --color-secondary: #eab8c8;
  --color-accent: #f5f0e8;
  --color-white: #ffffff;
  --color-off-white: #fafafa;
  --color-gray-50: #f8f9fa;
  --color-gray-100: #e9ecef;
  --color-gray-200: #dee2e6;
  --color-gray-600: #6c757d;
  --color-text: #1a1a1a;
  --color-text-light: #4a5568;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #a8d5ba 0%, #7ba88a 100%);
  --gradient-secondary: linear-gradient(135deg, #f5f0e8 0%, #eab8c8 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3.5rem;
  --spacing-xl: 5rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.2);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--color-text);
  line-height: 1.7;
  background: var(--color-off-white);
  overflow-x: hidden;
  position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--color-gray-50);
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary-light);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* Background Decorative Elements */
.bg-decoration,
.bg-decoration-2 {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
  z-index: -1;
  pointer-events: none;
}

.bg-decoration {
  width: 600px;
  height: 600px;
  background: var(--gradient-primary);
  top: -200px;
  right: -200px;
}

.bg-decoration-2 {
  width: 500px;
  height: 500px;
  background: var(--gradient-secondary);
  bottom: -150px;
  left: -150px;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  content-visibility: auto;
}

/* Smooth image loading */
img[loading="lazy"] {
  background: linear-gradient(135deg, var(--color-gray-100) 0%, var(--color-gray-50) 100%);
  transition: opacity 0.3s ease;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===================================
   Header & Navigation
   =================================== */
.header {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background 0.3s ease;
}

.header-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.header:hover .header-glow {
  opacity: 1;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-content {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.5px;
  line-height: 1;
}

.logo-tagline {
  font-size: 0.75rem;
  color: var(--color-text-light);
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-xs);
}

.nav-menu a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: var(--spacing-xs) 1.25rem;
  border-radius: 50px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-menu a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  border-radius: 50px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.nav-menu a:hover {
  color: white;
}

.nav-menu a:hover::before {
  opacity: 1;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  border-radius: var(--radius-sm);
  transition: background 0.3s ease;
}

.hamburger:hover {
  background: rgba(123, 168, 138, 0.1);
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s ease;
  margin: 3px 0;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1764423805989-ec426dfb8de8?crop=entropy&cs=srgb&fm=jpg&ixid=M3w4NjA1OTN8MHwxfHNlYXJjaHwzfHxlbGVnYW50JTIwYm91cXVldCUyMHJvc2VzJTIwcGFzdGVsJTIwZmxvd2Vyc3xlbnwwfHx8fDE3Njk1MTYyMzh8MA&ixlib=rb-4.1.0&q=85');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: brightness(1.1);
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(245, 240, 232, 0.9) 50%,
      rgba(168, 213, 186, 0.85) 100%);
  backdrop-filter: blur(3px);
}

/* Floating Petals Animation */
.floating-petals {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.petal {
  position: absolute;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, var(--color-secondary), transparent);
  border-radius: 50% 0 50% 0;
  opacity: 0.4;
  animation: float 15s infinite ease-in-out;
}

.petal:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
  animation-duration: 12s;
}

.petal:nth-child(2) {
  left: 30%;
  animation-delay: 2s;
  animation-duration: 14s;
}

.petal:nth-child(3) {
  left: 50%;
  animation-delay: 4s;
  animation-duration: 16s;
}

.petal:nth-child(4) {
  left: 70%;
  animation-delay: 6s;
  animation-duration: 13s;
}

.petal:nth-child(5) {
  left: 90%;
  animation-delay: 8s;
  animation-duration: 15s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(-100px) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 0.4;
  }

  90% {
    opacity: 0.4;
  }

  100% {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: var(--spacing-xl) var(--spacing-md);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--spacing-md);
  border: 1px solid rgba(168, 213, 186, 0.3);
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--spacing-md);
  line-height: 1.15;
}

.title-line {
  display: block;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--color-text-light);
  margin-bottom: var(--spacing-lg);
  line-height: 1.8;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--spacing-xl);
}

.hero-button {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-button.primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.hero-button.primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.hero-button.secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--color-primary-light);
}

.hero-button.secondary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  background: white;
}

.hero-stats {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-top: 0.5rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-arrow {
  width: 24px;
  height: 40px;
  border: 2px solid var(--color-primary);
  border-radius: 20px;
  position: relative;
}

.scroll-arrow::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% {
    top: 8px;
    opacity: 1;
  }

  100% {
    top: 24px;
    opacity: 0;
  }
}

/* ===================================
   About Section
   =================================== */
.about {
  padding: var(--spacing-xl) 0;
  background: var(--color-white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.about-images {
  position: relative;
  display: grid;
  gap: var(--spacing-md);
}

.about-image-main {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.image-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.image-frame img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.image-frame:hover img {
  transform: scale(1.05);
}

.floating-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  animation: float-badge 3s ease-in-out infinite;
}

@keyframes float-badge {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.badge-content {
  text-align: center;
  color: white;
}

.badge-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.badge-text {
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.about-image-small {
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 180px;
  height: 180px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid white;
}

.about-image-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--spacing-sm);
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
}

.section-title.center {
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-light);
  font-size: 1.125rem;
  margin-bottom: var(--spacing-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.about-description {
  color: var(--color-text-light);
  margin-bottom: var(--spacing-md);
  line-height: 1.8;
  font-size: 1.05rem;
}

.about-features {
  display: grid;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(168, 213, 186, 0.2);
  box-shadow: var(--shadow-xs);
}

.feature-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient-primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.feature-content p {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* ===================================
   Products Section
   =================================== */
.products {
  padding: var(--spacing-xl) 0;
  background: var(--color-gray-50);
}

.section-header {
  margin-bottom: var(--spacing-xl);
}

.category-section {
  margin-bottom: var(--spacing-xl);
}

.category-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.category-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
}

.category-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary-light), transparent);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--spacing-md);
  min-height: 200px;
}

.products-loading {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 3rem;
  color: var(--color-text-light);
}

.products-loading i {
  font-size: 2rem;
  color: var(--color-primary);
}

.products-error {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: #dc3545;
}

.products-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: var(--color-text-light);
  font-style: italic;
}

/* Dinamik kategoriya seksiyalari */
.category-section {
  margin-bottom: 3rem;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.category-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
}

.category-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), transparent);
  border-radius: 1px;
}

.product-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-xl);
}

.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--gradient-primary);
  color: white;
  padding: 5px 10px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.product-badge.new {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.product-badge.premium {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.product-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--color-gray-100);
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.product-card:hover .image-overlay {
  opacity: 1;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.1) rotate(2deg);
}

.product-info {
  padding: 12px 14px;
  padding-bottom: 52px;
}

.product-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: 6px;
  line-height: 1.3;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  color: var(--color-primary);
}

.price-amount {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.price-currency {
  font-size: 0.95rem;
  font-weight: 500;
}

/* ===================================
   Gallery Section
   =================================== */
.gallery {
  padding: var(--spacing-xl) 0;
  background: var(--color-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
}

.gallery-item.large {
  grid-column: span 2;
}

.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(168, 213, 186, 0.3), rgba(234, 184, 200, 0.3));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.gallery-item:hover::before {
  opacity: 1;
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item.large img {
  height: 440px;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* ===================================
   Contact Section
   =================================== */
.contact {
  padding: var(--spacing-xl) 0;
  background: var(--color-gray-50);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info-side {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.contact-item {
  display: flex;
  gap: var(--spacing-md);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(168, 213, 186, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.contact-item i {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-item h3 {
  font-size: 1.1rem;
  color: var(--color-text);
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
}

.contact-item p {
  color: var(--color-text-light);
  line-height: 1.7;
}

.contact-item a {
  color: var(--color-primary);
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--color-text);
}

.contact-social-inline {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(168, 213, 186, 0.2);
}

.contact-social-inline h3 {
  font-size: 1.1rem;
  color: var(--color-text);
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
}

.contact-social-inline .social-links {
  display: flex;
  gap: var(--spacing-sm);
}

.contact-social-inline .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  font-size: 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.contact-social-inline .social-links a:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--shadow-md);
}

/* Form Side */
.contact-form-side {
  display: flex;
  align-items: stretch;
}

.form-container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: var(--spacing-lg);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(168, 213, 186, 0.2);
  width: 100%;
}

.form-header {
  text-align: center;
  margin-bottom: var(--spacing-md);
}

.form-header i {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto var(--spacing-sm);
}

.form-header h3 {
  font-size: 1.5rem;
  color: var(--color-text);
  margin-bottom: var(--spacing-xs);
  font-weight: 700;
}

.form-header p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.form-group label {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.95rem;
}

.form-group label i {
  color: var(--color-primary);
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: var(--spacing-sm) var(--spacing-md);
  border: 2px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: inherit;
  background: var(--color-white);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  color: var(--color-text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(123, 168, 138, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-gray-600);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236c757d' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-lg);
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.submit-btn i {
  transition: transform 0.3s ease;
}

.submit-btn:hover i {
  transform: translateX(5px);
}

/* ===================================
   Footer
   =================================== */
.footer {
  background: linear-gradient(135deg, var(--color-text) 0%, #2d3436 100%);
  color: white;
  padding: var(--spacing-xl) 0 var(--spacing-md);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-brand h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--color-primary-light);
  margin-bottom: var(--spacing-sm);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-info p {
  margin-bottom: var(--spacing-xs);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0;
}

.footer-credit {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-credit a {
  color: rgba(168, 213, 186, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-credit a:hover {
  color: var(--color-primary);
}

@media (max-width: 480px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .about-images {
    max-width: 500px;
    margin: 0 auto;
  }

  .gallery-item.large {
    grid-column: span 1;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    padding: 0;
    max-width: 100%;
  }

  .contact-info-side {
    order: 2;
    gap: var(--spacing-sm);
  }

  .contact-form-side {
    order: 1;
  }

  .form-container {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  :root {
    --spacing-lg: 2.5rem;
    --spacing-xl: 3.5rem;
  }

  /* Hamburger Menu - Mobile */
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-xl);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
  }

  .nav-menu a {
    display: block;
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 1.1rem;
    border-radius: var(--radius-md);
    width: 100%;
  }

  .nav-menu a:hover {
    background: var(--gradient-primary);
    color: white;
  }

  .nav-menu a::before {
    display: none;
  }

  .hero {
    min-height: 90vh;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-stats {
    gap: var(--spacing-md);
  }

  .stat-number {
    font-size: 2rem;
  }

  .about-image-small {
    width: 140px;
    height: 140px;
    bottom: -20px;
    left: -20px;
  }

  .floating-badge {
    width: 100px;
    height: 100px;
    bottom: -15px;
    right: -15px;
  }

  .badge-number {
    font-size: 1.5rem;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--spacing-md);
  }
}

@media (max-width: 480px) {
  .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }

  .logo-text {
    font-size: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-button {
    width: 100%;
    justify-content: center;
  }

  .about-image-small {
    display: none;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-image {
    height: 260px;
  }

  .gallery-item img,
  .gallery-item.large img {
    height: 280px;
  }

  /* ===== CONTACT SECTION MOBILE ===== */
  .contact {
    padding: var(--spacing-lg) 0;
  }

  .contact .section-title {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
  }

  .contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    padding: 0;
  }

  .contact-info-side {
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .contact-form-side {
    order: 1;
    width: 100%;
  }

  .contact-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  }

  .contact-item:hover {
    transform: none;
  }

  .contact-item i {
    width: 38px;
    height: 38px;
    min-width: 38px;
    font-size: 0.95rem;
    border-radius: 10px;
  }

  .contact-item > div {
    flex: 1;
    min-width: 0;
  }

  .contact-item h3 {
    font-size: 0.9rem;
    margin-bottom: 4px;
    font-weight: 600;
  }

  .contact-item p {
    font-size: 0.8rem;
    line-height: 1.5;
    margin: 0;
  }

  .contact-item p br {
    display: none;
  }

  .contact-item a {
    font-size: 0.8rem;
    display: block;
    word-break: break-all;
  }

  .contact-social-inline {
    padding: 14px 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .contact-social-inline h3 {
    font-size: 0.9rem;
    margin: 0;
  }

  .contact-social-inline .social-links {
    gap: 10px;
  }

  .contact-social-inline .social-links a {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  /* Form Container Mobile */
  .form-container {
    padding: 20px 16px;
    border-radius: 16px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  }

  .form-header {
    margin-bottom: 16px;
  }

  .form-header i {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .form-header h3 {
    font-size: 1.3rem;
    margin-bottom: 6px;
  }

  .form-header p {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.4;
  }

  .contact-form {
    gap: 14px;
  }

  .form-group {
    gap: 6px;
  }

  .form-group label {
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .form-group label i {
    font-size: 0.8rem;
    color: var(--color-primary);
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1.5px solid #e0e0e0;
    background: #fafafa;
    transition: all 0.2s ease;
  }

  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    border-color: var(--color-primary);
    background: white;
    outline: none;
    box-shadow: 0 0 0 3px rgba(107, 172, 134, 0.15);
  }

  .form-group textarea {
    min-height: 90px;
    resize: vertical;
  }

  .submit-btn {
    padding: 14px 24px;
    font-size: 0.95rem;
    border-radius: 10px;
    margin-top: 6px;
    width: 100%;
    justify-content: center;
  }
}

/* ===================================
   Toast Notifications
   =================================== */
#toast-container {
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  transform: translateX(120%);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 4px solid;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast i:first-child {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.toast span {
  flex: 1;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.4;
}

.toast-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-gray-600);
  padding: 4px;
  font-size: 0.85rem;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.toast-close:hover {
  color: var(--color-text);
}

/* Toast Types */
.toast-success {
  border-color: #28a745;
}

.toast-success i:first-child {
  color: #28a745;
}

.toast-error {
  border-color: #dc3545;
}

.toast-error i:first-child {
  color: #dc3545;
}

.toast-warning {
  border-color: #ffc107;
}

.toast-warning i:first-child {
  color: #ffc107;
}

.toast-info {
  border-color: var(--color-primary);
}

.toast-info i:first-child {
  color: var(--color-primary);
}

@media (max-width: 480px) {
  #toast-container {
    top: 80px;
    right: 10px;
    left: 10px;
    max-width: none;
  }

  .toast {
    padding: 14px 16px;
  }

  .toast span {
    font-size: 0.9rem;
  }
}

/* ===================================
   Image Lightbox
   =================================== */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 20px;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay img {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-overlay.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.lightbox-caption {
  color: white;
  font-size: 1.1rem;
  margin-top: 16px;
  text-align: center;
  font-weight: 500;
  opacity: 0.9;
}

/* ===================================
   Product Order Modal
   =================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 16px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: white;
  border-radius: 20px;
  max-width: 380px;
  width: 100%;
  padding: 24px;
  position: relative;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  background: var(--color-gray-100);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--color-text-light);
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #fee2e2;
  color: #dc2626;
  transform: rotate(90deg);
}

.modal-header {
  text-align: center;
  margin-bottom: 16px;
}

.modal-header i {
  display: none;
}

.modal-header h3 {
  font-size: 1.25rem;
  color: var(--color-text);
  font-weight: 700;
}

.modal-product-info {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: linear-gradient(135deg, var(--color-gray-50) 0%, rgba(168, 213, 186, 0.1) 100%);
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid rgba(168, 213, 186, 0.2);
}

.modal-product-info img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.modal-product-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.modal-product-details h4 {
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: 4px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal-product-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
}

.modal-product-price .price-currency {
  font-size: 0.85rem;
  font-weight: 500;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-form .form-group {
  gap: 4px;
}

.modal-form .form-group label {
  font-size: 0.85rem;
}

.modal-form .form-group input {
  padding: 10px 14px;
  font-size: 0.95rem;
}

.modal-submit-btn {
  margin-top: 4px;
  padding: 12px 20px;
}

/* Product Card Hover Effect */
.product-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(123, 168, 138, 0.25);
}

.product-card .product-image {
  overflow: hidden;
}

.product-card .product-image img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image img {
  transform: scale(1.08);
}

.product-card::after {
  content: '🛒 Buyurtma berish';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, rgba(123, 168, 138, 1) 0%, rgba(168, 213, 186, 1) 100%);
  color: white;
  padding: 10px;
  text-align: center;
  font-weight: 600;
  font-size: 0.85rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.product-card:hover::after {
  background: linear-gradient(135deg, rgba(107, 152, 122, 1) 0%, rgba(123, 168, 138, 1) 100%);
  transform: scale(1.02);
}

.product-card .product-badge {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.product-card:hover .product-badge {
  transform: scale(1.05);
}

@media (max-width: 480px) {
  .modal-content {
    padding: 20px;
    margin: 10px;
  }

  .modal-product-info {
    flex-direction: row;
  }

  .modal-product-info img {
    width: 60px;
    height: 60px;
  }

  .modal-product-details h4 {
    font-size: 0.9rem;
  }
}