* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  background-color: #e7e7e7 !important;
}

html {
  scroll-behavior: smooth;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

body {
  font-family: 'Montserrat', sans-serif;
  background: #e7e7e7 !important;
  overflow-x: hidden;
}

.container-fluid {
  padding: 0 !important;
  margin: 0 !important;
  background: #e7e7e7 !important;
}

.row {
  margin: 0 !important;
  background: #e7e7e7 !important;
}

.col-sm-8 {
  padding: 0 !important;
  background: #e7e7e7 !important;
}

.col-sm-4 {
  padding: 0 20px !important;
  background: #e7e7e7 !important;
}

.model-container {
  width: 100%;
  height: 100vh;
  background: #e7e7e7 !important;
  position: relative;
  overflow: visible;
}

model-viewer {
  background-color: #e7e7e7 !important;
  --poster-color: #e7e7e7;
}

[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  background: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

[type="radio"] + img {
  cursor: pointer;
  width: 30%;
  border: solid 2px;
  border-color: #000000;
  background: #e7e7e7;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

[type="radio"] + img:hover {
  border-color: #000000;
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

[type="radio"]:checked + img {
  border-color: #000000;
  border-width: 3px;
  background: #e7e7e7;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
}

img {
  border-radius: 50%;
}

.text-section {
  text-align: left;
  margin-bottom: 30px;
  color: #000000;
  width: 100%;
}

.main-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #000000;
}

.main-description {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  color: #666666;
}

.accordion-body {
  display: flex;
  gap: 10px;
  padding: 20px !important;
  justify-content: center;
  background: #e7e7e7;
}

.accordion-collapse.show {
  background: #e7e7e7 !important;
}

.accordion-collapse {
  background: #e7e7e7 !important;
}

.accordion-item .accordion-collapse .accordion-body {
  background: #e7e7e7 !important;
}

.steel-options, .size-options, .frame-options {
  background: #e7e7e7 !important;
}

.accordion {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
  width: 100%;
  max-width: 100%;
}

.accordion-item {
  border: none !important;
  border-bottom: 1px solid #f0f0f0 !important;
}

.accordion-item:last-child {
  border-bottom: none !important;
}

.accordion-button {
  background: #e0e0e0 !important;
  color: #333333 !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 16px 24px;
  border: none !important;
  box-shadow: none !important;
  transition: all 0.3s ease;
}

.accordion-button:hover {
  background: #e0e0e0 !important;
  color: #333333 !important;
}

.accordion-button:not(.collapsed) {
  background: #e0e0e0 !important;
  color: #000000 !important;
  box-shadow: none !important;
}

.accordion-button::after {
  filter: brightness(0);
}

.steel-options {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.steel-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.steel-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  background: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.steel-card {
  background: #e7e7e7;
  border: 1px solid #000000;
  border-radius: 10px;
  padding: 15px;
  transition: all 0.3s ease;
  text-align: left;
}

.steel-card h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #495057;
  margin-bottom: 6px;
}

.steel-card p {
  font-size: 0.8rem;
  color: #6c757d;
  margin: 0;
}

.steel-option:hover .steel-card {
  border-color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(75, 83, 93, 0.15);
}

.steel-option input[type="radio"]:checked + .steel-card {
  border-color: #000000;
  border-width: 2px;
  background: #ffffff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
}

.steel-option input[type="radio"]:checked + .steel-card h4 {
  color: #000000;
  font-weight: 700;
}

/* Size Options */
.size-options {
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.size-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.size-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  background: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.size-card {
  background: #e7e7e7;
  border: 1px solid #000000;
  border-radius: 8px;
  padding: 12px 8px;
  text-align: center;
  transition: all 0.3s ease;
}

.size-card h4 {
  font-size: 0.8rem;
  font-weight: 600;
  color: #495057;
  margin-bottom: 3px;
}

.size-card p {
  font-size: 0.65rem;
  color: #6c757d;
  margin: 0;
}

.size-option:hover .size-card {
  border-color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(75, 83, 93, 0.15);
}

.size-option input[type="radio"]:checked + .size-card {
  border-color: #000000;
  border-width: 2px;
  background: #ffffff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
}

.size-option input[type="radio"]:checked + .size-card h4 {
  color: #000000;
  font-weight: 700;
}

/* Frame Options */
.frame-options {
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.frame-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.frame-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  background: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.frame-card {
  background: #e7e7e7;
  border: 1px solid #000000;
  border-radius: 8px;
  padding: 15px 10px;
  transition: all 0.3s ease;
  text-align: center;
}

.frame-card h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #495057;
  margin-bottom: 5px;
}

.frame-card p {
  font-size: 0.75rem;
  color: #6c757d;
  margin: 0;
}

.frame-option:hover .frame-card {
  border-color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(75, 83, 93, 0.15);
}

.frame-option input[type="radio"]:checked + .frame-card {
  border-color: #000000;
  border-width: 2px;
  background: #ffffff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
}

.frame-option input[type="radio"]:checked + .frame-card h4 {
  color: #000000;
  font-weight: 700;
}

#popup {
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
}

#popup > div {
  position: relative;
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: popupFadeIn 0.3s ease;
}

@keyframes popupFadeIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.popupp-class {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999999 !important;
}

.popupp-class.active {
  display: flex;
}

.dimm {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    cursor: pointer;
    background: #e7e7e7 !important;
    color: #000000 !important;
    border: 1px solid #000000 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    width: 176px;
    height: 48px;
    font-weight: 600;
    transition: all 0.3s ease;
    z-index: 1000;
  }
  
  .arButtonImage {
    filter: invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0%) contrast(100%);
  }
  
  .dimm img {
    filter: invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0%) contrast(100%);
  }

  /* Mobilde AR butonunu sağ köşeye taşı */
  @media (max-width: 767px) {
    .dimm {
      position: absolute !important;
      bottom: 20px !important;
      right: 20px !important;
      left: auto !important;
      transform: none !important;
      width: 60px !important;
      height: 60px !important;
      border-radius: 50% !important;
    }
  }

  @media (max-width: 500px) {
    .dimm {
      bottom: 15px !important;
      right: 15px !important;
      width: 50px !important;
      height: 50px !important;
    }
  }

  .dimm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background: #616161 !important;
  }

  .dimm:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }

  .arButtonImage {
    filter: brightness(0) invert(1);
  }

@media (min-width: 1441px) {
    #controls {
      position: absolute;
      bottom: 16px;
      right: 16px;
      max-width: unset;
      transform: unset;
      width: 21% !important;
      padding: 10px;
    }
  }
  
  #controls-ge {
    position: absolute;
    bottom: 16px;
    right: 0;
    max-width: unset;
    transform: unset;
    z-index: 100;
    width: 20%;
    margin-left: -110px;
  }
  
  @media (max-width: 767px) {
    .model-container {
      height: 60vh;
    }
    
    
    #controls-ge span {
      display: none !important;
    }
    
    .accordion {
      width: 100%;
    }
    
    .text-section {
      display: none;
    }
    
    .col-sm-4 {
      padding: 0 15px !important;
      overflow-y: auto !important;
      max-height: 100vh !important;
      background: #e7e7e7 !important;
    }
    
    body {
      background: #e7e7e7 !important;
    }
    
    .container-fluid {
      background: #e7e7e7 !important;
    }
    
    .row {
      background: #e7e7e7 !important;
    }
    
    .col-sm-8 {
      background: #e7e7e7 !important;
    }
    
    .size-options {
      grid-template-columns: repeat(2, 1fr);
      gap: 8px;
      padding: 10px 5px;
    }
    
    .size-card {
      padding: 10px 6px;
    }
    
    .size-card h4 {
      font-size: 0.75rem;
      font-weight: 700;
    }
    
    .size-card p {
      font-size: 0.65rem;
    }
    
    .frame-options {
      grid-template-columns: repeat(2, 1fr);
      gap: 8px;
      padding: 10px 5px;
    }
    
    .frame-card {
      padding: 12px 8px;
    }
    
    .frame-card h4 {
      font-size: 0.8rem;
      font-weight: 700;
    }
    
    .frame-card p {
      font-size: 0.65rem;
    }
    
    .steel-options {
      padding: 10px 5px;
      gap: 8px;
    }
    
    .steel-card {
      padding: 12px;
    }
    
    .steel-card h4 {
      font-size: 0.8rem;
    }
    
    .steel-card p {
      font-size: 0.75rem;
    }
    
    /* Mobilde accordion açıldığında background sorununu çöz */
    .accordion-collapse {
      background: #e7e7e7 !important;
    }
    
    .accordion-collapse.show {
      background: #e7e7e7 !important;
    }
    
    .steel-options, .size-options, .frame-options {
      background: #e7e7e7 !important;
    }
    
    .accordion-body {
      background: #e7e7e7 !important;
    }
    
    .accordion-item {
      background: #e7e7e7 !important;
    }
    
    
    #brand-logo {
      width: 100px;
      top: 15px;
      left: 15px;
      max-width: none;
      max-height: none;
    }
    
    #move-camera-button {
      padding: 8px 16px;
      font-size: 0.8rem;
      top: 15px;
      right: 15px;
    }
  }
  @media (min-width: 768px) {
    #controls-ge {
      position: absolute;
      bottom: 16px;
      right: 0;
      max-width: unset;
      transform: unset;
      z-index: 100;
      width: 30%;
      margin-left: -16px;
    }
  }
  @media (min-width: 1024px) {
    #controls-ge {
      position: absolute;
      bottom: 16px;
      right: 0;
      max-width: unset;
      transform: unset;
      z-index: 100;
      width: 25%;
      margin-left: -110px;
    }
  }

@media only screen and (max-width: 500px) {
  .model-container {
    height: 55vh;
  }
  .fordstsmallscreen {
    display: flex !important;
  }
  
  body {
    background: #e7e7e7 !important;
  }
  
  .container-fluid {
    background: #e7e7e7 !important;
  }
  
  .row {
    background: #e7e7e7 !important;
  }
  
  .col-sm-8 {
    background: #e7e7e7 !important;
  }
  
  .col-sm-4 {
    background: #e7e7e7 !important;
  }
  
  #brand-logo {
    width: 80px;
    top: 15px;
    left: 15px;
    max-width: none;
    max-height: none;
  }
  
  #move-camera-button {
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    font-size: 0.75rem;
  }
  
  /* Küçük mobil cihazlarda da accordion background sorununu çöz */
  .accordion-collapse {
    background: #e7e7e7 !important;
  }
  
  .accordion-collapse.show {
    background: #e7e7e7 !important;
  }
  
  .steel-options, .size-options, .frame-options {
    background: #e7e7e7 !important;
  }
  
  .accordion-body {
    background: #e7e7e7 !important;
  }
  
  .accordion-item {
    background: #e7e7e7 !important;
  }
}

.qr-code {
    width: 250px;
    border-radius: 15px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }

.close-popup-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: none;
  background: #757575;
  color: white;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.close-popup-btn:hover {
  transform: rotate(90deg) scale(1.1);
  background: #616161;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#brand-logo {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 120px;
  height: auto;
  z-index: 1000;
  border: none;
  outline: none;
  background: transparent;
  display: block;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  max-width: none;
  max-height: none;
}

#move-camera-button {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 12px 24px;
  background: #e7e7e7;
  color: #000000;
  border: 1px solid #000000;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 10;
}

#move-camera-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  background: #ffffff;
}

#move-camera-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

label {
  position: relative;
  display: inline-block;
}

label::after {
  display: none;
}

label:hover::after {
  display: none;
}

model-viewer {
  overflow: visible !important;
}