/* Genel stil */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f9f9f9;
  color: #212121;
}

/* Banner kısmı */
.site-header {
  background: linear-gradient(135deg, #F5F3EA, #D4AF37);
  padding: 40px 20px;
  color: #fff;
  position: relative;
  text-align: center;
}



.contact-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95em;
}

.top-link {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.divider {
  margin: 0 5px;
  opacity: 0.5;
}

.lang-btn {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 4px 10px;
  border-radius: 5px;
  cursor: pointer;
}

.hero h1 {
  font-size: 3.2em;
  margin-bottom: 10px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.2em;
  opacity: 0.9;
  margin-bottom: 20px;
}

.cta-buttons .btn {
  background: #fff;
  color: #333;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  margin: 5px;
  transition: 0.3s;
}

.cta-buttons .btn:hover {
  background-color: #3b4769;
  color: #fff;
}

.btn-light {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.btn-light:hover {
  background: #fff;
  color: #333;
}


.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.hero-text h1 {
  font-size: 4.5em; /* Başlık boyutunu büyütüyoruz */
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: 2px;
}

.hero-text p {
  font-size: 1.6em; /* Açıklama metnini büyütüyoruz */
  margin-bottom: 30px;
  font-weight: 400;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.cta-buttons .btn {
  padding: 15px 30px;
  background-color: transparent;
  color: #333;
  font-size: 1.2em;
  font-weight: bold;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  border: 2px solid #fff;
}

.cta-buttons .btn:hover {
  background-color: #D4AF37;
  color: #fff;
}

.cta-buttons .btn-light {
  background-color: transparent;
  border: 2px solid #fff;
}

.cta-buttons .btn-light:hover {
  background-color: #D4AF37;
  color: #333;
}


.navbar {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
}

.navbar a {
  color: #fff;
  margin-right: 30px;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
}
/*hoşgeldiniz*/
.welcome-section {
  color: #333; /* Soft pastel geçiş */
  padding: 100px 20px;
  text-align: center;
  color: #333;
}

.welcome-content {
  max-width: 700px;
  margin: 0 auto;
  animation: fadeIn 1.2s ease-in-out;
}

.welcome-content h2 {
  font-size: 3em;
  margin-bottom: 20px;
  color: #b57f00;
}

.welcome-content p {
  font-size: 1.2em;
  line-height: 1.8;
  color: #555;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  font-size: 1rem;
  background-color: #1976D2;
  color: white;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.btn:hover {
  background-color: #1976D2;
  transform: translateY(-3px);
}

/* Animasyon */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
   border-top: 2px solid #ececec;
}

h2 {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: #333;
}

.product-gallery {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.product-item {
  background-color: #fff;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  overflow: hidden;
  width: 45%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.product-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.product-info {
  padding: 15px;
  text-align: center;
}

.product-info h3 {
  font-size: 1.6em;
  margin: 10px 0;
}

.product-info p {
  color: #e67e22;
  font-weight: bold;
}

/*hakkımız*/
.about-section {
  background-color: #f9f9f9;
}

.about-container {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

.about-text {
  flex: 1 1 500px;
  line-height: 1.8;
  font-size: 1rem;
  color: #333;
}

.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #1976D2;
}

.about-text p {
  margin-bottom: 16px;
}

.about-points {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.about-points li {
  margin-bottom: 8px;
  font-weight: 500;
  color: #444;
}

.about-image {
  flex: 1 1 400px;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* Mobil uyum */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    flex: unset;
  }

  .about-image {
    margin-top: 30px;
  }
}

.faq-section {
  background-color: #f9f9f9;
  padding: 60px 20px;
  border-top: 2px solid #ececec;
}

.faq-section h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
  font-weight: 700;
  color: #1a1a1a;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  cursor: pointer;
  transition: background 0.3s;
}

.faq-question:hover {
  background-color: #f0f0f0;
}

.faq-question h4 {
  font-size: 1.05rem;
  margin: 0;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #333;
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1976D2;
  transition: transform 0.3s;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  padding: 0 24px;
}

.faq-answer.open {
  max-height: 400px;
  opacity: 1;
  padding-bottom: 16px;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* CTA alt kısmı */
.faq-cta {
  text-align: center;
  margin-top: 40px;
}

.faq-cta p {
  font-size: 1rem;
  margin-bottom: 10px;
}

.faq-cta .btn {
  padding: 10px 20px;
  background: linear-gradient(135deg, #F5F3EA, #D4AF37);
  color: white;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.faq-cta .btn:hover {
  background: #1a237e;
}


/* Neden YMN Solutions - Kartlar */
#why-ymn .services {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

#why-ymn .service-card {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

#why-ymn .service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

#why-ymn .service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #0a0a0a;
}

#why-ymn .service-card p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}

/* Mobil uyumluluk */
@media screen and (max-width: 768px) {
  #why-ymn .service-card {
    width: 100%;
  }
}

.review-item {
  background-color: #fafafa;
  padding: 25px;
  border-left: 4px solid #ffd700;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  font-style: italic;
  font-size: 1.1em;
  line-height: 1.6;
  position: relative;
  padding-left: 90px;
}

.review-photo {
  position: absolute;
  top: 25px;
  left: 25px;
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #ffd700;
}
/* Header ayarları */
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 30px;
  height: 120px;
  overflow: hidden;
}

/* Logo büyük ve orantılı olacak şekilde ayarlanır */
.logo {
  width: 25vw;           /* Ekran genişliğinin %20'si */
  max-width: 350px;      /* En fazla 300px */
  height: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .logo {
    max-height: 60px;
  }

  .header-top {
    height: 80px;
    padding: 10px 20px;
  }
}
/*sponsor*/
  .sponsor-marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100px;
  margin: 20px 0;
}
.sponsor-track {
  display: flex;
  width: max-content;
  animation: scrollLeft 30s linear infinite;
  animation-play-state: running;
}
.sponsor-track img {
  height: 80px;
  margin: 0 20px;
  object-fit: contain;
}
@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 600px;
  margin: auto;
  background-color: #fff;
  color: #333;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  padding: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: 'Poppins', sans-serif;
}

.cookie-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cookie-icon {
  width: 48px;
  height: 48px;
}

.cookie-banner p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.cookie-banner a {
  color: #007BFF;
  text-decoration: underline;
}

.cookie-btn {
  align-self: flex-end;
  padding: 8px 16px;
  background: linear-gradient(135deg, #F5F3EA, #D4AF37);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.cookie-btn:hover {
  background-color: #45a049;
}

.cookie-banner.hidden {
  display: none;
}


.btn {
  transition: all 0.3s ease;
  transform: translateZ(0);
}

.btn:hover {
  background-color: #0056b3;
  color: #fff;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  transform: scale(1.03);
}
.btn-light:hover {
  background-color: #f0f0f0;
  color: #333;
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Karanlık modu tetikleyen class */
.dark-mode {
  background-color: #121212;
  color: #f5f5f5;
}

/* Genel element temaları */
.dark-mode .section-padding,
.dark-mode header,
.dark-mode footer,
.dark-mode .faq-section,
.dark-mode .custom-chat-box {
  background-color: #1e1e1e !important;
  color: #f5f5f5 !important;
}

.dark-mode h1,
.dark-mode h2,
.dark-mode h3,
.dark-mode p,
.dark-mode a {
  color: #f0f0f0 !important;
}

.dark-mode .btn,
.dark-mode .btn-light {
  background-color: #333;
  color: #fff;
  border: 1px solid #555;
}

.dark-toggle {
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  margin-left: 8px;
  color: #333;
}

/* Varsayılan olarak gizli tut */
.mobile-bottom-bar {
  display: none !important;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-color: #ffffff;
  border-top: 1px solid #ccc;
  justify-content: space-around;
  align-items: center;
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

/* Sadece mobilde göster */
@media (max-width: 768px) {
  .mobile-bottom-bar {
    display: flex !important;
  }
}

.mobile-bottom-bar a {
  text-align: center;
  color: #333;
  text-decoration: none;
  font-size: 18px;
  font-family: 'Poppins', sans-serif;
  flex: 1;
}

.mobile-bottom-bar a small {
  display: block;
  font-size: 11px;
  margin-top: 2px;
}
/* Preloader arka plan */
#preloader {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Dairesel animasyon */
.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #ccc;
  border-top: 6px solid #1976D2;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Dönme animasyonu */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease;
}
/*memnuniyet*/
.stats-section {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: #f9f9f9;
  padding: 80px 20px;
  flex-wrap: wrap;
  text-align: center;
}

.stat {
  margin: 20px;
}

.stat-number {
  font-size: 3rem;
  font-weight: bold;
  color: #1976D2;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.stat-label {
  font-size: 1.2rem;
  color: #333;
}


.top-marquee {
  position: fixed;
  top: 0;
  width: 100%;
 background: linear-gradient(135deg, #F5F3EA, #D4AF37);
  color: rgb(7, 7, 7);
  font-size: 14px;
  font-weight: 500;
  z-index: 10000;
  overflow: hidden;
  padding: 10px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.marquee-inner {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: marquee 15s linear infinite;
}

.top-marquee:hover .marquee-inner {
  animation-play-state: paused;
}

@keyframes marquee {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%);
  }
}
.cta-button {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: linear-gradient(135deg, #F5F3EA, #D4AF37);
  color: white;
  padding: 14px 20px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 8px 24px rgba(0, 123, 255, 0.25);
  text-decoration: none;
  z-index: 9999;
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 123, 255, 0.35);
}

/* Mobilde biraz daha küçük */
@media (max-width: 600px) {
  .cta-button {
    padding: 12px 18px;
    font-size: 13px;
    bottom: 20px;
    right: 20px;
  }
}

.divider {
  margin: 0 8px;
  color: #fff;
  font-weight: bold;
}


/*quiz*/
.quiz-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}

.hidden {
  display: none !important;
}


.quiz-modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 40px;
  border-radius: 16px;
  width: 90%;
  max-width: 720px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.4s ease-out;
  font-family: 'Poppins', sans-serif;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.close-modal {
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 28px;
  color: #333;
  cursor: pointer;
}

.form-title {
  text-align: center;
  margin-bottom: 24px;
  font-size: 1.8rem;
  color: #222;
}

.quiz-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.quiz-question label {
  font-weight: 600;
  font-size: 1rem;
  color: #444;
  display: block;
  margin-bottom: 10px;
}

.option-group label {
  display: block;
  margin: 6px 0;
  font-weight: 500;
  color: #555;
}

.quiz-form input[type="radio"],
.quiz-form input[type="checkbox"] {
  accent-color: #007bff;
  margin-right: 8px;
}

.btn-primary {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.btn-primary:hover {
  background-color: #253a50;
}

.quiz-result {
  background: #049404;
  padding: 16px;
  border-left: 6px solid #28a745;
  border-radius: 10px;
  font-size: 1rem;
  color: #225c22;
}

/** footer*/
.footer-modern {
  background: linear-gradient(135deg, #F5F3EA, #D4AF37);
  padding: 40px 20px;
  font-family: 'Poppins', sans-serif;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-box h4 {
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.footer-box p,
.footer-box ul,
.footer-box a {
  font-size: 0.95rem;
  color: #fff;
  text-decoration: none;
}

.footer-box ul {
  list-style: none;
  padding: 0;
}

.footer-box ul li {
  margin-bottom: 8px;
}

.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-icons img {
  width: 28px;
  height: 28px;
  transition: transform 0.3s;
}

.social-icons img:hover {
  transform: scale(1.1);
}

.qr-box {
  text-align: center;
  margin-top: 10px;
}

.qr-image {
  width: 80px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.qr-box p {
  font-size: 0.8rem;
  color: #fff;
  margin-top: 4px;
}

.newsletter-form label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: #fff;
}

.newsletter-input {
  display: flex;
  gap: 8px;
}

.newsletter-input input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.9rem;
}

.newsletter-input button {
  padding: 8px 12px;
  background: linear-gradient(135deg, #F5F3EA, #D4AF37);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
}

.newsletter-input button:hover {
  background-color: #555;
}

.feedback-buttons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.feedback-buttons button {
  flex: 1;
  padding: 6px;
  background: linear-gradient(135deg, #F5F3EA, #D4AF37);
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.feedback-buttons button:hover {
  background-color: #ddd;
}

.security-badges {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.security-badges img {
  height: 32px;
  width: auto;
}

.footer-bottom-line {
  text-align: center;
  font-size: 0.85rem;
  padding-top: 20px;
  border-top: 1px solid #ddd;
  margin-top: 30px;
}



/*navigation bar*/
.main-nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  align-items: center;
}

.main-nav a {
  text-decoration: none;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  position: relative;
  transition: all 0.3s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: white;
  transition: width 0.3s;
}

.main-nav a:hover::after {
  width: 100%;
}


