/* =============================================
   MOBILE CSS (max-width: 991px)
   ============================================= */

/* Extracted from c:/Users/Esed/Desktop/site/css/style.css */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid::before {
    display: none;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 0.75rem;
  }

  .nav-inner {
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
  }

  .nav-logo {
    order: 1;
    font-size: 1.1rem;
  }

  .nav-actions {
    order: 2;
  }

  .nav-links {
    order: 3;
    display: flex !important;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center !important;
    width: 100%;
    gap: 0;
    overflow: visible;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    font-size: 0.65rem;
    padding: 0.3rem 0.1rem;
    white-space: nowrap;
  }

  .desktop-only-link {
    display: none !important;
  }

  .mobile-only-links {
    display: block !important;
  }

  .nav-links .dropdown-toggle {
    transform: translateY(0);
    display: inline-block;
  }

  .dropdown-menu {
    left: auto !important;
    right: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  .dropdown-menu.show {
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
  }

  .hamburger {
    display: none !important;
  }

  .mobile-nav {
    display: none !important;
  }

  #nav-whatsapp-btn {
    padding: 0.45rem 1.4rem !important;
    font-size: 0.85rem !important;
  }

  .theme-toggle {
    width: 36px;
    height: 36px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem 0;
    max-width: 100%;
    overflow: hidden;
  }

  .hero-visual {
    order: -1;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .device-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .float-whatsapp .btn-text {
    display: none;
  }

  .float-whatsapp {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 0;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1rem;
    padding: 0 0.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-brand .nav-logo {
    justify-content: center;
    order: 1;
  }

  .footer-brand .footer-contact {
    order: 2;
    margin-top: 1rem !important;
    margin-bottom: 0.5rem;
  }

  .footer-brand p {
    order: 3;
    margin-top: 0.5rem;
  }

  /* Ofislerimiz */
  .footer-grid>.footer-links:nth-child(2) {
    grid-column: 1 / -1;
    text-align: center;
  }

  .footer-grid>.footer-links:nth-child(2) ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    text-align: left;
  }

  .footer-grid>.footer-links:nth-child(2) ul li:nth-child(2) {
    text-align: right;
  }

  .footer-grid>.footer-links:nth-child(2) ul li:last-child {
    grid-column: 1 / -1;
    text-align: center;
  }

  .footer-grid>.footer-links:nth-child(4) {
    text-align: right;
  }

  .footer-links h4 {
    font-size: 0.85rem;
  }

  .footer-links ul li {
    font-size: 0.8rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 360px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .hero-device-card {
    padding: 1.25rem;
  }

  .step-card {
    padding: 1.25rem 1rem !important;
    position: relative;
    min-height: auto;
    gap: 1rem !important;
  }

  .step-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
  }

  .step-icon svg {
    width: 32px;
    height: 32px;
  }

  .step-num {
    width: 22px;
    height: 22px;
    font-size: 0.75rem;
  }

  .step-title {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
  }

  .step-desc {
    font-size: 0.88rem;
    line-height: 1.35;
  }

  .cat-arrow {
    opacity: 1 !important;
  }
}

@media (max-width: 480px) {
  section {
    padding: 3.5rem 0;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
  }

  .stat-number {
    font-size: 1.15rem;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .regions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .counters-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .counters-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid::before {
    display: none;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0;
  }

  .hero-visual {
    order: -1;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .device-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .float-whatsapp .btn-text {
    display: none;
  }

  .float-whatsapp {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 0;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1rem;
    padding: 0 0.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-brand .nav-logo {
    justify-content: center;
    order: 1;
  }

  .footer-brand .footer-contact {
    order: 2;
    margin-top: 1rem !important;
    margin-bottom: 0.5rem;
  }

  .footer-brand p {
    order: 3;
    margin-top: 0.5rem;
  }

  /* Ofislerimiz */
  .footer-grid>.footer-links:nth-child(2) {
    grid-column: 1 / -1;
    text-align: center;
  }

  .footer-grid>.footer-links:nth-child(2) ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    text-align: left;
  }

  .footer-grid>.footer-links:nth-child(2) ul li:nth-child(2) {
    text-align: right;
  }

  .footer-grid>.footer-links:nth-child(2) ul li:last-child {
    grid-column: 1 / -1;
    text-align: center;
  }

  .footer-grid>.footer-links:nth-child(4) {
    text-align: right;
  }

  .footer-links h4 {
    font-size: 0.85rem;
  }

  .footer-links ul li {
    font-size: 0.8rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 360px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .hero-device-card {
    padding: 1.25rem;
  }
}

@media (max-width: 480px) {
  section {
    padding: 3.5rem 0;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
  }

  .stat-number {
    font-size: 1.15rem;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .regions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .counters-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .counters-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .office-strip-cta {
    display: none;
  }

  .office-label {
    display: none;
  }
}

@media (max-width: 768px) {
  .cities-row {
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
  }

  .city-pill {
    max-width: 100%;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  #how-heading {
    font-size: clamp(0.9rem, 4.5vw, 1.5rem);
  }
}


/* Extracted from c:/Users/Esed/Desktop/site/css/cyber.css */
@media (max-width: 991px) {
  .cyber-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cyber-hero-left {
    align-items: center;
    text-align: center;
  }

  .cyber-title {
    text-align: center;
  }

  .cyber-desc {
    text-align: center;
  }

  .cyber-btn-row {
    grid-template-columns: 1fr;
  }

  .cyber-portal-wrapper {
    transform: scale(0.8);
  }
}

@media (max-width: 768px) {
  .cyber-desc {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .cyber-btn {
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    white-space: normal;
  }

  .cyber-hero-right {
    min-height: 380px;
    overflow: hidden;
  }

  .cyber-portal-wrapper {
    width: 290px;
    height: 290px;
    max-width: 100%;
    margin: 0 auto;
    transform: none;
  }

  .cyber-portal {
    width: 230px;
    height: 230px;
  }

  .cyber-portal-center {
    width: 90px;
    height: 90px;
    padding: 10px;
  }

  .cyber-portal-center i {
    font-size: 1.5rem;
  }

  .cyber-portal-center span {
    font-size: 0.65rem;
  }

  .cyber-floating-img {
    max-width: 100px;
  }

  .img-laptop {
    max-width: 110px;
    left: -5%;
    top: 5%;
  }

  .img-phone {
    max-width: 60px;
    left: 10%;
    bottom: 5%;
  }

  .img-console {
    max-width: 90px;
    right: -10%;
    top: 40%;
  }

  .img-desktop {
    max-width: 100px;
    left: 30%;
    top: -5%;
  }

  .img-tablet {
    max-width: 75px;
    right: 0%;
    bottom: 5%;
  }

  .img-macbook {
    max-width: 80px;
    left: -5%;
    bottom: 20%;
  }

  .cyber-portal-stat {
    padding: 0.5rem 0.75rem;
    border-radius: 15px;
  }

  .cyber-portal-stat .stat-num {
    font-size: 1.1rem;
  }

  .cyber-portal-stat .stat-text {
    font-size: 0.7rem;
    margin-top: 0.25rem;
  }

  .stat-1 {
    top: 5%;
    right: -5%;
  }

  .stat-2 {
    bottom: -10%;
    left: 30%;
  }

  .stat-3 {
    top: 45%;
    left: -10%;
  }

  .cyber-query-form {
    flex-direction: row;
    border-radius: 50px;
    padding: 0.25rem;
  }

  .cyber-query-input {
    padding: 0 1rem;
    text-align: left;
    font-size: 0.95rem;
    height: 52px;
  }

  .cyber-query-btn {
    width: auto;
    justify-content: center;
    padding: 0 1.25rem;
    border-radius: 40px;
    font-size: 0.95rem;
    height: 52px;
  }

  .cyber-query-container::before {
    border-radius: 25px;
  }
}




/* =============================================
   MOBILE DESIGN UX ENHANCEMENTS (Skill Rules)
   ============================================= */

/* 1. Touch Targets (Min 48px Fitts's Law) */
button:not(.theme-toggle):not(.hamburger),
.cyber-btn,
.cyber-query-btn,
.category-card,
.city-pill,
.faq-question {
  min-height: 48px;
}

/* Theme Toggle & Hamburger Exception */
.theme-toggle {
  min-height: unset !important;
  width: 38px !important;
  height: 38px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hamburger {
  min-height: unset !important;
}

/* 2. Performans İyileştirmeleri (Batarya & Akıcılık) */
/* Parlayan ve sürekli hareket eden ağır animasyonları durdur */
.cyber-glow,
.cyber-grid,
.hero-bg .glow-1,
.hero-bg .glow-2 {
  animation: none !important;
}

/* Statik görselleştirme (Performans için) */
.cyber-grid {
  opacity: 0.3 !important;
}

/* Hover varsayımlarını iptal et */
@media (hover: none) {

  .cyber-btn-solid:hover,
  .cyber-btn-outline:hover,
  .nm-card:hover,
  .glass-card-item:hover,
  .category-card:hover {
    transform: none !important;
  }
}

/* Nav Actions Wrapping Fix */
@media (max-width: 768px) {
  .nav-logo {
    max-width: 45%;
    flex-shrink: 1;
  }

  .nav-actions {
    max-width: 55%;
    gap: 0.4rem !important;
    /* reduce gap to fit items */
    flex-wrap: nowrap;
  }

  #nav-whatsapp-btn {
    padding: 0.4rem 0.75rem !important;
    font-size: 0.8rem !important;
  }
}