/** @format */
:root {
  --primary: #5ddb5d;
  --primary-hover: #4bc74b;
  --primary-light: rgba(93, 219, 93, 0.1);
  --primary-light-hover: rgba(93, 219, 93, 0.2);
  --secondary: #0a3b0a;
  --dark: #1a1a1a;
  --gray: #6b7280;
  --light-gray: #f8f9fa;
  --white: #ffffff;
  --black: #000000;
  --border: #e5e7eb;
  --radius: 0.75rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --radius-full: 9999px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Adjust for fixed header */
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  color: var(--dark);
  background-color: var(--light-gray);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Text Utilities */
.text-primary {
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
  will-change: transform;
}

.primary-btn {
  background-color: var(--primary);
  color: var(--white);
}

.primary-btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.outline-btn {
  background-color: transparent;
  color: var(--dark);
  border: 1px solid var(--border);
}

.outline-btn:hover {
  background-color: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-btn {
  border-radius: var(--radius-full);
  margin-left: 1rem;
}

.contact-btn i {
  margin-right: 0.5rem;
}

.mobile-contact-btn {
  width: 100%;
  border-radius: var(--radius-full);
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  background-color: var(--primary-light);
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.badge i {
  margin-left: 0.25rem;
  font-size: 0.75rem;
}

/* Header - Improved Navbar */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: var(--transition);
  padding: 0.75rem 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  will-change: transform, opacity;
}

.header.scrolled {
  padding: 0.5rem 0;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.main-nav {
  display: none;
}

.nav-link {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark);
  position: relative;
  margin: 0 0.25rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 70%;
}

.nav-link:hover {
  color: var(--primary);
}

.contact-nav-link {
  background-color: var(--primary);
  color: var(--white);
  padding: 0.5rem 1.5rem;
  margin-left: 0.5rem;
  font-weight: 600;
}

.contact-nav-link:hover {
  background-color: var(--primary-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.contact-nav-link::after {
  display: none;
}

.menu-toggle {
  background: none;
  border: none;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--dark);
  cursor: pointer;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: var(--shadow);
}

/* Modern Mobile Menu Styles */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 340px; /* Genişliği artırdım */
  height: 100vh;
  background-color: var(--white);
  z-index: 200;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  overscroll-behavior: contain;
  border-radius: 0 0 0 20px;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.mobile-menu-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.mobile-menu-header h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark);
}

.close-menu {
  background: none;
  border: none;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--dark);
  cursor: pointer;
  border-radius: var(--radius-full);
  background-color: var(--light-gray);
  transition: var(--transition);
}

.close-menu:hover {
  background-color: var(--primary-light);
  color: var(--primary);
}

.mobile-nav {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem; /* Padding'i artırdım */
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem; /* Boşluğu artırdım */
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  padding: 0.9rem; /* Padding'i artırdım */
  border-radius: var(--radius);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  background-color: var(--white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  font-size: 1rem; /* Font boyutunu artırdım */
}

.mobile-nav-icon {
  width: 2.25rem; /* İkon boyutunu artırdım */
  height: 2.25rem;
  background-color: var(--primary-light);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.9rem; /* Margin'i artırdım */
  color: var(--primary);
  flex-shrink: 0;
}

/* İletişim menü öğesi için özel stil */
.mobile-nav-link-primary {
  background-color: var(--primary);
  color: var(--white);
}

.mobile-nav-link-primary .mobile-nav-icon {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.mobile-nav-link-primary .mobile-nav-arrow {
  color: rgba(255, 255, 255, 0.7);
}

.mobile-nav-link-primary:hover,
.mobile-nav-link-primary:active {
  background-color: var(--primary-hover);
  color: var(--white);
}

.mobile-nav-link-primary:hover .mobile-nav-icon {
  background-color: rgba(255, 255, 255, 0.3);
}

.mobile-nav-arrow {
  margin-left: auto;
  font-size: 0.875rem;
  color: var(--gray);
  transition: var(--transition);
}

.mobile-nav-link:hover .mobile-nav-icon {
  background-color: var(--primary);
  color: var(--white);
}

.mobile-nav-link:hover .mobile-nav-arrow {
  color: var(--primary);
  transform: translateX(4px);
}

.mobile-menu-footer {
  padding: 0.5rem;
  border-top: none; /* Üst çizgiyi kaldır */
  min-height: 20px; /* Minimum yükseklik */
}

.mobile-menu-footer h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark);
}

.mobile-contact-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.mobile-contact-card {
  display: flex;
  align-items: center;
  padding: 1rem;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.mobile-contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.mobile-contact-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--primary-light);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: var(--primary);
  flex-shrink: 0;
}

.mobile-contact-info {
  display: flex;
  flex-direction: column;
}

.mobile-contact-label {
  font-size: 0.75rem;
  color: var(--gray);
}

.mobile-contact-value {
  font-weight: 500;
  color: var(--dark);
}

.mobile-contact-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem;
  margin-top: 0.5rem;
  font-weight: 600;
}

/* Animasyonlar */
@keyframes slideIn {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.mobile-nav-link {
  animation: fadeIn 0.3s forwards;
  animation-delay: calc(var(--index, 0) * 0.05s);
  opacity: 0;
}

.mobile-menu.active .mobile-nav-link:nth-child(1) {
  --index: 1;
}
.mobile-menu.active .mobile-nav-link:nth-child(2) {
  --index: 2;
}
.mobile-menu.active .mobile-nav-link:nth-child(3) {
  --index: 3;
}
.mobile-menu.active .mobile-nav-link:nth-child(4) {
  --index: 4;
}
.mobile-menu.active .mobile-nav-link:nth-child(5) {
  --index: 5;
}

.mobile-menu.active .mobile-contact-card:nth-child(1) {
  animation: fadeIn 0.3s forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

.mobile-menu.active .mobile-contact-card:nth-child(2) {
  animation: fadeIn 0.3s forwards;
  animation-delay: 0.35s;
  opacity: 0;
}

.mobile-menu.active .mobile-contact-btn {
  animation: fadeIn 0.3s forwards;
  animation-delay: 0.4s;
  opacity: 0;
}

.mobile-menu-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
}

/* Hero Section - Enhanced with Banner */
.hero-section {
  position: relative;
  padding: 0;
  overflow: hidden;
  background-color: var(--light-gray);
  margin-top: 3.5rem;
}

.hero-banner {
  position: relative;
  width: 100%;
  height: 90vh;
  min-height: 600px;
  background-image: url("assets/banner.webp");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  will-change: opacity;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
  z-index: 1;
}

.hero-banner .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 600px;
  color: var(--white);
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 32rem;
  margin-bottom: 1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-content .button-group {
  margin-top: 2.5rem;
}

.hero-content .primary-btn {
  padding: 0.875rem 2rem;
  font-size: 1.125rem;
}

.hero-content .outline-btn {
  padding: 0.875rem 2rem;
  font-size: 1.125rem;
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  color: var(--white);
}

.hero-content .outline-btn:hover {
  background-color: var(--white);
  color: var(--dark);
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--gray);
}

/* About Section */
.about-section {
  padding: 5rem 0;
  background-color: var(--white);
}

.about-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.image-wrapper {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-slow);
  will-change: transform;
}

.image-wrapper:hover {
  transform: scale(1.02);
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-accent {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 8rem;
  height: 8rem;
  background-color: var(--primary);
  border-radius: var(--radius-lg);
  transform: rotate(12deg);
  z-index: -1;
}

@media (max-width: 767px) {
  .image-accent {
    width: 5rem;
    height: 5rem;
    bottom: -1rem;
    right: -1rem;
  }
}

/* Adjust for medium-sized devices as well */
@media (min-width: 768px) and (max-width: 1023px) {
  .image-accent {
    width: 6rem;
    height: 6rem;
    bottom: -1.25rem;
    right: -1.25rem;
  }
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-text h3 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark);
}

.about-text p {
  color: var(--gray);
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.check-icon {
  width: 1.5rem;
  height: 1.5rem;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.check-icon i {
  color: var(--primary);
  font-size: 0.75rem;
}

.check-item p {
  color: var(--dark);
}

.vision-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.vision-card,
.mission-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.vision-card h4,
.mission-card h4 {
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.vision-card p,
.mission-card p {
  font-size: 0.875rem;
  color: var(--gray);
}

/* Product Info Section */
.product-info-section {
  padding: 5rem 0;
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.product-info-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

.product-features h3 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--dark);
}

.feature-cards {
  display: grid;
  gap: 1.5rem;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  will-change: transform;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon i {
  color: var(--primary);
  font-size: 1.25rem;
}

.feature-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-content p {
  color: var(--gray);
}

.product-image-circle {
  position: relative;
}

.circle-image {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 1.25rem solid var(--white);
  box-shadow: var(--shadow-lg);
  display: flex;
  justify-content: center;
  align-items: center;
}

.circle-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Usage Areas - Gallery */
.usage-areas {
  margin-top: 5rem;
  text-align: center;
}

.usage-areas h3 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark);
}

.usage-areas p {
  font-size: 1.125rem;
  color: var(--gray);
  max-width: 36rem;
  margin: 0 auto 3rem;
}

.usage-gallery {
  margin-top: 3rem;
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.gallery-slides {
  position: relative;
  height: 600px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  flex-direction: column;
  will-change: opacity;
}

.gallery-slide.active {
  opacity: 1;
  z-index: 1;
}

.gallery-image {
  flex: 1;
  position: relative;
}

.gallery-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  color: var(--white);
  z-index: 2;
  text-align: left;
}

.gallery-content h4 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.gallery-content p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 100%;
  margin: 0;
}

.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
}

.gallery-prev,
.gallery-next {
  background: var(--white);
  border: none;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: var(--transition);
  color: var(--dark);
  will-change: transform;
}

.gallery-prev:hover,
.gallery-next:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.gallery-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 1.5rem;
}

.gallery-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: var(--gray);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.gallery-dot.active {
  background-color: var(--primary);
  transform: scale(1.3);
}

/* Products Section */
.products-section {
  padding: 5rem 0;
  background-color: var(--light-gray);
}

.products-grid {
  display: grid;
  gap: 2rem;
}

.product-card {
  background-color: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  will-change: transform;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  position: relative;
  height: 16rem;
  overflow: hidden;
}

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

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

.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  z-index: 1;
}

.product-image h3 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  z-index: 2;
}

.product-content {
  padding: 1.5rem;
}

.product-content p {
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.check-item.small {
  font-size: 0.875rem;
}

.check-item.small i {
  color: var(--primary);
  margin-right: 0.5rem;
}

/* Certificates Section */
.certificates-section {
  padding: 5rem 0;
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.certificates-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 100%;
  margin: 0 auto;
}

.certificate-card {
  background-color: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  will-change: transform;
}

.certificate-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.certificate-icon {
  width: 4.5rem;
  height: 4.5rem;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.certificate-icon {
  width: 4.5rem;
  height: 4.5rem;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.certificate-icon i {
  font-size: 2rem;
  color: var(--primary);
}

.certificate-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.certificate-card p {
  color: var(--gray);
  font-size: 0.875rem;
}

.certificate-card .btn {
  margin-top: 1rem;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  width: 100%;
  max-width: 200px;
}

.mt-4 {
  margin-top: 1rem;
}

@media (max-width: 767px) {
  .certificates-section {
    padding: 3rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .certificate-card {
    padding: 1.25rem;
  }

  .certificate-card:active {
    transform: scale(0.98);
  }
}

@media (min-width: 768px) {
  .certificates-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .certificate-card .btn {
    width: auto;
  }
}

@media (min-width: 1024px) {
  .certificates-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 72rem;
  }
}

/* Contact Section - Option 3 (Centered Content) */
.contact-section {
  padding: 5rem 0;
  background-color: var(--light-gray);
}

.contact-wrapper-v3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

/* Contact Info */
.contact-info-v3 {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.contact-info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-info-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon i {
  font-size: 1.5rem;
  color: var(--primary);
}

.contact-info-text {
  flex: 1;
}

.contact-info-text h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--secondary);
}

.contact-info-text a {
  display: block;
  color: var(--gray);
  margin-bottom: 0.5rem;
  transition: var(--transition);
  position: relative;
  padding-left: 0;
}

.contact-info-text a:hover {
  color: var(--primary);
  padding-left: 0.5rem;
}

/* Contact CTA Box - Centered */
.contact-cta-box-v3 {
  background: linear-gradient(to right, var(--primary), #4bc74b);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  text-align: center; /* Center all text */
}

/* Centered Header */
.cta-box-header-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.cta-box-icon {
  width: 4rem;
  height: 4rem;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.cta-box-icon i {
  font-size: 2rem;
  color: var(--white);
}

.cta-box-header-centered h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
}

/* Centered Text */
.cta-centered-text {
  font-size: 1.1rem;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 400px;
}

/* Centered Buttons */
.cta-box-buttons-centered {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.cta-box-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  min-width: 200px;
  will-change: transform;
}

.cta-box-button i {
  margin-right: 0.75rem;
}

.phone-button {
  background-color: var(--white);
  color: var(--primary);
}

.phone-button:hover {
  background-color: var(--secondary);
  color: var(--white);
  transform: translateY(-3px);
}

.email-button {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.email-button:hover {
  background-color: var(--white);
  color: var(--primary);
  transform: translateY(-3px);
}

/* New Footer Styles */
.footer {
  background-color: #0a3b0a;
  color: #ffffff;
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.pattern-bg.dark {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background-image: url('path/to/pattern.webp'); */
  opacity: 0.05;
  z-index: 0;
}

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

/* Two-column layout */
.footer-two-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

/* Logo section */
.footer-logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo-container {
  margin-bottom: 1.5rem;
}

.footer-slogan {
  color: rgba(255, 255, 255, 0.7);
  max-width: 400px;
}

/* Contact section */
.footer-contact-section h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-contact-list i {
  color: #5ddb5d;
  margin-top: 0.25rem;
  min-width: 16px;
}

.footer-contact-list span {
  color: rgba(255, 255, 255, 0.7);
}

/* Copyright section */
.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

.footer-netaydijital {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  color: white;
  font-weight: bold;
}

/* Scroll to Top Button */
#scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  background-color: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  will-change: transform, opacity;
}

#scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

#scroll-to-top:hover {
  background-color: var(--primary-hover);
  transform: translateY(-5px);
}

/* Animations */
.animate-fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1s forwards;
  will-change: transform, opacity;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: transform, opacity;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Pattern Background */
.pattern-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background-image: url('path/to/pattern.webp'); */
  opacity: 0.05;
  z-index: 0;
  pointer-events: none;
}

/* Media Queries */
@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 3.5rem;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-wrapper-v3 {
    grid-template-columns: 1fr 1fr;
  }

  .cta-box-buttons-centered {
    flex-direction: row;
  }

  .certificates-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 48rem;
  }

  .footer-two-columns {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .menu-toggle {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-info-grid {
    grid-template-columns: 1fr 1fr;
  }

  .certificates-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 72rem;
  }

  #year-count {
    font-weight: 800;
    margin-right: 0.25rem;
    position: relative;
    display: inline-block;
  }

  #year-count::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
  }

  #year-count.highlight::after {
    transform: scaleX(1);
  }

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

  #year-count.pulse {
    animation: pulse 0.5s ease;
  }
}

/* Print styles */
@media print {
  .header,
  .mobile-menu,
  .mobile-menu-backdrop,
  #scroll-to-top,
  .gallery-controls,
  .button-group {
    display: none !important;
  }

  .hero-section {
    margin-top: 0;
  }

  body {
    background-color: white;
    color: black;
  }

  .container {
    width: 100%;
    max-width: none;
  }
}

/* Mobile Gallery Optimization */
@media (max-width: 767px) {
  .gallery-slides {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .gallery-slide {
    position: relative;
    display: none;
    height: 100%;
  }

  .gallery-slide.active {
    display: block;
    opacity: 1;
  }

  .gallery-image {
    height: 100%;
  }

  .gallery-content {
    padding: 1rem;
  }

  .gallery-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }

  .gallery-content p {
    font-size: 0.875rem;
  }

  .gallery-controls {
    margin-top: 1rem;
  }

  .gallery-prev,
  .gallery-next {
    width: 2.5rem;
    height: 2.5rem;
  }
}

/* Mobile-only image between sections */
.mobile-only-image {
  display: none;
}

@media (max-width: 1023px) {
  .mobile-only-image {
    display: block;
    margin: 2rem auto;
    position: relative;
    z-index: 1;
    border-radius: 50%;
    overflow: hidden;
    border: 1.25rem solid var(--white);
    box-shadow: var(--shadow-lg);
    max-width: 100%; /* Ekran küçükse taşmayı önlemek için */
  }

  .mobile-only-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Hide the image in the circle on mobile */
  .product-image-circle {
    display: none;
  }
}

/* Ürün resimlerine tıklanabilir imleç ekle */
.product-image {
  cursor: pointer;
}

/* Lightbox Modal Stilleri */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: opacity 0.4s ease;
}

.lightbox-content {
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
  max-width: 900px;
  position: relative;
}

#lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius);
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.7);
  animation: zoom 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.lightbox-close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 24px;
  transition: 0.4s ease;
  border-radius: 0 5px 5px 0;
  user-select: none;
  -webkit-user-select: none;
  background-color: rgba(0, 0, 0, 0.3);
  display: none; /* Initially hidden, JS will show them */
}

.lightbox-prev {
  left: 0;
  border-radius: 5px 0 0 5px;
}

.lightbox-next {
  right: 0;
  border-radius: 0 5px 5px 0;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

#lightbox-caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: auto; /* Adjusted for potentially longer captions */
  min-height: 30px; /* Ensure some space even if caption is short */
  font-size: 1.2rem;
  margin-top: 15px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .lightbox-prev,
  .lightbox-next {
    font-size: 18px;
    padding: 12px;
  }
  #lightbox-caption {
    font-size: 1rem;
  }
  .lightbox-content {
    width: 95%;
  }
  #lightbox-img {
    max-height: 75vh;
  }
}
