:root {
  --blue-clr: #618597;
  --footer-bg-clr: #416a7e;
  --yellow-clr: #fbd784;
  --white-clr: #fff;
  --light-text-clr: #d0dae0c4;
  --extra-light-clr: #d0dae02d;

  --transition: all 0.3s ease-in-out;

  --max-width: 1440px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Kaydırma sorunu için body ve html overflow-y ayarı */
html, body {
  overflow-x: hidden;
  overflow-y: auto;
  height: auto;
}

body {
  font-family: 'Manrope', 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background-color: var(--blue-clr);
  color: var(--white-clr);
  overflow-x: hidden;
  font-size: 16px;
  min-height: 100vh;
  max-width: 100vw;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: var(--white-clr);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.container h2 {
  margin-top: 2em;
}

/* header min-height azaltıldı */
header {
  background-image: url(./images/backgroundimage.png);
  background-size: cover;
  background-position: top center;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  z-index: 1;
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%; /* sadece üst kısımda görünsün */
  background: linear-gradient(
    to bottom,
    var(--blue-clr),
    rgba(30, 144, 255, 0)
  ); /* mavi tonlar */
  pointer-events: none; /* tıklamaları engellemesin */
  z-index: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 1.125rem;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.logo-text {
  font-family: 'Manrope', 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-weight: 700;
  font-size: 1.38rem;
  letter-spacing: 0.04em;
}

.top-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(2px);
  padding: 2rem 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  max-width: 80%;
  margin-inline: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  padding: 1rem 2rem;
  border-radius: 1.125rem;
}

.nav-links .user-icon {
  width: 19px;
  height: 19px;
  line-height: 19px;
  cursor: pointer;
}

.nav-links .close-icon {
  cursor: pointer;
}

/* Hero Section */

.hero {
  position: relative;
  z-index: 0;
  max-width: 70%;
  margin-inline: auto;
  text-align: center;
  margin-top: 4rem;
}

.hero-subtitle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  width: 60%;
  margin-inline: auto;
  margin-top: 14rem;
}

.hero-subtitle-text {
  color: #416a7e;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 4px;
}

.hero-title {
  font-size: 4.25rem;
  width: 50%;
  font-weight: 300;
  margin-inline: auto;
  margin-top: 1rem;
  text-align: left;
}

.hero-text {
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 4rem;
  width: 50%;
  margin-inline: auto;
}

.vertical-text {
  position: absolute;
  top: 23%;
  left: 9%;
  transform: translateY(-20%);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 14px;
  letter-spacing: 1px;
  font-family: sans-serif;
  display: flex;
  align-items: center;
  white-space: nowrap;
  gap: 0.5rem;
  z-index: 0;
}
.content-info-text.left {
  padding-left: 8rem;
}
/* Info Section */

.info {
  position: relative;
  z-index: 0;
  display: flex;
  justify-content: space-between;
  gap: 4rem;
  margin-top: -6rem;
  width: 100%;
  padding: 0;
  margin-bottom: 10rem;
}

.info.container {
  margin-top: 4rem;
}

.content-subtitle {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--yellow-clr);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.info-title {
  font-size: 4rem;
  font-weight: 300;
  margin-bottom: 2rem;
  line-height: 1.2;
  width: 80%;
}

.info-text {
  font-size: 1.1rem;
  line-height: 1.8;
  width: 95%;
}

.number {
  font-size: 11.25rem;
  position: absolute;
  color: rgba(255, 255, 255, 0.2);
  top: -8%;
  left: 2%;
  font-family: "Roboto", sans-serif;
  z-index: -1;
  letter-spacing: -10px;
}

.info.right {
  margin-top: 7rem;
  width: 100%;
  position: relative;
  z-index: 1;
  margin-bottom: 5rem;
  gap: 5rem;
}

.info.right.container {
  margin-top: 8rem;
}

.info-link {
  color: var(--yellow-clr);
  transition: var(--transition);
}

.info-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.number-right {
  font-size: 11.25rem;
  position: absolute;
  color: rgba(255, 255, 255, 0.2);
  top: -14%;
  right: 43%;
  font-family: "Roboto", sans-serif;
  z-index: -1;
  letter-spacing: -10px;
}

.iphone {
  transition: var(--transition);
  margin-top: -3rem;
}

/* Title Section */

.title {
  position: relative;
  z-index: 12;
}

.big-title {
  position: absolute;
  top: -10%;
  left: 15%;
  font-weight: 500;
  color: var(--light-text-clr);
  font-size: 10rem;
  text-align: center;
  line-height: 1;
  z-index: 10;
  width: 70%;
  margin-top: 6rem;
  text-align: center;
}

/* Mission Section */

.mission {
  margin-top: 20rem;
  position: relative;
  -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
  z-index: 10;
  width: 100%;
}

.mission-vision::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30%; /* sadece üst kısımda görünsün */
  background: linear-gradient(
    to bottom,
    var(--blue-clr),
    rgba(30, 144, 255, 0)
  ); /* mavi tonlar */
  pointer-events: none; /* tıklamaları engellemesin */
  z-index: 0;
}

.mission img {
  width: 100%;
}

.flex {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  background-color: var(--extra-light-clr);
  width: 100%;
  height: 100%;
  margin-top: -3rem;
  margin-bottom: 10rem;
  border-bottom-right-radius: 2rem;
  border-bottom-left-radius: 2rem;
}

.mission-vision {
  display: flex;
  position: relative;
  flex: 1;
  flex-direction: column;
  width: 50%;
  padding: 4rem;
  height: 100%;
}

.mission-vision h3 {
  color: var(--yellow-clr);
  font-size: 4rem;
  font-weight: 300;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.mission-vision p {
  font-size: 1.125rem;
  line-height: 1.8;
  width: 90%;
}

.mission-vision.first::after {
  content: "";
  position: absolute;
  top: 23%;
  right: 0;
  height: 65%;
  width: 1px;
  background-color: var(--yellow-clr);
}

.mission-vision:nth-child(2) {
  padding-left: 7rem;
}

/* Footer Section */

footer {
  background-color: var(--footer-bg-clr);
}

.footer-top {
  padding-top: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6rem;
  width: 100%;
  border-bottom: 1px solid var(--white-clr);
}

.footer-top-left {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  cursor: pointer;
}

.footer-logo span {
  font-size: 2rem;
  color: var(--light-text-clr);
  font-weight: 600;
}

.footer-top p {
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--white-clr);
  line-height: 1.8;
}

.footer-top-right {
  display: flex;
  flex-direction: column;
  margin-left: auto;
  margin-top: auto;
  padding-bottom: 2.5rem;
}

.social-links-container {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.social-links-container i {
  color: var(--footer-bg-clr);
  background-color: var(--white-clr);
  padding: 0.5rem;
  border-radius: 50%;
  font-size: 1rem;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.social-links-container i:hover {
  color: var(--white-clr);
  background-color: var(--yellow-clr);
}

.footer-bottom {
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  padding-bottom: 2rem;
}

.copyright {
  font-size: 0.85rem;
  font-weight: 300;
}

.footer-links {
  display: flex;
  gap: 1rem;
  transition: var(--transition);
}

.footer-links li a {
  transition: var(--transition);
}

.footer-links li a:hover {
  color: var(--yellow-clr);
}

.hamburger-icon {
  display: none;
}

/* LOGO GRUBU SOLA HİZALAMA VE OPASİTE KATMANI */
.logo-group {
  display: flex;
  align-items: center;
  position: fixed;
  top: 2.5rem;
  left: 1.8rem;
  z-index: 100;
  /* Ekstra arka planı kaldır, sadece mevcut katmana blur ekle */
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  border-radius: 1.5rem;
  padding: 0;
}
.logo-group .logo {
  background: rgba(255,255,255,0.12); /* Mevcut katman */
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.04);
  backdrop-filter: blur(4px); /* Blur azaltıldı */
  border-radius: 1.3rem;
  padding: 0.5rem 1.6rem;
}
.logo-group .logo img {
  width: 45px;
  height: 45px;
  border-radius: 10px;
}

/* Sağdaki nav grubu için hizalama ve opak katman */
.nav-group {
  display: flex;
  align-items: center;
  position: fixed;
  top: 2.5rem;
  right: 1.8rem;
  z-index: 100;
}
.nav-group .nav-links {
  background: rgba(255,255,255,0.12);
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.04);
  padding: 0.5rem 2rem;
  min-height: 88px;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.logo-group .logo,
.nav-group .nav-links {
  height: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  /* Yükseklik eşitleme için aynı padding ve border-radius */
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  border-radius: 1.125rem;
  padding: 0 1rem;
}

.logo-group .logo,
.nav-group .nav-links {
  min-height: 61px;
  padding: 0 1.5rem;
  background: rgba(255,255,255,0.12);
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.04);
}

.footer-logo img {
  width: 45px;
  height: 45px;
  border-radius: 10px;
}

/* Media Queries */

@media (max-width: 1512px) {
  .hero-subtitle {
    margin-top: 10rem;
    margin-inline: unset;
    width: 65%;
  }
  .hero-title {
    width: 80%;
    margin-inline: unset;
  }
  .hero-text {
    width: unset;
  }
  .big-title {
    left: 10%;
    margin-top: 5rem;
    font-size: 9rem;
    text-align: center;
    width: 80%;
  }
}

@media (max-width: 1440px) {
  .hero-subtitle {
    margin-top: 10rem;
    margin-inline: unset;
    width: 65%;
  }
  .hero-title {
    width: 80%;
    margin-inline: unset;
  }

  .hero-text {
    width: 100%;
  }
  .vertical-text {
    top: 20%;
  }
  .info {
    padding-left: 4rem;
  }
  .info-text {
    font-size: 1rem;
  }
  .content-info-text.left {
    padding-left: 5rem;
  }
  .number {
    left: 5%;
  }
  .number-right {
    right: 35%;
  }
  .big-title {
    font-size: 9rem;
    margin-top: 4rem;
  }
  .footer-top,
  .footer-bottom {
    padding-left: 4rem;
  }

  .footer-links {
    padding-right: 6rem;
  }
}

@media (max-width: 1280px) {
  body {
    overflow-x: hidden;
  }
  header {
    min-height: 90vh;
  }
  .hero {
    max-width: unset;
    text-align: left;
  }

  .hero-subtitle {
    width: unset;
    justify-content: flex-start;
    padding-left: 8rem;
  }
  .hero-title {
    width: 80%;
    margin-inline: auto;
  }
  .hero-text {
    width: 80%;
  }
  .vertical-text {
    top: 43%;
    left: 7%;
  }
  .info {
    margin-top: -8rem;
    gap: unset;
    gap: 4rem;
    width: 80%;
    margin: 0;
    padding: 0 1rem;
    margin-inline: auto;
  }

  .info-title {
    font-size: 3.5rem;
  }
  .info-text {
    width: 100%;
    font-size: 1rem;
  }
  .number {
    left: 2%;
  }
  .content-info-text.left {
    padding-left: 0;
  }
  .info.right {
    width: 100%;
    gap: unset;
  }
  .info-text-left {
    width: 120%;
  }

  .info-title-right {
    width: 90%;
  }
  .number-right {
    right: -30%;
  }
  .big-title {
    font-size: 8rem;
    margin-top: 2rem;
  }
  .mission-vision {
    padding: 2rem;
  }
  .mission-vision h3 {
    font-size: 3rem;
    margin-top: 3rem;
  }
  .mission-vision:nth-child(2) {
    padding-left: 5rem;
  }
  .footer-top,
  .footer-bottom {
    padding-left: 2rem;
  }
  .footer-links {
    font-size: 0.9rem;
    padding-right: 2rem;
  }
}

@media (max-width: 1080px) {
  .info {
    width: 80%;
    margin-inline: auto;
  }
  .info-text {
    font-size: 1rem;
  }
  .iphone {
    width: 95%;
  }

  .iphone1 {
    padding-right: 16rem;
  }
  .content {
    width: 70%;
  }
  .content-info-text.left {
    padding-left: 0;
  }
  .big-title {
    margin-top: 9rem;
  }
}

@media (max-width: 768px) {
  .hamburger-icon {
    display: block;
    width: 30px;
    cursor: pointer;
    z-index: 20;
    color: white;
    font-size: 2rem;
    position: relative;
    right: 0;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 101px;
    right: 0;
    background-color: var(--blue-clr);
    padding: 1rem;
    border-radius: 1rem;
    width: 100%;
  }

  .nav-links.active {
    display: flex;
  }

  .hero-subtitle {
    justify-content: flex-start;
    padding-left: 2.2rem;
    width: 100%;
    max-width: 100%;
    white-space: pre-line;
  }
  .hero-subtitle-text {
    display: block;
    max-width: 90%;
    font-size: 1rem;
    line-height: 1.2;
    word-break: break-word;
    white-space: normal;
  }
  .hero-title {
    font-size: 2rem;
    /* Diğer stiller aynı kalsın */
    text-transform: capitalize;
    width: 100%;
    text-align: left;
    margin-left: 2.2rem;
    margin-top: 0.5rem;
    line-height: 1.2;
  }

  .vertical-text {
    top: 44%;
  }
  .iphone {
    width: 100%;
    margin-top: 2rem;
  }
  .iphone1 {
    padding-right: 0;
    width: 100%;
  }
  .info {
    flex-direction: column;
    gap: 2rem;
    width: 95%;
    margin: 0;
    padding: 0;
    margin-inline: auto;
  }

  .info-text {
    width: 133%;
  }
  .info-title {
    font-size: 2.1rem;
    width: 100%;
  }

  .info-title-right {
    width: 105%;
  }
  .info.right {
    flex-direction: column-reverse;
    width: 100%;
    margin: 0;
    padding: 0;
    margin-inline: auto;
  }

  .content-info-text {
    margin-top: 3rem;
    padding-left: 1rem;
  }

  .number-right {
    top: -3%;
    right: 55%;
  }
  .big-title {
    font-size: 4rem;
    margin-top: 2rem;
    text-align: center;
    width: 95%;
    left: 2.5%;
  }
  .flex {
    flex-direction: column;
    width: 100%;
  }
  .mission {
    mask: unset;
  }
  .mission-vision::before {
    display: none;
  }

  .mission-vision {
    width: 90%;
    margin: 0;
    padding: 0;
    margin-inline: auto;
    background: transparent;
    margin-top: 2rem;
    gap: unset;
  }
  .mission-vision h3 {
    font-size: 2.5rem;
  }
  .mission-vision.first::after {
    display: none;
  }
  .mission-vision:nth-child(2) {
    padding-left: 0;
    margin-bottom: 2rem;
  }
  .footer-top,
  .footer-bottom {
    flex-direction: column;
  }

  .footer-top-left {
    width: 100%;
    align-items: flex-start;
    justify-content: flex-start;
    padding-left: 1rem;
  }
  .footer-top-right {
    width: 90%;
    margin-left: unset;
    padding: 0;
    margin-inline: auto;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
  }

  .footer-bottom {
    padding-left: 3rem;
  }
  .footer-links {
    flex-direction: column;
    margin-top: 2rem;
  }

  .logo-group {
    position: fixed;
    top: 1rem;
    left: 1.8rem;
    margin-bottom: 0;
    justify-content: flex-start;
  }
  .top-header {
    flex-direction: column;
    align-items: flex-end;
  }

  .nav-group {
    position: fixed;
    top: 1rem;
    right: 1.8rem;
  }

  .logo-group .logo,
  .nav-group .nav-links {
    min-height: 32px;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  .nav-group .nav-links {
    min-height: 80px;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }
  .logo-group .logo,
  .nav-group .nav-links {
    min-height: 32px;
    padding: 0 0.5rem;
    background: rgba(255,255,255,0.12);
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.04);
  }
  .smart-navigation-group .img-container img {
    width: 100%;
    max-width: 100%;
    height: 80vh;
    max-height: 90vh;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border-radius: 1.5rem;
    position: relative;
    z-index: 1;
  }
  .smart-navigation-group .img-container {
    position: relative;
  }
  .smart-navigation-group .img-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, rgba(97,133,151,0.98) 0%, rgba(97,133,151,0.0) 100%);
    z-index: 2;
    pointer-events: none;
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
  }
  .smart-navigation-group .img-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(97,133,151,0.98) 0%, rgba(97,133,151,0.0) 100%);
    z-index: 2;
    pointer-events: none;
    border-bottom-left-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
  }
  .smart-navigation-group .title {
    top: 70px !important;
  }
  .smart-navigation-group .big-title {
    margin-top: 2rem !important;
  }
  .smart-navigation-group .title {
    top: 40px !important;
  }
  .info-title,
  .info-text.info-text-left {
    width: 98%;
    max-width: 98%;
    margin-left: 1.2rem;
    line-height: 1.3;
    font-size: 1.1rem;
    text-align: left;
    white-space: normal;
  }
  .info-title {
    font-size: 2.1rem;
  }
  .hero-subtitle img[alt="blue line"],
  .vertical-text {
    display: none !important;
  }
  .info.right .info-text {
    width: 110%;
    max-width: 110%;
    margin-left: 2.2rem;
    line-height: 1.3;
    font-size: 1.1rem;
    text-align: left;
    white-space: normal;
    padding-right: 0;
  }
}

@media (max-width: 600px) {
  .logo-group {
    left: 1.8rem !important;
    right: unset !important;
    justify-content: flex-start !important;
  }
  .logo-group .logo {
    padding: 0.4rem 1.1rem !important;
    border-radius: 1rem !important;
  }
  .info.right.container .iphone {
    margin-top: 4.5rem !important;
    margin-bottom: 2.5rem !important;
    display: block;
  }
  .big-title,
  .smart-navigation-group .big-title {
    font-size: 3.02rem !important;
    line-height: 1.1 !important;
    left: 0 !important;
    width: 100% !important;
    margin-top: 1.5rem !important;
    text-align: center !important;
    position: static !important;
    display: block !important;
    transform: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media (max-width: 375px) {
  body {
    overflow-x: hidden;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 0.6rem;
    margin-inline: auto;
  }
  .info-text {
    width: 100%;
  }
  .info-title {
    font-size: 2.5rem;
  }

  .info-title-right {
    width: 85%;
  }
  .content {
    width: 100%;
  }
  .mission-vision p {
    width: 100%;
  }
  .vertical-text {
    top: 38%;
  }
}

/* Grouping "Akıllı Navigasyon, Sorunsuz Şarj" and "Misyon/Vizyon" separator with 60px padding */
.smart-navigation-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.85);
  transform-origin: center;
  width: 100%;
  position: relative;
  margin-top: 0;
}

.smart-navigation-group .title {
  width: 100%;
  position: absolute;
  top: -40px;
  left: 0;
  z-index: 20;
  pointer-events: none;
}

.smart-navigation-group .big-title {
  font-size: 100pt;
  text-align: center;
  transform: translateX(-50%);
  position: relative;
  left: 50%;
  margin: 0;
  width: 100%;
  color: var(--light-text-clr);
  line-height: 1;
}

.smart-navigation-group .mission.container {
  margin-top: 8rem;
}

.iphone {
  margin-top: -3rem;
}

@media (min-width: 769px) {
  .web-only {
    display: initial !important;
  }
}
@media (max-width: 768px) {
  .web-only {
    display: none !important;
  }
  .info-title,
  .info-text.info-text-left {
    text-align: left;
    margin-left: 2.2rem;
    width: 90%;
    max-width: 90%;
  }
  .info-text.info-text-left {
    width: 110%;
    max-width: 110%;
    margin-left: 2.2rem;
    line-height: 1.3;
    font-size: 1.1rem;
    text-align: left;
    white-space: normal;
    padding-right: 0;
  }
}
