/* ===================================
   IRISANKA - Kurumsal Web Sitesi
   Renk Paleti: Anka Kuşu - Alev ve Ateş Tonları
   =================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Renk Paleti - Phoenix/Anka Kuşu Teması */
  --color-primary: #E63946;        /* Kırmızı-Turuncu Alev */
  --color-secondary: #F77F00;      /* Turuncu Alev */
  --color-accent: #FFF8E7;         /* Sıcak Beyaz/Krem */
  --color-dark: #1a1a1d;           /* Koyu Siyah */
  --color-light: #FFF3E0;          /* Açık Turuncu Ton */
  --color-white: #FFFFFF;
  --color-text: #1a1a1d;           /* Koyu Siyah */
  --color-border: #FFD6BA;         /* Açık Turuncu Border */
  --color-success: #F77F00;        /* Turuncu Alev */
  
  /* Font Boyutları */
  --font-size-h1: 3.5rem;
  --font-size-h2: 2.5rem;
  --font-size-h3: 2rem;
  --font-size-h4: 1.5rem;
  --font-size-body: 1rem;
  --font-size-small: 0.875rem;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--color-text);
  background-color: var(--color-light);
  line-height: 1.6;
  overflow-x: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: none; /* Kelimeler tire ile bölünmesin */
}

/* Language-specific typography */
:lang(ar) {
  font-family: 'Segoe UI', 'Arabic Typesetting', 'Traditional Arabic', Tahoma, sans-serif;
  letter-spacing: 0;
}

:lang(zh) {
  font-family: 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
}

:lang(ja) {
  font-family: 'Segoe UI', 'Hiragino Sans', 'Noto Sans JP', 'Yu Gothic', sans-serif;
}

:lang(ru) {
  font-family: 'Segoe UI', 'PT Sans', Tahoma, Geneva, Verdana, sans-serif;
}

:lang(de),
:lang(fr),
:lang(es) {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:lang(tr) {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ===================================
   TYPOGRAPHY
   =================================== */

h1, h2, h3, h4, h5, h6 {
  color: var(--color-dark);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-wrap: balance; /* Modern browser desteği - başlıkları dengeler */
  hyphens: none; /* Kelimeler tire ile bölünmesin */
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }
h4 { font-size: var(--font-size-h4); }

p {
  margin-bottom: 1rem;
  font-size: var(--font-size-body);
  color: var(--color-text);
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 75ch; /* Optimal okuma genişliği - 75 karakter */
  text-wrap: pretty; /* Modern browser desteği - orphan/widow önleme */
  orphans: 2; /* En az 2 satır sayfa/kolon sonunda */
  widows: 2; /* En az 2 satır sayfa/kolon başında */
  hyphens: none; /* Kelimeler tire ile bölünmesin */
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: none;
}

a:hover {
  color: var(--color-secondary);
}

ul, ol {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: none;
}

li {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: none;
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */

header {
  background-color: var(--color-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 56px;
  width: auto;
  display: block;
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-weight: 500;
  position: relative;
  color: var(--color-text);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--color-primary);
}

.lang-switcher {
  position: relative;
  display: flex;
  align-items: center;
}

.lang-toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  padding: 0.6rem 1rem;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border-radius: 8px;
  position: relative;
}

.lang-toggle-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 129, 79, 0.3);
}

.lang-toggle-btn .globe-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.lang-toggle-btn .current-lang {
  font-weight: 700;
  text-transform: uppercase;
}

.lang-toggle-btn .arrow {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.lang-switcher.active .lang-toggle-btn .arrow {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: var(--color-white);
  border: 2px solid var(--color-primary);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  min-width: 200px;
  overflow: hidden;
}

.lang-switcher.active .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
}

.lang-option:hover {
  background-color: var(--color-light);
  color: var(--color-primary);
  padding-left: 1.5rem;
}

.lang-option.active {
  background-color: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
}

.lang-option.active:hover {
  background-color: var(--color-secondary);
}

.lang-option .flag-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.lang-option .lang-name {
  flex: 1;
}

.lang-option .lang-code {
  font-size: 0.75rem;
  opacity: 0.7;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--color-dark);
  transition: 0.3s ease;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
  min-height: 600px;
  background: linear-gradient(-45deg, #8B0000, #B22222, #DC143C, #d6304c, #C41E3A, #8B2635, #9B4A57, #8B2635, #C41E3A, #d6304c, #DC143C, #B22222, #8B0000);
  background-size: 400% 400%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  text-align: center;
  padding: 4rem 2rem;
  width: 100%;
  animation: gradientAnimation 18s ease-in-out infinite;
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Hero Canvas for Particles */
#heroCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* CTA Canvas for Particles */
#ctaCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* 3D Wave Animation Canvas */
#waveCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

/* Parallax Layer Classes */
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Smooth Hover Effects for Cards and Images */
@keyframes hoverLift {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-8px);
  }
}

@keyframes hoverGlow {
  0% {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
  100% {
    box-shadow: 0 12px 30px rgba(214, 48, 76, 0.2);
  }
}

.hero::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(53, 69, 76, 0.15) 0%, transparent 50%);
  animation: gradientShift 10s ease-in-out infinite;
  pointer-events: none;
}

@keyframes gradientShift {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(50px, 50px);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  animation: fadeInUp 0.8s ease-out;
  width: 100%;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  color: var(--color-white);
  font-size: clamp(2.5rem, 8vw, 4rem);
  margin-bottom: 1.5rem;
  animation: slideInDown 0.8s ease-out;
}

.hero-logo {
  max-width: 400px;
  margin: 0 auto 2rem;
  animation: slideInDown 0.8s ease-out;
}

.hero-logo img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.2));
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  animation: fadeIn 1s ease-out 0.3s backwards;
  max-width: 60ch; /* Hero subtitle için optimal genişlik */
  margin-left: auto;
  margin-right: auto;
  orphans: 2;
  widows: 2;
  text-wrap: balance; /* Hero metinlerde balance kullan */
  hyphens: none;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeIn 1s ease-out 0.6s backwards;
  width: 100%;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-white);
  color: var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-light);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn-secondary:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* ===================================
   SECTIONS & CONTAINERS
   =================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

section {
  padding: 4rem 2rem;
  margin-bottom: 0.5rem;
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
  width: 100%;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  margin: 0 auto;
  max-width: 50ch; /* Başlıklar için ideal genişlik */
  text-wrap: balance;
  hyphens: none;
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background-color: var(--color-secondary);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

/* ===================================
   PRIVACY POLICY PAGE
   =================================== */

.policy-section {
  padding: 4rem 0;
  background-color: var(--color-light);
}

.policy-card {
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--color-border);
  padding: 3rem;
  line-height: 1.8;
}

.policy-card h2 {
  color: var(--color-primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--color-secondary);
  padding-bottom: 0.5rem;
}

.policy-card h3 {
  color: var(--color-secondary);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.policy-card p,
.policy-card li {
  color: var(--color-text);
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: none;
}

.policy-card ul,
.policy-card ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: none;
}

.policy-card a {
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--color-primary);
}

.policy-card a:hover {
  color: var(--color-secondary);
  border-bottom-color: var(--color-secondary);
}

.policy-card .last-updated {
  background-color: #f5f5f5;
  padding: 1rem;
  border-left: 4px solid var(--color-primary);
  margin-bottom: 2rem;
  font-size: 0.95rem;
  color: #666;
}

/* ===================================
   CARDS
   =================================== */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
  width: 100%;
}

.card {
  background: var(--color-white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-top: 4px solid var(--color-primary);
  width: 100%;
}

.card p {
  max-width: 100%; /* Card içinde tam genişlik */
  orphans: 2;
  widows: 2;
  text-wrap: pretty;
  hyphens: none;
}

.card:hover {
  transform: translateY(-12px);
  box-shadow: 0 16px 40px rgba(214, 48, 76, 0.3);
  border-top-color: #da746f;
}

.card-icon {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  filter: grayscale(20%) opacity(0.9);
}

.card h3 {
  color: var(--color-primary);
  margin-bottom: 1rem;
  text-align: center;
}

.card p {
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.8;
  text-align: center;
}

/* ===================================
   IMAGE PLACEHOLDERS
   =================================== */

.image-placeholder {
  background: linear-gradient(135deg, #da746f 0%, #d6304c 100%);
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.image-placeholder::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translate(-100%, -100%); }
  100% { transform: translate(100%, 100%); }
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.image-placeholder:hover img {
  transform: scale(1.02);
}

/* ===================================
   ABOUT SECTION
   =================================== */

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
  margin-top: 2rem;
  width: 100%;
}

.about-content {
  width: 100%;
}

.about-content p {
  max-width: 100%;
  orphans: 2;
  widows: 2;
  text-wrap: pretty;
  hyphens: none;
}

.about-content h3 {
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.about-content ul {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
}

.about-content li {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  color: var(--color-text);
}

.about-content li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--color-secondary);
  font-size: 1.2rem;
}

/* ===================================
   SERVICES SECTION
   =================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  width: 100%;
}

.service-card {
  background: var(--color-white);
  padding: 2.5rem 2rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-top: 5px solid var(--color-secondary);
  width: 100%;
  min-width: 300px; /* Minimum genişlik - metin için yeterli alan */
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(214, 48, 76, 0.2);
  border-top-color: var(--color-primary);
}

.service-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-size: 1.4rem;
  max-width: 100%; /* Service card'lar için tam genişlik - uzun başlıklar için */
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
  hyphens: none;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text);
  max-width: 100%; /* Card içinde tam genişlik kullan */
  padding: 0 1rem; /* Yan padding ekle */
  margin-left: auto;
  margin-right: auto;
  orphans: 3; /* 3 satır minimum */
  widows: 3; /* 3 satır minimum */
  text-wrap: pretty;
  word-spacing: 0.05em; /* Kelime arası boşluk hafifçe artır */
  hyphens: none;
}

/* ===================================
   PORTFOLIO / REFERENCES
   =================================== */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  width: 100%;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4 / 3;
  width: 100%;
  transition: all 0.3s ease;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.portfolio-item:hover img {
  transform: scale(1.12);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(214, 48, 76, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h3 {
  color: var(--color-white);
  margin: 0;
}

.portfolio-overlay div { text-align: center; }
.portfolio-overlay p { margin: 0; font-size: 0.95rem; }

/* ===================================
   BRAND LOGO GRID
   =================================== */

.brand-logos {
  padding: 2.2rem 0 2.6rem;
}

.filter-btn {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
  margin: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn:hover {
  background-color: rgba(212, 30, 30, 0.08);
  color: var(--color-primary);
}

.filter-btn.active {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.brand-logos .section-title h2 {
  margin-bottom: 0.35rem;
  text-align: center;
}

.brand-logos .section-title h2::after {
  content: none;
}

.brand-logos .section-title p {
  margin-top: 0;
  margin-bottom: 1.8rem;
  text-align: center;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  hyphens: none;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.2rem;
  align-items: stretch;
}

.logo-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  height: 140px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.logo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.logo-card img {
  max-width: 110px;
  max-height: 90px;
  object-fit: contain;
  width: 100%;
  height: 100%;
  filter: grayscale(8%);
}

.logo-card--brc img {
  clip-path: inset(16% 16% 16% 16%);
  transform: scale(1.08);
}

.logo-card--trt img {
  transform: scale(1.68);
}

.logo-card--dunyagoz img {
  transform: scale(1.38);
}

.logo-card--sinema img {
  transform: scale(1.15);
}

/* ===================================
   CONTACT FORM
   =================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.2rem;
  margin-top: 2rem;
  width: 100%;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  width: 100%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.5rem 1.4rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  width: 100%;
  align-items: flex-start;
}

.contact-item-icon {
  font-size: 1.8rem;
  color: var(--color-primary);
  flex-shrink: 0;
  min-width: 1.8rem;
  text-align: center;
}

.contact-item h4 {
  color: var(--color-primary);
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
}

.contact-item p {
  margin: 0;
  color: var(--color-text);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  width: 100%;
  max-width: 540px;
  margin-left: auto;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.25rem 1.25rem 1.4rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.form-group label {
  color: var(--color-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text);
  transition: border-color 0.3s ease;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: var(--color-light);
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.contact-section {
  padding: 3rem 2rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.btn-submit {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 1rem 2rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.btn-submit:hover {
  background-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ===================================
   FOOTER
   =================================== */

footer {
  background-color: var(--color-dark);
  color: var(--color-light);
  padding: 3rem 2rem 0;
  margin-top: 4rem;
  width: 100%;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  width: 100%;
}

.footer-section {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.footer-section h4 {
  color: var(--color-light);
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-section li {
  margin-bottom: 0.75rem;
}

.footer-section p {
  margin-bottom: 0.5rem;
  color: #FFFFFF;
}

.footer-section a {
  color: var(--color-light);
  text-decoration: none;
}

.footer-section a:hover {
  color: var(--color-secondary);
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--color-primary);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--color-secondary);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  text-align: center;
  color: #c8d2d6;
  font-size: 0.9rem;
  width: 100%;
  box-sizing: border-box;
}

.footer-bottom p {
  color: #c8d2d6;
  margin: 0 auto;
  padding: 0;
  text-align: center;
  width: 100%;
  display: block;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 768px) {
  :root {
    --font-size-h1: 2.5rem;
    --font-size-h2: 2rem;
    --font-size-h3: 1.5rem;
  }

  .header-container {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: var(--color-white);
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    gap: 0;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    min-height: 400px;
    padding: 3rem 1.5rem;
  }

  .hero-logo {
    max-width: 300px;
    margin: 0 auto 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  section {
    padding: 2.5rem 1.5rem;
    margin-bottom: 0.5rem;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 1rem;
  }

  .cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
  }

  .portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
  }

  .lang-switcher {
    gap: 0.5rem;
  }

  .lang-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }

  h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }

  h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }

  nav {
    gap: 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .container {
    padding: 0 1.5rem;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 1rem;
    gap: 0.5rem;
  }

  .logo {
    font-size: 1.2rem;
    flex-shrink: 0;
  }

  .logo img {
    height: 40px;
  }

  .logo a {
    display: flex;
    align-items: center;
  }

  h1 {
    font-size: clamp(1.5rem, 4vw, 1.8rem);
  }

  h2 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
  }

  h3 {
    font-size: 1.2rem;
  }

  h4 {
    font-size: 1rem;
  }

  .hero {
    min-height: 300px;
    padding: 2rem 1rem;
  }

  .hero-logo {
    max-width: 250px;
    margin: 0 auto 1rem;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-buttons {
    gap: 0.75rem;
  }

  section {
    padding: 2rem 1rem;
  }

  .container {
    padding: 0 1rem;
  }

  .about-grid,
  .contact-grid {
    gap: 1.5rem;
    margin-top: 1rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }

  .contact-item {
    flex-direction: column;
    gap: 0.5rem;
  }

  .contact-item-icon {
    font-size: 1.5rem;
  }

  .contact-form {
    gap: 1rem;
  }

  .form-group {
    gap: 0.25rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 0.6rem 0.75rem;
    font-size: 16px;
  }

  .form-group label {
    font-size: 0.9rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .lang-switcher {
    gap: 0.25rem;
  }

  .lang-btn {
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
  }

  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }

  .service-card {
    padding: 1.5rem 1rem;
  }

  .card {
    padding: 1.5rem;
  }

  .image-placeholder {
    aspect-ratio: 4/3;
  }
}

/* About Logo Container Styling */
.about-logo-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  transition: all 0.3s ease;
  min-height: 400px;
  overflow: hidden;
}

.about-logo-container:hover {
  transform: translateY(-5px);
}

#aboutCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.about-logo {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 320px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(214, 48, 76, 0.15));
  transition: all 0.3s ease;
}

.about-logo-container:hover .about-logo {
  transform: scale(1.08);
  filter: drop-shadow(0 12px 28px rgba(214, 48, 76, 0.25));
}

@media (max-width: 768px) {
  .about-logo-container {
    min-height: 300px;
    padding: 2rem;
  }
  
  .about-logo {
    max-width: 240px;
  }
}
