@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Montserrat+Alternates:wght@500;600;700;800&family=Montserrat:wght@800&display=swap');

/* --- DESIGN SYSTEM TOKENS --- */
:root {
  --primary: #981e33;
  --primary-hover: #54101b;
  --primary-border: #dd2c49;
  --primary-light: #ffd0d8;
  --accent: #a12036;
  --accent-bright: #ff3356;
  
  --bg-cream: #fdfbf8;
  --bg-cream-dark: #fdf6ee;
  --bg-white: #ffffff;
  
  --text-dark: #1e1e1e;
  --text-muted: #555555;
  --text-muted-light: #888888;
  --text-light: #ffffff;
  
  --border-color: #e2dcd3;
  --border-color-light: #f0eae1;
  
  --font-headings: 'Montserrat Alternates', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-accent: 'Montserrat', sans-serif;
  
  --container-width: 1240px;
  --header-height: 90px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(152, 30, 51, 0.04);
  --shadow-md: 0 8px 24px rgba(152, 30, 51, 0.08);
  --shadow-lg: 0 16px 40px rgba(152, 30, 51, 0.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

/* --- RESET & BASIC STYLES --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
}

h1 {
  font-size: 3.5rem; /* 56px */
}

h2 {
  font-size: 2rem; /* 32px */
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 30px;
}

h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  background-color: var(--primary-border);
  border-radius: 2px;
}

h3 {
  font-size: 1.5rem; /* 24px */
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

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

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

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 30px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

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

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-hover);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 30px;
}

.btn-primary:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-primary:hover {
  color: var(--text-light);
  box-shadow: 0 8px 20px rgba(152, 30, 51, 0.25);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--text-light);
}

/* --- STRUCTURE / CONTAINERS --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 100px 0;
}

.bg-cream-dark {
  background-color: var(--bg-cream-dark);
}

.bg-white-block {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color-light);
}

/* --- HEADER / NAVIGATION --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background-color: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: var(--transition-smooth);
}

header.scrolled,
header.menu-open {
  height: 75px;
  box-shadow: var(--shadow-sm);
  background-color: var(--bg-cream);
  border-bottom: 1px solid var(--border-color-light);
}

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

/* SVG bulvar logo in header */
.logo svg {
  height: 52px;
  width: auto;
  display: block;
  transition: var(--transition-smooth);
}

.logo svg #logo-tagline,
.logo svg #logo-lines {
  display: none !important;
}

.logo svg path,
.logo svg rect {
  fill: #ffffff !important;
  transition: fill 0.3s ease;
}

header.scrolled .logo svg,
header.menu-open .logo svg {
  height: 44px;
}

header.scrolled .logo svg path,
header.scrolled .logo svg rect,
header.menu-open .logo svg path,
header.menu-open .logo svg rect {
  fill: var(--primary) !important;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 30px;
}

.nav-link {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  color: #ffffff;
  padding: 8px 0;
  position: relative;
  transition: var(--transition-smooth);
}

header.scrolled .nav-link,
header.menu-open .nav-link {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #ffffff;
  transition: var(--transition-smooth);
}

header.scrolled .nav-link::after,
header.menu-open .nav-link::after {
  background-color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.lang-switcher {
  display: flex;
  align-items: center;
  font-family: var(--font-headings);
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  gap: 6px;
  transition: var(--transition-smooth);
}

header.scrolled .lang-switcher,
header.menu-open .lang-switcher {
  color: var(--primary);
  border-color: var(--primary);
}

.lang-switcher svg {
  width: 12px;
  height: 12px;
  fill: #ffffff;
  transition: var(--transition-smooth);
}

header.scrolled .lang-switcher svg,
header.menu-open .lang-switcher svg {
  fill: var(--primary);
}

.lang-switcher:hover svg {
  transform: translateY(2px);
}

/* Hamburger Menu Button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: var(--transition-smooth);
  transform-origin: left;
}

header.scrolled .hamburger span,
header.menu-open .hamburger span {
  background-color: var(--primary);
}

/* --- FOOTER --- */
/* --- FOOTER --- */
.footer-premium {
  background-color: var(--primary);
  padding: 80px 0 30px 0;
  color: #ffffff;
  position: relative;
}

.footer-grid-premium {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-col-premium {
  display: flex;
  flex-direction: column;
}

.footer-col-premium h3 {
  font-family: var(--font-headings);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
  display: inline-block;
  text-transform: none;
}

.footer-logo-wrapper {
  margin-bottom: 20px;
  width: 100%;
}

.footer-logo-wrapper svg {
  width: 255px;
  height: auto;
  display: block;
}

.footer-logo-wrapper svg path,
.footer-logo-wrapper svg rect {
  fill: #ffffff !important;
}

.footer-brand-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  display: inline-block;
}

.footer-links-list a:hover {
  color: #ffffff;
  transform: translateX(5px);
}

.footer-company-name {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 15px;
  line-height: 1.4;
}

.footer-address {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 0;
}

.footer-social-links {
  display: flex;
  gap: 12px;
  margin-bottom: 25px;
  align-items: center;
}

.footer-social-links a {
  color: #ffffff;
  font-size: 1.25rem;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-social-links a:hover {
  background-color: #ffffff;
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.footer-phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 2px solid #ffffff;
  border-radius: 14px;
  padding: 10px 24px;
  color: #ffffff;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.35rem;
  text-decoration: none;
  transition: var(--transition-smooth);
  max-width: max-content;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.footer-phone-pill i {
  font-size: 1.3rem;
}

.footer-phone-pill:hover {
  background-color: #ffffff;
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.footer-bottom-premium {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 30px;
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-ajasis-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-ajasis-link span {
  font-weight: 500;
}

.footer-ajasis-link svg {
  height: 20px;
  width: auto;
}

.footer-ajasis-link svg polygon {
  fill: #ffffff !important;
  transition: fill 0.3s ease;
}

.footer-ajasis-link:hover {
  color: #ffffff;
}

.footer-ajasis-link:hover svg polygon {
  fill: #c1ff00 !important;
}

/* --- PAGES & COMPONENTS --- */

/* Page Banner (Inner Pages Hero) */
.page-banner {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 180px 0 100px 0;
  position: relative;
  overflow: hidden;
}

.page-banner::after {
  content: '';
  position: absolute;
  right: -5%;
  bottom: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.page-banner h1 {
  color: var(--text-light);
  font-size: 2.75rem;
  margin-bottom: 15px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.8;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* 1. HOMEPAGE SPECIFIC */
.hero-sec {
  position: relative;
  height: 100vh;
  min-height: 650px;
  color: var(--text-light);
  overflow: hidden;
  background-color: #1a0f0d;
}

.hero-slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.hero-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 40%, rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
}

.hero-slide .container {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-content {
  text-align: center;
  margin: 0 auto;
  max-width: 850px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content h1 {
  color: var(--text-light);
  font-size: 3.8rem;
  font-weight: 700;
  margin-bottom: 0px;
  line-height: 1.2;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(30px);
  font-family: var(--font-headings);
}

.hero-slide.active .hero-content h1 {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.hero-separator {
  width: 120px;
  height: 2px;
  background-color: #ffffff;
  margin: 25px auto;
  opacity: 0;
  transform: scaleX(0);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide.active .hero-separator {
  opacity: 1;
  transform: scaleX(1);
  transition-delay: 0.5s;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.25rem;
  margin-bottom: 35px;
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(30px);
}

.hero-slide.active .hero-content p {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
}

.hero-content .btn-hero {
  display: inline-block;
  padding: 12px 40px;
  border: 2px solid #ffffff;
  border-radius: 30px;
  color: #ffffff;
  background-color: transparent;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-smooth);
  opacity: 0;
  transform: translateY(30px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-slide.active .hero-content .btn-hero {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.9s forwards;
}

.hero-content .btn-hero:hover {
  background-color: #ffffff;
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Vertical Social links on the right */
.hero-socials {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 24px;
  z-index: 10;
}

.hero-social-link {
  color: #ffffff;
  font-size: 1.35rem;
  transition: var(--transition-smooth);
  opacity: 0.75;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.hero-social-link:hover {
  opacity: 1;
  background-color: #ffffff;
  color: var(--primary);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Slider chevrons at bottom corners */
.hero-arrow {
  position: absolute;
  bottom: 40px;
  z-index: 10;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  opacity: 0.6;
}

.hero-arrow-left {
  left: 40px;
}

.hero-arrow-right {
  right: 40px;
}

.hero-arrow:hover {
  opacity: 1;
  transform: scale(1.2);
}

/* Slider Pagination Dots */
.hero-dots {
  position: absolute;
  bottom: 45px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  align-items: center;
  z-index: 10;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.hero-dot.active {
  width: 24px;
  border-radius: 4px;
  background-color: var(--primary);
}

/* Hakkımızda Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.about-img {
  position: relative;
}

.about-img img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-img::after {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  border: 4px solid var(--primary-light);
  border-radius: var(--radius-md);
  z-index: -1;
}

/* Ürün Gruplarımız Section */
.product-groups-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-group-card {
  position: relative;
  border-radius: var(--radius-md);
  height: 280px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: var(--primary-hover);
}

.product-group-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-group-card:hover img {
  transform: scale(1.08);
}

.product-group-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(84, 16, 27, 0.9) 0%, rgba(152, 30, 51, 0.2) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  z-index: 2;
  transition: var(--transition-smooth);
}

.product-group-card:hover .product-group-overlay {
  background: linear-gradient(to top, rgba(152, 30, 51, 0.95) 0%, rgba(84, 16, 27, 0.4) 100%);
}

.product-group-card h3 {
  color: var(--text-light);
  font-size: 1.35rem;
  margin-bottom: 8px;
  transform: translateY(0);
  transition: var(--transition-smooth);
}

.product-group-link {
  font-family: var(--font-headings);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-light);
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transform: translateY(15px);
  transition: var(--transition-smooth);
}

.product-group-card:hover h3 {
  transform: translateY(-5px);
}

.product-group-card:hover .product-group-link {
  opacity: 1;
  transform: translateY(0);
}

/* İştiraklerimiz Section */
.affiliates-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.affiliates-container p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 40px;
}

.affiliates-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
}

.affiliate-card {
  background: var(--bg-white);
  padding: 30px 50px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  width: 240px;
  transition: var(--transition-smooth);
}

.affiliate-card img {
  max-height: 60px;
  max-width: 100%;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.affiliate-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

/* Haberler Slider Section */
.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.slider-header h2 {
  margin-bottom: 0;
}

.slider-controls {
  display: flex;
  gap: 10px;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary);
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.slider-btn:hover {
  background-color: var(--primary);
  color: var(--text-light);
  border-color: var(--primary);
}

.slider-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  display: flex;
  gap: 30px;
  padding-bottom: 20px;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
}

.slider-viewport::-webkit-scrollbar {
  display: none; /* Safari & Chrome */
}

.news-card {
  flex: 0 0 calc(33.333% - 20px);
  scroll-snap-align: start;
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.news-img {
  height: 220px;
  overflow: hidden;
  background-color: var(--primary-hover);
}

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

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

.news-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-date {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted-light);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-card h3 {
  font-size: 1.15rem;
  margin-bottom: 20px;
  line-height: 1.4;
  flex-grow: 1;
  color: var(--primary);
  transition: var(--transition-smooth);
}

.news-card:hover h3 {
  color: var(--accent-bright);
}

.news-link {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
}

.news-link svg {
  transition: transform 0.3s ease;
}

.news-card:hover .news-link svg {
  transform: translateX(4px);
}

/* 2. KURUMSAL PAGE SPECIFIC */
.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.mv-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 40px;
  border: 1px solid var(--border-color-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.mv-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.mv-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 25px;
}

.mv-card h3 {
  margin-bottom: 15px;
}

/* Yönetim Ekibi */
.team-scroll {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding-bottom: 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-light) transparent;
}

.team-card {
  flex: 0 0 280px;
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition-smooth);
}

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

.team-img {
  height: 260px;
  background-color: #eee;
  overflow: hidden;
  position: relative;
}

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

.team-info {
  padding: 20px;
}

.team-info h4 {
  font-family: var(--font-headings);
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 5px;
}

.team-info p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--text-muted-light);
  font-weight: 500;
}

/* Belgeler & Sertifikalar */
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.cert-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-sm);
  padding: 25px;
  border: 1px solid var(--border-color-light);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.cert-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.cert-card h4 {
  font-size: 1rem;
  font-family: var(--font-headings);
  margin-bottom: 15px;
}

.cert-download {
  font-family: var(--font-headings);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  padding: 6px 16px;
  border-radius: 20px;
  display: inline-block;
}

.cert-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.cert-card:hover .cert-download {
  background-color: var(--primary);
  color: var(--text-light);
}

/* 3. HİZMETLERİMİZ PAGE */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.service-row:nth-child(even) {
  direction: rtl;
}

.service-row:nth-child(even) .service-content {
  direction: ltr;
}

.service-content h3 {
  font-size: 1.85rem;
  margin-bottom: 20px;
}

.service-img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  height: 380px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  display: block;
}

.service-row:hover .service-img img {
  transform: scale(1.05);
}

/* 4. İŞ ORTAKLARIMIZ PAGE */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.partner-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color-light);
  border-radius: var(--radius-md);
  padding: 40px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.partner-card img {
  max-height: 80px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.65;
  transition: var(--transition-smooth);
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.partner-card:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* 5. İLETİŞİM PAGE */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
}

.contact-form-side h2 {
  font-size: 1.85rem;
  margin-bottom: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-family: var(--font-headings);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

.form-control {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--bg-white);
  color: var(--text-dark);
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-border);
  box-shadow: 0 0 0 3px var(--primary-light);
}

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

.contact-info-side {
  background-color: var(--bg-cream-dark);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 50px;
  box-shadow: var(--shadow-sm);
}

.contact-info-section {
  margin-bottom: 40px;
}

.contact-info-section:last-child {
  margin-bottom: 0;
}

.contact-info-section h3 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--border-color);
}

.contact-info-section p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 8px;
}

.map-container {
  height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* 6. ÜRÜNLER ANA SAYFASI */
.category-card {
  position: relative;
  border-radius: var(--radius-md);
  height: 320px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover img {
  transform: scale(1.06);
}

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(84, 16, 27, 0.9) 0%, rgba(152, 30, 51, 0.1) 100%);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 2;
  transition: var(--transition-smooth);
}

.category-card:hover .category-overlay {
  background: linear-gradient(to top, rgba(152, 30, 51, 0.92) 0%, rgba(84, 16, 27, 0.3) 100%);
}

.category-card h3 {
  color: var(--text-light);
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.category-link {
  font-family: var(--font-headings);
  font-weight: 600;
  color: var(--primary-light);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateY(15px);
  opacity: 0;
  transition: var(--transition-smooth);
}

.category-card:hover .category-link {
  transform: translateY(0);
  opacity: 1;
}

/* 7. ÜRÜNLER İÇ SAYFASI */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.product-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.product-card-img {
  height: 220px;
  background-color: var(--bg-cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
  position: relative;
}

.product-card-img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

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

.product-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: center;
}

.product-brand {
  font-family: var(--font-headings);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted-light);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.product-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.4;
  margin-bottom: 15px;
  flex-grow: 1;
}

.product-card-btn {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  padding: 8px 20px;
  border-radius: 20px;
  margin-top: auto;
  align-self: center;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.product-card:hover .product-card-btn {
  background-color: var(--primary);
  color: var(--text-light);
}

/* 8. ÜRÜN DETAY SAYFASI */
.product-detail-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.product-detail-img {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color-light);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 480px;
}

.product-detail-img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.product-detail-info h2 {
  font-size: 2.25rem;
  margin-bottom: 10px;
}

.product-detail-info h2::after {
  display: none;
}

.product-detail-brand {
  font-family: var(--font-headings);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-bright);
  text-transform: uppercase;
  margin-bottom: 25px;
}

.product-detail-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 35px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 35px;
}

.specs-table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color-light);
}

.specs-table td:first-child {
  font-family: var(--font-headings);
  font-weight: 600;
  color: var(--primary);
  width: 160px;
}

.specs-table td:last-child {
  color: var(--text-dark);
}

/* 9. HABER İÇ (DETAY) SAYFASI */
.news-detail-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.news-detail-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.9rem;
  color: var(--text-muted-light);
  margin-bottom: 20px;
  font-weight: 500;
}

.news-detail-meta span {
  width: 5px;
  height: 5px;
  background-color: var(--primary-light);
  border-radius: 50%;
}

.news-detail-title {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--primary);
}

.news-detail-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
}

.news-detail-img img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.news-detail-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.news-detail-content p {
  margin-bottom: 25px;
}

/* 10. 404 PAGE */
.error-page {
  padding: 180px 0 100px 0;
  text-align: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-content {
  max-width: 550px;
}

.error-illustration {
  margin-bottom: 40px;
  font-family: var(--font-headings);
  font-size: 8rem;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
  position: relative;
  display: inline-block;
  letter-spacing: -2px;
}

.error-illustration::after {
  content: '404';
  position: absolute;
  top: 4px;
  left: 4px;
  color: var(--primary);
  z-index: -1;
}

.error-content h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.error-content p {
  font-size: 1.05rem;
  margin-bottom: 35px;
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- RESPONSIVE LAYOUT (MOBILE & TABLET) --- */
@media (max-width: 1024px) {
  :root {
    --header-height: 80px;
  }
  
  h1 { font-size: 2.75rem; }
  h2 { font-size: 1.75rem; }
  
  .container { padding: 0 30px; }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-img img {
    height: 380px;
  }
  
  .product-groups-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .news-card {
    flex: 0 0 calc(50% - 15px);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .footer-grid > *:last-child {
    grid-column: span 2;
  }
  
  .service-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .service-row:nth-child(even) {
    direction: ltr;
  }
  
  .service-img {
    height: 320px;
  }
  
  .mv-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .certificates-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .product-detail-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .product-detail-img {
    height: 380px;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2.25rem; }
  
  .section-padding {
    padding: 70px 0;
  }
  
  /* Navigation Mobile Toggle */
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-cream);
    flex-direction: column;
    padding: 40px;
    gap: 20px;
    transition: var(--transition-smooth);
    border-top: 1px solid var(--border-color-light);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu li {
    width: 100%;
    text-align: center;
  }
  
  .nav-link {
    font-size: 1.25rem;
    display: block;
    padding: 12px 0;
    color: var(--primary) !important;
  }
  
  .nav-link::after {
    display: none !important;
  }
  
  .lang-switcher {
    margin-top: 20px;
    font-size: 1.1rem;
    padding: 10px 24px;
    color: var(--primary) !important;
    border-color: var(--primary) !important;
  }
  
  .lang-switcher svg {
    fill: var(--primary) !important;
  }
  
  /* Hamburger Active State */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(2px, 2px);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(2px, -2px);
  }
  
  /* Hero section adjustments */
  .hero-sec {
    height: 100vh;
    min-height: 500px;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  
  .hero-socials {
    display: none !important;
  }
  
  .hero-arrow {
    bottom: 25px;
  }
  
  .hero-arrow-left {
    left: 20px;
  }
  
  .hero-arrow-right {
    right: 20px;
  }
  
  .hero-dots {
    bottom: 30px;
  }
  
  .affiliates-logos {
    flex-direction: column;
    gap: 30px;
  }
  
  .footer-grid-premium {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .certificates-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .news-card {
    flex: 0 0 100%;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
}

@media (max-width: 480px) {
  :root {
    --header-height: 70px;
  }
  
  .container { padding: 0 20px; }
  
  h1 { font-size: 2rem; }
  
  .product-groups-grid {
    grid-template-columns: 1fr;
  }
  
  .certificates-grid {
    grid-template-columns: 1fr;
  }
  
  .partners-grid {
    grid-template-columns: 1fr;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .team-card {
    flex: 0 0 100%;
  }
  
  .contact-info-side {
    padding: 30px 20px;
  }
  
  .footer-grid-premium {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  
  .footer-phone-pill {
    padding: 10px 20px;
    font-size: 1.25rem;
    width: 100%;
    justify-content: center;
  }
  
  .footer-bottom-premium {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* Centered About Section (Hakkımızda) */
.about-centered-sec {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-cream);
  padding: 100px 0;
}

.about-bg-circle {
  position: absolute;
  top: 50%;
  left: -250px;
  width: 500px;
  height: 500px;
  border: 1px solid var(--primary-border);
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.25;
}

.about-centered-content {
  text-align: center;
  max-width: 950px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.about-centered-content h2 {
  text-align: center;
  padding-bottom: 0;
  margin-bottom: 0;
  font-size: 2.25rem;
  color: var(--primary);
}

.about-centered-content h2::after {
  display: none;
}

.about-separator {
  width: 200px;
  height: 1.5px;
  background-color: var(--primary);
  margin: 30px auto;
}

.about-highlight-text {
  font-family: var(--font-headings);
  font-size: 1.35rem;
  line-height: 1.8;
  color: var(--accent);
  text-align: center;
  margin: 0 auto;
  font-weight: 500;
}

.about-highlight-text strong {
  font-weight: 800;
  color: var(--primary);
}

@media (max-width: 768px) {
  .about-highlight-text {
    font-size: 1.15rem;
    padding: 0 10px;
  }
  .about-separator {
    width: 120px;
    margin: 20px auto;
  }
}

/* Affiliates centered styles */
.affiliates-logos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 50px auto 0 auto;
}

.affiliate-card-new {
  background: var(--bg-white);
  padding: 25px 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  transition: var(--transition-smooth);
}

.affiliate-card-new img {
  max-height: 80px;
  max-width: 100%;
  object-fit: contain;
}

.affiliate-card-new:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

@media (max-width: 768px) {
  .affiliates-logos-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: 40px auto 0 auto;
  }
}

/* --- GLOBAL SCROLL REVEAL ANIMATIONS (FRAMER MOTION STYLE) --- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
  }
  
  .reveal.in-view {
    opacity: 1;
    transform: translateY(0);
  }
  
  .reveal-left {
    opacity: 0;
    transform: translateX(-35px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
  }
  
  .reveal-left.in-view {
    opacity: 1;
    transform: translateX(0);
  }
  
  .reveal-right {
    opacity: 0;
    transform: translateX(35px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
  }
  
  .reveal-right.in-view {
    opacity: 1;
    transform: translateX(0);
  }
  
  .reveal-scale {
    opacity: 0;
    transform: scale(0.94);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
  }
  
  .reveal-scale.in-view {
    opacity: 1;
    transform: scale(1);
  }
  
  /* Stagger delays for children */
  .reveal-delay-100 { transition-delay: 0.1s; }
  .reveal-delay-200 { transition-delay: 0.2s; }
  .reveal-delay-300 { transition-delay: 0.3s; }
  .reveal-delay-400 { transition-delay: 0.4s; }
  .reveal-delay-500 { transition-delay: 0.5s; }
}

/* --- NEW CORPORATE PAGE STYLES (VIZYON, MISYON, YONETIM, CERTIFICATES PREVIEW) --- */

.section-title-centered {
  text-align: center;
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 10px;
  font-family: var(--font-headings);
  font-weight: 700;
}

.title-underline {
  width: 80px;
  height: 4px;
  background-color: var(--primary);
  margin: 0 auto 50px auto;
  border-radius: 2px;
}

/* Corporate Row Accordion */
.corp-rows-container {
  margin-top: 40px;
  border: 1px solid rgba(152, 30, 51, 0.15);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.corp-row {
  background-color: var(--primary);
  color: var(--bg-white);
  padding: 30px 45px;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: background-color 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  border: none;
  width: 100%;
  text-align: left;
}

.corp-row:last-child {
  margin-bottom: 0;
}

.corp-row:hover {
  background-color: var(--primary-dark);
}

.corp-row-title {
  font-family: var(--font-headings);
  font-size: 2rem;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 2;
  letter-spacing: -0.5px;
}

.corp-row-content {
  margin-left: 50px;
  flex-grow: 1;
  text-align: right;
  opacity: 0;
  transform: translateX(65px);
  transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 2;
  pointer-events: none;
}

.corp-row-content p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: 400;
}

.corp-row:hover .corp-row-content {
  opacity: 1;
  transform: translateX(0);
}

.corp-row:hover .corp-row-title {
  transform: translateX(-15px);
}

/* Management Grayscale & Color Hover Effect */
.team-img img {
  filter: grayscale(100%);
  transition: filter 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.team-card:hover .team-img img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* Drag cursor support */
.slider-viewport {
  cursor: grab;
}

.slider-viewport.active-drag {
  cursor: grabbing;
  user-select: none;
  scroll-behavior: auto !important;
}

/* Certificate Cards update */
.cert-grid-premium {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.cert-card-premium {
  background-color: #fdfbf8;
  border: 1.5px solid rgba(152, 30, 51, 0.15);
  border-radius: var(--radius-md);
  padding: 35px 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.cert-card-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--primary);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.cert-card-premium:hover::before {
  transform: scaleX(1);
}

.cert-card-premium:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
  background-color: var(--bg-white);
}

.cert-icon-premium {
  font-size: 3.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.cert-card-premium:hover .cert-icon-premium {
  transform: scale(1.1);
}

.cert-title-premium {
  font-size: 1.05rem;
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}

.cert-preview-action {
  font-family: var(--font-headings);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 15px;
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.cert-card-premium:hover .cert-preview-action {
  opacity: 1;
  transform: translateY(0);
}

/* Document Preview Modal */
.preview-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.preview-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.preview-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(26, 10, 12, 0.75);
  backdrop-filter: blur(8px);
}

.preview-modal-container {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 700px;
  max-height: 90vh;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 10001;
  overflow: hidden;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.preview-modal.active .preview-modal-container {
  transform: scale(1);
}

.preview-modal-header {
  padding: 20px 30px;
  border-bottom: 1px solid var(--border-color-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg-cream-dark);
}

.preview-modal-header h3 {
  font-family: var(--font-headings);
  color: var(--primary);
  margin-bottom: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.preview-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.preview-modal-close:hover {
  color: var(--primary);
}

.preview-modal-body {
  padding: 30px;
  overflow-y: auto;
  display: flex;
  justify-content: center;
  background-color: #f6f3ed;
}

/* High Fidelity Simulated Certificate */
.simulated-cert {
  background-color: #fffdf9;
  border: 15px double #d4af37; /* Gold double border */
  padding: 40px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  font-family: 'Times New Roman', Times, serif;
}

.simulated-cert::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border: 1px solid #d4af37;
}

.cert-header {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
  letter-spacing: 2px;
  margin-bottom: 20px;
  border-bottom: 2px solid #d4af37;
  padding-bottom: 10px;
}

.cert-logo-seal {
  color: #d4af37;
  font-size: 3.5rem;
  margin: 20px 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cert-title {
  font-size: 1.6rem;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 5px;
}

.cert-subtitle {
  font-size: 0.9rem;
  font-style: italic;
  color: #666;
  margin-bottom: 25px;
  letter-spacing: 1px;
}

.cert-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 35px;
  padding: 0 10px;
}

.cert-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding: 0 15px;
}

.cert-sig, .cert-date {
  width: 40%;
}

.sig-line {
  border-top: 1px solid #999;
  margin-bottom: 8px;
}

.cert-sig span, .cert-date span {
  font-size: 0.8rem;
  color: #666;
  display: block;
}

.preview-modal-footer {
  padding: 20px 30px;
  border-top: 1px solid var(--border-color-light);
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  background-color: var(--bg-cream-dark);
}

.modal-btn {
  font-family: var(--font-headings);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.modal-btn-close {
  background-color: transparent;
  color: var(--text-dark);
  border: 1.5px solid var(--border-color-light);
}

.modal-btn-close:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

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

.modal-btn-download:hover {
  background-color: var(--primary-dark);
}

/* Responsive updates for corporate page */
@media (max-width: 992px) {
  .corp-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 30px;
  }
  
  .corp-row-title {
    font-size: 1.5rem;
  }
  
  .corp-row-content {
    margin-left: 0;
    margin-top: 15px;
    text-align: left;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-10px);
    transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
  }
  
  .corp-row.active .corp-row-content {
    max-height: 250px;
    opacity: 1;
    transform: translateY(0);
  }
  
  .corp-row:hover .corp-row-title {
    transform: none;
  }
  
  .cert-grid-premium {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .team-slider-viewport .team-card {
    flex: 0 0 calc(50% - 15px);
  }
}

@media (max-width: 576px) {
  .cert-grid-premium {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .simulated-cert {
    padding: 25px 15px;
    border-width: 10px;
  }
  
  .cert-header {
    font-size: 1.2rem;
  }
  
  .cert-title {
    font-size: 1.3rem;
  }
  
  .team-slider-viewport .team-card {
    flex: 0 0 100%;
  }
}

/* --- Language Switcher Dropdown Styling --- */
.lang-switcher {
  position: relative;
  user-select: none;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color-light);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  display: none;
  flex-direction: column;
  min-width: 90px;
  z-index: 1100;
  overflow: hidden;
}

.lang-dropdown.active {
  display: flex;
}

.lang-dropdown a {
  padding: 10px 18px;
  color: var(--text-dark);
  text-decoration: none;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.85rem;
  transition: background-color 0.2s ease, color 0.2s ease;
  text-align: center;
  border-bottom: 1px solid var(--border-color-light);
  direction: ltr !important; /* Always left-to-right */
}

.lang-dropdown a:last-child {
  border-bottom: none;
}

.lang-dropdown a:hover {
  background-color: var(--primary);
  color: var(--text-light);
}
