/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #222;
  background-color: #ffffff;
}

/* Header and navigation */
header {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.logo {
  /* Increase logo height for better visibility */
  height: 60px;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  /* Push the navigation items to the right and add extra space before the language selector */
  margin-left: auto;
  /* Space to separate navigation links from the language selector on larger screens */
  margin-right: 1.5rem;
}

.nav-menu li a {
  color: #222;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  padding-bottom: 0.25rem;
}

.nav-menu li a:hover {
  color: #555;
}

.nav-menu li a.active {
  border-bottom: 2px solid #222;
}

#language-select {
  padding: 0.4rem 0.6rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  /* Separate the language selector from navigation items */
  margin-left: 0;
}

/* Hamburger menu */
.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  margin-left: auto;
}

/* Hero sections */
.hero {
  height: 70vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
  /* Add generous spacing below the hero to separate it from the following content */
  margin-bottom: 3rem;
}

.page-hero {
  height: 70vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
  /* Add generous spacing below page hero to separate it from the following content */
  margin-bottom: 3rem;
}

.hero-overlay {
  /* Use a light overlay to achieve a magazine editorial feel over the hero image */
  background: rgba(255, 255, 255, 0.3);
  padding: 1.3rem;
  border-radius: 20px;
  color: #222;
}

.hero-overlay h1 {
  font-size: 2.3rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.hero-overlay p {
  font-size: 1.5rem;
}

.page-hero .hero-overlay h1 {
  font-size: 2.8rem;
}

/* Main content */
main {
  padding: 2rem;
}

/* Story sections on the home page */
.story-section {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.story-image {
  flex: 1 1 40%;
}

.story-image img {
  width: 100%;
  border-radius: 8px;
}

.story-text {
  flex: 1 1 55%;
}

.story-text h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
  color: #111;
}

.story-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

/* Labels page */
.label-intro {
  max-width: 900px;
  margin: 0 auto 2rem;
  text-align: center;
  color: #444;
}

.label-grid {
  display: grid;
  /* Base single-column layout; media queries below will define multi-column layouts */
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.label-card {
  background: #f7f7f7;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
}

.label-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.label-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #111;
}

.label-card p {
  font-size: 0.95rem;
  color: #555;
}

/* Lookbook page */
.lookbook-intro {
  max-width: 900px;
  margin: 0 auto 2rem;
  text-align: center;
  color: #444;
}

/* (Legacy card layout - keep for compatibility if used elsewhere) */
.lookbook-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.lookbook-card {
  background: #f7f7f7;
  border-radius: 8px;
  overflow: hidden;
}

.lookbook-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.lookbook-content {
  padding: 1rem;
}

.lookbook-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #111;
}

.lookbook-card p {
  font-size: 0.95rem;
  color: #555;
}

/* Lookbook list styles (section blocks) */
.lookbook-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.lookbook-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  /* Ensure gallery spans full width inside the container */
  width: 100%;
}

/* --- NEW: 4-image mini gallery (mobile 1x4, tablet/desktop 2x2) --- */
.lookbook-item .lookbook-gallery {
  display: grid;
  grid-template-columns: 1fr;   /* mobile: 1 per row */
  gap: 12px;
  width: 100%;
}

@media (min-width: 768px) {
  .lookbook-item .lookbook-gallery {
    grid-template-columns: repeat(2, 1fr); /* tablet & up: 2 per row */
  }
}

/* Base image rule for legacy single-image sections (kept for safety) */
.lookbook-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Override for gallery tiles: fixed height + cover for card-tile look */
.lookbook-item .lookbook-gallery img {
  height: 500px;         /* tile height */
  object-fit: cover;     /* crop edges to fill nicely */
  border-radius: 8px;
  display: block;
  background: #f5f5f5;   /* placeholder bg */
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.lookbook-item h3 {
  margin-top: 1rem;
  font-size: 1.4rem;
  color: #111;
}

.lookbook-item p {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: #555;
}

/* Contact page */
.contact-section {
  max-width: 700px;
  margin: 2rem auto;
  text-align: center;
}

.contact-section p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #444;
}

.contact-section ul {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.contact-section li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: #333;
}

.contact-section a {
  color: #222;
  text-decoration: underline;
}

/* Footer */
footer {
  background: #f5f5f5;
  padding: 1rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  margin-top: 4rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    /* Make the navbar a positioning context so the mobile menu can sit below it */
    position: relative;
  }
  .hamburger {
    display: block;
  }
  /* Mobile dropdown menu: hidden by default and appears as a boxed panel just below the navbar when active */
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: #f7f7f7;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    gap: 1rem;
  }
  .nav-menu.nav-menu-active {
    display: flex;
  }
  .hero-overlay h1 {
    font-size: 1.6rem;
  }
  .hero-overlay p {
    font-size: 1rem;
  }
  .story-section {
    flex-direction: column;
  }
}

/* Labels page adjustments */
.label-grid {
  display: grid;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .label-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .label-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact links */
.contact-links {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.contact-link {
  font-size: 1rem;
  color: #222;
  text-decoration: underline;
}

.contact-link:hover {
  color: #555;
}
