/* ==================== CSS RESET & VARIABLES ==================== */
:root {
  --primary: #004a99;
  --dark: #1a1a1a;
  --light: #f8f9fa;
  --white: #ffffff;
  --gray: #888;
  --gray-light: #ddd;
  --gray-lighter: #f0f0f0;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
  --bezier: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html,
body {
  height: 100%;
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
}

body {
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

body:not(:has(.slider-container)) {
  padding-top: 110px;
}

main,
.content-container,
.page-content {
  flex: 1;
}

/* ==================== HEADER & NAVIGATION ==================== */
header {
  background: #fff;
  height: 110px; /* 90px'den 110px'e çıkarıldı */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  box-shadow: var(--shadow);
}

.logo {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
  order: 1;
}

/* ==================== LOGO & SLOGAN ==================== */
.logo-container {
  flex-direction: row;
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-tagline {
  font-size: 18px;
  color: var(--primary);
  font-weight: 700;
  white-space: nowrap;
}

.logo-tagline-wrapper,
.logo-tagline {
  order: 2;
}

@media (max-width: 1200px) {
  .logo-tagline {
    font-size: 16px;
  }
  .logo-container {
    gap: 12px;
  }
}

@media (max-width: 991px) {
  .logo-container {
    gap: 14px;
  }
  .logo-tagline {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .logo img {
    height: 60px !important; /* Logoyu küçülten kısım */
  }
  .logo-tagline {
    font-size: 14px;
  }
  .logo-container {
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .logo-tagline {
    font-size: 14px;
  }
  .logo-container {
    gap: 6px;
  }
}

@media (max-width: 360px) {
  .logo-tagline {
    font-size: 14px;
  }
  .logo-container {
    gap: 5px;
  }
}

/* ==================== LOGO & SLOGAN ==================== */

nav > ul {
  display: flex;
  list-style: none;
  height: 100%;
  align-items: center;
}

nav > ul > li > a {
  padding: 0 25px;
  font-weight: 600;
  font-size: 17px;
  height: 100%;
  display: flex;
  align-items: center;
  color: var(--dark);
  text-decoration: none;
  transition: color 0.3s;
}

nav > ul > li > a:hover {
  color: var(--primary);
}

/* MEGA MENU */
.mega-menu {
  position: fixed;
  top: 110px;
  left: 0;
  width: 100vw;
  height: calc(100vh - 110px);
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  padding: 30px 3%;
  gap: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.4s var(--bezier);
  overflow-y: auto;
  z-index: 9999;
}

.dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-col {
  min-width: 0;
  overflow-x: hidden;
}

.mega-col h3 {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--primary);
  padding-bottom: 6px;
  border-bottom: 2px solid var(--primary);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}

.mega-col ul {
  list-style: none;
  margin-bottom: 15px;
}

.mega-col ul li a {
  display: block;
  padding: 5px 0;
  color: #555;
  text-decoration: none;
  font-size: 12px;
  transition: color 0.3s;
  line-height: 1.4;
  word-wrap: break-word;
}

.mega-col ul li a:hover {
  color: var(--primary);
  font-weight: 600;
}

.sub-cat-title {
  font-weight: 800;
  font-size: 11px;
  display: block;
  margin-top: 10px;
  margin-bottom: 6px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sub-cat-title:first-child {
  margin-top: 0;
}

/* DROPDOWN & LANGUAGE SWITCHER */
.dropdown {
  position: relative;
}

.lang-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  min-width: 150px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  padding: 8px 0;
  z-index: 1000;
}

.lang-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 15px !important;
  color: var(--dark) !important;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.2s;
}

.dropdown-menu li a:hover {
  background: var(--light);
  color: var(--primary) !important;
}

.flag-icon {
  width: 20px;
  height: auto;
  border-radius: 2px;
}

/* ==================== MOBILE MENU ==================== */
.mobile-menu-icon {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--dark);
  z-index: 10001;
  background: none;
  border: none;
  padding: 5px 10px;
}

@media (max-width: 991px) {
  .mobile-menu-icon {
    display: block;
  }

  #main-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 10000;
    overflow-y: auto;
    padding: 120px 20px 40px 20px;
  }

  #main-nav.active {
    display: block;
  }

  nav > ul {
    flex-direction: column;
    height: auto;
  }

  nav > ul > li {
    width: 100%;
    border-bottom: 1px solid var(--gray-lighter);
  }

  nav > ul > li > a {
    padding: 15px 0;
    height: auto;
    font-size: 18px;
    justify-content: space-between;
  }

  .mega-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    width: 100%;
    height: auto;
    grid-template-columns: 1fr;
    padding: 10px 0 20px 15px;
    box-shadow: none;
    gap: 0;
  }

  .dropdown.open .mega-menu {
    display: block;
  }

  .mega-col {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray-lighter);
  }

  .mega-col:last-child {
    border-bottom: none;
  }

  .mega-col h3 {
    position: static;
  }
}

/* ==================== SLIDER/HERO SECTION ==================== */
/* SLIDER - TAM ÇÖZÜM */
.slider-container {
  position: relative;
  width: 100%;
  margin-top: 110px;
  background: var(--dark);
}

.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
  top: 0;
  left: 0;
}

.slide.active {
  opacity: 1;
  z-index: 2;
  position: relative; /* SADECE ACTIVE SLIDE RELATIVE */
}

.slide-bg {
  width: 100%;
}

.slide-bg img {
  width: 100%;
  height: auto;
  display: block;
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  color: white;
  z-index: 5;
  max-width: 600px;
}

.slide-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-content p {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  border: none;
  padding: 20px 25px;
  cursor: pointer;
  z-index: 10;
  font-size: 28px;
  transition: background-color 0.3s;
}

.prev:hover,
.next:hover {
  background: rgba(0, 0, 0, 0.6);
}

.prev {
  left: 0;
}

.next {
  right: 0;
}

.dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

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

.dot.active {
  background: var(--primary);
  width: 30px;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .slider-container {
    margin-top: 70px;
    height: calc(100vh - 70px);
    min-height: 320px;
    max-height: 500px;
  }

  .slide-content h1 {
    font-size: 2rem;
  }

  .slide-content p {
    font-size: 1rem;
  }

  .prev,
  .next {
    padding: 15px 20px;
    font-size: 20px;
  }
}

/* ==================== MAIN CONTENT ==================== */
.content-container,
.info-section {
  flex: 1;
  padding: 80px 5%;
  max-width: 100%;
  position: relative;
}

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

/* ==================== INFO SECTION ==================== */
.info-section {
  background-color: #fff;
  padding: 80px 5%;
  position: relative;
  clear: both;
}

.info-section .container {
  max-width: 1100px;
}

.info-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.info-row.reverse {
  flex-direction: row-reverse;
}

.info-text {
  flex: 1;
  max-width: 500px;
}

.info-text h2 {
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 20px;
  font-weight: 800;
}

.info-text p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 15px;
}

.info-image {
  flex: 1;
  max-width: 450px;
}

.info-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s ease;
}

.info-image img:hover {
  transform: translateY(-10px);
}

@media (max-width: 992px) {
  .info-row,
  .info-row.reverse {
    flex-direction: column;
    gap: 40px;
    margin-bottom: 60px;
  }

  .info-text h2 {
    font-size: 24px;
  }

  .info-text p {
    font-size: 15px;
  }
}

/* ==================== SERVICES ==================== */
.service-block {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--gray-lighter);
}

.service-block:last-child {
  border-bottom: none;
}

.service-icon {
  font-size: 40px;
  color: var(--primary);
  margin-right: 15px;
}

.service-block h2 {
  font-size: 22px;
  margin-bottom: 20px;
  color: var(--dark);
  display: flex;
  align-items: center;
}

.service-block p {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 15px;
}

/* ==================== ABOUT SECTION ==================== */
.page-header {
  background: var(--primary);
  padding: 30px 5%;
  color: white;
  text-align: center;
}

.page-header-image {
  background: var(--primary);
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.about-content {
  background: #fff;
}

.main-text {
  margin-bottom: 50px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.main-text h2 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.main-text p {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin: 50px auto;
  max-width: 1100px;
}

.about-card {
  background: var(--light);
  padding: 25px;
  border-radius: 10px;
  transition: all 0.3s;
  text-align: center;
}

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

.about-card h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.about-card p {
  color: #555;
  line-height: 1.6;
  font-size: 14px;
}

/* ==================== CLIENTS SECTION ==================== */
.clients-section {
  padding: 60px 5%;
  background-color: #fff;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 40px;
  color: var(--dark);
  text-transform: uppercase;
  font-weight: 800;
  text-align: center;
  width: 100%;
  display: block;
}

.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  align-items: center;
}

.client-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  transition: transform 0.3s ease;
}

.client-logo img {
  width: 150px;
  height: 120px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: 0.3s;
}

.client-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

.client-logo:hover {
  transform: translateY(-5px);
}

.client-logo img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ==================== FOOTER ==================== */
footer {
  background: var(--dark);
  color: white;
  padding: 40px 5%;
  text-align: center;
  flex-shrink: 0;
  margin-top: auto;
  font-size: 14px;
}

.catalog-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: var(--primary);
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.catalog-download-btn:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* ==================== WHATSAPP & MAIL BUTTONS ==================== */
#whatsapp-placeholder {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 99999;
}

.whatsapp-float,
.mail-float {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float {
  background-color: #25d366;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #128c7e;
}

.mail-float {
  background-color: #0066cc;
  opacity: 0;
  transform: translateY(20px);
}

.mail-float:hover {
  background-color: #0052a3;
}

#whatsapp-placeholder:hover .mail-float {
  opacity: 1;
  transform: translateY(0);
}

.whatsapp-float i,
.mail-float i {
  font-size: 28px;
  color: white;
}

@media (max-width: 768px) {
  #whatsapp-placeholder {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float,
  .mail-float {
    width: 50px;
    height: 50px;
  }

  .whatsapp-float i,
  .mail-float i {
    font-size: 24px;
  }
}

/* ==================== RESPONSIVE MOBILE ==================== */
@media (max-width: 768px) {
  header {
    height: 70px;
    padding: 0 3%;
  }

  .logo {
    font-size: 1.3rem;
  }

  nav > ul > li > a {
    padding: 0 15px;
    font-size: 15px;
  }

  .content-container,
  .info-section {
    padding: 40px 4%;
  }

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

  .clients-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 480px) {
  header {
    height: 60px;
  }

  .logo {
    font-size: 1.1rem;
  }

  .mobile-menu-icon {
    order: 3;
  }

  .content-container,
  .info-section {
    padding: 30px 3%;
  }

  .slider-container {
    margin-top: 60px;
    height: calc(100vh - 60px);
    min-height: 350px;
    max-height: 450px;
  }

  .slide-content h1 {
    font-size: 1.5rem;
  }

  .slide-content p {
    font-size: 0.9rem;
  }

  .info-text h2,
  .service-block h2 {
    font-size: 1.5rem;
  }

  .about-grid {
    gap: 20px;
  }
}

/* ==================== CONTACT FORM ==================== */
.contact-section {
  margin-top: 50px;
}

.contact-section .about-grid {
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info-card,
.contact-form-card {
  position: relative;
}

.contact-info {
  margin-top: 20px;
}

.contact-info p {
  margin-bottom: 15px;
  color: #555;
  font-size: 15px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  justify-content: flex-start;
}

.contact-info p i {
  color: var(--primary);
  width: 20px;
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-info a {
  color: #555;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-info a:hover {
  color: var(--primary);
}

.contact-header-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.contact-office-photo {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  margin-top: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.contact-form-group input,
.contact-form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gray-light);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s;
  background: #fff;
}

.contact-form-group input:focus,
.contact-form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 74, 153, 0.1);
}

.contact-form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form-group button {
  width: 100%;
  background: var(--primary);
  color: white;
  border: none;
  padding: 14px 30px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.contact-form-group button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition:
    width 0.6s,
    height 0.6s;
}

.contact-form-group button:hover::before {
  width: 300px;
  height: 300px;
}

.contact-form-group button:hover {
  background: #003570;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 74, 153, 0.3);
}

.contact-form-group button:active {
  transform: translateY(0);
}

/* Map Section */
.map-section {
  margin-top: 60px;
}

@media (max-width: 768px) {
  .contact-info p {
    font-size: 14px;
  }

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

/* ==================== CERTIFICATES ==================== */
.cert-section {
  margin-top: 60px;
  text-align: center;
  padding: 60px 5%;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
}

.cert-section h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: 800;
}

.cert-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.cert-item {
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid transparent;
  padding: 25px 30px;
  border-radius: 15px;
  text-decoration: none !important;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.cert-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.cert-item:hover::before {
  transform: scaleY(1);
}

.cert-item:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 15px 35px rgba(0, 74, 153, 0.2);
}

.cert-icon {
  font-size: 45px;
  color: #e74c3c;
  margin-right: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.cert-item:hover .cert-icon {
  transform: scale(1.1) rotate(-5deg);
}

.cert-info {
  text-align: left;
  flex: 1;
}

.cert-name {
  display: block;
  font-weight: 800;
  color: var(--dark);
  font-size: 18px;
  margin-bottom: 6px;
}

.cert-label {
  display: block;
  font-size: 14px;
  color: var(--gray);
  font-weight: 500;
}

.download-icon {
  color: var(--primary);
  font-size: 18px;
  opacity: 0.6;
  margin-left: 15px;
  transition: all 0.3s;
}

.cert-item:hover .download-icon {
  opacity: 1;
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .cert-container {
    gap: 20px;
  }

  .cert-item {
    max-width: 100%;
    padding: 20px;
  }

  .cert-icon {
    font-size: 35px;
  }

  .cert-name {
    font-size: 16px;
  }
}

/* ==================== UTILITY CLASSES ==================== */
.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

[data-lang="en"] .tr-only {
  display: none !important;
}

[data-lang="tr"] .en-only {
  display: none !important;
}

/* ==================== PRODUCTS SHOWCASE SECTION ==================== */
.products-section {
  padding: 80px 5%;
  background-color: #fff;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 50px;
}

.product-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s var(--bezier);
  text-decoration: none;
  display: block;
  background: #fff;
}

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

.product-image {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

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

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

.product-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.7) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.product-card:hover .product-image::after {
  opacity: 1;
}

.product-title {
  padding: 25px;
  text-align: center;
  background: #fff;
  position: relative;
  z-index: 2;
}

.product-title h3 {
  font-size: 1.3rem;
  color: var(--primary);
  font-weight: 800;
  margin: 0;
  transition: color 0.3s ease;
}

.product-card:hover .product-title h3 {
  color: #003570;
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  .product-image {
    height: 220px;
  }

  .product-title {
    padding: 20px;
  }

  .product-title h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* Scroll to Top */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99998;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.scroll-to-top:hover {
  background: #003570;
  transform: translateY(-5px);
}

.scroll-to-top i {
  font-size: 20px;
}

@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 20px;
    left: 20px;
    width: 45px;
    height: 45px;
  }
}
