/* ===== ADAM BRAND - STYLESHEET ===== */
/* Color Palette: Black #1a1a1a, Light Brown #c8a97e, White #ffffff, Off-white #f9f6f2 */

:root {
  --black: #1a1a1a;
  --light-brown: #c8a97e;
  --light-brown-dark: #b08d5a;
  --white: #ffffff;
  --off-white: #f9f6f2;
  --gray-light: #f0ede8;
  --gray: #888888;
  --shadow: 0 2px 15px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  padding: 0 40px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  font-size: 28px;
  font-weight: 800;
  color: var(--black);
  text-decoration: none;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.header-logo span {
  color: var(--light-brown);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 35px;
}

.header-nav a {
  text-decoration: none;
  color: var(--black);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  transition: var(--transition);
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--light-brown);
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--light-brown);
  transition: var(--transition);
}

.header-nav a:hover::after,
.header-nav a.active::after {
  width: 100%;
}

.cart-icon {
  position: relative;
  cursor: pointer;
}

.cart-icon .cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--light-brown);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--black);
  transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
  margin-top: 70px;
  height: calc(100vh - 70px);
  min-height: 600px;
  background: linear-gradient(135deg, var(--black) 0%, #2d2014 50%, var(--light-brown-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 40px;
}

.hero-content h1 {
  font-size: 72px;
  font-weight: 800;
  letter-spacing: 8px;
  text-transform: uppercase;
  margin-bottom: 10px;
  animation: fadeInUp 1s ease;
}

.hero-content h1 span {
  color: var(--light-brown);
}

.hero-tagline {
  font-size: 18px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--light-brown);
  margin-bottom: 30px;
  animation: fadeInUp 1s ease 0.3s both;
}

.hero-description {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  max-width: 500px;
  margin: 0 auto 40px;
  animation: fadeInUp 1s ease 0.5s both;
}

.hero-btn {
  display: inline-block;
  padding: 15px 45px;
  background: var(--light-brown);
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: 2px solid var(--light-brown);
  transition: var(--transition);
  animation: fadeInUp 1s ease 0.7s both;
}

.hero-btn:hover {
  background: transparent;
  color: var(--light-brown);
}

/* ===== SECTIONS ===== */
.section {
  padding: 80px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--black);
}

.section-title p {
  color: var(--gray);
  font-size: 15px;
  margin-top: 10px;
  letter-spacing: 1px;
}

/* ===== FEATURES ===== */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.feature-card {
  text-align: center;
  padding: 40px 25px;
  background: var(--off-white);
  border-radius: 8px;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.feature-card .icon {
  font-size: 36px;
  margin-bottom: 15px;
  color: var(--light-brown);
}

.feature-card h3 {
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--gray);
  font-size: 14px;
}

/* ===== PRODUCT GRID ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.product-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
  background: var(--gray-light);
}

.product-info {
  padding: 20px;
}

.product-code {
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.product-name {
  font-size: 16px;
  font-weight: 600;
  margin: 5px 0;
  color: var(--black);
}

.product-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--light-brown-dark);
  margin: 8px 0;
}

.product-stock {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 12px;
}

.stock-in {
  background: #e8f5e9;
  color: #2e7d32;
}

.stock-low {
  background: #fff3e0;
  color: #e65100;
}

.stock-out {
  background: #ffebee;
  color: #c62828;
}

.add-to-cart-btn {
  width: 100%;
  padding: 12px;
  background: var(--black);
  color: var(--white);
  border: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  border-radius: 4px;
}

.add-to-cart-btn:hover {
  background: var(--light-brown);
}

.add-to-cart-btn:disabled {
  background: var(--gray);
  cursor: not-allowed;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 60px 40px 30px;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--light-brown);
}

.footer-col p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  line-height: 1.8;
}

.footer-col a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--light-brown);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--light-brown);
  border-color: var(--light-brown);
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
}

/* ===== CART PAGE ===== */
.cart-page {
  margin-top: 70px;
  padding: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  min-height: calc(100vh - 70px);
}

.cart-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--gray);
}

.cart-empty .icon {
  font-size: 60px;
  margin-bottom: 20px;
  color: var(--light-brown);
}

.cart-empty h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--black);
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-bottom: 1px solid var(--gray-light);
  background: var(--white);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: var(--shadow);
}

.cart-item-img {
  width: 100px;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
}

.cart-item-details {
  flex: 1;
}

.cart-item-details h3 {
  font-size: 16px;
  margin-bottom: 3px;
}

.cart-item-details .code {
  font-size: 12px;
  color: var(--gray);
}

.cart-item-details .price {
  font-size: 16px;
  font-weight: 700;
  color: var(--light-brown-dark);
  margin-top: 5px;
}

.cart-qty {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-qty button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--gray-light);
  background: var(--white);
  cursor: pointer;
  font-size: 16px;
  border-radius: 4px;
  transition: var(--transition);
}

.cart-qty button:hover {
  background: var(--light-brown);
  color: var(--white);
  border-color: var(--light-brown);
}

.cart-qty span {
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

.cart-remove {
  background: none;
  border: none;
  color: #c62828;
  cursor: pointer;
  font-size: 20px;
  padding: 5px;
}

.cart-summary {
  background: var(--off-white);
  padding: 30px;
  border-radius: 8px;
  margin-top: 30px;
}

.cart-summary h3 {
  font-size: 20px;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 25px;
  padding-top: 15px;
  border-top: 1px solid var(--gray-light);
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px;
  background: #25D366;
  color: var(--white);
  border: none;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 6px;
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-btn:hover {
  background: #128C7E;
}

.whatsapp-btn svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
}

/* ===== PAGE SPECIFIC ===== */
.page-header {
  margin-top: 70px;
  padding: 40px;
  text-align: center;
  background: var(--off-white);
}

.page-header h1 {
  font-size: 36px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.page-header p {
  color: var(--gray);
  margin-top: 10px;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  background: var(--off-white);
  padding: 80px 40px;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-content h2 {
  font-size: 32px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

/* ===== NEWSLETTER ===== */
.newsletter {
  background: var(--light-brown);
  padding: 60px 40px;
  text-align: center;
}

.newsletter h2 {
  color: var(--white);
  font-size: 28px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.newsletter p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 25px;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
}

.newsletter-form button {
  padding: 14px 25px;
  background: var(--black);
  color: var(--white);
  border: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 4px;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: #333;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 55px;
  height: 55px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37,211,102,0.4);
  z-index: 999;
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: white;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .header {
    padding: 0 20px;
    height: 60px;
  }

  .header-logo {
    font-size: 22px;
  }

  .header-nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    box-shadow: var(--shadow);
    transform: translateY(-150%);
    transition: var(--transition);
    z-index: 999;
  }

  .header-nav.open {
    transform: translateY(0);
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    height: auto;
    min-height: 500px;
    padding: 60px 20px;
  }

  .hero-content h1 {
    font-size: 42px;
    letter-spacing: 4px;
  }

  .hero-tagline {
    font-size: 14px;
    letter-spacing: 4px;
  }

  .section {
    padding: 50px 20px;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
  }

  .product-image {
    height: 220px;
  }

  .product-info {
    padding: 12px;
  }

  .product-name {
    font-size: 14px;
  }

  .product-price {
    font-size: 15px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer {
    padding: 40px 20px 20px;
  }

  .cart-page {
    padding: 20px;
  }

  .cart-item {
    flex-wrap: wrap;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .section-title h2 {
    font-size: 26px;
  }

  .page-header h1 {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .product-image {
    height: 180px;
  }

  .hero-content h1 {
    font-size: 32px;
  }
}

/* ===== COLLECTION PAGE FILTER ===== */
.collection-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 25px;
  border: 1px solid var(--gray-light);
  background: var(--white);
  cursor: pointer;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
  border-radius: 4px;
}

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