[id] {
  scroll-margin-top: 60px; /* navbar yüksekliği */
}

/* Main Nav  */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  background-color: var(--light_color);

  border: 1px solid var(--secondary_color);
}

.main-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.2rem 0.6rem;
}

.main-nav__logo {
  width: 4.5rem;
}
.main-nav__items {
  display: flex;
}
.main-nav li {
  padding: 1rem;
  list-style: none;
}

.main-nav li a {
  text-decoration: none;
  color: var(--primary_color);
  font-weight: 600;
  font-size: 0.9rem;
  border-bottom: 3px rgba(0, 0, 0, 0) solid;
  padding-bottom: 0.5rem;
  transition: border-color 0.5s;
}

.main-nav li a:hover {
  border-color: var(--secondary_color);
}

.main-nav li a.active {
  border-color: var(--secondary_color);
}

/* Başlangıçta hamburger gizli */
.menu {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

/* Dropdown ana menü */
.main-nav__items li.dropdown {
  position: relative;
}

.main-nav__items li .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 99;
}

.main-nav__items li .dropdown-menu li {
  display: block;
  white-space: nowrap;
}

.main-nav__items li .dropdown-menu li a {
  /* padding: 10px 15px; */
  display: block;
  color: black;
  text-decoration: none;
}

.main-nav__items li .dropdown-menu li a:hover {
  background-color: #eee;
}

/* Hover ile açılmasını sağla (masaüstü için) */
.main-nav__items li.dropdown:hover .dropdown-menu {
  display: block;
}

.main-nav__items .dropdown .dropdown-menu {
  display: none;
}
.main-nav__items .dropdown.active .dropdown-menu {
  display: block;
}

/* Header */
#header__home {
  background-image: linear-gradient(white, #aec7d8);
}

#logo-section {
  height: 46vh;
  display: flex;
  align-items: center; /* dikey ortalama */
  justify-content: center; /* container ortalama */
}

#logo-container {
  display: flex;
  justify-content: space-around; /* eşit aralık */
  width: 100%;
  max-width: 1200px; /* çok genişlemesini önler */
}

#logo-container img {
  width: 300px;
  opacity: 0; /* başlangıçta görünmesin */
}

/* Home Section a */
#home__a {
  border-bottom: 1px solid #d6d4d4;
  padding: 2rem 1rem;
}
/* Home Section b */

#home__b .cards-container {
  border-top: 1px solid var(--dark_color);
  border-bottom: 1px solid var(--dark_color);
}

#home__b img {
  width: 200px;
}

#home__b .c_item {
  width: 100%;
  padding: 0 1rem 2rem 1rem;
}
/* cards */

#home__c {
  padding: 2rem 1rem;
}

.card {
  width: 98%;
  padding: 2rem 1rem;
  border-radius: 5px;
  box-shadow: 0px 7px 29px 0px rgba(100, 100, 111, 0.2);
  margin: 0.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  z-index: 5;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* gap: 1rem; */
}

.card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.card a {
  text-decoration: none;
}

.card h3 a {
  color: var(--dark_color);
}

.card h3 a:visited {
  color: var(--dark_color);
  text-decoration: none;
}

.card h3.pt-2.cl-dark {
  font-size: 1.5rem;
}

.card p {
  font-size: 0.9rem;
}

.card-details {
  display: block;
  color: var(--dark_color);
}

.card-details:visited {
  color: var(--dark_color);
}

.card-details:hover {
  color: var(--secondary_color);
}

/*cards*/
.card-link {
  display: block; /* Linki blok yapar, kartın tamamı tıklanabilir olur */
  color: inherit; /* Renkleri korur */
  text-decoration: none; /* Alt çizgiyi kaldırır */
  cursor: pointer;
}

.card-link:hover {
  color: var(--secondary_color); /* İstersen hover efekti */
}

.card-link .card-details {
  color: inherit;
  text-decoration: underline;
}

.card-link .card-details:hover {
  color: var(--secondary_color);
}

.card-link .pt-2.cl-dark:hover {
  color: var(--secondary_color);
}

/* Home Section c */

#home__d .cards-container {
  border-top: 1px solid var(--dark_color);
  border-bottom: 1px solid var(--dark_color);
}

.c_item {
  width: 100%;
  padding: 2rem 1rem;
}

.c_item p {
  font-size: 0.9rem;
}

.c_item i {
  padding: 5px 0;
  color: var(--primary_color);
}
.c_item a {
  text-decoration: none;
  color: var(--primary_color);
  border: 1px solid var(--primary_color);
  border-radius: 3px;
  margin-top: 50px;
  padding: 0.6rem;
  transition: all 0.4s;
}
.c_item a:hover {
  color: white;
  background-color: var(--secondary_color);
  border: 1px solid white;
}

/* **************** Footer *********************** */
.footer {
  background-color: white;
  color: var(--medium_color);
  border-top: 2px solid var(--secondary_color);
  font-size: 0.9rem;
}

.footer-content1 {
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #d6d4d4;
}
.footer-content1 img {
  width: 70px;
  height: auto;
  border-radius: 50%;
}

.footer-content1 h3 {
  color: var(--primary_color);
  padding-bottom: 0.5rem;
}

.footer-content2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.footer-content2 ul li {
  text-decoration: none;
  list-style: none;
}
.footer-content2 h4 {
  padding-bottom: 7px;
}
.footer-content2 h4 a {
  text-decoration: none;
  color: var(--secondary_color);
}

.footer-content2 h4 a:visited {
  color: var(--secondary_color);
}

.footer-content2 h4 a:hover {
  text-decoration: underline;
}
.footer-content2 ul li a {
  text-decoration: none;
  color: var(--medium_color);
}
.footer-content2 ul li a:visited {
  color: var(--medium_color);
}

.footer-content2 ul li a:hover {
  text-decoration: underline;
}

.footer-content2 ul li span {
  font-weight: bold;
  color: var(--dark_color);
}

.footer-content .social .fab {
  margin-right: 1rem;
  border: 2px solid #fff;
  border-radius: 50%;
  text-align: center;
  padding: 0.7rem;
  transition: all 1s;
}
.footer-content {
  height: 5rem;
  display: flex;
  align-items: center;
}

/* **************** About *********************** */

/* About Section A */

#about_header {
  /* background-image: url(../img/bg-1.jpeg); */
  background-color: var(--primary_color);
  height: 250px;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  color: white;
}

#about_header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Saydam siyah katman */
}

.about-title {
  padding-top: 80px;
  font-size: 3rem;
  z-index: 2;
  border-bottom: 2px solid var(--secondary_color);
}

#about_header p {
  padding-top: 10px;
}

#about_section-b {
  color: var(--dark_color);
  padding-bottom: 3rem;
}

#about_section-b h4 {
  color: var(--primary_color);
  font-size: 1.8rem;
  padding-top: 2rem;
}

#about_section-b p {
  padding-top: 1rem;
  line-height: 1.6;
}

/* **************** Contact *********************** */

/* Contact Section A */

#contact .container-fluid {
  /* background-color: var(--primary_color); */
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    var(--primary_color);
}

#contact h1 {
  padding: 1rem 0;
  color: white;
}

#contact .container.border-bottom {
  height: 2px;
  width: 6rem;
  margin: 0 1rem 0 0;
}
.contact-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 2rem 0;
  gap: 3rem;
  grid-template-areas: "map info";
}

.contact-container h2 {
  padding-bottom: 1rem;
  border-bottom: 1px solid #d6d4d4;
  color: var(--dark_color);
}

#contact-info {
  padding-top: 1rem;
  color: var(--medium_color);
  font-size: 16px;
  line-height: 1.6;
}

.info {
  grid-area: info;
}

.map {
  grid-area: map;
}

/* ***************** Services ******************   */

/* Services Header */
#services_header {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    var(--primary_color);
  height: 250px;
  position: relative;
  background-size: cover;
  background-position: center;
  color: white;
}

.services_content {
  display: flex;
  flex-direction: column; /* yazılar üst üste gelsin */
  justify-content: center; /* dikey ortalama */
  height: 100%; /* parent yüksekliğini kullanabilsin */
}

.services_content h2 {
  color: var(--primary_color);
  font-size: 1.8rem;
}

.services_img {
  max-width: 100%;
  height: auto;
  display: block;
}

/************ References ************************************/
#references {
  padding: 1rem 1rem;
}

#references .references_items {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: 1rem; /* yatay boşluk */
  row-gap: 1rem; /* dikey boşluk */
}

#references .references_items img {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
}

/************ LuaSports *********** */
.luasports_header {
  background-image: linear-gradient(white, #aec7d8);
}

.luasports_header img {
  height: 12rem;
}

.luasports_header h1 {
  padding-top: 50px;
  font-size: 1.8rem;
  z-index: 2;
  text-align: center;
  color: var(--primary_color);
}

.bg-sports {
  /* background-color: #eee4dc; */
  background-color: rgba(238, 228, 220, 0.5);
}
.bg-sports2 {
  /* background-color: #eee4dc; */
  background-color: rgba(238, 228, 220, 0.9);
}

.hotels-card {
  border-radius: 5px;
  box-shadow: 0px 7px 29px 0px rgba(100, 100, 111, 0.2);
}

.hotels-img {
  width: 100%;
  object-fit: cover;
  /* display: block; */
  object-position: top;
}

.ikons-saha {
  width: 90%;
}

.ikons-havuz {
  width: 75%;
}

.sports-title {
  color: var(--primary_color);
  font-size: 1.5rem;
  text-align: center;
}

.sports_content {
  color: var(--dark_color);
  font-size: 1rem;
  text-align: center;
}

.sports-nav {
  display: flex; /* içerik üzerinde kontrol */
  flex-direction: column; /* dikey akış */
  justify-content: center; /* içerik dikeyde ortalansın */
  box-shadow: 0px 7px 29px 0px rgba(100, 100, 111, 0.2);
}

.sports-nav nav ul li a {
  text-decoration: none;
  color: var(--primary_color);
}
.sports-nav nav ul li a:visited {
  color: var(--primary_color);
}

.sports-nav nav ul li:hover,
.sports-nav nav ul li a:hover {
  color: var(--secondary_color);
  text-decoration: underline;
}

/************ Lua Mice *********** */
.mice-card {
  padding: 3rem;
}
.mice-hotel-img {
  width: 90%;
  height: auto;
  margin-left: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 25% 0;
  box-shadow: 15px 15px 5px #eaa258;
}

.mice-hotel-header {
  color: var(--primary_color);
  font-size: 2rem;
}

.mice-pool-header {
  color: var(--primary_color);
  font-size: 2rem;
  margin-top: 4rem;
}
.mice-border {
  height: 2px;
  width: 13rem;
  background-color: var(--secondary_color);
}

.mice-img {
  width: 80%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  border-radius: 25% 0;
  box-shadow: 15px 15px 5px #eaa258;
}

.mice-ikons {
  width: 60%;
}
