@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ============================================================ */
/* DESIGN TOKENS                                                 */
/* ============================================================ */
:root {
  --navy:       #0a1628;
  --navy-mid:   #112240;
  --accent:     #2563eb;
  --accent-2:   #0ea5e9;
  --white:      #ffffff;
  --gray-50:    #f8fafc;
  --gray-100:   #f1f5f9;
  --gray-200:   #e2e8f0;
  --gray-400:   #94a3b8;
  --gray-600:   #475569;
  --gray-800:   #1e293b;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --shadow:     0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:  0 20px 40px rgba(0,0,0,0.12), 0 8px 16px rgba(0,0,0,0.06);
}

/* ============================================================ */
/* RESET & BASE                                                  */
/* ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  overflow-x: hidden;
  width: 100%;
}

body {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--gray-50);
  color: var(--gray-800);
  line-height: 1.6;
}

button {
  padding: 10px 20px;
  cursor: pointer;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 32px;
  box-sizing: border-box;
}

/* ============================================================ */
/* TOP BAR                                                       */
/* ============================================================ */
.top-bar { padding: 9px 0; font-size: 13px; }

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.social-icons a, .contact-info a {
  color: rgba(255,255,255,0.85);
  margin: 0 8px;
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}
.social-icons a:hover, .contact-info a:hover { color: #fff; }

@media (max-width: 768px) {
  .top-bar .container { flex-direction: column; text-align: center; gap: 8px; }
}

/* ============================================================ */
/* NAVBAR                                                        */
/* ============================================================ */
header { background: transparent; color: white; padding: 0; }

.navbar {
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,0.18);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
  position: relative;
}

.logo img { max-height: 46px; width: auto; display: block; }
.logo a { text-decoration: none; }
.logo span { font-weight: 800; font-size: 22px; color: var(--white); letter-spacing: -0.5px; }

#mobile-menu {
  display: none;
  font-size: 22px;
  color: var(--white);
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
#mobile-menu:hover { background: rgba(255,255,255,0.1); }

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0; padding: 0;
  align-items: center;
  gap: 2px;
}
.nav-menu > li { position: relative; }

.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  color: rgba(255,255,255,0.82);
  font-weight: 600;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.01em;
  transition: var(--transition);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  position: relative;
}
.nav-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 14px; right: 14px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.nav-menu > li > a:hover,
.nav-menu > li:hover > a {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.nav-menu > li > a:hover::after,
.nav-menu > li:hover > a::after {
  transform: scaleX(1);
}

/* Dropdown */
.dropdown-level-1, .dropdown-level-2, .dropdown-level-3 {
  position: absolute;
  background: var(--white);
  min-width: 220px;
  list-style: none;
  padding: 6px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.16), 0 2px 8px rgba(0,0,0,0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  border-radius: var(--radius);
  z-index: 100;
  border: 1px solid var(--gray-100);
}
.dropdown-level-1 { top: calc(100% + 6px); left: 0; }
.dropdown-level-2, .dropdown-level-3 { top: -6px; left: calc(100% + 6px); }

.nav-menu li:hover > ul { opacity: 1; visibility: visible; transform: translateY(0); }

.nav-menu ul li a {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-700, #374151);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border-left: 3px solid transparent;
}
.nav-menu ul li a:hover {
  background: #eff6ff !important;
  color: var(--accent) !important;
  border-left-color: var(--accent) !important;
}

/* Nav Extras */
.nav-extras { display: flex; align-items: center; gap: 10px; }

.search-wrapper {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.1);
  border-radius: 50px;
  padding: 7px 14px;
  border: 1.5px solid rgba(255,255,255,0.15);
  transition: var(--transition);
}
.search-wrapper:focus-within {
  border-color: var(--accent);
  background: rgba(255,255,255,0.15);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.25);
}
.search-container input {
  border: none; background: transparent; outline: none;
  width: 130px; font-size: 13px; font-family: inherit; color: var(--white);
}
.search-container input::placeholder { color: rgba(255,255,255,0.45); }
.search-toggle {
  background: none; border: none; color: rgba(255,255,255,0.55);
  cursor: pointer; padding: 0 0 0 8px; font-size: 14px; transition: var(--transition);
}
.search-toggle:hover { color: var(--white); }

.lang-wrapper { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.18);
  padding: 7px 14px; border-radius: 50px; cursor: pointer;
  font-weight: 700; font-size: 12px; color: rgba(255,255,255,0.85);
  font-family: inherit; letter-spacing: 0.05em; transition: var(--transition);
}
.lang-btn:hover { background: rgba(255,255,255,0.18); color: var(--white); border-color: rgba(255,255,255,0.35); }

.lang-dropdown-list {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--white); list-style: none; padding: 6px;
  min-width: 90px; box-shadow: 0 8px 32px rgba(0,0,0,0.14);
  border-radius: var(--radius); border: 1px solid var(--gray-100);
  display: none; z-index: 1001;
}
.lang-dropdown-list.show { display: block; }
.lang-dropdown-list li a {
  display: block; padding: 8px 12px; text-decoration: none;
  color: var(--gray-600); text-align: center; font-size: 12px;
  font-weight: 700; border-radius: var(--radius-sm); transition: var(--transition);
}
.lang-dropdown-list li a:hover { background: #eff6ff; color: var(--accent); }

/* Fixed */
.navbar.fixed {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 9999; animation: slideDown 0.35s ease;
  box-shadow: 0 4px 24px rgba(0,0,0,0.22);
}
@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.sticky-spacer { display: none; }
.navbar.fixed + .sticky-spacer { display: block; }

/* Mobile */
@media (max-width: 992px) {
  #mobile-menu { display: block !important; order: 0; }
  .navbar .container { justify-content: space-between; padding: 0 16px; }
  .search-wrapper { padding: 6px 10px; }
  .search-container input { width: 70px; font-size: 12px; }
  .nav-extras { gap: 6px; }
  .lang-btn { padding: 6px 10px; font-size: 11px; }
  .nav-menu {
    display: none; flex-direction: column; position: absolute;
    top: 100%; left: 0; width: 100%; background: var(--navy);
    max-height: 80vh; overflow-y: auto;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 8px; gap: 2px; box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    z-index: 9999;
  }
  .nav-menu.active { display: flex; }
  .nav-menu > li > a { font-size: 14px; padding: 12px 16px; color: rgba(255,255,255,0.85); }
  .dropdown-level-1, .dropdown-level-2, .dropdown-level-3 {
    position: static !important; display: none !important;
    width: 100% !important; opacity: 1 !important;
    visibility: visible !important; border: none !important;
    box-shadow: none !important; padding-left: 16px !important;
    background: var(--gray-50) !important;
    border-radius: var(--radius-sm) !important;
    transform: none !important;
  }
  li.active > ul { display: block !important; }
}

@media (max-width: 600px) {
  .navbar .container { padding: 0 12px; min-height: 60px; }
  .logo img { max-height: 36px; }
  #mobile-menu { display: flex !important; align-items: center; justify-content: center; width: 40px; height: 40px; }

  /* Top bar mobil */
  .top-bar { padding: 6px 0; font-size: 11px; }
  .top-bar .container { flex-direction: column; gap: 4px; padding: 0 12px; }
  .social-icons a { margin: 0 5px; font-size: 13px; }
  .contact-info a { margin: 0 5px; font-size: 11px; }
}

/* ============================================================ */
/* SLIDER                                                        */
/* ============================================================ */
.hero-slider { position: relative; width: 100%; overflow: hidden; background: #000; }
.slider-track { display: flex; transition: transform 0.65s cubic-bezier(0.4,0,0.2,1); }
.slide { min-width: 100%; position: relative; }

/* 1920x700 nisbəti: 700/1920 ≈ 36.46vw — clamp ilə min 180px, max 700px */
.slide img { width: 100%; height: clamp(180px, 36.46vw, 700px); object-fit: cover; display: block; }

.slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 60%);
}

.slide-content {
  position: absolute; bottom: clamp(16px, 4vw, 56px); left: clamp(16px, 4vw, 60px);
  color: #fff; z-index: 2;
  max-width: 90%;
}
.slide-content h2 {
  font-size: clamp(18px, 3vw, 40px);
  font-weight: 800; margin: 0 0 8px; letter-spacing: -0.5px;
  line-height: 1.2;
}
.slide-content p  { font-size: clamp(12px, 1.4vw, 17px); margin: 0; opacity: 0.85; }

.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  color: #fff; border: 1px solid rgba(255,255,255,0.3);
  font-size: clamp(13px, 1.2vw, 18px);
  width: clamp(32px, 3vw, 48px); height: clamp(32px, 3vw, 48px);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 10; border-radius: 50%;
  transition: var(--transition); padding: 0;
}
.slider-btn:hover { background: rgba(255,255,255,0.3); }
.slider-btn.prev { left: clamp(8px, 1.5vw, 20px); }
.slider-btn.next { right: clamp(8px, 1.5vw, 20px); }

.slider-dots {
  position: absolute; bottom: clamp(10px, 1.5vw, 20px); width: 100%;
  display: flex; justify-content: center; gap: 8px; z-index: 2;
}
.slider-dots span {
  width: 8px; height: 8px;
  background: rgba(255,255,255,0.4); border-radius: 50%;
  cursor: pointer; display: inline-block; transition: var(--transition);
}
.slider-dots span.active { background: #fff; width: 24px; border-radius: 4px; }

/* Tablet */
@media (max-width: 900px) {
  .slide-content h2 { font-size: clamp(16px, 4vw, 28px); }
  .slide-content p  { font-size: clamp(12px, 2vw, 15px); }
}

/* Mobil */
@media (max-width: 576px) {
  .slide img { height: clamp(160px, 56vw, 260px); }
  .slide-content { bottom: 14px; left: 14px; max-width: 85%; }
  .slide-content h2 { font-size: 16px; margin-bottom: 4px; }
  .slide-content p  { font-size: 11px; }
  .slider-btn { width: 30px; height: 30px; font-size: 12px; }
  .slider-dots span { width: 6px; height: 6px; }
  .slider-dots span.active { width: 18px; }
}

/* ============================================================ */
/* SERVİS SECTİONU                                              */
/* ============================================================ */
.servis-section {
  background: var(--white);
  padding: 80px 32px;
}

.servis-section-header { text-align: center; margin-bottom: 52px; }

.servis-section-header h2 {
  font-size: 34px; font-weight: 800;
  color: var(--navy); letter-spacing: -0.5px; margin: 0 0 10px;
}
.servis-section-header p {
  font-size: 12px; color: var(--gray-400);
  letter-spacing: 2px; text-transform: uppercase;
  margin: 0 0 18px; font-weight: 600;
}
.servis-divider {
  width: 40px; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  margin: 0 auto; border-radius: 2px;
}

.servis-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.servis-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.servis-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  opacity: 0; transition: var(--transition);
}
.servis-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: transparent;
}
.servis-card:hover::before { opacity: 1; }

.servis-icon {
  flex-shrink: 0;
  width: 58px; height: 58px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(10,22,40,0.25);
}
.servis-icon i { font-size: 22px; color: var(--white); }

.servis-text h3 {
  font-size: 15.5px; font-weight: 700;
  color: var(--navy); margin: 0 0 10px;
  letter-spacing: -0.2px; text-align: left;
}
.servis-text p {
  font-size: 13.5px; color: var(--gray-600);
  line-height: 1.75; margin: 0; text-align: left;
}

@media (max-width: 768px) {
  .servis-grid { grid-template-columns: 1fr; }
  .servis-section { padding: 52px 20px; }
  .servis-card { gap: 16px; }
}

/* ============================================================ */
/* MƏHSUL SECTİONU                                              */
/* ============================================================ */
.products-section {
  padding: 64px 32px;
  background: var(--gray-100);
}

.products-section-header { text-align: center; margin-bottom: 48px; }

.products-section-header h2 {
  font-size: 34px; font-weight: 800;
  color: var(--navy); letter-spacing: -0.5px; margin: 0;
  display: inline-block;
}
.products-section-header h2::after {
  content: '';
  display: block; width: 40px; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  margin: 14px auto 0; border-radius: 2px;
}

.product-category-block { margin-bottom: 48px; }

.category-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  padding: 14px 22px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 15px; font-weight: 700;
  letter-spacing: 0.01em;
}

.btn-all-products {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  padding: 7px 16px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid rgba(255,255,255,0.2);
  transition: var(--transition);
}
.btn-all-products:hover { background: rgba(255,255,255,0.25); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: var(--transition);
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: transparent;
}

.product-card-img {
  background: var(--gray-50);
  padding: 16px;
  display: flex; align-items: center; justify-content: center;
  min-height: 240px;
  border-bottom: 1px solid var(--gray-100);
  transition: var(--transition);
}
.product-card:hover .product-card-img { background: var(--gray-100); }
.product-card-img img { max-width: 100%; max-height: 210px; object-fit: contain; }

.product-card-body { padding: 10px 12px 4px; flex: 1; }
.product-card-body h3 {
  font-size: 13px; font-weight: 700;
  color: var(--navy); margin: 0 0 4px;
  font-style: normal; letter-spacing: -0.1px;
}
.product-card-body p { font-size: 11.5px; color: var(--gray-400); margin: 0; line-height: 1.5; }

.product-card-footer { padding: 12px 16px 16px; text-align: center; }

.btn-detail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--navy);
  color: var(--white);
  padding: 9px 22px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.02em;
  transition: var(--transition);
}
.btn-detail:hover { background: var(--accent); transform: scale(1.03); }

@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  {
  .product-grid { grid-template-columns: 1fr; }
  .category-title-bar { flex-direction: column; gap: 10px; text-align: center; }
  .products-section { padding: 40px 16px; }
}