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

:root {
  --black: #000000;
  --white: #ffffff;
  --grey-100: #f5f5f5;
  --grey-200: #e0e0e0;
  --grey-400: #9a9a9a;
  --grey-700: #3a3a3a;
  --grey-800: #1a1a1a;
  --grey-900: #0d0d0d;
  --font: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --navbar-h: 64px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--navbar-h);
  background: transparent;
  transition: background var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.95);
  border-bottom-color: var(--grey-800);
  backdrop-filter: blur(8px);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--navbar-h);
  padding: 0 32px;
}

.navbar__inner--center {
  justify-content: center;
}

.navbar__logo img {
  height: 22px;
  width: auto;
}

/* ===== SITE MENU (ara satır) ===== */
.site-menu {
  position: sticky;
  top: var(--navbar-h);
  z-index: 90;
  background: rgba(0, 0, 0, 0.95);
  border-bottom: 1px solid var(--grey-800);
  backdrop-filter: blur(8px);
}

.site-menu--static {
  position: static;
  top: auto;
}

.site-menu__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 0 32px;
}

.site-menu__nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-menu__nav a {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.65;
  transition: opacity var(--transition);
}

.site-menu__nav a:hover { opacity: 1; }

.search-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.65;
  transition: opacity var(--transition);
}

.search-toggle:hover { opacity: 1; }

/* Search Bar */
.search-bar {
  display: none;
  padding: 0 0 12px;
  border-top: 1px solid var(--grey-800);
}

.search-bar.open { display: block; }

.search-bar .container {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
}

.search-bar input {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--grey-400);
  color: var(--white);
  font-size: 18px;
  padding: 6px 0;
  outline: none;
  font-family: var(--font);
}

.search-bar input::placeholder { color: var(--grey-700); }

.search-bar button {
  color: var(--grey-400);
  font-size: 18px;
  padding: 4px;
  transition: color var(--transition);
}

.search-bar button:hover { color: var(--white); }

/* ===== HERO ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--black);
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  opacity: 1;
  transition: opacity 0.8s ease;
}

.hero__video.fade-out { opacity: 0; }

.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero__photo.visible { opacity: 1; }

/* Aşağı ok butonu */
.hero__scroll-btn {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: var(--white);
  opacity: 0.7;
  transition: opacity var(--transition), transform var(--transition);
  animation: bounce 2s infinite;
}

.hero__scroll-btn:hover {
  opacity: 1;
  transform: translateX(-50%) translateY(3px);
  animation: none;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  border: 1px solid;
  margin-top: 8px;
}

.btn--white {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn--white:hover {
  background: transparent;
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn--outline:hover {
  background: var(--white);
  color: var(--black);
}

.btn--dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--white);
}

.btn--dark:hover {
  background: var(--white);
  color: var(--black);
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: 40px;
  font-weight: 400;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.section-header .section-title { margin-bottom: 0; }

.section-link {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-400);
  transition: color var(--transition);
}

.section-link:hover { color: var(--white); }

/* ===== CATEGORIES ===== */
.categories {
  padding: 96px 0;
  background: var(--grey-900);
}

.categories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--grey-800);
  border: 1px solid var(--grey-800);
}

.category-card {
  background: var(--grey-900);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background var(--transition);
  cursor: pointer;
}

.category-card:hover { background: var(--grey-800); }

.category-card__num {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--grey-400);
  font-weight: 400;
}

.category-card__name {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ===== PRODUCTS GRID ===== */
.featured {
  padding: 96px 0;
  background: var(--black);
}

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

.products-grid__loading {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 80px 0;
  color: var(--grey-400);
}

.loader {
  width: 32px;
  height: 32px;
  border: 2px solid var(--grey-800);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.product-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.product-card__img {
  aspect-ratio: 3/4;
  background: var(--grey-900);
  overflow: hidden;
  position: relative;
}

.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card__img img { transform: scale(1.04); }

.product-card__no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-700);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.product-card__info {
  padding: 16px 0 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-card__name {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.product-card__cat {
  font-size: 11px;
  color: var(--grey-400);
  letter-spacing: 0.05em;
}

.product-card__price {
  font-size: 13px;
  color: var(--white);
  margin-top: 4px;
}

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--white);
  color: var(--black);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 8px;
  font-weight: 600;
}

/* ===== BRAND STATEMENT ===== */
.brand-statement {
  padding: 120px 0;
  background: var(--grey-900);
  text-align: center;
}

.brand-statement__text {
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--white);
  max-width: 700px;
  margin: 0 auto 24px;
  font-style: normal;
}

.brand-statement__sub {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey-400);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--grey-900);
  border-top: 1px solid var(--grey-800);
  padding: 64px 0 32px;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer__brand p {
  font-size: 13px;
  color: var(--grey-400);
  margin-top: 16px;
  line-height: 1.7;
}

.footer__logo { height: 18px; width: auto; }

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

.footer__nav h4 {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: 4px;
  font-weight: 400;
}

.footer__nav a {
  font-size: 13px;
  color: var(--grey-400);
  transition: color var(--transition);
}

.footer__nav a:hover { color: var(--white); }

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__contact h4 {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: 4px;
  font-weight: 400;
}

.footer__contact a {
  font-size: 13px;
  color: var(--grey-400);
  transition: color var(--transition);
}

.footer__contact a:hover { color: var(--white); }

.footer__location {
  font-size: 12px;
  color: var(--grey-700);
  margin-top: 4px;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--grey-800);
}

.footer__bottom p {
  font-size: 11px;
  color: var(--grey-700);
  letter-spacing: 0.05em;
}

.footer__socials {
  display: flex;
  gap: 20px;
}

.footer__socials a {
  color: var(--grey-400);
  transition: color var(--transition);
  display: flex;
  align-items: center;
}

.footer__socials a:hover { color: var(--white); }

/* ===== PRODUCTS PAGE ===== */
.page-hero {
  padding: calc(var(--navbar-h) + 64px) 0 64px;
  background: var(--black);
}

.page-hero__title {
  font-size: clamp(32px, 6vw, 80px);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.page-hero__sub {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-top: 8px;
}

.products-page {
  padding: 48px 0 96px;
  background: var(--black);
}

.products-page__layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}

/* Filters Sidebar */
.filters {
  position: sticky;
  top: calc(var(--navbar-h) + 24px);
}

.filters h3 {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: 24px;
  font-weight: 400;
}

.filter-group {
  margin-bottom: 32px;
}

.filter-group__title {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: 12px;
  font-weight: 400;
}

.filter-group__items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--grey-400);
  cursor: pointer;
  transition: color var(--transition);
}

.filter-item:hover,
.filter-item.active { color: var(--white); }

.filter-item input[type="checkbox"] { accent-color: var(--white); }

.filter-sort {
  width: 100%;
  background: var(--grey-900);
  border: 1px solid var(--grey-800);
  color: var(--white);
  padding: 10px 12px;
  font-size: 13px;
  font-family: var(--font);
  outline: none;
  cursor: pointer;
}

.filter-sort option { background: var(--grey-900); }

/* Products toolbar */
.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.products-count {
  font-size: 11px;
  color: var(--grey-400);
  letter-spacing: 0.05em;
}

/* ===== CONTACT PAGE ===== */
.contact-page {
  padding: calc(var(--navbar-h) + 80px) 0 96px;
  background: var(--black);
}

.contact-page__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: start;
}

.contact-page h1 {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 48px;
}

.contact-info { display: flex; flex-direction: column; gap: 32px; }

.contact-info-item h4 {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: 8px;
  font-weight: 400;
}

.contact-info-item a,
.contact-info-item p {
  font-size: 16px;
  color: var(--white);
  transition: color var(--transition);
}

.contact-info-item a:hover { color: var(--grey-400); }

/* ===== EMPTY STATE ===== */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 0;
  color: var(--grey-400);
}

.empty-state p { font-size: 14px; margin-top: 8px; }

/* ===== CART BUTTON ===== */
.site-menu__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.65;
  transition: opacity var(--transition);
}

.cart-btn:hover { opacity: 1; }

.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--white);
  color: var(--black);
  font-size: 9px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ===== CART DRAWER ===== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  max-width: 100vw;
  background: var(--grey-900);
  border-left: 1px solid var(--grey-800);
  z-index: 301;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-drawer.open { transform: translateX(0); }

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--grey-800);
  flex-shrink: 0;
}

.cart-drawer__header span {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
}

.cart-drawer__header button {
  color: var(--grey-400);
  font-size: 18px;
  transition: color var(--transition);
  line-height: 1;
}

.cart-drawer__header button:hover { color: var(--white); }

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 0 28px;
}

.cart-drawer__footer {
  padding: 24px 28px;
  border-top: 1px solid var(--grey-800);
  flex-shrink: 0;
}

.cart-footer__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.cart-footer__total span:first-child {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-400);
}

.cart-footer__total span:last-child {
  font-size: 18px;
  font-weight: 500;
}

.cart-footer__note {
  font-size: 11px;
  color: var(--grey-400);
  margin-top: 12px;
  text-align: center;
  line-height: 1.5;
}

.cart-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: var(--grey-400);
  font-size: 13px;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--grey-800);
  align-items: start;
}

.cart-item__img {
  width: 72px;
  height: 90px;
  background: var(--grey-800);
  overflow: hidden;
  flex-shrink: 0;
}

.cart-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item__no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-700);
  font-size: 11px;
}

.cart-item__info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.cart-item__name {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item__size {
  font-size: 11px;
  color: var(--grey-400);
  letter-spacing: 0.05em;
}

.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.cart-item__qty button {
  width: 24px;
  height: 24px;
  border: 1px solid var(--grey-700);
  color: var(--white);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), background var(--transition);
}

.cart-item__qty button:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}

.cart-item__qty span {
  font-size: 13px;
  min-width: 20px;
  text-align: center;
}

.cart-item__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex-shrink: 0;
}

.cart-item__price {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.cart-item__remove {
  color: var(--grey-700);
  font-size: 12px;
  transition: color var(--transition);
  line-height: 1;
}

.cart-item__remove:hover { color: var(--white); }

/* ===== PRODUCT MODAL ===== */
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.product-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  cursor: pointer;
}

.modal-inner {
  position: relative;
  background: var(--grey-900);
  border: 1px solid var(--grey-800);
  width: 860px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 48px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  color: var(--grey-400);
  font-size: 18px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition);
  line-height: 1;
}

.modal-close:hover { color: var(--white); }

.modal-img {
  background: var(--grey-800);
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}

.modal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-img-placeholder {
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--grey-700);
  font-size: 13px;
  letter-spacing: 0.1em;
}

.modal-info {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
}

.modal-category {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-400);
}

.modal-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.modal-price {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.modal-sizes-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: 8px;
}

.modal-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.size-btn {
  border: 1px solid var(--grey-700);
  color: var(--grey-400);
  font-family: var(--font);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 8px 14px;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  cursor: pointer;
}

.size-btn:hover {
  border-color: var(--white);
  color: var(--white);
}

.size-btn.active {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}

.modal-add-note {
  font-size: 11px;
  color: #e74c3c;
  min-height: 16px;
  margin-top: -8px;
}

.modal-add-btn {
  margin-top: auto;
  width: 100%;
  text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .categories__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .navbar__links--left { display: none; }
  .navbar__links--right a:not(:last-child) { display: none; }
  .navbar__inner { padding: 0 20px; }
  .site-menu__inner { padding: 0 20px; }

  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .products-page__layout { grid-template-columns: 1fr; }
  .filters { position: static; }

  .categories__grid { grid-template-columns: 1fr; }

  .footer__top { grid-template-columns: 1fr; gap: 24px; }
  .contact-page__grid { grid-template-columns: 1fr; gap: 48px; }

  .brand-statement__text { font-size: 20px; }

  .cart-drawer { width: 100vw; }

  .modal-inner {
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow-y: auto;
  }

  .modal-img { aspect-ratio: 4/3; }
  .modal-info { padding: 28px 24px; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hero__title { font-size: 42px; }
}
