/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #ffffff; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #ffffff; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #060606; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #ffffff;  /* The default color of the main navmenu links */
  --nav-hover-color: #24b7a4; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #384a59; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #566c7f; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #ffffff; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #24b7a4; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f9f9f9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

.transparent-background {
  --background-color: rgba(255, 255, 255, 0);
  --contrast-color: #5b5b5b;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1; /* içeriğin arkasında kalması için */
}

body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  background-size: cover;
  position: relative;
}

body::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(49, 71, 89, 0.6);
}

@media (min-width: 1366px) {
  body {
    background-attachment: fixed;
  }
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
  position: relative;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  --background-color: rgba(255, 255, 255, 0);
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
}

.hero p {
  margin: 10px 0 0 0;
  font-size: 24px;
  color: var(--heading-color);
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 18px;
  }
}

.hero .countdown {
  margin-top: 25px;
}

.hero .countdown div {
  text-align: center;
  border: 2px solid color-mix(in srgb, var(--default-color), white 90%);
  border-radius: 8px;
  margin: 10px 10px;
  width: 100px;
  padding: 15px 0;
}

.hero .countdown div h3 {
  font-weight: 700;
  font-size: 32px;
  margin-bottom: 15px;
}

.hero .countdown div h4 {
  font-size: 16px;
  font-weight: 600;
}

@media (max-width: 575px) {
  .hero .countdown div {
    width: 70px;
    padding: 10px 0;
    margin: 10px 8px;
  }

  .hero .countdown div h3 {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .hero .countdown div h4 {
    font-size: 14px;
    font-weight: 500;
  }
}

.hero .hero-newsletter {
  margin-top: 25px;
}

.hero .hero-newsletter p {
  font-size: 18px;
  margin: 0 0 15px 0;
}

.hero .hero-newsletter .newsletter-form {
  margin-bottom: 15px;
  padding: 6px 8px;
  position: relative;
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  box-shadow: 0px 0 20px rgba(0, 0, 0, 0.1);
  display: flex;
  transition: 0.3s;
  border-radius: 50px;
}

.hero .hero-newsletter .newsletter-form:focus-within {
  border-color: var(--accent-color);
}

.hero .hero-newsletter .newsletter-form input[type=email] {
  border: 0;
  padding: 4px;
  width: 100%;
  background-color: var(--surface-color);
  color: var(--contrast-color);
}

.hero .hero-newsletter .newsletter-form input[type=email]:focus-visible {
  outline: none;
}

.hero .hero-newsletter .newsletter-form input[type=submit] {
  border: 0;
  font-size: 16px;
  padding: 0 20px;
  margin: -7px -9px -7px 0;
  background: var(--accent-color);
  color: var(--default-color);
  transition: 0.3s;
  border-radius: 50px;
}

.hero .hero-newsletter .newsletter-form input[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.hero .hero-newsletter .newsletter-form button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  font-size: 16px;
  padding: 0 15px;
  margin: -7px -9px -7px 0;
  background: #060606;
  color: var(--default-color);
  transition: 0.3s;
  border-radius: 50px;
}

.hero .social-links {
  margin-top: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  /* width: 40px; */
  /* height: 40px; */
  border-radius: 50%;
  /* border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%); */
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-right: 10px;
  transition: 0.3s;
}

.hero .social-links a:hover {
  color: var(--accent-color);
  /* border-color: var(--accent-color); */
}

.hero .social-links a img {
  /* width: 40px; */
  height: 40px;
}

/* =========================
   CUSTOM CHECKBOX STYLES
   ========================= */
.form-consents {
  margin-top: 15px;
  text-align: left;
}

.consent-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #ffffff;
  cursor: pointer;
}

/* Native checkbox gizle */
.consent-item input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Metin alanı */
.consent-item span {
  display: block;
  position: relative;
  padding-left: 28px;
}

/* Checkbox kutusu */
.consent-item span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em; /* HİZALAMA ANAHTARI */
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 4px;
  background: transparent;
  transition: all 0.2s ease;
}

/* Check işareti */
.consent-item span::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.6em; /* HİZALAMA ANAHTARI */
  width: 9px;
  height: 5px;
  border-left: 2px solid #000;
  border-bottom: 2px solid #000;
  transform: rotate(-45deg) scale(0);
  opacity: 0;
  transition: all 0.2s ease;
}

/* Checked state */
.consent-item input:checked + span::before {
  background: #ffffff;
  border-color: #ffffff;
}

.consent-item input:checked + span::after {
  transform: rotate(-45deg) scale(1);
  opacity: 1;
}

/* Hover */
.consent-item:hover span::before {
  border-color: #ffffff;
}

/* Links */
.consent-item a, .consent-info a {
  color: #ffffff;
  text-decoration: underline;
}

.consent-item a:hover, .consent-info a:hover {
  opacity: 0.8;
}

/* Alt bilgilendirme */
.consent-info {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.7);
}


/* =========================
   KVKK DOCUMENT STYLE
   ========================= */

.kvkk-document, .kvkk-document h1, .kvkk-document h2, .kvkk-document p, .kvkk-document ul, .kvkk-document li {
  max-width: 720px;
  margin: 0 auto;
  /* font-family: "Times New Roman", Georgia, serif; */
  color: #000;
  line-height: 1.6;
  font-size: 15px;
}

.kvkk-document h1 {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 30px;
  letter-spacing: 0.5px;
}

.kvkk-document h2 {
  font-size: 16px;
  font-weight: 700;
  margin-top: 22px;
  margin-bottom: 8px;
}

.kvkk-document p {
  margin-bottom: 10px;
  text-align: justify;
}

.kvkk-document ul {
  margin-left: 18px;
  margin-bottom: 10px;
}

.kvkk-document li {
  margin-bottom: 6px;
}

/* =========================
   KVKK MODAL HEADER
   ========================= */

.kvkk-modal-header {
  display: flex;
  justify-content: center;
  align-items: center;
  /* padding: 22px 24px; */
  border-bottom: 1px solid #e5e5e5;
}

.kvkk-modal-logo {
  max-height: 36px;
}

.kvkk-modal-header .btn-close {
  position: absolute;
  right: 20px;
  top: 20px;
}


/* Modal arka planı beyaz */
.modal-content {
  background: #ffffff;
}

/* Mobilde rahat okuma */
@media (max-width: 576px) {
  .kvkk-document {
    font-size: 14px;
  }

  .kvkk-document h1 {
    font-size: 20px;
  }
}

.kvkk-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  font-size: 16px;
  padding: 10px 22px;
  background: #060606;
  color: #ffffff;
  transition: 0.3s;
  border-radius: 50px;
}

/* Hover */
.kvkk-close-btn:hover {
  background: color-mix(in srgb, #060606, transparent 20%);
  color: #ffffff;
}

.modal-footer {
  border-top: 1px solid #e5e5e5;
  justify-content: center;
}