* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  background: #f5f5f5;
  line-height: 1.4;
}

/* Ana Görseller */
.main-images {
  max-width: 80%;
  margin: 0 auto;
  display: block;
}

.image-section {
  width: 100%;
  cursor: pointer;
  transition: opacity 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.image-section:hover {
  opacity: 0.95;
}

.main-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Sipariş Bölümü Container */
.order-section {
  background: #f0f0f0;
  padding: 20px;
  min-height: 100vh;
}

.order-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

/* Video Bölümü */
.video-section {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 20px;
}

.video-container {
  padding: 20px;
}

.video-container h3 {
  text-align: center;
  color: #333;
  margin-bottom: 20px;
  font-size: 1.1rem;
  font-weight: bold;
  background: linear-gradient(135deg, #ff6600, #e55a00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-description {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.video-description h4 {
  color: #333;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.video-description ul {
  list-style: none;
  padding: 0;
}

.video-description li {
  padding: 5px 0;
  font-size: 0.85rem;
  color: #555;
}

.video-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.video-btn {
  background: linear-gradient(135deg, #ff6600, #e55a00);
  color: white;
  border: none;
  padding: 12px 15px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-align: left;
}

.video-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

.trust-badges {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8f9fa;
  padding: 12px;
  border-radius: 8px;
  border-left: 4px solid #ff6600;
}

.badge-icon {
  font-size: 1.5rem;
}

.badge-text {
  flex: 1;
}

.badge-text strong {
  color: #ff6600;
  font-size: 1rem;
}

.badge-text small {
  color: #666;
  font-size: 0.8rem;
}

/* Sipariş Formu Container */
.order-form-container {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.order-form {
  width: 100%;
}

/* Form Header */
.form-header {
  background: #4a4a4a;
  color: white;
  padding: 15px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.lock-icon {
  font-size: 1.2rem;
}

.form-header h2 {
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: 2px;
}

/* Ürün Seçimi */
.product-selection {
  padding: 20px;
  border-bottom: 2px solid #ff6600;
}

.product-selection h3 {
  text-align: center;
  color: #333;
  margin-bottom: 20px;
  font-size: 0.9rem;
  font-weight: bold;
}

.product-option {
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-option:hover {
  border-color: #ff6600;
}

.product-option.selected {
  border-color: #ff6600;
  background: #fff5f0;
}

.product-info {
  flex: 1;
}

.quantity {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 5px;
}

.product-name {
  font-size: 1.1rem;
  font-weight: bold;
  color: #ff6600;
  margin-bottom: 5px;
}

.product-desc {
  font-size: 0.8rem;
  color: #666;
}

.price-info {
  text-align: right;
}

.old-price {
  font-size: 0.8rem;
  color: #999;
  text-decoration: line-through;
}

.new-price {
  font-size: 1.3rem;
  font-weight: bold;
  color: #ff6600;
  margin: 5px 0;
}

.free-shipping {
  background: #00cc99;
  color: white;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 0.7rem;
  display: inline-block;
}

/* Ödeme Seçimi */
.payment-section {
  padding: 20px;
  border-bottom: 2px solid #ff6600;
}

.payment-section h3 {
  text-align: center;
  color: #333;
  margin-bottom: 15px;
  font-size: 0.9rem;
  font-weight: bold;
}

.payment-options {
  display: flex;
  gap: 10px;
}

.payment-option {
  flex: 1;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.payment-option:hover {
  border-color: #ff6600;
}

.payment-option.selected {
  border-color: #ff6600;
  background: #fff5f0;
}

.payment-option input[type="radio"] {
  margin: 0;
}

/* İletişim Bilgileri */
.contact-section {
  padding: 20px;
}

.contact-section h3 {
  text-align: center;
  color: #333;
  margin-bottom: 20px;
  font-size: 0.9rem;
  font-weight: bold;
}

.form-row {
  margin-bottom: 15px;
}

.form-group {
  width: 100%;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 0.9rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ff6600;
}

.form-group textarea {
  min-height: 80px;
  resize: vertical;
}

/* Submit Button */
.submit-btn {
  width: 100%;
  background: #ff6600;
  color: white;
  border: none;
  padding: 15px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: 10px;
}

.submit-btn:hover {
  background: #e55a00;
}

.submit-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* Modal stillerini güncelle - mevcut modal stillerini şununla değiştir: */

/* Modal */
.modal {
  position: fixed !important;
  z-index: 99999 !important;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 0;
  border-radius: 20px;
  max-width: 450px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  animation: modalSlideIn 0.4s ease-out;
  border: 3px solid #ff6600;
  z-index: 100000 !important;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-50px) scale(0.9);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.modal-header {
  padding: 25px 30px 20px;
  text-align: center;
  position: relative;
}

.modal-header.success {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
}

.modal-header.error {
  background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%);
  color: white;
}

.modal-icon {
  font-size: 4rem;
  margin-bottom: 15px;
  display: block;
  animation: iconBounce 0.6s ease-out 0.2s both;
}

@keyframes iconBounce {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.modal-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.modal-body {
  padding: 25px 30px;
  text-align: center;
}

.modal-message {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 25px;
  line-height: 1.5;
}

.order-details {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
  border-left: 4px solid #ff6600;
}

.order-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #e9ecef;
}

.order-detail-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
  font-weight: bold;
  font-size: 1.1rem;
  color: #ff6600;
}

.order-detail-label {
  color: #666;
  font-weight: 500;
}

.order-detail-value {
  color: #333;
  font-weight: bold;
}

.modal-footer {
  padding: 20px 30px 30px;
  text-align: center;
}

.modal-btn {
  background: linear-gradient(135deg, #ff6600 0%, #e55a00 100%);
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
  min-width: 120px;
}

.modal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}

.modal-btn:active {
  transform: translateY(0);
}

.close {
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.8);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
}

.close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

/* Loading animation */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
  margin-right: 10px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Success confetti effect */
.confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #ff6600;
  animation: confetti-fall 3s linear infinite;
}

.confetti:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
  background: #28a745;
}

.confetti:nth-child(2) {
  left: 20%;
  animation-delay: 0.5s;
  background: #ffc107;
}

.confetti:nth-child(3) {
  left: 30%;
  animation-delay: 1s;
  background: #17a2b8;
}

.confetti:nth-child(4) {
  left: 40%;
  animation-delay: 1.5s;
  background: #dc3545;
}

.confetti:nth-child(5) {
  left: 50%;
  animation-delay: 2s;
  background: #6f42c1;
}

@keyframes confetti-fall {
  0% {
    transform: translateY(-100vh) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .order-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .video-section {
    position: static;
  }
}

@media (max-width: 768px) {
  .order-section {
    padding: 10px;
  }

  .product-option {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .price-info {
    text-align: center;
  }

  .payment-options {
    flex-direction: column;
  }
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}
