/* General Settings */
body {
  width: 100%;
  height: 100%;
  background-color: #FFFFFF;
  font-family: 'Roboto', 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Hamburger İkonu Gizleme - Mobil Menü Açıkken */
body.mobile-menu-open .btn-hamburger {
  display: none;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: #333333;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  margin: 0.5rem;
}

/* Form Elements */
legend {
  padding: 0.5rem 0;
  margin-bottom: 1rem;
  border-bottom: 1px solid #e5e5e5;
  font-family: 'Roboto', 'Poppins', sans-serif;
  font-weight: 500;
}

label {
  font-size: 0.875rem;
  font-weight: 400;
  font-family: 'Roboto', 'Poppins', sans-serif;
}

/* Remove Chrome/Bootstrap Focus Outline */
button:focus,
a:focus,
button:active,
a:active {
  outline: none !important;
  box-shadow: none !important;
}

/* General Button Styles */
button, [type="button"], [type="reset"], [type="submit"] {
  padding: clamp(6px, 2vw, 12px) clamp(12px, 3vw, 16px) !important;
  font-size: clamp(10px, 2vw, 12px) !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, rgba(106, 90, 205, 0.6), rgba(0, 149, 255, 0.6)) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  color: #1A1A3D !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  font-family: 'Roboto', 'Poppins', sans-serif !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  display: inline-flex;
  align-items: center !important;
  justify-content: center !important;
}

button:hover, [type="button"]:hover, [type="reset"]:hover, [type="submit"]:hover {
  background: linear-gradient(135deg, rgba(106, 90, 205, 0.7), rgba(0, 149, 255, 0.7)) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

button:disabled, [type="button"]:disabled, [type="reset"]:disabled, [type="submit"]:disabled {
  background: linear-gradient(135deg, rgba(106, 90, 205, 0.6), rgba(0, 149, 255, 0.6)) !important;
  opacity: 0.6 !important;
  cursor: not-allowed !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

/* Product Actions Container */
.product-actions {
  display: flex;
  gap: 0.5rem !important;
  justify-content: center !important;
  margin: 1rem 0 !important;
}

/* Product Image */
.product-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
z-index: 500 !important;
}

/* Container */
#container {
  width: 100%;
  height: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0 !important;
  padding: 1rem !important;
  gap: 0 !important;
  overflow: hidden;
}

/* Content */
#content, #column-left, #column-right {
  padding: 1rem !important;
}

/* Alert Area */
#alert {
  z-index: 9999;
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 300px;
}

#alert .alert {
  margin-bottom: 0.5rem;
}

#alert .alert-primary,
#alert .alert-secondary,
#alert .alert-success,
#alert .alert-warning,
#alert .alert-danger,
#alert .alert-info,
#alert .alert-light,
#alert .alert-dark {
  box-shadow: 0 0 0 0.3125rem rgba(0, 0, 0, 0.1);
}

/* Top Menu (Language Selector) */
#top {
  background: #FFFFFF;
  border-bottom: 2px solid #DDDDDD;
  box-shadow: 0 0.125rem 0.3125rem rgba(0, 0, 0, 0.1);
  color: #333333;
  font-family: 'Roboto', 'Poppins', sans-serif;
  font-size: 0.875rem;
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  height: auto;
  line-height: 1;
  z-index: 100;
}

/* Bootstrap container sıfırlama */
.container,
.container-fluid,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
  margin-left: 10px !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* nav#top içindeki listeler */
#top ul.list-inline {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1;
}

#top .list-inline-item {
  margin: 0 !important;
  padding: 0 !important;
}

#top .list-inline-item > a {
  color: #333333;
  font-family: 'Roboto', 'Poppins', sans-serif;
  font-size: 0.75rem;
  padding: 0.2rem 0.4rem;
  transition: all 0.3s ease;
  background-color: #FFFFFF;
  border-radius: 0.25rem;
  box-shadow: 0 0.1rem 0.25rem rgba(0, 0, 0, 0.1);
}

#top .list-inline-item > a:hover {
  color: #007bff;
  background-color: #F5F5F5;
  box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.2);
}

/* Header */
header {
  background: #FFFFFF;
  padding: 0;
  border-bottom: 2px solid #DDDDDD;
  position: relative;
  z-index: 10;
  margin: 0;
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Logo */
.header-logo {
  max-height: 80px;
  width: auto;
  margin: 10px 0;
  padding: 0;
  display: inline-block !important;
}

/* Hamburger Menu Icon */
.btn-hamburger {
  background: none;
  border: none;
  font-size: clamp(16px, 4.5vw, 18px);
  color: #333333;
  padding: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: fixed;
  top: 5rem;
  margin-left: 30px;
  z-index: 10001;
}

.btn-hamburger:hover {
  color: #007bff;
  box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.2);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  transform: translateX(-100%);
  width: clamp(400px, 80%, 300px);
  height: 100%;
  background: #ffffff;
  box-shadow: 0.1rem 0 0.4rem rgba(0, 0, 0, 0.2);
  padding: 1rem;
  z-index: 10000;
  transition: transform 0.3s ease-in-out;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.mobile-menu ul {
  padding: 0;
  margin: 0;
  list-style: none;
  width: 100%;
}

.mobile-menu li {
  margin: 0.5rem 0;
}

.mobile-menu a {
  color: #333333;
  text-decoration: none;
  font-family: 'Roboto', 'Poppins', sans-serif;
  font-size: clamp(12px, 3.5vw, 14px);
  display: block;
  padding: 0.5rem 0.8rem;
  transition: all 0.3s ease;
  background-color: #FFFFFF;
  border-radius: 0.25rem;
  box-shadow: 0 0.1rem 0.25rem rgba(0, 0, 0, 0.1);
}

.mobile-menu a:hover,
.mobile-menu a:focus {
  color: #007bff;
  background: #F5F5F5;
  box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.2);
}

/* Mobile Menu User Links */
.mobile-menu-user a {
  color: #333333;
  background-color: #FFFFFF;
  box-shadow: 0 0.1rem 0.25rem rgba(0, 0, 0, 0.1);
}

.mobile-menu-user a:hover,
.mobile-menu-user a:focus {
  color: #007bff;
  background: #F5F5F5;
  box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.2);
}

/* Sosyal medya ikonları */
.social-media {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  margin-top: 1rem !important;
  gap: 1rem !important;
  position: absolute !important;
  right: 5vw !important;
  z-index: 10 !important;
}

.social-icon {
  font-size: 1.5rem !important;
  color: #333333 !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
}

.social-icon:hover {
  color: #007bff !important;
}

/* Sağdan boşluk için son ikona özel ayar */
.col-3 .social-icon:last-child {
  margin-right: 8px !important;
}

/* Footer Özelleştirmeleri */
.footer-custom {
  background-color: rgba(0, 168, 89, 0.1) !important;
  color: #333333 !important;
  padding-top: 40px !important;
  padding-bottom: 20px !important;
  position: relative;
}

.footer-title {
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  color: #222222 !important;
  text-align: center;
  position: relative;
  margin-top: 20px;
  width: 100%;
  bottom: 0;
  font-family: 'Playfair Display', serif !important;
}

/* Footer linklerinin merkezi hizalanması */
.footer-custom .footer-link {
  text-decoration: none !important;
  color: #333333 !important;
  transition: color 0.3s ease !important;
  text-align: center;
  display: block;
  font-family: 'Roboto', 'Poppins', sans-serif !important;
}

.footer-link:hover {
  color: #007bff !important;
}

.footer-divider {
  border-color: #ddd !important;
  margin-top: 20px !important;
}

.footer-link i {
  margin-right: 8px !important;
}

/* Sosyal medya ikonları */
.footer-custom .social-icons {
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  color: #222222 !important;
  text-align: center;
  position: relative;
  margin-top: 20px;
  width: 100%;
  bottom: 0;
  font-family: 'Roboto', 'Poppins', sans-serif !important;
}

.footer-custom .social-icons i {
  font-size: 1.5rem !important;
  margin: 0 10px !important;
  color: #333333 !important;
  transition: color 0.3s ease, transform 0.3s ease !important;
}

.footer-custom .social-icons i:hover {
  color: #007bff !important;
  transform: scale(1.1) !important;
}

/* Metin hizalaması */
.footer-custom .text-center {
  text-align: center !important;
}

/* Bağlantılar ve Paragraflar */
a {
  color: #111827;
  text-decoration: none;
  font-family: 'Roboto', 'Poppins', sans-serif;
  font-weight: 500;
  transition: color 0.3s ease;
}

a:hover {
  color: #007bff;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #333333;
  font-family: 'Roboto', 'Poppins', sans-serif;
  font-weight: 400;
}

/* Mobil için düzenlemeler */
@media (max-width: 768px) {
  body {
    font-size: clamp(12px, 3.5vw, 14px);
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Başlıklar */
  h1, h2, h3, h4, h5, h6 {
    font-size: clamp(16px, 5vw, 20px);
    text-align: center;
  }

  /* Form Elemanları */
  legend,
  label {
    text-align: center;
  }

  /* Butonlar */
  button, [type="button"], [type="reset"], [type="submit"] {
    padding: clamp(5px, 1.5vw, 10px) clamp(10px, 2.5vw, 14px) !important;
    font-size: clamp(9px, 1.8vw, 11px) !important;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Container */
  #container {
    align-items: center;
    padding: 0.5rem !important;
  }

  /* İçerik Alanları */
  #content,
  #column-left,
  #column-right {
    padding: 0.5rem !important;
    text-align: center;
    width: 100%;
  }

  /* Alert */
  #alert {
    max-width: 90%;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Top Menu */
  #top {
    font-size: clamp(10px, 3vw, 12px);
    text-align: center;
  }

  #top ul.list-inline {
    display: flex;
    justify-content: center;
  }

  #top .list-inline-item > a {
    font-size: clamp(10px, 2.5vw, 11px);
    padding: 0.15rem 0.3rem;
  }

  /* Header */
  header {
    padding: 0.5rem 0;
    justify-content: center;
  }

  /* Logo */
  .header-logo {
    max-height: 50px;
  }

  /* Hamburger Menü */
  .btn-hamburger {
    font-size: clamp(14px, 4vw, 16px);
    left: clamp(6px, 1.5vw, 10px);
    top: 0.6rem;
  }

  /* Mobil Menü */
  .mobile-menu {
    width: clamp(180px, 85%, 280px);
    padding: 0.8rem;
  }

  .mobile-menu ul {
    width: 100%;
    text-align: center;
  }

  .mobile-menu a {
    font-size: clamp(11px, 3vw, 13px);
    padding: 0.3rem 0.6rem;
  }

  /* Product Actions */
  .product-actions {
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  /* Product Image */
  .product-image {
    margin: 0 auto;
    text-align: center;
  }

  /* Sosyal Medya İkonları */
  .social-media {
    right: 2vw !important;
    top: 3.5rem !important;
    gap: 0.6rem !important;
    align-items: center !important;
  }

  .social-icon {
    font-size: clamp(16px, 4vw, 18px) !important;
  }

  /* Footer */
  .footer-custom {
    padding: 1.5rem 0 1rem !important;
    text-align: center !important;
  }

  .footer-title {
    font-size: clamp(14px, 4vw, 16px) !important;
  }

  .footer-custom .footer-link {
    display: block !important;
    margin: 0.3rem 0 !important;
  }

  .footer-custom .social-icons {
    font-size: clamp(14px, 4vw, 16px) !important;
    justify-content: center !important;
    display: flex !important;
    gap: 0.5rem !important;
  }

  .footer-custom .social-icons i {
    font-size: clamp(16px, 4.5vw, 18px) !important;
  }

  /* Bağlantılar ve Paragraflar */
  a {
    font-size: clamp(11px, 3vw, 13px);
    text-align: center;
  }

  p {
    font-size: clamp(11px, 3vw, 13px);
    text-align: center;
  }
}

/* Daha küçük ekranlar için ek ayarlar */
@media (max-width: 576px) {
  body {
    font-size: clamp(11px, 3.5vw, 13px);
  }

  .header-logo {
    max-height: 40px;
  }

  button, [type="button"], [type="reset"], [type="submit"] {
    padding: clamp(4px, 1.2vw, 8px) clamp(8px, 2vw, 12px) !important;
    font-size: clamp(8px, 1.6vw, 10px) !important;
  }

  /* Container */
  #container {
    padding: 0.3rem !important;
  }

  /* İçerik Alanları */
  #content,
  #column-left,
  #column-right {
    padding: 0.3rem !important;
  }

  /* Hamburger Menü */
  .btn-hamburger {
    font-size: clamp(12px, 3.5vw, 14px);
    left: clamp(5px, 1.2vw, 8px);
    top: 0.5rem;
  }

  /* Mobil Menü */
  .mobile-menu {
    width: clamp(160px, 90%, 260px);
    padding: 0.6rem;
  }

  .mobile-menu a {
    font-size: clamp(10px, 2.8vw, 12px);
  }

  .social-media {
    top: 3rem !important;
  }

  .product-image {
    margin: 0 auto;
  }
}