/* 2026 Modern Design System */

:root {
  /* Colors */
  --primary: #1a1a1a;
  --secondary: #f5f5f5;
  --accent: #c9a961;
  --text: #333;
  --text-light: #666;
  --border: #e0e0e0;
  --success: #4caf50;
  --error: #f44336;

  /* Typography */
  --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-display: 'Georgia', serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  color: var(--primary);
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: var(--spacing-lg);
  letter-spacing: -0.5px;
}

p {
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border: 2px solid transparent;
  border-radius: 0;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--border);
}

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

/* Navigation */
.navbar {
  background: white;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md);
}

.nav-brand h1 {
  font-size: 1.5rem;
  margin: 0;
  font-weight: 700;
  letter-spacing: 2px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
  align-items: center;
}

.nav-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
}

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

.nav-menu a:hover::after {
  width: 100%;
}

.cart-link {
  background: var(--primary);
  color: white !important;
  padding: 0.5rem 1rem;
  border-radius: 2px;
}

.cart-link::after {
  display: none;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f5f5f5 0%, #fff 100%);
  padding: 100px var(--spacing-md);
  text-align: center;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h2 {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-lg);
  font-weight: 700;
}

.hero p {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: var(--spacing-xl);
}

/* Sections */
section {
  padding: var(--spacing-xl) var(--spacing-md);
}

.featured {
  background: white;
}

.about {
  background: var(--secondary);
}

.email-signup {
  background: var(--primary);
  color: white;
  text-align: center;
}

.email-signup h2,
.email-signup p {
  color: white;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.product-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
  border-color: var(--accent);
}

.product-card:hover .product-image::before {
  background: rgba(0, 0, 0, 0.05);
}

.product-image {
  width: 100%;
  height: 340px;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.product-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(0, 0, 0, 0.03) 100%);
  pointer-events: none;
}

.product-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
  z-index: 1;
}

.product-info {
  padding: var(--spacing-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--primary);
}

.product-description {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--border);
}

.product-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
}

.product-card .btn {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* About Grid */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.about-item {
  text-align: center;
  padding: var(--spacing-lg);
}

.about-item h3 {
  color: var(--accent);
  margin-bottom: var(--spacing-md);
}

/* Email Signup Form */
.signup-form {
  display: flex;
  max-width: 500px;
  margin: var(--spacing-lg) auto;
  gap: var(--spacing-sm);
  flex-direction: column;
}

.signup-form input {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1rem;
  border-radius: 2px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.signup-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.signup-form input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent);
}

.signup-form .btn {
  width: 100%;
  background: var(--accent);
  color: var(--primary);
}

.signup-form .btn:hover {
  background: white;
}

.form-message {
  text-align: center;
  margin-top: var(--spacing-md);
  padding: var(--spacing-sm);
  border-radius: 2px;
  min-height: 20px;
}

.form-message.success {
  background: var(--success);
  color: white;
}

.form-message.error {
  background: var(--error);
  color: white;
}

/* Footer */
.footer {
  background: var(--primary);
  color: white;
  padding: var(--spacing-xl) var(--spacing-md);
  margin-top: var(--spacing-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-section h4 {
  color: var(--accent);
  margin-bottom: var(--spacing-md);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: var(--spacing-sm);
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-section a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-menu {
    flex-wrap: wrap;
    gap: var(--spacing-md);
  }

  .hero h2 {
    font-size: 2.5rem;
  }

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

  h2 {
    font-size: 2rem;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }

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

@media (max-width: 480px) {
  .nav-menu {
    gap: var(--spacing-sm);
  }

  .nav-menu a {
    font-size: 0.85rem;
  }

  .hero {
    padding: 60px var(--spacing-md);
    min-height: 400px;
  }

  .hero h2 {
    font-size: 1.8rem;
  }

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

/* --- brand lockup --- */
.nav-brand h1 { margin: 0; }
.brand-lockup { margin: 0; line-height: 0; }
.brand-lockup a { display: block; }
.brand-logo { display: block; height: 32px; width: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 860px) { .brand-logo { height: 34px; } }
.footer-brand img { height: 54px; width: auto; max-width: 100%; margin: 0 0 10px; }
.footer-brand { margin-bottom: 6px; }
.footer-section { min-width: 0; }
.brand-mark { display: none; }
@media (max-width: 860px) { .brand-full { display: none !important; } .brand-mark { display: block !important; height: 26px; width: 26px; } }
@media (max-width: 860px) {
  .navbar .container { flex-wrap: wrap; gap: 8px 14px; padding: 10px 14px; }
  .nav-brand { flex: 0 0 auto; }
  .nav-menu { flex-wrap: wrap; gap: 8px 14px; font-size: 0.92rem; }
  .brand-mark { height: 30px; }
}
