/* HAMARAT MUTFAK - FOOD UI DESIGN SYSTEM
    2025 SEO Optimized + Modern Design
*/

:root {
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --soft-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
  --brand-glow: 0 0 20px rgba(234, 88, 12, 0.3);
  --hamarat-primary: #ea580c;
  --hamarat-secondary: #dc2626;
  --hamarat-accent: #16a34a;
  --hamarat-dark: #7c2d12;
  --hamarat-light: #fff7ed;
}

/* SMOOTH SCROLLING */
html {
  scroll-behavior: smooth;
}

::selection {
  background: var(--hamarat-primary);
  color: white;
}

/* CUSTOM SCROLLBAR */
.custom-scrollbar::-webkit-scrollbar,
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track,
::-webkit-scrollbar-track {
  background: #fff7ed;
  border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb,
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--hamarat-primary), var(--hamarat-secondary));
  border-radius: 10px;
}

/* GLASSMORPHISM */
.glass-nav {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(234, 88, 12, 0.1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.glass-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 247, 237, 0.8);
  box-shadow: var(--soft-shadow);
}

/* SERVICE CARDS */
.service-card-pro {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}

.service-card-pro::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s;
  z-index: 2;
}

.service-card-pro:hover::before {
  left: 100%;
}

.service-card-pro:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -12px rgba(234, 88, 12, 0.2);
}

/* ANIMATIONS */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

@keyframes pulse-orange {
  0% { box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(234, 88, 12, 0); }
  100% { box-shadow: 0 0 0 0 rgba(234, 88, 12, 0); }
}

.btn-pulse {
  animation: pulse-orange 2s infinite;
}

@keyframes bounce-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.animate-bounce-slow {
  animation: bounce-slow 3s ease-in-out infinite;
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* BUTTONS */
.btn-primary {
  background: linear-gradient(135deg, var(--hamarat-primary) 0%, var(--hamarat-secondary) 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(234, 88, 12, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border-radius: 9999px;
}

.btn-primary:hover {
  box-shadow: 0 8px 25px rgba(234, 88, 12, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: white;
  color: var(--hamarat-primary);
  border: 2px solid var(--hamarat-primary);
  border-radius: 9999px;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--hamarat-light);
  transform: translateY(-2px);
}

/* HERO PATTERN */
.hero-pattern {
  background-color: #fff7ed;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ea580c' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* WHATSAPP FLOAT */
.whatsapp-float {
  background: #25D366;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background: #128C7E;
  transform: scale(1.1) rotate(10deg);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  letter-spacing: -0.02em;
}

/* LINE CLAMP */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 768px) {
  .hero-pattern h1 {
    font-size: 2.5rem;
  }
}