/* --- TEMEL DEĞİŞKENLER VE STİLLER --- */
:root {
  --bg-dark: #050505;
  --bg-gradient: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
  --text-primary: #ffffff;
  --text-dim: #aaaaaa;
  --dynamic-color: linear-gradient(90deg, #B87333, #DA8E50);
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  position: relative;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg-dark);
  background-image: var(--bg-gradient);
  color: var(--text-primary);
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  min-height: 100vh;
}

main {
  position: relative;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background-color: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 25px;
}

.navbar .logo img {
  height: 45px;
  vertical-align: middle;
}

.phone-number {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 1px;
}

.phone-number span {
  display: inline-block;
  transition: transform 0.3s ease, text-shadow 0.3s ease;
  position: relative;
}

.phone-number span:hover {
  transform: scale(1.2);
  text-shadow: 0 0 10px #B87333, 0 0 20px #B87333;
  z-index: 1;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 25px;
}

.navbar-center {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 5px 0;
  transition: color 0.3s ease;
}

.nav-link:hover {
  background: var(--dynamic-color);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dropdown {
  position: relative;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(10px);
  min-width: 240px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.3);
  z-index: 1;
  border-radius: 8px;
  padding: 10px 0;
  border-top: none;
  border-image: var(--dynamic-color) 1;
}

.dropdown-content a {
  color: var(--text-primary);
  padding: 12px 20px;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.offer-btn {
  display: inline-block;                                                                          
  box-sizing: border-box;  
  background: var(--dynamic-color);
  color: #000;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative; /* Added for pseudo-element positioning */
  overflow: hidden; /* Added to hide the overflowing shiny effect */
  z-index: 1; /* Ensure button content is above the shiny effect */
  text-decoration: none;
  text-align: center;
}

.offer-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%; /* Start off-screen to the left */
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg); /* Angle the shiny effect */
  transition: left 0.7s ease; /* Animation for the shiny effect */
  z-index: -1; /* Place behind the button text */
}

.offer-btn:hover::before {
  left: 100%; /* Move across the button on hover */
}

.offer-btn:hover {
  transform: scale(1.05);
}

.hover-grow {
  display: inline-block;
  transition: transform 0.3s ease, text-shadow 0.3s ease;
  position: relative;
}

.hover-grow:hover {
  transform: scale(1.1);
  z-index: 1;
  text-shadow: 0 0 10px #B87333, 0 0 20px #B87333;
}

@keyframes wave {
  0%, 100% {
    transform: translateY(0);
    text-shadow: none;
  }
  50% {
    transform: translateY(-8px);
    text-shadow: 0 0 8px #B87333, 0 0 15px #B87333;
  }
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  cursor: pointer;
  z-index: 1002;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

/* Footer Styles */
footer {
  background-color: #0a0a0a;
  color: var(--text-dim);
  padding: 50px 0 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-column {
  padding: 0 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  position: relative;
  top: 0;
  transition: top 0.3s ease, box-shadow 0.3s ease;
}

.footer-column:hover {
  top: -5px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9);
}

.footer-column h3 {
  color: var(--text-primary);
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 40px;
  height: 2px;
  background: var(--dynamic-color);
}

.footer-column p {
  line-height: 1.7;
}

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

.footer-column ul li a {
  color: var(--text-dim);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: var(--text-primary);
}

.footer-column .fas {
  margin-right: 10px;
  color: #B87333;
}

.social-media a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  background-color: #1a1a1a;
  color: var(--text-primary);
  margin-right: 10px;
  margin-bottom: 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-media a:hover {
  background: var(--dynamic-color);
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom a {
  color: inherit;
  text-decoration: none;
  color: #ff2e74;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #007bff; /* veya markaya uygun bir renk */
  text-decoration: underline;
}


/* --- RESPONSIVE TASARIM --- */
@media (max-width: 1160px) {

  .nav-menu::before {
    content: 'Menü';
    position: absolute;
    top: 20px;
    left: 40px;
    color: var(--text-primary);
    font-size: 2.2rem;
  }

 .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background-color: rgba(12, 12, 12, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px 40px;
    gap: 30px;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out, visibility 0.4s;
    visibility: hidden;
    box-shadow: -5px 0px 20px rgba(0,0,0,0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-menu.active {
    transform: translateX(0);
    visibility: visible;
  }

  .navbar-center, .navbar-right {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 25px;
  }
  
  .navbar-right {
    margin-top: 20px;
  }

  .offer-btn {
    width: 100%;
    text-align: center;
  }

  .dropdown:hover .dropdown-content {
    display: none;
  }

  .dropdown-content {
    position: static;
    background-color: transparent;
    backdrop-filter: none;
    box-shadow: none;
    padding: 15px 0 0 15px;
    min-width: unset;
    border-radius: 0;
    border: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  @media (max-width: 460px) {
    .phone-number {
      display: none;
    }
    .navbar {
      padding: 15px 20px;
    }
  }
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}
.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

@media (min-width: 1161px) {
  .offer-btn {
    animation: heartbeat 5s infinite;
  }

  .dropdown-content {
    top: 100%;
    padding-top: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: all 0.25s ease-out;

    background: rgba(30, 30, 30, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    padding: 8px;
  }

  .dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .dropdown-content a {
    border-radius: 8px;
    padding: 14px 20px;
    transition: all 0.2s ease-in-out;
  }

  .dropdown-content a:hover {
    background: var(--dynamic-color);
    color: #fff;
    -webkit-text-fill-color: #fff;
    transform: scale(1.02);
  }
}

@keyframes heartbeat {
  0% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.05); /* First beat */
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.05); /* Second beat */
  }
  70% {
    transform: scale(1);
  }
  100% {
    transform: scale(1);
  }
}

/* --- LANGUAGE SWITCHER --- */
.navbar-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.language-switcher {
  display: flex;
  gap: 8px;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0.7;
}

.lang-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lang-btn:hover, .lang-btn.active {
  transform: scale(1.1);
  opacity: 1;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.lang-btn.active {
  border: 2px solid var(--dynamic-color);
}