/* Genel ayarlar */
body {
  font-family: Arial, sans-serif;
}

/* HEADER */
header img {
  max-height: 50px;
}

.navbar {
  background-color: #f4f4f4 !important;
}

.navbar-nav {
  margin-left: 30%;
}

/* Hizmetlerimiz menüsü hover açılır */
.navbar-nav .dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

/* Menü pozisyonunu ayarla */
.dropdown-menu {
  top: 100%;
  left: 0;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #0d3b66;
  /* header aktif link rengi */
  color: white;
  font-weight: bold;
}

.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

.navbar-collapse {
  justify-content: space-between;
}

.nav-link {
  margin-left: 25px;
  transition: color 0.3s, background-color 0.3s;
  padding: 8px 15px;
  border-radius: 5px;
}

.nav-link:hover {
  color: #ffffff !important;
  background-color: #0a3465;
}

/* SEÇİLEN (ACTIVE) MENÜ */
.nav-link.active {
  color: #ffffff !important;
  background-color: #0a3465;
  /* Bootstrap primary rengi */
  border-radius: 5px;
}

.arquote-btn {
  background-color: #ee7605;
  color: #0a3465 !important;
  border-radius: 5px;

  font-weight: bold;
  transition: background-color 0.3s ease;
}

.arquote-btn:hover {
  background-color: #0a3465;
  color: #ee7605 !important;
}

/*DİL SEÇİCİ*/
.language-switcher {
  display: flex;
  align-items: center;
  z-index: 10;
}

.language-switcher a {
  margin: 0 5px;
  font-weight: bold;
  transition: color 0.3s ease;
}

.language-switcher a:hover {
  color: #ff9900;
}

/* FOOTER */
.footer {
  background-color: #0a3465;
  color: #ffffff;
  padding: 40px 0;
}

.footer h5 {
  color: #ffffff;
  margin-bottom: 20px;
}

.footer p {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.footer a {
  color: #ffffff;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer img {
  max-height: 50px;
}

.footer h5 {
  margin-bottom: 0;
  font-size: 1.25rem;
}

.footer ul {
  padding: 0;
  list-style: none;
}

.footer ul li {
  margin-bottom: 8px;
}

.footer ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer ul li a:hover {
  color: #ff9900;
  text-decoration: underline;
}

.footer .social-icon img {
  transition: transform 0.3s ease;
}

.footer .social-icon img:hover {
  transform: scale(1.2);
}

.footer-bottom {
  background-color: #051b35;
  font-size: 1.05rem;
  position: relative;
  bottom: 0;
  width: 100%;
}

/* SLIDER */
#heroCarousel {
  height: 90vh;
}

#heroCarousel .carousel-item {
  height: 90vh;
}

#heroCarousel .slider-img {
  object-fit: cover;
  height: 100%;
}

#heroCarousel .carousel-caption {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 10px;
}


.carousel-item {
  transition: opacity 2s ease-in-out;
  /* 2 saniye sürede geçiş */
}

/*Map*/
.map-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 oran */
  height: 0;
  overflow: hidden;
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/*Map Altındaki Icons*/
.map-social-fixed-out {
  margin-top: 10px;
  padding-left: 10px;
  line-height: 0;
}

.map-social-fixed-out img {
  height: 32px;
  margin-right: 8px;
  transition: transform 0.3s ease;
  display: inline-block;
  vertical-align: middle;
}

.map-social-fixed-out img:hover {
  transform: scale(1.15);
}


/* Carousel */
.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: transparent !important;
  padding: 0;
  border-radius: 0;
}

.carousel-caption h1 {
  font-size: 5rem;
  font-weight: 700;
  color: #ffffff;
}

.carousel-caption p {
  font-size: 2rem;
  font-weight: 400;
  color: #ffffff;
}

.carousel-caption .btn {
  background-color: #ee7605;
  border: none;
  color: #fff;
  padding: 12px 24px;
  font-size: 1.2rem;
  border-radius: 15px;
  transition: background-color 0.3s ease;
}

.carousel-caption .btn:hover {
  background-color: #0a3465;
  color: #ee7605;
}

/*Cards*/
.contact-card {
  background-color: #f8f9fa;
  border-left: 5px solid #0a3465;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-card h4 {
  margin-bottom: 10px;
  font-weight: 700;
  color: #0a3465;
}

.contact-card p {
  margin: 0;
  color: #333;
  font-size: 0.95rem;
}

.contact-icon {
  font-size: 1.5rem;
  color: #0a3465;
  flex-shrink: 0;
}

.email-link {
  color: #0a3465;
  text-decoration: none;
  font-weight: 500;
}

.email-link:hover {
  text-decoration: underline;
  color: #ff9900;
}

/*Service Grid*/
.object-fit-cover {
  object-fit: cover;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.service-block {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
  overflow: hidden;
}

.service-block .content {
  max-width: 80%;
}

.service-block img {
  width: 100%;
  max-height: 150px;
  object-fit: contain;
  margin-top: 15px;
  border-radius: 10px;
}

.stylish-text {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: justify;
  line-height: 1.7;
  font-size: 1.05rem;
}


/* HİZMET BLOKLARI RENGİ */
.bg-deniz {
  background-color: #e3f2fd;
}

.bg-hava {
  background-color: #f0f4c3;
}

.bg-kara {
  background-color: #fbe9e7;
}

.bg-depo {
  background-color: #ede7f6;
}

.text-deniz {
  color: #0d47a1;
}

.text-hava {
  color: #33691e;
}

.text-kara {
  color: #bf360c;
}

.text-depo {
  color: #4527a0;
}

html {
  scroll-behavior: smooth;
}

/*Hakkımızda, yazıları düzenleme*/
.text-justify {
  text-align: justify;
}

.databank-btn {
  transition: all 0.3s ease;
  border-radius: 8px;
  padding: 12px 24px;
  background: linear-gradient(to right, #0a3465, #1e88e5);
  color: #fff;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: none;
}

.databank-btn:hover {
  background-color: #fff;
  color: #0a3465;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(10, 52, 101, 0.3);
}


/*ArQuote*/

form .row.g-4 {
  margin-bottom: 0.5rem;
  row-gap: 0.25rem;
}

form .form-label {
  margin-bottom: 0.3rem;
}

form .form-control {
  padding: 0.4rem 0.6rem;
}

h2.text-center.fw-bold {
  margin-bottom: 30px;
  font-size: 2.2rem;
}

/*Containers Gorseller*/
.container-img {
  width: 75%;
  object-fit: contain;
  border-radius: 10px;
  margin-top: 10px;
}

/*Incoterm Gorseller*/
.incoterm-img {
  width: 60%;
  object-fit: contain;
  border-radius: 10px;
  margin-top: -40px;
}

@media screen and (max-height: 500px) and (orientation: landscape) {
  .navbar {
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .navbar .logo-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .navbar .logo-wrapper img {
    height: 30px !important;
  }

  .navbar .language-switcher {
    position: absolute;
    right: 1rem;
    top: 0.6rem;
    flex-direction: row !important;
  }

  .navbar-toggler {
    position: absolute !important;
    left: 0.5rem !important;
    right: auto !important;
    top: 0.5rem;
  }
}

@media (max-width: 768px) {
  .logo-wrapper {
    justify-content: center !important;
    width: 100%;
  }

  .language-switcher {
    position: absolute;
    right: 0.125em;
    top: 0.8em;
    display: flex;
    flex-direction: column;
    font-size: 0.8em;
    gap: 0.1em;
    line-height: 0.3;
  }

  .language-switcher span.text-muted {
    display: none;
  }

  .navbar-toggler {
    position: absolute;
    left: 0.2em;
    top: 0.5em;
  }

  /*Screen Cycle*/
  .carousel-inner {
    display: flex !important;
  }

  .carousel-item {
    flex: 0 0 100%;
    display: none !important;
  }

  .carousel-item:first-child {
    display: block !important;
  }

  .carousel-indicators,
  .carousel-control-prev,
  .carousel-control-next {
    display: none !important;
  }

  #heroCarousel {
    pointer-events: none;
  }

  .carousel-inner,
  .carousel-item,
  .carousel-item img {
    height: 50vh !important;
    object-fit: cover;
  }

  /*Services_Orders*/

  #services img {
    display: none !important;
  }

  #services .container.py-4 {
    padding-bottom: 0.5rem !important;
  }

  #services .row.g-0:first-of-type {
    margin-top: -1rem;
  }

  /*Footer Settings*/
  .footer .col-md-4.text-center,
  .footer .col-md-4.text-end {
    display: none !important;
  }

  .footer .col-md-4 {
    text-align: center !important;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer .col-md-4 .d-flex.align-items-center {
    justify-content: center;
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer .social-icon {
    display: flex;
    justify-content: center !important;
    margin-top: 1rem;
  }

  .footer-social-mobile {
    display: flex !important;
    justify-content: center;
    gap: 1rem;
  }

  .footer-social-mobile img {
    height: 30px;
    transition: transform 0.3s ease;
  }

  .footer-social-mobile img:hover {
    transform: scale(1.2);
  }

  .footer-social-mobile a {
    z-index: 10;
    position: relative;
    pointer-events: auto;
  }

  .footer-social-mobile img {
    pointer-events: auto;
  }

  /*Toggle Transparan*/
  #navbarMenu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: transparent !important;
  }

  #navbarMenu>ul.navbar-nav {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(3px);
    border-radius: 0 0 12px 12px;
    padding: 1rem;
    margin: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  /*incoterms view*/
  .incoterms-img,
  .incoterm-img {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    margin-top: 2rem;
  }

  /*Arquote view*/
  form.row.g-4>.col-md-6:first-child {
    margin-top: 2.5rem;
  }

  /*Services Dropdown Cancelization*/
  .nav-item.dropdown .dropdown-menu {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none;
    opacity: 0;
  }

  /*Databank*/
  h2.dtbnk {
    margin-top: 2.5rem;
  }

  h2.cbm-title {
    margin-top: 2.5rem;
  }

  h2.cw-title {
    margin-top: 2.5rem;
  }

  /*cbm & cw table*/
  .table-responsive table {
    font-size: 13px;
  }

  .table-responsive .form-control,
  .table-responsive .form-select {
    padding: 0.3rem 0.5rem;
    font-size: 13px;
  }

  .table-responsive th,
  .table-responsive td {
    padding: 0.3rem;
  }

  .navbar .logo-wrapper img {
    height: 35px !important;
  }

}