/*========== BASE VARIABLES ==========*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');
:root {
  --header-height: 3.5rem;
  --hue: 210;
  --first-color: #acc8e5;
  --first-color-alt: #112a46;
  --title-color: hsl(228, 8%, 95%);
  --text-color: hsl(228, 8%, 65%);
  --body-color: hsl(228, 15%, 20%);
  --container-color: hsl(228, 15%, 15%);
  --body-font: 'Poppins', sans-serif;
  --biggest-font-size: 2.25rem;
  --bigger-font-size: 1.5rem;
  --h1-font-size: 1.75rem;
  --h2-font-size: 1.5rem;
  --h3-font-size: 1.25rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;
  --smaller-font-size: 0.75rem;
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*========== BASE STYLES ==========*/

html,
body {
  overflow-x: hidden;
  width: 100%;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--body-color);
  color: var(--text-color);
  font-family: var(--body-font);
}

h1,
h2,
h3,
h4 {
  color: var(--title-color);
  font-weight: var(--font-medium);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

/*=============== HEADER & NAV ===============*/

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-fixed);
  background-color: var(--container-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.section__title {
  margin-bottom: 5rem;
  margin-left: 2rem;
  color: var(--first-color);
  /* Başlıkların altına 2rem boşluk ekliyoruz */
}

.section__subtitle {
  margin-top: 5rem;
  margin-left: 2rem;
  /* Başlıkların altına 2rem boşluk ekliyoruz */
}

.nav {
  display: flex;
  justify-content: center;
  /* Ortaya çekmek için */
  align-items: center;
  height: var(--header-height);
  padding: 0 2rem;
  /* Logo ve yazılar arasına boşluk eklemek için */
}

.nav__list {
  display: flex;
  gap: 2rem;
  /* Menü öğeleri arasındaki boşluk */
  margin-left: auto;
  /* Menü öğelerini sağa çekmek için */
}

.nav__logo {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  margin-right: auto;
  /* Logoyu sola çekmek için */
}

.nav__logo span {
  color: var(--first-color);
}

.nav__toggle,
.nav__close {
  display: none;
  font-size: 1.25rem;
  color: var(--title-color);
  cursor: pointer;
}

/* Navigation for mobile devices */

@media screen and (max-width: 1023px) {
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    background-color: hsla(0, 0%, 10%, 0.3);
    width: 65%;
    height: 100%;
    padding: 4.5rem 0 0 2rem;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transition: right 0.4s;
    z-index: 100;
    /* Menü z-index değeri */
  }
  .nav__toggle {
    display: flex;
  }
  .nav__close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    /* Boyutunu artırdım */
    color: var(--title-color);
    cursor: pointer;
    z-index: 101;
    /* Menünün üstüne çıkması için z-index değeri */
    display: flex;
    /* Flexbox kullanarak hizalama */
    justify-content: center;
    align-items: center;
  }
}

.nav__list {
  display: flex;
  flex-direction: column;
  row-gap: 3rem;
  align-items: center;
}

.nav__link {
  color: var(--title-color);
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
  transition: color 0.4s;
}

.nav__link:hover {
  color: var(--first-color);
}

/* Navigation on larger screens */

@media screen and (min-width: 1024px) {
  .nav__toggle {
    display: none;
  }
  .nav__menu {
    display: flex;
    align-items: center;
    background-color: transparent;
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: none;
  }
  .nav__list {
    flex-direction: row;
    gap: 2rem;
    justify-content: center;
  }
  .nav__item {
    list-style: none;
  }
  .nav__link {
    font-size: var(--normal-font-size);
  }
}

/* Show menu */

.show-menu {
  right: 0;
}

/*=============== HOME ===============*/

.home {
  background-color: var(--container-color);
}

.home__container {
  padding-top: 2rem;
  row-gap: 2.5rem;
  text-align: center;
}

.home__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.home__data {
  text-align: center;
}

.home__subtittle,
.home__education {
  font-size: var(--bigger-font-size);
}

.home__subtittle span,
.home__tittle {
  color: var(--first-color);
}

.home__subtittle {
  margin-top: 6rem;
}

.home__tittle {
  font-size: var(--biggest-font-size);
  font-weight: var(--font-semi-bold);
  line-height: 1.2;
}

.home__description {
  margin-block: 1rem 1.5rem;
  max-width: 90%;
  /* Genişliği daha daraltarak ortalayabilirsiniz */
}

.home__social {
  display: flex;
  justify-content: center;
  column-gap: 1.25rem;
}

.home__social-link {
  display: flex;
  background-color: var(--first-color-alt);
  padding: 0.5rem;
  color: var(--title-color);
  font-size: 1.5rem;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  transition: transform 0.4s;
}

.home__social-link:hover {
  transform: translateY(-0.25rem);
}

/*=============== BUTTON ===============*/

.button {
  display: inline-block;
  background-color: var(--first-color);
  padding: 1rem 1.75rem;
  margin: auto;
  border-radius: 0.5rem;
  color: var(--title-color);
  font-weight: var(--font-medium);
  transition: box-shadow 0.4s;
}

.button:hover {
  box-shadow: 0 8px 24px hsla(var(--hue), 100%, 40%, 0.25);
}

.button:active {
  transform: scale(0.98);
}

/*=============== ABOUT ===============*/

.about__container {
  display: block;
  /* Flex düzenini kaldırarak öğelerin doğal akışta yer almasını sağladık */
  text-align: center;
  /* Ortalamak için */
  gap: 2.5rem;
  position: relative;
}

.about__logo {
  margin: 4rem auto;
  padding-top: 1rem;
  /* Yeterli padding ekleyerek üstten boşluk bırakabilirsiniz */
}

.about__logo img {
  width: 400px;
  /* Genişliği artırın */
  height: auto;
  /* Yüksekliği orantılı olarak ayarlamak için otomatik bırakın */
  margin: 0 auto;
  /* Ortalamak için */
  display: block;
  /* Ortalanmış olarak kalması için */
}

.about__data {
  text-align: center;
  margin-top: 3rem;
  /* Üstten biraz boşluk bırakarak logodan sonra gelmesini sağlıyoruz */
}

.about__description {
  margin-bottom: 2rem;
}

/*=============== SERVICES ===============*/

.services__container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.services__card {
  text-align: center;
  background-color: var(--container-color);
  padding: 3rem 1.5rem;
  border-radius: 1rem;
  border: 2px solid var(--container-color);
  transition: border-color 0.4s, transform 0.4s;
  max-width: 320px;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.services__icon {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  object-fit: cover;
}

.services__button {
  margin-top: auto;
  padding: 0.5rem 1rem;
  width: 100%;
  text-align: center;
}

.services__title {
  font-size: var(--h2-font-size);
  margin-bottom: 1.5rem;
}

.services__card:hover {
  border: 2px solid var(--first-color);
  transform: scale(1.05);
}

/*=============== GALLERY ===============*/

.gallery__wrapper {
  padding: 1rem 0;
}

.gallery__container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  /* Kartlar arasındaki boşluk */
}

.gallery__item {
  width: 300px;
  /* Kart genişliği */
  text-align: center;
  background-color: var(--container-color);
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px hsla(228, 15%, 8%, 0.4);
}

.gallery__item img {
  width: 200px;
  height: 150px;
  border-radius: 0.5rem;
  object-fit: cover;
}

.gallery__item p {
  margin-top: 0.5rem;
  color: var(--text-color);
}

/*=============== DEVICE ===============*/

.device__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.device__image {
  width: 100%;
  max-width: 400px;
  margin-bottom: 1rem;
}

.device__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px hsla(228, 15%, 8%, 0.4);
}

.device__content {
  max-width: 600px;
  padding: 1rem;
  background-color: var(--container-color);
  border-radius: 1rem;
  box-shadow: 0 4px 12px hsla(228, 15%, 8%, 0.4);
}

.device__title {
  font-size: var(--h2-font-size);
  margin-bottom: 1.5rem;
}

.device__description {
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

/*=============== TESTIMONIALS ===============*/

.testimonials__container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.testimonial__item {
  padding: 1.5rem;
  background-color: var(--container-color);
  border-radius: 1rem;
  box-shadow: 0 4px 12px hsla(228, 15%, 8%, 0.4);
  max-width: 600px;
  margin: 0 auto;
}

.testimonial__description {
  margin-bottom: 1rem;
  color: var(--text-color);
  font-style: italic;
}

.testimonial__author {
  font-size: var(--h2-font-size);
  color: var(--first-color);
}

/*=============== CONTACT ===============*/

.contact__container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  padding: 2rem 0;
}

.contact__button {
  margin: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: 8px;
  text-align: center;
  background-color: #b3c6ff;
  /* Buton rengi */
  color: #112a46;
  border: 2px solid #112a46;
  /* Kenarlık rengi */
  transition: background-color 0.3s, color 0.3s;
}

.contact__button:hover {
  background-color: #112a46;
  color: #b3c6ff;
}

.contact__container h3 {
  width: 100%;
  text-align: center;
  margin-bottom: 1rem;
}

.contact__container h2 {
  width: 100%;
  text-align: center;
  margin-bottom: 2rem;
}

/*=============== FOOTER ===============*/

.footer {
  background-color: var(--container-color);
  padding-block: 3.5rem 2rem;
}

.footer__container {
  row-gap: 2rem;
  text-align: center;
}

.footer__title {
  font-size: var(--h1-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: 0.25rem;
}

.footer__title span {
  color: var(--first-color);
}

.footer__social {
  display: flex;
  justify-content: center;
  column-gap: 1.25rem;
}

.footer__social-link {
  display: flex;
  background-color: var(--first-color-alt);
  padding: 0.5rem;
  color: var(--title-color);
  font-size: 1.5rem;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  transition: transform 0.4s;
}

.footer__social-link:hover {
  transform: translateY(-0.25rem);
}

.footer__copy {
  display: block;
  margin-top: 1rem;
  color: var(--text-color);
  font-size: var(--small-font-size);
  text-align: center;
}

.footer__link {
  color: var(--first-color);
  text-decoration: none;
  font-weight: var(--font-medium);
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: var(--first-color-alt);
}

.footer__company {
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
}

/*=============== SCROLL UP ===============*/

.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -50%;
  background-color: var(--body-color);
  padding: 6px;
  display: inline-flex;
  border-radius: 0.25rem;
  color: var(--first-color);
  font-size: 1.25rem;
  box-shadow: 0 4px 12px hsla(228, 15%, 8%, 0.4);
  z-index: var(--z-tooltip);
  transition: bottom 0.4s, transform 0.4s;
}

.scrollup:hover {
  transform: translateY(-0.25rem);
}

/* Show Scroll Up */

.show-scroll {
  bottom: 3rem;
}

/* Sticky Contact Button */

.sticky-contact {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  background-color: var(--first-color);
  color: var(--title-color);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px hsla(228, 15%, 8%, 0.4);
  cursor: pointer;
  z-index: 100;
  transition: box-shadow 0.3s ease;
}

.sticky-contact:hover {
  box-shadow: 0 8px 24px hsla(var(--hue), 100%, 40%, 0.25);
}

/* WhatsApp button */

.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  /* WhatsApp yeşili */
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: background-color 0.3s ease;
}

.whatsapp-button:hover {
  background-color: #128c7e;
  /* Daha koyu yeşil */
}

/* Scroll Up button */

.scrollup {
  position: fixed;
  bottom: 90px;
  /* WhatsApp butonunun üstünde olması için yukarıda */
  right: 20px;
  background-color: #112a46;
  /* Arka plan rengi */
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 1010;
  /* WhatsApp butonunun üstünde olması için daha yüksek z-index */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.scrollup.show-scroll {
  opacity: 1;
  visibility: visible;
}

/* Map Section Styling */

.map__container {
  width: 100%;
  height: 450px;
  margin-top: 2rem;
  overflow: hidden;
  border-radius: 8px;
  position: relative;
}

.map section h3.section__subtitle,
.map section h2.section__title {
  text-align: center;
  color: #fff;
  margin-bottom: 1rem;
}

/* Media Queries */

@media screen and (max-width: 768px) {
  .section__title {
    font-size: var(--h1-font-size);
  }
  .section__subtitle {
    font-size: var(--h2-font-size);
  }
  .home__tittle {
    font-size: var(--h1-font-size);
  }
  .home__subtittle,
  .home__education {
    font-size: var(--normal-font-size);
  }
  .services__title,
  .testimonial__author {
    font-size: var(--h3-font-size);
  }
  .home__description,
  .about__description {
    font-size: var(--small-font-size);
  }
  .device__title,
  .device__description {
    font-size: var(--small-font-size);
  }
}

@media screen and (max-width: 480px) {
  .section__title {
    font-size: var(--h2-font-size);
  }
  .section__subtitle {
    font-size: var(--h3-font-size);
  }
  .home__tittle {
    font-size: var(--h2-font-size);
  }
  .home__subtittle,
  .home__education {
    font-size: var(--small-font-size);
  }
  .home__description,
  .about__description,
  .device__description {
    font-size: var(--smaller-font-size);
  }
  .services__title,
  .testimonial__author {
    font-size: var(--normal-font-size);
  }
  .home__description {
    max-width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .services__card {
    max-width: 100%;
    width: 100%;
    aspect-ratio: auto;
  }
  .services__icon {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  .services__button {
    margin-top: 1rem;
    width: 100%;
    padding: 0.75rem;
    font-size: var(--small-font-size);
  }
}
/* ======= CAMPAIGN ======= */
:root {
  --gold: #c8a65a; /* afişteki altın tonu */
  --gold-2: #e0c27a;
  --black-true: #0b0b0b;
}
.campaign {
  background: radial-gradient(
      1200px 600px at 50% -10%,
      rgba(200, 166, 90, 0.15),
      transparent
    ),
    var(--black-true);
  padding-block: 5rem 4rem;
}
.campaign__container {
  max-width: 1000px;
  margin-inline: auto;
}
.campaign__header {
  text-align: center;
  margin-bottom: 2rem;
}
.campaign__badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(200, 166, 90, 0.45);
  color: var(--gold);
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  border-radius: 0.5rem;
  background: linear-gradient(
    180deg,
    rgba(200, 166, 90, 0.08),
    rgba(200, 166, 90, 0.02)
  );
}
.campaign__title {
  margin-top: 0.8rem;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  color: var(--gold-2);
  font-weight: 600;
}
.campaign__timer {
  margin-top: 0.25rem;
  color: var(--text-color);
  font-size: 0.95rem;
}

.campaign__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
@media (max-width: 900px) {
  .campaign__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .campaign__grid {
    grid-template-columns: 1fr;
  }
}

.campaign__card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0)
  );
  border: 1px solid rgba(200, 166, 90, 0.18);
  border-radius: 1rem;
  padding: 1.25rem 1rem 1rem;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25),
    inset 0 1px rgba(255, 255, 255, 0.06);
}
.campaign__card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 166, 90, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.campaign__name {
  color: var(--title-color);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}
.campaign__price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.campaign__price .price-old {
  color: #b58f48;
  opacity: 0.75;
  text-decoration: line-through;
}
.campaign__price .price-arrow {
  color: var(--gold);
  font-weight: 700;
}
.campaign__price .price-new {
  color: var(--gold-2);
  font-size: 1.35rem;
  font-weight: 700;
}
.campaign__cta {
  width: 100%;
  background: linear-gradient(180deg, var(--gold), var(--gold-2));
  color: #1b1b1b;
  border: none;
  font-weight: 600;
}
.campaign__cta:hover {
  box-shadow: 0 10px 24px rgba(200, 166, 90, 0.35);
}
.campaign__disclaimer {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-color);
  opacity: 0.9;
}
.topbar-campaign {
  background: linear-gradient(
    90deg,
    rgba(200, 166, 90, 0.25),
    rgba(200, 166, 90, 0.05)
  );
  color: var(--title-color);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(200, 166, 90, 0.25);
}
.topbar-campaign a {
  color: var(--gold-2);
  font-weight: 600;
}
/* ===== Instagram Giveaway ===== */
.ig-giveaway {
  background: linear-gradient(
    180deg,
    rgba(200, 166, 90, 0.08),
    rgba(17, 42, 70, 0.35)
  );
  padding-block: 4rem;
}
.ig__wrap {
  max-width: 1000px;
  margin-inline: auto;
}
.ig__head {
  text-align: center;
  margin-bottom: 1.5rem;
}
.ig__badge {
  display: inline-block;
  border: 1px solid rgba(200, 166, 90, 0.45);
  color: #e0c27a;
  padding: 0.3rem 0.6rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
}
.ig__subtitle {
  margin-top: 0.5rem;
  color: var(--text-color);
}
.ig__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 900px) {
  .ig__grid {
    grid-template-columns: 1fr;
  }
}
.ig__card {
  background: var(--container-color);
  border: 1px solid rgba(200, 166, 90, 0.18);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}
.ig__rules {
  margin: 0.5rem 0 1rem 1rem;
}
.ig__rules li {
  list-style: disc;
  margin: 0.35rem 0;
}
.ig__cta-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.ig__cta {
  flex: 1;
  text-align: center;
}
.ig__note {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  opacity: 0.85;
}
.ig__embed {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

/* Modal */
.ig__modal {
  border: none;
  border-radius: 1rem;
  padding: 1rem;
  background: var(--container-color);
  color: var(--title-color);
  width: min(520px, 92vw);
}
.ig__modal form label {
  display: block;
  margin: 0.6rem 0;
}
.ig__modal input {
  width: 100%;
  padding: 0.6rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.15);
  color: var(--title-color);
}
.ig__chk {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.ig__btn-alt {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  color: var(--title-color);
}
.ig__tiny {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  opacity: 0.8;
}
.topbar-campaign {
  background: linear-gradient(
    90deg,
    rgba(200, 166, 90, 0.25),
    rgba(200, 166, 90, 0.05)
  );
  color: var(--title-color);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(200, 166, 90, 0.25);
}
.topbar-campaign a {
  color: var(--gold-2);
  font-weight: 600;
}
