* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}
html {
  scroll-behavior: smooth;
}
body {
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}
.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 2rem;
  background: linear-gradient(to right, #002147, #005792);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar:hover {
  background: linear-gradient(to right, #003366, #0072bc);
}
.navbar .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 1px;
  position: absolute;
  left: 2rem;
}
a.logo {
  -webkit-tap-highlight-color: transparent; /* mavi tıklama efektini kaldırır */
  outline: none;
  background: none;
  box-shadow: none;
}
.logo-img {
  height: 50px;
  width: auto;
  -webkit-background-clip: text;
  background-clip: text;
  outline: none;
  user-select: none;
  cursor: pointer;
  background: none;
  -webkit-tap-highlight-color: transparent;
  opacity: 0;
  transform: translateX(-30px);
  animation: slideInLeft 0.6s ease-out forwards;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.logo-img:hover {
  filter: drop-shadow(0 0 8px rgba(77, 208, 225, 0.5));
  transform: scale(1.04);
}
.logo-img:active {
  transform: scale(0.95);
}
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  position: relative;
  padding: 0.3rem 0.6rem;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #ffdd33;
  transform: scaleX(0);
  transform-origin: bottom left;
  transition: transform 0.3s ease-in-out;
}
.nav-links a:hover::after {
  transform: scaleX(1);
}
.nav-links a:hover {
  color: #ffdd33;
}
.navbar .social {
  position: absolute;
  right: 2rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}
.navbar .social a img {
  width: 33px;
  height: 33px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}
.navbar .social a:hover img {
  transform: scale(1.2);
}
.footer {
  background: linear-gradient(to right, #002147, #005792);
  color: white;
  font-size: 0.9rem;
  margin-top: 0;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  padding: 2rem 3rem;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.footer-logo {
  margin-left: 30px;
}
.footer-logo img {
  height: 70px;
  width: auto;
}
.footer-center {
  flex: 1;
  text-align: center;
}
.footer-contact {
  margin-right: 70px;
  text-align: right;
  line-height: 1.6;
}
.footer p.copyright {
  text-align: center;
  margin-top: 1rem;
}
.floating-buttons {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
}
.float-btn {
  width: 55px;
  height: 55px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.float-btn img {
  width: 28px;
  height: 28px;
}
.float-btn:hover {
  transform: scale(1.1);
}
.float-btn.whatsapp {
  background-color: #25d366;
}
.float-btn.phone {
  background-color: #0077b6;
}
.gallery-section {
  padding: 80px 20px;
  background: linear-gradient(to bottom right, #e6f7ff, #d0f0ff);
  min-height: 100vh;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.gallery img {
  width: 100%;
  height: auto;
  cursor: pointer;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  object-fit: cover;
  border: 2px solid #d9eaff;
}

.gallery img:hover {
  transform: scale(1.06);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
  border-color: #91e0ff;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 99999;
  backdrop-filter: blur(4px);
  transition: opacity 0.3s ease;
}

.modal img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 14px;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
  border: 3px solid white;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 34px;
  color: #fff;
  cursor: pointer;
  transition: color 0.2s ease;
}
.close-btn:hover {
  color: #ff4444;
}

.controls {
  display: flex;
  gap: 40px;
  font-size: 36px;
  color: #ffffff;
  cursor: pointer;
  margin-top: 10px;
  background: transparent !important;
  box-shadow: none !important;
  border: none;
}
.controls i {
  transition: color 0.2s ease, transform 0.2s ease;
}

.controls i:hover {
  color: #ffd700;
  transform: scale(1.2);
}
.controls i:focus,
.controls i:active,
.controls:focus,
.controls:active {
  background-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  border: none;
}
.controls i,
.controls i:focus,
.controls i:active,
.controls i:hover {
  background: none !important;
  background-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
  -webkit-tap-highlight-color: transparent !important;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
.gallery img:focus,
.gallery img:active,
.gallery a:focus,
.gallery a:active,
.modal img:focus,
.modal img:active,
.close-btn:focus,
.close-btn:active,
.controls i:focus,
.controls i:active {
  outline: none;
  background-color: transparent !important;
  box-shadow: none !important;
}
.gallery img,
.gallery a,
.modal img,
.close-btn,
.controls i {
  -webkit-tap-highlight-color: transparent;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main {
  flex: 1;
}
.footer {
  margin-top: auto;
}
.obysra-info {
  position: relative;
  padding: 80px 20px;
  background: linear-gradient(to bottom right, #e0f7ff, #c1ffe8);
  color: #1f2937;
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
}
.obysra-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/tekno.png');
  background-size: cover;
  background-position: center;
  opacity: 1;
  z-index: 0;
}
.obysra-container {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.obysra-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #002147;
  text-align: center;
  margin-bottom: 1rem;
}
.obysra-subtitle {
  font-size: 1.2rem;
  text-align: center;
  color: #444;
  margin-bottom: 2rem;
}
.obysra-description p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #333;
}
.obysra-description ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}
.obysra-description li {
  margin-bottom: 0.8rem;
  font-size: 1rem;
  color: #2c3e50;
}
.obysra-highlight {
  font-weight: 700;
  font-size: 1.1rem;
  color: #005792;
  text-align: center;
}
.hover-dropdown {
  position: relative;
}
.hover-dropdown .dropbtn {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}
.hover-dropdown .dropbtn i {
  transition: transform 0.3s ease;
}
.hover-dropdown:hover .dropbtn i {
  transform: rotate(180deg);
}
.hover-dropdown .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: linear-gradient(to right, #002147, #005792);
  padding: 10px 0;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  min-width: 240px;
  z-index: 100;
}
.hover-dropdown:hover .dropdown-content {
  display: block;
}
.hover-dropdown .dropdown-content a {
  display: block;
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.2s;
  font-size: 0.95rem;
}
.hover-dropdown .dropdown-content a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
.dropdown-icon {
  font-size: 0.7rem;
  margin-left: 6px;
  transition: transform 0.3s ease;
}
.dropdown:hover .dropdown-icon {
  transform: rotate(180deg);
}
/* Menü bağlantıları */
.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}
.social img {
  width: 22px;
  margin-left: 12px;
}
.admin-hero {
  background: url('../img/admin-baslik.webp') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  color: #fff;
  padding: 100px 20px 60px;
  text-align: center;
  position: relative;
}

.admin-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.45); 
  z-index: 1;
}

.admin-hero h1,
.admin-hero p {
  position: relative;
  z-index: 2;
}

.admin-hero h1 {
  font-size: 3.2rem;
  font-weight: bold;
  margin-bottom: 20px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.admin-hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.admin-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  padding: 60px 20px;
  background: #f5f5f5;
}
.benefit {
  background: #fff;
  padding: 30px 20px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.benefit:hover {
  transform: translateY(-8px);
}
.benefit i {
  font-size: 3rem;
  color: #005792;
  margin-bottom: 20px;
}
.benefit h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.admin-cta {
  background: linear-gradient(to right, #f8f9fa, #e9ecef);
  color: #212529;
  text-align: center;
  padding: 80px 20px;
}
.admin-cta h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}
.admin-cta p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}
.btn-discover {
  padding: 12px 28px;
  background: #ffeb3b;
  color: #002147;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.3s;
}
.btn-discover:hover {
  background: #ffd700;
}
.avukat-bg::before {
  background-image: url('../img/av.png') !important;
}
.hamburger-menu {
  display: none;
  font-size: 1.8rem;
  color: white;
  position: absolute;
  right: 2rem;
  z-index: 1101;
  cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  outline: none;
  background: none !important;
}
.hamburger-menu:active {
  background: none !important;
}
.mobile-sidebar {
  position: fixed;
  top: 0;
  left: -200px; /* width'e göre ayarla */
  width: 200px;
  height: 100vh; 
  overflow-y: auto; 
  background: linear-gradient(to bottom, #002147, #005792);
padding: 0.8rem 0.8rem;
  box-shadow: 2px 0 15px rgba(0,0,0,0.2);
  transition: left 0.3s ease-in-out;
  z-index: 1100;
}
.mobile-sidebar.active {
  left: 0;
}
.mobile-sidebar ul {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
}
.mobile-sidebar ul li {
  margin: 20px 0;
}
.mobile-sidebar ul li a {
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.mobile-sidebar ul li a:hover {
  color: #ffd700;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  z-index: 1099;
}
.overlay.active {
  display: block;
}
.mobile-dropdown span {
  color: white;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 500;
  padding-right: 5px;
}
.dropdown-links {
  height: 0 !important;
  opacity: 0 !important;
  transform: scaleY(0) !important;
  transform-origin: top !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none !important;
  transition: height 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
  background-color: transparent !important;
  border-left: 0 !important;
  border-radius: 0 !important;
}
.dropdown-links.active {
  height: auto !important;
  opacity: 1 !important;
  transform: scaleY(1) !important;
  pointer-events: auto !important;
  margin-top: 6px !important;
  padding: 6px 0 !important;
  background-color: rgba(255, 255, 255, 0.04) !important;
  border-left: 2px solid #ffd700 !important;
  border-radius: 4px !important;
}
.dropdown-links li {
  padding: 4px 12px; 
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center; 
  height: 38px;         
}
.dropdown-links li:last-child {
  border-bottom: none;
}
.dropdown-links li a {
  font-size: 0.88rem;
  color: #eee;
  text-decoration: none;
  display: block;
  line-height: 1.3;
}
#toggleServices i {
  transition: transform 0.3s ease;
}
#toggleServices.open i {
  transform: rotate(180deg);
}
.mobile-sidebar a,
.mobile-sidebar span,
.mobile-sidebar li {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}
.mobile-sidebar a:active,
.mobile-sidebar span:active {
  background: none !important;
}
.mobile-sidebar .social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.mobile-sidebar .social a svg {
  width: 36px;
  height: 36px;
  fill: #ffffff;
  opacity: 0.85;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-sidebar .social a:hover svg {
  transform: scale(1.1);
  opacity: 1;
}

body.menu-open {
  overflow: hidden;
}
@media (max-width: 768px) {
  .hamburger-menu {
    display: block;
  }
  .nav-links,
  .navbar .social {
    display: none !important;
  }  .mobile-sidebar {
    display: block;
  }
}
@media (max-width: 768px) {
 html {
    font-size: 15px;
  }
  .controls,
  .controls *,
  .controls i,
  .controls i:focus,
  .controls i:active,
  .controls i:hover {
    background-color: transparent !important;
    background: none !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    border: none !important;
  }
  body {
    padding: 0;
    overflow-x: hidden;
  }

  .navbar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem; /* biraz daha yüksek padding */
  }

  .navbar .logo {
    font-size: 1.3rem;
    margin-bottom: 0;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-logo {
    margin: 0 auto;
  }

  .footer-contact {
    margin: 0 auto;
    text-align: center;
  }


  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
    padding: 10px;
  }

  .obysra-container {
    padding: 2rem 1rem;
  }

  .obysra-title {
    font-size: 2.2rem;
  }

  .obysra-subtitle {
    font-size: 1rem;
  }

  .obysra-description p,
  .obysra-description li {
    font-size: 0.95rem;
  }

  .admin-hero {
    padding: 60px 20px 40px;
  }

  .admin-hero h1 {
    font-size: 2.2rem;
  }

  .admin-hero p {
    font-size: 1rem;
  }

  .admin-cta h2 {
    font-size: 1.8rem;
  }

  .admin-cta p {
    font-size: 1rem;
  }

  .btn-discover {
    font-size: 0.95rem;
    padding: 10px 20px;
  }

  .value-box {
    width: 90%;
    margin: 0 auto;
  }
    .floating-buttons {
    right: 15px;
    bottom: 15px;
    gap: 10px;
  }

  .float-btn {
    width: 48px;
    height: 48px;
  }

  .float-btn img {
    width: 24px;
    height: 24px;
  }
    .logo-img {
    height: 42px;
    animation: slideInLeftTablet 0.6s ease-out forwards;
  }

  @keyframes slideInLeftTablet {
    0% {
      opacity: 0;
      transform: translateX(-20px);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }
}
