/* ========================================
   LUNAR V6 - MODERN THEME 2025
   Profesyonel, temiz ve güncel tasarım
   ======================================== */

/* === ROOT VARIABLES === */
:root {
  --primary-color: #6366f1;
  --primary-dark: #4f46e5;
  --secondary-color: #f59e0b;
  --accent-color: #8b5cf6;
  
  --text-light: #ffffff;
  --text-gray: #e2e8f0;
  --text-dark: #1e293b;
  
  --bg-dark: #0f172a;
  --bg-darker: #020617;
  --bg-card: #1e293b;
  --bg-card-hover: #334155;
  
  --border-color: rgba(148, 163, 184, 0.1);
  --border-light: rgba(255, 255, 255, 0.08);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  
  --transition-fast: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === GLOBAL RESETS === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-light);
  background: var(--bg-darker);
  line-height: 1.6;
  overflow-x: hidden;
}

/* === NAVBAR DÜZELTMELERI === */
.header_section {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

.navbar {
  padding: 1rem 0 !important;
}

.navbar-brand {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-light) !important;
  letter-spacing: 0.5px;
  transition: var(--transition-fast);
}

.navbar-brand:hover {
  color: var(--primary-color) !important;
  transform: translateY(-2px);
}

/* Navbar menü düzeltmesi */
.navbar-nav {
  align-items: center;
  gap: 0.5rem;
}


.custom_nav-container .navbar-collapse {
  display: flex !important;
  align-items: center;
}

.custom_nav-container .navbar-nav.main-nav {
  margin-left: auto;
  margin-right: auto;
}

.navbar-cta-wrapper { margin-left: auto; display: flex; align-items: center; gap: 0.75rem; }

.navbar-cta-wrapper .nav-cta-btn {
  padding: 0.6rem 1.4rem !important;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: var(--text-light) !important;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
}

.navbar-cta-wrapper .nav-cta-btn:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--accent-color));
  transform: translateY(-1px);
}

/* Language switcher */
.lang-switch {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  gap: 0.35rem;
}

.lang-en .lang-switch {
  order: -1;
}


.lang-link {
  text-decoration: none;
  color: var(--text-gray);
  opacity: 0.75;
  transition: var(--transition-fast);
}

.lang-link:hover {
  opacity: 1;
  color: var(--text-light);
}

.lang-link.active {
  opacity: 1;
  font-weight: 600;
  color: var(--secondary-color);
}

.lang-divider {
  opacity: 0.6;
}

/* Navbar hide-on-scroll for desktop pages (except home) */
.header_section.nav-hidden {
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

@media (max-width: 991.98px) {
  .custom_nav-container .navbar-collapse {
    flex-direction: column;
    align-items: flex-start;
  }
  .custom_nav-container .navbar-nav.main-nav {
    margin: 0 0 0.75rem 0;
  }
  .navbar-cta-wrapper { margin-left: auto; display: flex; align-items: center; gap: 0.75rem; }
}




.navbar-nav .nav-item .nav-link {
  color: var(--text-gray) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.6rem 1.2rem !important;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  letter-spacing: 0.3px;
  position: relative;
}

.navbar-nav .nav-item .nav-link::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition-fast);
}

.navbar-nav .nav-item .nav-link:hover {
  color: var(--text-light) !important;
  background: rgba(99, 102, 241, 0.1);
}

.navbar-nav .nav-item .nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.navbar-nav .nav-item .nav-link.active {
  color: var(--primary-color) !important;
  background: rgba(99, 102, 241, 0.15);
}

/* CTA button özel stil */
.nav-link.order_online {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color)) !important;
  color: white !important;
  padding: 0.7rem 1.5rem !important;
  border-radius: var(--radius-md) !important;
  font-weight: 600 !important;
  box-shadow: var(--shadow-glow);
  margin-left: 1rem;
}

.nav-link.order_online::after {
  display: none;
}

.nav-link.order_online:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color)) !important;
}

/* === HERO SECTION === */
.hero_area {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.bg-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.bg-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(15, 23, 42, 0.95) 0%, 
    rgba(30, 41, 59, 0.9) 50%,
    rgba(15, 23, 42, 0.95) 100%);
  z-index: 1;
}

.bg-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4) saturate(1.2);
}

/* Animated background pattern */
.bg-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(90deg, transparent 0%, rgba(99, 102, 241, 0.05) 50%, transparent 100%);
  animation: shimmer 8s infinite;
  z-index: 2;
}

@keyframes shimmer {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

.slider_section {
  flex: 1;
  display: flex;
  align-items: flex-start;
  padding: 6rem 0 4rem;
}

/* Hero yazılar düzeltmesi */
.detail-box h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.detail-box p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #f1f5f9;
  margin-bottom: 2rem;
  max-width: 600px;
}

.detail-box p strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* === BUTTONS === */
.btn-box .btn1 {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-glow);
  border: none;
  font-size: 1.05rem;
  letter-spacing: 0.3px;
}

.btn-box .btn1:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(99, 102, 241, 0.5);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

/* === CAROUSEL INDICATORS === */
.carousel-indicators {
  bottom: 3rem;
  z-index: 10;
}

.carousel-indicators li {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid transparent;
  transition: var(--transition-fast);
  margin: 0 8px;
  cursor: pointer;
}

.carousel-indicators li.active {
  background: var(--primary-color);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.4);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.6);
}

.carousel-indicators li:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* === SERVICES SECTION === */
.services_section {
  background: var(--bg-dark);
  padding: 5rem 0;
}

.heading_container {
  text-align: center;
  margin-bottom: 3rem;
}

.heading_container h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1rem;
  font-family: 'Montserrat', sans-serif;
}

.heading_container p {
  font-size: 1.1rem;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

.services_section .row {
  display: flex;
  flex-wrap: wrap;
}

.services_section .col-sm-6,
.services_section .col-lg-4 {
  display: flex;
}

/* Service cards - modern design */
.services_section .box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem !important;
  height: 100%;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.services_section .box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transition: var(--transition-normal);
}

.services_section .box:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: var(--shadow-lg);
}

.services_section .box:hover::before {
  transform: scaleX(1);
}

.services_section .box h5 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.services_section .box h5 i {
  color: var(--primary-color);
  font-size: 1.5rem;
}

.services_section .box p {
  color: #e2e8f0;
  line-height: 1.7;
  font-size: 1rem;
}

/* === ABOUT SECTION === */
.about_section {
  background: var(--bg-darker);
  padding: 5rem 0;
}

.about_section .img-box {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about_section .img-box img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition-slow);
}

.about_section .img-box:hover img {
  transform: scale(1.05);
}

.about_section .detail-box h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.about_section .detail-box p {
  font-size: 1.1rem;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about_section .detail-box a {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  text-decoration: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1.05rem;
  transition: var(--transition-normal);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
  letter-spacing: 0.3px;
}

.about_section .detail-box a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(99, 102, 241, 0.5);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-normal);
}

.about_section .detail-box a:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* === CONTACT/FORM SECTION === */
.contact_section {
  background: var(--bg-dark);
  padding: 5rem 0;
}

/* Form container - modern ve temiz */
.form_container {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-light) !important;
  border-radius: var(--radius-lg) !important;
  padding: 2.5rem !important;
  box-shadow: var(--shadow-lg) !important;
}

.form_container input,
.form_container select,
.form_container textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  background: var(--bg-darker) !important;
  border: 1px solid var(--border-light) !important;
  border-radius: var(--radius-md) !important;
  color: var(--text-light) !important;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  transition: var(--transition-fast);
}

.form_container input::placeholder,
.form_container textarea::placeholder {
  color: var(--text-gray) !important;
  opacity: 0.7;
}

.form_container input:focus,
.form_container select:focus,
.form_container textarea:focus {
  outline: none;
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
  background: var(--bg-dark) !important;
}

.form_container textarea {
  resize: vertical;
  min-height: 120px;
}

/* KVKK checkbox */
.kvkk-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin: 1.5rem 0;
  padding: 1rem;
  background: rgba(99, 102, 241, 0.05);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.kvkk-consent input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--primary-color);
  cursor: pointer;
}

.kvkk-consent label {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.5;
  cursor: pointer;
  margin: 0;
}

.kvkk-consent label strong {
  color: var(--text-light);
}

/* Submit button */
.form_container button[type="submit"],
.btn_box button {
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-glow);
  letter-spacing: 0.3px;
}

.form_container button[type="submit"]:hover,
.btn_box button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(99, 102, 241, 0.5);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

/* === HARITA DÜZELTMESİ - KARE ŞEKİL === */
.map_container {
  width: 100%;
  height: 100%;
  min-height: 500px;
}

.map-wrapper {
  width: 100%;
  height: 100%;
  min-height: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  border: 1px solid var(--border-light);
}

.map-embed {
  width: 100%;
  height: 100%;
  min-height: 500px;
}

.map-embed iframe {
  width: 100% !important;
  height: 100% !important;
  min-height: 500px !important;
  border: none !important;
  border-radius: var(--radius-lg) !important;
  filter: brightness(0.9) saturate(0.8) hue-rotate(-10deg);
}

.map-center-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: var(--shadow-md);
  pointer-events: none;
  z-index: 10;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

/* === CLIENT TESTIMONIALS === */
.client_section {
  background: var(--bg-darker);
  padding: 5rem 0 4rem;
}

.client_section .box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 1rem;
  transition: var(--transition-normal);
}

.client_section .box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(99, 102, 241, 0.3);
}

.client_section .detail-box p:first-child {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  font-style: italic;
  position: relative;
  padding-left: 1.5rem;
}

.client_section .detail-box p:first-child::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 3rem;
  color: var(--primary-color);
  opacity: 0.3;
}

.client_section .detail-box h6 {
  color: var(--text-light);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.client_section .detail-box p:last-child {
  color: var(--primary-color);
  font-size: 0.9rem;
}

.client_section .img-box {
  margin-top: 1.5rem;
}

.client_section .img-box img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
}

/* === FOOTER === */
.footer_section {
  background: linear-gradient(180deg, var(--bg-darker) 0%, #0a0f1e 100%);
  border-top: 2px solid rgba(99, 102, 241, 0.2);
  padding: 4rem 0 2rem;
  position: relative;
}

.footer_section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer_section h4 {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  letter-spacing: 0.3px;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-light);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
}

.footer_section p,
.footer_section span {
  color: #cbd5e1;
  line-height: 1.8;
  font-size: 0.95rem;
}

.contact_link_box a {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.8rem 0;
  color: var(--text-gray);
  text-decoration: none;
  transition: var(--transition-fast);
}

.contact_link_box a:hover {
  color: var(--primary-color);
  padding-left: 0.5rem;
}

.contact_link_box a i {
  color: var(--primary-color);
  font-size: 1.2rem;
  min-width: 20px;
}

/* Social media icons */
.footer_social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer_social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  color: var(--text-gray);
  transition: var(--transition-fast);
}

.footer_social a:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-info {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(99, 102, 241, 0.2);
  background: rgba(15, 23, 42, 0.5);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.footer-info p {
  color: #e2e8f0;
  font-size: 1rem;
  font-weight: 500;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-normal);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

/* === RESPONSIVE DESIGN === */

/* Tablet */
@media (max-width: 991px) {
  .navbar-nav {
    padding: 1rem;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    margin-top: 1rem;
  }
  
  .nav-link.order_online {
    margin-left: 0;
    margin-top: 0.5rem;
  }
  
  .detail-box h1 {
    font-size: 2.5rem;
  }
  
  .heading_container h2 {
    font-size: 2.2rem;
  }
  
  .contact_section .row {
    flex-direction: column;
  }
  
  .map_container {
    margin-top: 2rem;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .detail-box h1 {
    font-size: 2rem;
  }
  
  .detail-box p {
    font-size: 1rem;
  }
  
  .heading_container h2 {
    font-size: 1.8rem;
  }
  
  .services_section .box {
    margin-bottom: 1.5rem;
  }
  
  .about_section .img-box {
    margin-bottom: 2rem;
  }
  
  .map-wrapper,
  .map-embed,
  .map-embed iframe {
    min-height: 400px !important;
  }
  
  .footer_section .footer-col {
    margin-bottom: 2rem;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .navbar-brand {
    font-size: 1.5rem;
  }
  
  .detail-box h1 {
    font-size: 1.7rem;
  }
  
  .btn-box .btn1 {
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
  }
  
  .form_container {
    padding: 1.5rem !important;
  }
  
  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
  }
}

/* === UTILITY CLASSES === */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.layout_padding {
  padding: 5rem 0;
}

.layout_padding-bottom {
  padding-bottom: 5rem;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* Page fade animation */
body.page-fade {
  opacity: 0;
  transition: opacity 0.3s ease;
}

body.page-fade.is-loaded {
  opacity: 1;
}

/* Selection color */
::selection {
  background: var(--primary-color);
  color: white;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}
