/* ============================================
   GÜLER SOĞUTMA — Custom Styles
   ============================================ */

/* --- Material Symbols --- */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* --- Glass Navigation --- */
.glass-nav {
  background-color: rgba(247, 249, 251, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* --- Industrial Shadow --- */
.industrial-shadow {
  box-shadow: 0 12px 32px -4px rgba(23, 65, 116, 0.08);
}

.industrial-shadow-lg {
  box-shadow: 0 20px 48px -8px rgba(23, 65, 116, 0.12);
}

/* --- Text Balance --- */
.text-balance {
  text-wrap: balance;
}

/* --- Smooth Scroll --- */
html {
  scroll-behavior: smooth;
}

/* --- Selection Color --- */
::selection {
  background-color: #d5e3ff;
  color: #001b3c;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f2f4f6;
}

::-webkit-scrollbar-thumb {
  background: #c1c7d1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #717781;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

.animate-fade-in-up {
  animation: fadeInUp 0.7s ease-out forwards;
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

.animate-slide-in-left {
  animation: slideInLeft 0.7s ease-out forwards;
}

.animate-slide-in-right {
  animation: slideInRight 0.7s ease-out forwards;
}

.animate-scale-in {
  animation: scaleIn 0.5s ease-out forwards;
}

.animate-pulse-soft {
  animation: pulse-soft 3s ease-in-out infinite;
}

/* Staggered animation delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* Initially hidden for scroll animations */
.scroll-animate {
  opacity: 0;
}

.scroll-animate.is-visible {
  opacity: 1;
}

/* --- Mobile Menu --- */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu-overlay {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* --- Hamburger Icon Animation --- */
.hamburger-line {
  transition: all 0.3s ease;
}

.hamburger.is-active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* --- Product Card Hover --- */
.product-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px -8px rgba(23, 65, 116, 0.12);
}

.product-card .product-image {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

/* --- Service Card --- */
.service-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
  transform: translateY(-8px);
}

.service-card .arrow-icon {
  transition: transform 0.3s ease;
}

.service-card:hover .arrow-icon {
  transform: translateX(8px);
}

/* --- WhatsApp FAB --- */
.whatsapp-fab {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 16px 40px -4px rgba(37, 211, 102, 0.4);
}

.whatsapp-fab .fab-tooltip {
  opacity: 0;
  transform: translateX(8px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.whatsapp-fab:hover .fab-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* --- Bento Grid Image --- */
.bento-image {
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-image:hover {
  filter: grayscale(0);
}

/* --- Nav scroll state --- */
.nav-scrolled {
  box-shadow: 0 4px 20px -2px rgba(23, 65, 116, 0.08);
}

/* --- Social Icon Hover --- */
.social-icon {
  transition: all 0.25s ease;
}

.social-icon:hover {
  transform: scale(1.15);
  color: #174174;
}

/* --- Responsive tweaks --- */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.1;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
}
