/* VARIABLES */
:root {
  --main-color: #236B5A;
  --accent-color: #D4A72C;
  --light-gray: #F7F7F7;
  --dark-gray: #333;
  --font-sans: 'Helvetica Neue', Arial, sans-serif;
}

/* SMOOTH SCROLL */
html {
  scroll-behavior: smooth;
}

/* RESET */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: var(--font-sans);
  color: var(--dark-gray);
  line-height: 1.6;
}

/* NAVBAR (absolute container) */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 180px;
  z-index: 10;
}

/* LOGO — far left */
.logo {
  position: absolute;
  top: 0;
  left: 2rem;
  height: 180px;
  width: auto;
}

/* NAV LINKS — perfectly centered on page */
.nav-links {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--accent-color);
}

/* SHOP NOW — far right */
.btn-primary {
  position: absolute;
  top: 0.75rem;
  right: 2rem;
  background: var(--accent-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  border: none;
  transition: opacity 0.2s;
}
.btn-primary:hover {
  opacity: 0.9;
}

/* HERO SECTION */
.hero {
  position: relative;
  padding-top: calc(180px + 1rem);
  height: 80vh;
  background: url('assets/hero.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  padding: 0 1rem;
}
.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}
.btn-hero {
  background: var(--accent-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
  border: none;
  transition: opacity 0.2s;
}
.btn-hero:hover {
  opacity: 0.9;
}

/* COLLECTIONS */
.collections {
  padding: 4rem 2rem;
  text-align: center;
}
.collections h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--main-color);
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.card {
  background: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: left;
}
.card img {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.card h3 {
  color: var(--main-color);
  margin-bottom: 0.5rem;
}
.card p {
  margin-bottom: 1rem;
}
.btn-secondary {
  background: var(--main-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
  border: none;
  transition: opacity 0.2s;
}
.btn-secondary:hover {
  opacity: 0.9;
}

/* OUR STORY */
.story {
  background: var(--light-gray);
  padding: 4rem 2rem;
  text-align: center;
}
.story h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.story p {
  max-width: 600px;
  margin: 0 auto;
}

/* FOOTER */
.footer {
  background: var(--dark-gray);
  color: white;
  padding: 2rem;
  text-align: center;
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

/* All links in footer (including email and social) */
.footer a {
  color: white;
  text-decoration: underline;
  transition: color 0.2s;
}
.footer a:hover {
  color: var(--accent-color);
}
.social img {
  height: 24px;
  margin: 0 0.5rem;
  filter: brightness(0) invert(1);
  transition: filter 0.2s;
}
.social a:hover img {
  filter: brightness(0) invert(54%) sepia(96%) saturate(550%) hue-rotate(10deg) brightness(1.3);
}
.footer p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

/* STICKY NAV BG ON SCROLL */
.nav--scrolled {
  background: rgba(0, 0, 0, 0.6);
}
