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

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  background: #ffffff;
  padding: 1rem 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #e9ecef;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-img {
  height: 50px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.main-nav a {
  color: #2c3e50;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.main-nav a:hover {
  color: #3498db;
  transform: translateY(-2px);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #3498db;
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.language-selector {
  display: flex;
  gap: 5px;
}

.lang-btn {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  color: #2c3e50;
  padding: 8px 15px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-btn .flag {
  width: 20px;
  height: 15px;
  display: inline-block;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.flag-icon {
  display: inline-block;
  width: 1.333em;
  height: 1em;
  background-size: contain;
  background-position: 50%;
  background-repeat: no-repeat;
  vertical-align: middle;
}

.lang-btn.active,
.lang-btn:hover {
  background: #3498db;
  color: white;
  border-color: #3498db;
  transform: scale(1.05);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #2c3e50;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.mobile-menu-btn:hover {
  color: #3498db;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #4a90a4 0%, #7bb3c0 100%);
  height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
}

.slide-content {
  display: flex;
  align-items: center;
  min-height: 100vh;
  position: relative;
  z-index: 2;
}

.hero-text {
  flex: 1;
  color: white;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: float 3s ease-in-out infinite;
}

.hero-text p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  opacity: 0.95;
}

.cta-btn {
  background: #3498db;
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(52, 152, 219, 0.3);
}

.cta-btn:hover {
  background: #2980b9;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(52, 152, 219, 0.4);
}

.hero-image {
  flex: 1;
  position: relative;
  height: 400px;
}

.floating-element {
  position: absolute;
  font-size: 3rem;
  animation: float 3s ease-in-out infinite;
}

.floating-element:nth-child(1) {
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.floating-element:nth-child(2) {
  top: 60%;
  right: 20%;
  animation-delay: 1s;
}

.floating-element:nth-child(3) {
  bottom: 20%;
  left: 50%;
  animation-delay: 2s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Features Section */
.features {
  padding: 80px 0;
  background: #f8f9fa;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  background: #3498db;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 2rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.feature-card p {
  color: #666;
  line-height: 1.6;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 3rem;
  background: linear-gradient(45deg, #4a90a4, #7bb3c0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* Products Section */
.products {
  padding: 80px 0;
  background: #ffffff;
  position: relative;
}

.products::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://images.unsplash.com/photo-1548199973-03cce0bbc87b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  z-index: 0;
}

.products .container {
  position: relative;
  z-index: 1;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.product-image {
  position: relative;
  overflow: hidden;
  height: 350px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  z-index: 2;
  pointer-events: none;
}

.product-info {
  padding: 1.5rem;
}

.product-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #333;
  font-weight: 600;
}

.brand {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ff6b6b;
  margin-bottom: 1rem;
}

.view-product {
  width: 100%;
  background: #3498db;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.view-product:hover {
  background: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* About Section */
.about {
  padding: 80px 0;
  background: #2c3e50;
  color: white;
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #3498db;
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.8;
}

.about-features {
  list-style: none;
}

.about-features li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.about-features i {
  color: #3498db;
  margin-right: 1rem;
  font-size: 1.2rem;
}

.about-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.about-card i {
  font-size: 3rem;
  color: #3498db;
  margin-bottom: 1rem;
}

.about-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Newsletter Section */
.newsletter {
  padding: 80px 0;
  background: #f8f9fa;
  text-align: center;
}

.newsletter-content h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.newsletter-content p {
  color: #6c757d;
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Footer */
.footer {
  background: #2c3e50;
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-logo i {
  color: #3498db;
  font-size: 2rem;
}

.footer-section h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #3498db;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
  cursor: pointer;
}

.footer-section ul li a:hover {
  color: #3498db;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #3498db;
  color: white;
  transform: scale(1.1);
}

.contact-info p {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.contact-info i {
  margin-right: 10px;
  color: #3498db;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.payment-methods {
  display: flex;
  gap: 1rem;
  font-size: 1.5rem;
}

.payment-methods i {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}

.payment-methods i:hover {
  color: #3498db;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-wrapper {
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    font-size: 18px; /* Logo küçült */
  }

  .logo i {
    font-size: 16px; /* İkon küçült */
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .language-selector {
    display: flex;
    gap: 4px; /* Butonlar arası mesafe */
  }

  .lang-btn {
    padding: 4px 6px; /* Daha kompakt */
    font-size: 11px;
    min-width: auto;
    border-radius: 4px;
  }

  .flag {
    width: 14px; /* Bayrak küçült */
    height: 10px;
    margin-right: 2px; /* Mesafe azalt */
  }

  .main-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text p {
    font-size: 1.1rem;
    padding: 0 1rem;
  }

  .hero-text {
    padding: 0 1rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .section-title {
    font-size: 2rem;
  }

  .categories-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .feature-card,
  .category-card,
  .product-card {
    margin: 0 10px;
  }

  .container {
    padding: 0 15px;
  }
}

/* Slider Controls */
.slider-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 10;
  transform: translateY(-50%);
}

.slider-btn {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #333;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.slider-btn:hover {
  background: #ffe66d;
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
  background: #ffe66d;
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(255, 230, 109, 0.5);
}

/* Slide Animation */
.hero-slider {
  height: 100vh;
  width: 100%;
  position: relative;
}

.slide {
  height: 100vh;
  width: 100%;
  display: none;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
}

.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.slide-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.slide.active {
  display: flex;
}

.flag {
  display: inline-block;
  width: 24px;
  height: 18px;
  background-size: cover;
  vertical-align: middle;
  margin-right: 4px;
}
.flag.tr {
  background-image: url('flags/tr.svg.png');
}
.flag.gb {
  background-image: url('flags/gb.svg.png');
}
.flag.es {
  background-image: url('flags/es.svg.png');
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: #ffffff;
  margin: 5% auto;
  padding: 0;
  border: none;
  border-radius: 12px;
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
}

.close,
.close-certificate {
  color: white;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s ease;
}

.close:hover,
.close:focus,
.close-certificate:hover,
.close-certificate:focus {
  color: #f1c40f;
  text-decoration: none;
}

.modal-body {
  padding: 30px;
  max-height: 60vh;
  overflow-y: auto;
  line-height: 1.6;
}

.modal-body p {
  color: #2c3e50;
  font-size: 16px;
  margin: 0;
  text-align: justify;
}

/* Certificate Modal Specific Styles */
#certificateModal .modal-content {
  max-width: 900px;
  width: 95%;
  max-height: 90vh;
}

.certificate-pdf-container {
  margin-top: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.certificate-pdf-container iframe {
  width: 100%;
  min-height: 500px;
  border: none;
  border-radius: 10px;
}

/* Contact Section */
.contact-section {
  background:
    linear-gradient(135deg, rgba(74, 144, 164, 0.9), rgba(123, 179, 192, 0.9)),
    url('https://images.unsplash.com/photo-1548199973-03cce0bbc87b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80')
      center/cover;
  padding: 80px 0;
  text-align: center;
  color: white;
}

.contact-cta h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-cta p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.contact-btn {
  background: linear-gradient(135deg, #fff, #f8f9fa);
  color: #4a90a4;
  border: none;
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #f8f9fa, #fff);
}

.contact-btn i {
  font-size: 1.2rem;
}

/* Contact Modal */
.contact-modal .modal-content {
  max-width: 600px;
  width: 95%;
}

.contact-modal-content {
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.95),
      rgba(248, 249, 250, 0.95)
    ),
    url('https://images.unsplash.com/photo-1587300003388-59208cc962cb?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80')
      center/cover;
  backdrop-filter: blur(10px);
}

.contact-modal-header {
  background: linear-gradient(135deg, #4a90a4 0%, #7bb3c0 100%);
  color: white;
  padding: 25px 30px;
  border-radius: 20px 20px 0 0;
}

.contact-modal-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
}

.close-contact {
  color: rgba(255, 255, 255, 0.8);
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s ease;
}

.close-contact:hover {
  color: white;
}

.contact-modal-body {
  padding: 30px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 8px;
  font-size: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e6ed;
  border-radius: 8px;
  font-size: 16px;
  outline: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.9);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #4a90a4;
  background: white;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

.contact-submit-btn {
  width: 100%;
  padding: 15px 30px;
  background: linear-gradient(135deg, #4a90a4 0%, #7bb3c0 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.contact-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .contact-cta h2 {
    font-size: 2rem;
  }

  .contact-btn {
    padding: 16px 30px;
    font-size: 1rem;
  }

  .contact-modal-body {
    padding: 20px;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 10px 12px;
    font-size: 14px;
  }

  .contact-submit-btn {
    padding: 12px 24px;
    font-size: 14px;
  }
}

/* Responsive Modal */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 10% auto;
    max-height: 70vh;
  }

  .modal-header {
    padding: 15px 20px;
  }

  .modal-header h2 {
    font-size: 20px;
  }

  .modal-body {
    padding: 20px;
  }

  .modal-body p {
    font-size: 14px;
  }
}

/* Floating Buttons */
.floating-buttons {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}

.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  color: white;
}

.scroll-top-btn {
  background: linear-gradient(135deg, #3498db, #2980b9);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: linear-gradient(135deg, #2980b9, #1f5e8a);
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(52, 152, 219, 0.4);
}

.whatsapp-btn {
  background: linear-gradient(135deg, #25d366, #128c7e);
  animation: whatsappPulse 2s infinite;
}

.whatsapp-btn:hover {
  background: linear-gradient(135deg, #128c7e, #0f7469);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
  animation: none;
}

@keyframes whatsappPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Mobile Responsive for Floating Buttons */
@media (max-width: 768px) {
  .floating-buttons {
    right: 15px;
    bottom: 15px;
    gap: 12px;
  }

  .floating-btn {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .floating-buttons {
    right: 10px;
    bottom: 10px;
    gap: 10px;
  }

  .floating-btn {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
}

/* Certificates Modal Styles */
#certificatesModal .modal-content {
  max-width: 800px;
  width: 95%;
  max-height: 90vh;
}

.certificate-image-container {
  text-align: center;
  padding: 20px 0;
}

.certificate-image-container img {
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.certificate-image-container img:hover {
  transform: scale(1.02);
}

.close-certificates {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-certificates:hover,
.close-certificates:focus {
  color: #000;
}

/* Certificate Modal Link Styles */
.certificate-modal-link {
  transition: all 0.3s ease;
  position: relative;
}

.certificate-modal-link:hover {
  color: #4a90a4 !important;
  transform: translateX(5px);
}

.certificate-modal-link::after {
  content: '📄';
  margin-left: 5px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.certificate-modal-link:hover::after {
  opacity: 1;
}

/* Mobile Responsive for Certificates */
/* Mobile Navigation */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 70px;
    right: -300px;
    width: 300px;
    height: calc(100vh - 70px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    transition: right 0.3s ease;
    z-index: 999;
    border-left: 1px solid #e9ecef;
  }

  .main-nav.active {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 2rem 0;
    height: 100%;
  }

  .main-nav li {
    width: 100%;
  }

  .main-nav a {
    display: block;
    padding: 1rem 2rem;
    border-bottom: 1px solid #f8f9fa;
    transition: all 0.3s ease;
  }

  .main-nav a:hover {
    background: #f8f9fa;
    transform: translateX(5px);
  }

  /* Language selector mobile adjustments */
  .language-selector {
    padding: 1rem;
    border-top: 1px solid #e9ecef;
    margin-top: auto;
  }
}

@media (max-width: 768px) {
  #certificatesModal .modal-content {
    width: 98%;
    margin: 10px;
  }

  .certificate-image-container img {
    max-height: 60vh;
  }

  #certificatesModal .modal-header h2 {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  #certificatesModal .modal-content {
    width: 100%;
    margin: 5px;
  }

  .certificate-image-container img {
    max-height: 50vh;
  }

  #certificatesModal .modal-header h2 {
    font-size: 1.2rem;
  }
}

/* Floating Buttons */
.floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  color: white;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: scale(0);
}

.floating-btn.show {
  opacity: 1;
  transform: scale(1);
}

.scroll-top-btn {
  background: linear-gradient(135deg, #4a90a4 0%, #7bb3c0 100%);
}

.scroll-top-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(74, 144, 164, 0.4);
}

.whatsapp-btn {
  background: #25d366;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Flag Styles */
.flag.tr {
  background-image: url('flags/tr.svg');
}

.flag.gb {
  background-image: url('flags/gb.svg');
}

.flag.es {
  background-image: url('flags/es.svg');
}
