/* ==========================================================================
   LARA AJANS - Modern Kurumsal & Katalog Web Sitesi Stilleri
   ========================================================================== */

:root {
  --primary: #e11d48;
  --primary-hover: #be123c;
  --primary-rgb: 225, 29, 72;
  --secondary: #0f172a;
  --secondary-light: #1e293b;
  --accent: #2563eb;
  --whatsapp: #25d366;
  --whatsapp-hover: #128c7e;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 25px rgba(15, 23, 42, 0.12);
  --shadow-hover: 0 15px 30px rgba(225, 29, 72, 0.15);
}

* {
  box-sizing: border-box;
}

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

h1, h2, h3, h4, h5, h6, .nav-link, .btn {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

a:hover {
  color: var(--primary-hover);
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(15, 23, 42, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.navbar-brand img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

.nav-link {
  color: #e2e8f0 !important;
  font-size: 0.95rem;
  padding: 0.6rem 1rem !important;
  border-radius: 6px;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: #ffffff !important;
  background: rgba(225, 29, 72, 0.15);
}

.topbar-info {
  background: #090d16;
  font-size: 0.85rem;
  color: #94a3b8;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.topbar-info a {
  color: #cbd5e1;
}

.topbar-info a:hover {
  color: #ffffff;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-primary-custom {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.3);
  transition: var(--transition);
}

.btn-primary-custom:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.4);
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  border-color: var(--whatsapp);
  color: #ffffff !important;
  font-weight: 700;
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  transition: var(--transition);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  border-color: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-outline-dark-custom {
  border: 2px solid var(--secondary);
  color: var(--secondary);
  border-radius: 8px;
  font-weight: 600;
  padding: 0.6rem 1.3rem;
  transition: var(--transition);
}

.btn-outline-dark-custom:hover {
  background: var(--secondary);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   HERO BANNER
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #090d16 0%, #0f172a 60%, #1e1b4b 100%);
  color: #ffffff;
  padding: 90px 0 110px;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(225, 29, 72, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-title {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  background: linear-gradient(to right, #ffffff, #f1f5f9, #f43f5e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #94a3b8;
  margin-bottom: 2rem;
  max-width: 600px;
}

.badge-tag {
  display: inline-block;
  background: rgba(225, 29, 72, 0.15);
  color: #f43f5e;
  border: 1px solid rgba(225, 29, 72, 0.3);
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ==========================================================================
   CARDS & SECTIONS
   ========================================================================== */
.section-header {
  margin-bottom: 3.5rem;
  text-align: center;
}

.section-subtitle {
  color: var(--primary);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.25rem;
  color: var(--secondary);
}

.card-custom {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-custom:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(225, 29, 72, 0.3);
}

.card-custom .card-img-wrapper {
  position: relative;
  padding-top: 75%; /* 4:3 Aspect Ratio */
  overflow: hidden;
  background-color: #f1f5f9;
}

.card-custom .card-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-custom:hover .card-img-wrapper img {
  transform: scale(1.06);
}

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  text-transform: uppercase;
  z-index: 2;
}

.card-sku {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.card-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
}

.card-price-contact {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
}

.card-discount-price {
  font-size: 0.9rem;
  text-decoration: line-through;
  color: #94a3b8;
  margin-left: 0.4rem;
}

/* Service Card */
.service-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 2rem;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.08);
  border-color: var(--primary);
}

.service-icon-box {
  width: 60px;
  height: 60px;
  background: rgba(225, 29, 72, 0.1);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-icon-box {
  background: var(--primary);
  color: #ffffff;
  transform: rotate(5deg) scale(1.05);
}

/* ==========================================================================
   PRODUCT SHOW DETAIL
   ========================================================================== */
.product-gallery-main {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1rem;
  text-align: center;
}

.product-gallery-main img {
  max-height: 480px;
  width: 100%;
  object-fit: contain;
}

.product-thumbs {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.product-thumb {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  border: 2px solid var(--border-color);
  object-fit: cover;
  cursor: pointer;
  transition: var(--transition);
}

.product-thumb.active, .product-thumb:hover {
  border-color: var(--primary);
}

.variant-btn-group input[type="radio"] {
  display: none;
}

.variant-btn-group label {
  border: 1.5px solid var(--border-color);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

.variant-btn-group input[type="radio"]:checked + label {
  border-color: var(--primary);
  background-color: rgba(225, 29, 72, 0.08);
  color: var(--primary);
}

.whatsapp-preview-box {
  background: #f0fdf4;
  border: 1px dashed #86efac;
  border-radius: 8px;
  padding: 1rem;
  font-size: 0.9rem;
  color: #166534;
  margin: 1.5rem 0;
}

/* Sticky Mobile WhatsApp Bar */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
  z-index: 1040;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  .sticky-mobile-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }
  .hero-title {
    font-size: 2.2rem;
  }
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: var(--whatsapp);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1020;
  transition: var(--transition);
}

.whatsapp-float:hover {
  background-color: var(--whatsapp-hover);
  color: #ffffff;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  body.has-sticky-cta .whatsapp-float,
  body:has(.sticky-mobile-cta) .whatsapp-float {
    bottom: 80px !important;
    right: 16px !important;
    width: 48px !important;
    height: 48px !important;
    font-size: 26px !important;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #090d16;
  color: #94a3b8;
  padding: 70px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-footer h5 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.site-footer p,
.site-footer .footer-desc {
  color: #94a3b8;
  line-height: 1.7;
  font-size: 0.92rem;
}

.site-footer .text-muted {
  color: #94a3b8 !important;
}

.site-footer a {
  color: #94a3b8;
  display: inline-block;
  margin-bottom: 0.6rem;
  font-size: 0.92rem;
  text-decoration: none;
  transition: var(--transition);
}

.site-footer a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.site-footer .footer-social a {
  font-size: 1.25rem;
  margin-bottom: 0;
  color: #94a3b8;
  transition: var(--transition);
}

.site-footer .footer-social a:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
  margin-top: 50px;
  font-size: 0.88rem;
  color: #94a3b8;
}

.footer-bottom a {
  color: #94a3b8;
  margin-bottom: 0;
}

.footer-bottom a:hover {
  color: #ffffff;
  transform: none;
}

/* Cookie Notice */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: 420px;
  background: #0f172a;
  color: #f8fafc;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
  z-index: 1050;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
