.page {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.container {
  width: 100%;
  max-width: 1040px; /* Narrower container for better readability (Linear style) */
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
}

/* Sections */
.heroSection {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: visible;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  scroll-margin-top: 80px;
}

.heroContentWrapper {
  position: relative;
  z-index: 10;
  width: 100%;
}

.section {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 100px 0 16px 0; /* Minimized padding */
  background-color: var(--background);
  min-height: 100vh;
  overflow: visible;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  scroll-margin-top: 80px;
}

@media (max-width: 768px) {
  .section {
    padding: 100px 0 32px 0;
    overflow: visible;
    scroll-margin-top: 80px;
  }
}

.auto-height-section {
  height: auto !important;
  min-height: auto !important;
  overflow: visible !important;
  scroll-snap-align: none !important;
}

.auto-height-section > .container {
  margin-top: 0 !important;
}

.section > .container {
  margin-top: 0;
  margin-bottom: auto;
  width: 100%;
}

.altBg {
  background-color: var(--background-alt);
}

/* Typography */
.heroMainTitle {
  font-size: clamp(2rem, 4.5vw, 5.5rem);
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0;
  letter-spacing: -0.04em;
  text-shadow: 0 10px 40px rgba(255, 255, 255, 0.4);
  white-space: nowrap;
  text-align: center;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.heroSubTitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: center;
  max-width: 700px;
  margin: 24px auto 0 auto;
}

@media (max-width: 1024px) {
  .heroMainTitle {
    font-size: 4.5vw;
  }
}

@media (max-width: 768px) {
  .heroMainTitle {
    font-size: 8vw;
    white-space: normal;
  }
  .heroSubTitle {
    padding: 0 16px;
  }
}

.title {
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.04em; /* Tight letter spacing */
  margin-bottom: 24px;
  color: var(--foreground);
  line-height: 1.05;
}

.subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--text-muted);
  margin-bottom: 48px;
  line-height: 1.5;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

.sectionTitle {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--foreground);
  text-align: center;
}

.sectionText {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  text-align: center;
  max-width: 880px; /* Increased to allow single line */
  margin: 0 auto 64px auto;
  line-height: 1.6;
}

/* Company Layout */
.companyLayout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: stretch;
}

@media (max-width: 1024px) {
  .companyLayout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* Contact Layout */
.contactLayout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 768px) {
  .contactLayout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.companyInfoLeft {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.companyImageCard {
  border-radius: 24px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  margin-top: auto;
}

.companyImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.companyImageCard:hover .companyImage {
  transform: scale(1.05);
}

/* Bento Grid */
.bentoGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: minmax(240px, auto);
  gap: 24px;
}

.bentoCard {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: left;
}

.bentoCard:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.bentoWide {
  grid-column: span 2;
}

.bentoMetric {
  font-size: 4rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.04em;
}

.bentoMetricLabel {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Vision & Mission Card Hover Interactions */
.vision-mission-card .vm-left {
  order: 1;
}
.vision-mission-card .vm-divider-container {
  order: 2;
}
.vision-mission-card .vm-right {
  order: 3;
}

.vm-card-half {
  border-radius: 24px;
  transition: all 0.4s ease;
  cursor: pointer;
}
.vm-card-half:hover {
  background-color: var(--background-alt);
}

.vm-left:hover ~ .vm-divider-container .vm-drop-icon {
  opacity: 1 !important;
  transform: scale(1.15);
}
.vm-left:hover ~ .vm-divider-container .vm-drop-icon .drop-body {
  fill: #3b82f6;
  stroke: #3b82f6;
}
.vm-left:hover ~ .vm-divider-container .vm-drop-icon .drop-highlight {
  stroke: #ffffff;
}

.vm-right:hover ~ .vm-divider-container .vm-drop-icon {
  opacity: 1 !important;
  transform: scale(1.15);
}
.vm-right:hover ~ .vm-divider-container .vm-drop-icon .drop-body {
  fill: #10b981;
  stroke: #10b981;
}
.vm-right:hover ~ .vm-divider-container .vm-drop-icon .drop-highlight {
  stroke: #ffffff;
}

/* Vision & Mission Card Responsive Layout */
@media (max-width: 680px) {
  .vision-mission-card {
    flex-direction: column !important;
  }
  .vision-mission-card .vm-divider-container {
    position: relative !important;
    left: 0 !important;
    transform: none !important;
    width: 100% !important;
    height: 100px !important;
    flex-direction: row !important;
    padding: 0 40px;
    justify-content: center !important;
    align-items: center !important;
  }
  .vision-mission-card .vm-divider-container svg {
    margin: 0 24px !important;
  }
  .vision-mission-card .vm-line {
    width: 100% !important;
    height: 1px !important;
  }
}

.bentoIcon {
  position: absolute;
  right: -24px;
  bottom: -24px;
  color: rgba(0, 0, 0, 0.04);
  transform: scale(2.5);
  transition: all 0.3s ease;
}

.bentoCard:hover .bentoIcon {
  color: rgba(0, 0, 0, 0.08);
  transform: scale(2.7) rotate(-5deg);
}

.bentoCard h3 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--foreground);
  letter-spacing: -0.02em;
}

.bentoCard p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .bentoGrid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .bentoLarge, .bentoWide {
    grid-column: span 1;
    grid-row: auto;
  }
  .bentoCard {
    padding: 24px;
  }
}

/* Buttons */
.ctaGroup {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.primaryBtn {
  background-color: var(--primary);
  color: white;
  padding: 14px 28px;
  border-radius: 999px; /* Pill shape */
  font-weight: 500;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255,255,255,0.1);
}

.primaryBtn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255,255,255,0.1);
}

.secondaryBtn {
  background-color: white;
  color: var(--primary);
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 1rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.secondaryBtn:hover {
  background-color: #fafafa;
  border-color: rgba(21, 28, 36, 0.15);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Layout Components */
.gridContainer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* Base Card (For Haberler etc) */
.card {
  background: white;
  border: none; 
  border-radius: 20px;
  padding: 48px;
  text-align: left;
  color: var(--foreground);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.04);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.altBg .card {
  background: var(--background);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.02);
}

/* Product Cards */
.productGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.productCard {
  background: white;
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(21, 28, 36, 0.04);
  position: relative;
  overflow: hidden;
}

.productCard:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
  border-color: rgba(21, 28, 36, 0.08);
}

.productIconWrapper {
  width: 48px;
  height: 48px;
  background: var(--background);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  color: var(--foreground);
  border: 1px solid var(--border-color);
}

.productTitle {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  color: var(--foreground);
}

.productDesc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
  flex-grow: 1; /* Butonu her zaman en alta iter */
}

.learnMoreBtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--foreground);
  text-decoration: none;
  transition: opacity 0.2s ease;
  margin-top: auto; /* Esnek kutuda en aşağıda kalmasını sağlar */
}

.learnMoreBtn:hover {
  opacity: 0.7;
}

.learnMoreBtn svg {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.learnMoreBtn:hover svg {
  transform: translateX(4px);
}

/* Form Elements */
.contactLayout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.socialLinks {
  display: flex;
  gap: 16px;
  align-items: center;
}

.socialIcon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--background);
  color: var(--foreground);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.socialIcon:hover {
  background-color: var(--foreground);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contactForm {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.input, .textarea {
  width: 100%;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: transparent; /* Minimal transparent inputs */
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  color: var(--foreground);
}

.input::placeholder, .textarea::placeholder {
  color: #a0aec0;
}

.input:focus, .textarea:focus {
  outline: none;
  border-color: rgba(21, 28, 36, 0.3);
  background: white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.textarea {
  min-height: 140px;
  resize: vertical;
}

@media (max-width: 768px) {
  .title { font-size: 3.5rem; }
  .sectionTitle { font-size: 2.5rem; }
  .ctaGroup { flex-direction: column; width: 100%; }
  .primaryBtn, .secondaryBtn { width: 100%; text-align: center; }
  .section { padding: 100px 0; }
  .contactLayout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .contactForm > div { flex-direction: column; }
}
