/*
  Stylesheet for the 9thform website.

  The design follows modern minimalist and futuristic guidelines:
  smooth lines, generous whitespace, restrained colour palette and
  responsive layouts【291468922625595†L110-L128】.  Typography is set
  using the Poppins typeface with fallbacks to system fonts.  CSS
  custom properties are used for colours to make adjustments easy.
*/

:root {
  --colour-dark: #0a0a0a;
  --colour-light: #f5f4f2;
  --colour-accent: #cbe2f6; /* soft blue inspired by the second logo */
  --colour-highlight: #ece7de; /* off‑white tint for buttons */
  --colour-hover: #e1d4c6; /* subtle hover colour */
  --max-content-width: 1200px;
}

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

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background-color: var(--colour-light);
  color: var(--colour-dark);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.container {
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  background-color: var(--colour-dark);
  color: var(--colour-highlight);
}

/* Header flex layout: place logo on the left and navigation on the right */
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

/* Navigation styles */
.site-nav {
  /* Ensure the navigation does not shrink on smaller screens */
  flex-shrink: 0;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-list a {
  color: var(--colour-highlight);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.nav-list a:hover,
.nav-list a:focus {
  color: var(--colour-accent);
  outline: none;
}

.logo {
  height: 40px;
}

/* Hero section */
.hero {
  background-color: var(--colour-accent);
  padding: 4rem 0;
  color: var(--colour-dark);
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-text h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.125rem;
  max-width: 36rem;
}

.hero-image {
  flex: 1;
  text-align: center;
}

.hero-image img {
  max-width: 350px;
}

/* Services section */
.services {
  padding: 3rem 0;
  background-color: var(--colour-light);
  color: var(--colour-dark);
}

.services h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 600;
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.service-item {
  flex: 1 1 280px;
  background-color: var(--colour-highlight);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.service-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.service-item p {
  font-size: 1rem;
}

/* Connect section */
.connect {
  background-color: var(--colour-dark);
  color: var(--colour-highlight);
  padding: 3rem 0;
}

.connect-content h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  text-align: center;
  font-weight: 600;
}

.connect-content p {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--colour-highlight);
  color: var(--colour-dark);
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

/* Larger button for the primary Instagram account */
.social-button.instagram.main {
  width: 68px;
  height: 68px;
}

.social-button:hover {
  transform: translateY(-4px);
  background-color: var(--colour-hover);
}

.icon {
  width: 24px;
  height: 24px;
}

/* Footer */
.site-footer {
  background-color: var(--colour-dark);
  color: var(--colour-highlight);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.875rem;
}

/* Shop page hero */
.shop-hero {
  background-color: var(--colour-accent);
  color: var(--colour-dark);
  text-align: center;
  padding: 4rem 0;
}

.shop-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.shop-hero p {
  font-size: 1.125rem;
  max-width: 40rem;
  margin: 0 auto 1.5rem;
}

/* Call‑to‑action button */
.cta-button {
  display: inline-block;
  background-color: var(--colour-dark);
  color: var(--colour-highlight);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.cta-button:hover,
.cta-button:focus {
  background-color: var(--colour-hover);
  color: var(--colour-dark);
  outline: none;
}

/* Coming soon note on the shop page */
.coming-soon {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 0.75rem;
}

/* Gallery page styles */
.gallery {
  background-color: var(--colour-light);
  color: var(--colour-dark);
  padding: 3rem 0;
}

.gallery h1 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: 600;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item img {
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.gallery-item figcaption {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  text-align: center;
  color: var(--colour-dark);
}

/* Bottom descriptive text on the gallery page */
.gallery-bottom-text {
  margin-top: 2rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: 1rem;
  line-height: 1.5;
  opacity: 0.9;
}

.small-note {
  opacity: 0.8;
  margin-top: 0.25rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  .hero-image {
    margin-top: 2rem;
  }
  .hero-image img {
    max-width: 250px;
  }
}
