﻿/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --brand: #014366;
  --brand-2: #0062a3;
  --white: #ffffff;
  --card: #ffffff;
  --shadow: 0 14px 45px rgba(0, 0, 0, 0.08);
  --radius: 24px;
  --max: 1280px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  padding-top: 114px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

/* Top bar */
.top-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.7);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
}

.top-bar nav {
  display: flex;
  gap: 24px;
  font-size: 0.95rem;
  font-weight: 500;
}

.top-bar nav a {
  color: var(--text);
  opacity: 0.78;
  transition: opacity 150ms ease;
}

.top-bar nav a:hover {
  opacity: 1;
}

/* Primary navigation */
.main-nav {
  position: sticky;
  top: 44px;
  z-index: 110;
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.main-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
  transition: background-color 150ms ease;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle img {
  width: 40px;
  height: 40px;
}

.menu-toggle:hover {
  background: rgba(15, 23, 42, 0.1);
}

.brand img,
.brand .logo-btn img {
  width: 86px;
  height: 87px;
}

.logo-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.brand span {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.primary-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 600;
}


.primary-links a {
  font-size: 1rem;
  color: var(--text);
  transition: color 120ms ease;
}

.primary-links a:hover {
  color: var(--brand);
}

.search-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.search-actions .search {
  position: relative;
  width: 240px;
}

.search-actions input {
  width: 100%;
  padding: 8px 40px 8px 34px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 150ms ease;
}

.search-actions input:focus {
  border-color: rgba(1, 67, 102, 0.8);
  box-shadow: 0 0 0 4px rgba(1, 67, 102, 0.12);
}

.search-actions svg,
.search-actions .search img {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: rgba(15, 23, 42, 0.7);
  pointer-events: none;
  object-fit: contain;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(15, 23, 42, 0.12);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.icon-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 25px rgba(0, 0, 0, 0.07);
}

/* Hero */
.hero {
  position: relative;
  padding-top: 148px;
  padding-bottom: 88px;
  background: radial-gradient(circle at 20% 45%, rgba(1, 67, 102, 0.4), transparent 55%),
    url('../assets/images/hero.png') center/cover no-repeat;
}

.hero__content {
  max-width: 720px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 16px;
  line-height: 1.05;
  color: var(--white);
}

.hero p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero .cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__indicator {
  margin-top: 24px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 14px 26px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.btn--primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: var(--white);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  border: 1px solid rgba(15, 23, 42, 0.16);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.12);
}

.load-more {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.hero__nav {
  position: absolute;
  right: clamp(20px, 10vw, 80px);
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  gap: 18px;
}

.hero__nav button {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.hero__nav svg {
  width: 26px;
  height: 26px;
  stroke: var(--brand);
}

/* Section headings */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 56px 0 32px;
  padding-top: 8px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

/* Contact hero */
.contact-hero {
  position: relative;
  margin-top: 40px;
  padding: 80px 0 88px;
  background: radial-gradient(circle at top left, rgba(1, 67, 102, 0.1), transparent 70%),
    url('../assets/images/hero2.png') center/cover no-repeat;
  color: var(--text);
}

.contact-content {
  max-width: 960px;
  text-align: center;
}

.contact-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.contact-content p {
  max-width: 520px;
  margin: 0 auto 32px;
  color: var(--text);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  text-align: left;
}

.contact-grid h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.contact-grid p {
  margin: 0;
  color: var(--text);
}

.nav-buttons {
  display: flex;
  gap: 12px;
}

.nav-buttons button {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 150ms ease;
}

.nav-buttons button:hover {
  transform: translateY(-2px);
}

.nav-buttons svg {
  width: 18px;
  height: 18px;
  stroke: var(--text);
}

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}

.product-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition: transform 200ms ease, box-shadow 200ms ease, filter 200ms ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  filter: grayscale(20%);
}

.product-card figure {
  position: relative;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.product-card figure img {
  width: 100%;
  height: auto;
  display: block;
}

.product-card .card-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 10px;
}

.product-card .card-actions button {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 150ms ease;
}

.product-card .card-actions button:hover {
  transform: translateY(-1px);
}

.product-card .card-actions button:hover img {
  filter: brightness(0);
}

.product-card .card-actions img {
  width: 18px;
  height: 18px;
}

.product-card .card-body {
  padding: 18px 18px 22px;
  text-align: left;
}

.product-card .price {
  font-weight: 800;
  font-size: 1.12rem;
  margin-bottom: 6px;
}

.product-card .name {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Collection highlight */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 12px;
}

.collection-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.collection-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 200ms ease;
}

.collection-item:hover img {
  transform: scale(1.05);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  opacity: 0;
  transition: opacity 200ms ease;
}

.collection-item:hover .overlay {
  opacity: 1;
}

.collection-wrapper {
  position: relative;
}

.collection-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  background: rgba(255, 255, 255, 0.9);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
  z-index: 1;
}

.collection-nav:hover {
  transform: translateY(-50%) translateY(-2px);
  box-shadow: 0 14px 25px rgba(0, 0, 0, 0.07);
}

.collection-nav.prev {
  left: -24px;
}

.collection-nav.next {
  right: -24px;
}

.collection-nav svg {
  width: 18px;
  height: 18px;
  stroke: rgba(15, 23, 42, 0.7);
}

.collection-card {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  height: 220px;
  background: linear-gradient(135deg, rgba(1, 67, 102, 0.72), rgba(0, 130, 192, 0.6));
  color: white;
  display: grid;
  align-items: flex-end;
  padding: 18px;
  box-shadow: var(--shadow);
}

.collection-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 60%);
}

.collection-card h3 {
  position: relative;
  margin: 0;
  font-size: 1.4rem;
  z-index: 1;
}

.collection-card p {
  position: relative;
  margin: 6px 0 0;
  font-size: 0.95rem;
  z-index: 1;
}

/* Footer */
footer {
  background: #03060a;
  color: rgba(255, 255, 255, 0.88);
  padding: 80px 0 48px;
}

footer .footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 60px;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 0 8px;
}

footer h4 {
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 18px;
  font-size: 1.2rem;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

footer li {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.footer-contact p {
  margin: 0;
  line-height: 1.5;
}

.footer-phone {
  margin-top: 12px;
}

.footer-meta {
  margin-top: 40px;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.72);
}

.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

.footer-social img {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  padding: 8px;
  transition: filter 150ms ease, transform 150ms ease;
}

.footer-social img:hover {
  filter: brightness(0) invert(1);
  transform: scale(1.05);
}

.footer-social .logo-youtube {
  transform: scaleX(-1);
}

@media (max-width: 900px) {
  .main-nav .container {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .primary-links {
    display: none;
  }

  .mobile-menu.active {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
  }

  .mobile-menu.active a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  }

  .hero {
    padding-top: 120px;
  }
}

@media (max-width: 520px) {
  .top-bar {
    justify-content: center;
  }

  .search-actions {
    display: none;
  }

  .hero {
    padding-top: 140px;
    padding-bottom: 60px;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .hero p {
    font-size: 1rem;
  }
}
