/* ===== NAVBAR ===== */
@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

.navbar {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  padding-top: 0;
  padding-bottom: 0;
}

.navbar-toggler {
  margin-left: auto;
}

.navbar-toggler .navbar-toggler-icon {
  display: none !important;
}

.custom-toggler {
  border: none;
  background: transparent;
  outline: none;
  padding: 5px;
  box-shadow: none !important;
}

.custom-toggler .toggler-icon {
  display: block;
  width: 28px;
  height: 3px;
  margin: 6px auto;
  background-color: #045174;
  border-radius: 2px;
  transition: all 0.4s ease;
}

.custom-toggler[aria-expanded="true"] .toggler-icon:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.custom-toggler[aria-expanded="true"] .toggler-icon:nth-child(2) {
  opacity: 0;
}

.custom-toggler[aria-expanded="true"] .toggler-icon:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

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

.navbar .nav-link {
    transition: all 0.3s ease;
    padding: 0.4rem 0.85rem;
    margin: 0.3rem 0.15rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a2d42;
    border-radius: 8px;
    letter-spacing: 0.2px;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: #fff !important;
    background: linear-gradient(135deg, #045174, #0d6efd);
}

.navbar .nav-link.active {
    color: #fff !important;
    background: #045174;
}

.dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    padding: 0.5rem;
    margin-top: 0.25rem;
}

.dropdown-menu .dropdown-item {
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-menu .dropdown-item:hover {
    background: linear-gradient(135deg, #045174, #0d6efd);
    color: #fff;
}

/* ===== HERO ===== */
.hero-section {
  height: 65vh;
  background: url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1470&q=80') center/cover no-repeat;
  position: relative;
  color: white;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

.hero-section .carousel-item {
  background-size: cover;
  background-position: center;
}

@media (min-width: 992px) {
  .hero-section .carousel-item {
    background-attachment: fixed;
  }
}

.hero-slide {
  height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#hizmethero.hero-section {
  height: 50vh;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-top: 0;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 2rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* ===== BUTTONS ===== */
.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.25rem;
  border-radius: 50px;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #045174;
}

.btn-outline-light {
  border-color: white;
  color: white;
}

.btn-outline-light:hover {
  background-color: white;
  color: #0d6efd;
}

/* ===== DUYURU BAR ===== */
.nst-duyuru-bar {
  width: 100%;
  background: linear-gradient(90deg, #0A1F44, #122d5e);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  font-size: 14px;
  overflow: hidden;
  position: relative;
}

.nst-duyuru-bar .duyuru-label {
  color: #00CFFF;
  white-space: nowrap;
  flex-shrink: 0;
  z-index: 2;
  background: linear-gradient(90deg, #0A1F44 80%, transparent);
  padding-right: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nst-duyuru-bar .duyuru-scroll-wrapper {
  flex: 1;
  overflow: hidden;
  position: relative;
}

#nst-duyuru-text {
  white-space: nowrap;
  display: inline-block;
  animation: kaydir 25s linear infinite;
  padding-left: 100%;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #ff3b3b;
  border-radius: 50%;
  animation: blink 1s infinite;
  flex-shrink: 0;
}

@keyframes kaydir {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0.2; }
  100% { opacity: 1; }
}

/* ===== OZELLIKLER SECTION ===== */
#ozellikler .card {
  border-radius: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#ozellikler .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
}

#ozellikler .icon {
  font-size: 3rem;
}

/* ===== FLIP CARDS ===== */
#hizmetler {
  overflow: hidden;
}

.flip-card {
  background-color: transparent;
  width: 100%;
  height: 380px;
  perspective: 1200px;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner,
.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px 25px;
  text-align: center;
  overflow: hidden;
}

.flip-card-front {
  background: #ffffff;
  color: #1c1c1d;
  border: 1px solid rgba(4,81,116,0.08);
  box-shadow: 0 10px 40px rgba(4,81,116,0.10);
  transition: box-shadow 0.3s ease;
}

.flip-card:hover .flip-card-front {
  box-shadow: 0 15px 50px rgba(4,81,116,0.18);
}

.flip-card-front .flip-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 18px;
  transition: transform 0.4s ease;
}

.flip-card:hover .flip-card-front .flip-icon {
  transform: scale(1.15) rotate(-5deg);
}

.flip-card-front .flip-icon.icon-blue {
  background: linear-gradient(135deg, #e8f4fd, #d0ecfb);
  color: #045174;
}

.flip-card-front .flip-icon.icon-green {
  background: linear-gradient(135deg, #e6f9f0, #ccf2e1);
  color: #0f7b4f;
}

.flip-card-front .flip-icon.icon-red {
  background: linear-gradient(135deg, #fde8e8, #fbd0d0);
  color: #c0392b;
}

.flip-card-front h5 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.flip-card-front .flip-subtitle {
  color: #6c757d;
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 12px;
}

.flip-card-front .flip-hint {
  font-size: 0.78rem;
  color: #adb5bd;
  margin-top: auto;
}

.flip-card-back {
  background: linear-gradient(135deg, #045174 0%, #0a7ec2 50%, #00b4d8 100%);
  color: white;
  transform: rotateY(180deg);
  box-shadow: 0 10px 40px rgba(4,81,116,0.25);
}

.flip-card-back.back-green {
  background: linear-gradient(135deg, #0f7b4f 0%, #27ae60 50%, #2ecc71 100%);
}

.flip-card-back.back-red {
  background: linear-gradient(135deg, #922b21 0%, #c0392b 50%, #e74c3c 100%);
}

.flip-card-back h5 {
  font-size: 1.15rem;
  margin-bottom: 14px;
  font-weight: 700;
}

.flip-card-back ul {
  list-style: none;
  padding: 0;
  margin: 0 0 14px 0;
  text-align: left;
  width: 100%;
}

.flip-card-back ul li {
  font-size: 0.88rem;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  gap: 8px;
}

.flip-card-back ul li:last-child {
  border-bottom: none;
}

.flip-card-back ul li i {
  font-size: 0.8rem;
  opacity: 0.85;
}

.flip-card-back .flip-back-btn {
  display: inline-block;
  margin-top: auto;
  padding: 8px 22px;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 25px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.flip-card-back .flip-back-btn:hover {
  background: rgba(255,255,255,0.2);
  border-color: #fff;
}

/* ===== HOVER CARD ===== */
.hover-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* ===== HİZMET KARTLARI ===== */
#hizmetler-section .card,
#web .card {
  border: none;
  border-radius: 15px;
  background: linear-gradient(135deg, #f8f9fa, #eef3ff);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

#hizmetler-section .card:hover,
#web .card:hover {
  transform: translateY(-10px);
  background: linear-gradient(135deg, #045174, #d6c0f0);
  color: #fff;
}

#hizmetler-section .icon-box,
#web .icon-box {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #045174, #0d6efd);
  color: #fff;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(4, 81, 116, 0.25);
}

#hizmetler-section .card:hover .icon-box,
#web .card:hover .icon-box {
  background: linear-gradient(135deg, #00CFFF, #045174);
  transform: rotate(8deg) scale(1.1);
  box-shadow: 0 6px 18px rgba(0, 207, 255, 0.3);
}

#hizmetler-section .card h5,
#web .card h5 {
  position: relative;
  display: inline-block;
}

#hizmetler-section .card h5::after,
#web .card h5::after {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  left: 0;
  bottom: -6px;
  background: #fff;
  transition: width 0.3s ease;
}

#hizmetler-section .card:hover h5::after,
#web .card:hover h5::after {
  width: 100%;
}

/* ===== İLETİŞİM ===== */
#iletisim {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}

#iletisim h2 {
  font-size: 2.2rem;
  color: #045174;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

#iletisim h2::after {
  content: "";
  width: 60%;
  height: 3px;
  background: #045174;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  border-radius: 2px;
}

#iletisim .shadow {
  transition: all 0.3s ease;
}

#iletisim .shadow:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

#iletisim .contact-link {
  color: #045174;
  text-decoration: none;
  transition: all 0.3s ease;
}

#iletisim .contact-link:hover {
  color: #045174;
  text-decoration: underline;
}

#iletisim .social-links {
  margin-top: 10px;
}

#iletisim .social-icon {
  display: inline-block;
  margin-right: 10px;
  font-size: 1.1rem;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  text-align: center;
  background: #f8f9fa;
  color: #045174;
  transition: all 0.3s ease;
}

#iletisim .social-icon:hover {
  background: #045174;
  color: #fff;
}

#iletisim iframe {
  border-radius: 10px;
  filter: grayscale(20%) contrast(105%);
  transition: filter 0.3s ease;
}

#iletisim iframe:hover {
  filter: grayscale(0%) contrast(100%);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float img {
  width: 35px;
  height: 35px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* ===== FOOTER ===== */
.footer {
  font-size: 15px;
  line-height: 1.8;
  background: linear-gradient(135deg, #0f2b4a, #183d6e);
  color: #cfd8e3;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #00CFFF, #045174, #00CFFF);
}

.footer h5 {
  margin-bottom: 20px;
  color: #fff;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.footer .footer-link {
  color: #9bb5d1;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 10px;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
}

.footer .footer-link::before {
  content: "\203A";
  margin-right: 8px;
  color: #00CFFF;
  font-weight: bold;
}

.footer .footer-link:hover {
  color: #00CFFF;
  transform: translateX(4px);
}

.footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
  font-size: 18px;
  color: #9bb5d1;
  background: rgba(255,255,255,0.08);
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer .social-links a:hover {
  color: #fff;
  background: #00CFFF;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 207, 255, 0.3);
}

.footer hr {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 1.5rem 0;
}

.footer p {
  color: #8da5bf;
}

.footer .copyright {
  font-size: 0.85rem;
  color: #6d8fad;
}

/* ===== REFERANSLAR ===== */
#referanslar h2 {
  position: relative;
  display: inline-block;
}

#referanslar p {
  font-size: 1.1rem;
  color: #d16c6c;
}

.ref-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  cursor: pointer;
}

.ref-card img {
  max-height: 500px;
  object-fit: contain;
  filter: grayscale(25%) brightness(0.8);
  transition: all 0.3s ease;
}

.ref-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.ref-card:hover img {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.08);
}

/* ===== FİYATLANDIRMA ===== */
#eimza-fiyatlandirma .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#eimza-fiyatlandirma .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

#eimza-fiyatlandirma .btn {
  border-radius: 30px;
  padding: 10px 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

#eimza-fiyatlandirma .btn-success:hover,
#eimza-fiyatlandirma .btn-outline-success:hover {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}

/* ===== PORTAL BUTONU ===== */
.portal-btn {
  background: linear-gradient(135deg, #045174, #007bff);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 10px 25px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.portal-btn:hover {
  background: linear-gradient(135deg, #007bff, #045174);
  box-shadow: 0 6px 18px rgba(0, 123, 255, 0.45);
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
}

.portal-btn i {
  font-size: 1.1rem;
}

/* ===== BLOG ===== */
#blog .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 15px;
  overflow: hidden;
}

#blog .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

#blog h2 {
  font-size: 2.2rem;
  color: #222;
}

#blog .btn-primary {
  background: #0d6efd;
  border: none;
  border-radius: 25px;
  padding: 5px 15px;
  transition: background 0.3s;
}

#blog .btn-primary:hover {
  background: #084298;
}

/* ===== SOSYAL İKON ===== */
.social-icon i {
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.social-icon i:hover {
  color: #E1306C;
  transform: scale(1.2);
}

/* ===== YAZILIMLAR ===== */
.software-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 35px;
  border: 1px solid #e9ecef;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.software-box:hover {
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.software-icon {
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, #045174, #0d6efd);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
}

.software-downloads {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.software-downloads a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-radius: 10px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  text-decoration: none;
  color: #1b1f24;
  transition: all 0.3s ease;
}

.software-downloads a:hover {
  background: #ffffff;
  border-color: #0d6efd;
  transform: translateX(6px);
  box-shadow: 0 6px 20px rgba(13,110,253,0.15);
}

.software-downloads a:hover i {
  color: #0d6efd;
}

/* ===== HAKKIMIZDA ===== */
body#hakkimizda-page .hero {
  background: linear-gradient(#045174, rgba(13, 110, 253, 0.7)),
    url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&w=1470&q=80')
      no-repeat center center/cover;
  color: white;
  padding: 100px 0;
  text-align: center;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== WAVE SEPARATOR ===== */
.wave-separator {
  position: relative;
  overflow: hidden;
  line-height: 0;
}

.wave-separator svg {
  display: block;
  width: 100%;
  height: 50px;
}

/* ===== AOS-LIKE SCROLL ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .navbar .nav-link {
    padding: 0.5rem 1rem;
    margin: 0.15rem 0;
    border-radius: 8px;
  }
  .navbar .nav-link:hover,
  .navbar .nav-link:focus {
    background: linear-gradient(135deg, #045174, #0d6efd);
    color: #fff !important;
  }
  .hero-section,
  .hero-slide {
    height: 50vh;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .navbar-brand img {
    max-height: 60px !important;
  }
  .hero-section,
  .hero-slide {
    height: 45vh;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }
  .btn-lg {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
  }
  .nst-duyuru-bar {
    font-size: 12px;
    padding: 6px 12px;
  }
  .flip-card {
    height: 420px;
  }
  .flip-card-front .flip-subtitle {
    font-size: 0.85rem;
  }
  .flip-card-back ul li {
    font-size: 0.82rem;
    padding: 4px 0;
  }
  .portal-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .navbar-brand img {
    max-height: 50px !important;
  }
  .hero-section,
  .hero-slide {
    height: 40vh;
  }
  .hero-title {
    font-size: 1.5rem;
  }
  .hero-subtitle {
    font-size: 0.85rem;
  }
  .btn-lg {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
  }
  .ref-card {
    padding: 12px;
  }
  .ref-card img {
    max-height: 50px;
  }
  .flip-card {
    height: 400px;
  }
  .flip-card-front .flip-icon {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
    margin-bottom: 12px;
  }
  .flip-card-front h5 {
    font-size: 1.1rem;
  }
  .flip-card-front .flip-subtitle {
    font-size: 0.8rem;
    margin-bottom: 8px;
  }
  .flip-card-back h5 {
    font-size: 1rem;
    margin-bottom: 10px;
  }
  .flip-card-back ul li {
    font-size: 0.78rem;
    padding: 3px 0;
  }
  .flip-card-back .flip-back-btn {
    padding: 6px 16px;
    font-size: 0.8rem;
  }
  .stats-card .display-4 {
    font-size: 2rem;
  }
  section.py-5 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }
}
