/* ===== Variables & Theme ===== */
:root {
  /* Colors */
  --bg-color: #0a0a0a;
  --text-main: #ffffff;
  --text-muted: #888888;
  --accent-color: #ff3b3b; /* Vibrant Red */
  --accent-glow: rgba(255, 59, 59, 0.4);
  --card-bg: #141414;
  --border-color: #222222;
  --success-color: #00ff88;

  /* Typography */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing & Layout */
  --container-width: 480px; /* Mobile view on desktop */
  --header-height: 60px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #000; /* Outer background for desktop */
  color: var(--text-main);
  font-family: var(--font-body);
  display: flex;
  justify-content: center;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== Mobile Container ===== */
.mobile-wrapper {
  width: 100%;
  max-width: var(--container-width);
  background-color: var(--bg-color);
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 50px rgba(0,0,0,0.5);
  border-left: 1px solid #1a1a1a;
  border-right: 1px solid #1a1a1a;
  display: flex;
  flex-direction: column;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-logo {
  height: 32px;
  width: auto;
  border-radius: 4px;
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-toggle {
  color: var(--text-main);
  padding: 0.5rem;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

/* ===== Navigation Overlay ===== */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(5px);
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.nav-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--text-muted);
  padding: 0.5rem;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-main);
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--accent-color);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.7);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-tag {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: var(--accent-color);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  border-radius: 4px;
}

.hero-title {
  font-size: 3rem;
  line-height: 0.9;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.hero-title span {
  display: block;
  -webkit-text-stroke: 1px #fff;
  color: transparent;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: #000;
  padding: 1rem 2rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:active {
  transform: scale(0.98);
}

/* ===== Marquee ===== */
.marquee-container {
  background: var(--accent-color);
  padding: 0.8rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-content {
  display: inline-block;
  animation: marquee 10s linear infinite;
}

.marquee-item {
  display: inline-block;
  color: #000;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-right: 2rem;
  font-family: var(--font-display);
}

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

/* ===== Section Styles ===== */
.section {
  padding: 4rem 1.5rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
}

.section-title {
  font-size: 2rem;
}

.section-link {
  color: var(--text-muted);
  font-size: 0.9rem;
  border-bottom: 1px solid transparent;
}

/* ===== Product Grid ===== */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.product-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: border-color 0.3s;
}

.product-image-wrapper {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

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

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-info {
  padding: 1rem;
}

.product-title {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-price {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.btn-add {
  width: 100%;
  padding: 0.6rem;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background 0.2s;
}

.btn-add:hover {
  background: rgba(255,255,255,0.2);
}

/* ===== Lookbook Carousel ===== */
.lookbook-carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.lookbook-carousel::-webkit-scrollbar {
  display: none;
}

.lookbook-item {
  min-width: 85%;
  scroll-snap-align: center;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/5;
}

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

.lookbook-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

/* ===== About Section ===== */
.about-section {
  background: #111;
  margin: 2rem 1rem;
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  border: 1px solid #222;
}

.about-text {
  color: var(--text-muted);
  margin: 1rem 0 2rem;
  line-height: 1.6;
}

/* ===== Footer ===== */
.site-footer {
  padding: 3rem 1.5rem;
  background: #050505;
  border-top: 1px solid #1a1a1a;
  margin-top: auto;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.2s;
}

.social-link:hover {
  background: var(--accent-color);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  color: #444;
  font-size: 0.8rem;
}

/* ===== Toast Notification ===== */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(20, 20, 20, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid #333;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 1000;
  width: 90%;
  max-width: 400px;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-icon {
  color: var(--success-color);
}

/* ===== Cart Floating Button ===== */
.cart-float {
  position: fixed;
  bottom: 2rem;
  right: calc(50% - 220px); /* Position relative to container center */
  width: 60px;
  height: 60px;
  background: var(--text-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  z-index: 90;
  transition: transform 0.2s;
}

@media (max-width: 500px) {
  .cart-float {
    right: 1.5rem;
  }
}

.cart-float:active {
  transform: scale(0.9);
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--accent-color);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-color);
}
