/* Layouts Stylesheet for Anmore */

/* Header / Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(var(--header-height) + var(--announcement-height));
  z-index: 100;
  transition: var(--transition-smooth);
}

.announcement-bar {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  height: var(--announcement-height);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.navbar {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  border-bottom: 1px solid transparent;
  transition: var(--transition-smooth);
  background-color: transparent;
  padding-top: 50px;
}

header.scrolled {
  transform: translateY(calc(var(--announcement-height) * -1));
}

header.scrolled   {
  background-color: rgba(252, 251, 249, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color-light);
  padding-bottom: 30px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--text-primary);
  transition: var(--transition-fast);
}

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

.nav-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: var(--transition-smooth);
}

.nav-logo img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-actions button,
.nav-actions a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: var(--accent-clay);
  color: white;
  font-size: 10px;
  font-weight: 600;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-bounce);
}

/* Hero Section */
.hero-section {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #E6E1DA; /* Placeholder background color */
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 10s ease-out;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(28,27,26,0.2) 0%, rgba(28,27,26,0.1) 60%, rgba(28,27,26,0.35) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 0 20px;
}

.hero-title {
  font-size: 64px;
  font-weight: 400;
  margin-bottom: 24px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 300;
  margin-bottom: 40px;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 40px;
  }
  .hero-subtitle {
    font-size: 15px;
  }
}

/* Page Shells */
.page-view {
  padding-top: calc(var(--header-height) );
  min-height: 100vh;
}

/* Footer */
footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 40px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 320px;
}

.footer-col h3 {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 24px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul a {
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-col ul a:hover {
  color: var(--text-primary);
  padding-left: 4px;
}

.footer-col form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color-light);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
