
html, body {
  height: 100%;
  margin: 0;
}

body {
  /* font-family: "IM Fell French Canon SC", serif; */
  font-family: "Oswald", sans-serif;
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  line-height: 1.6;
  background-color: #ffffff;
  color: #000000;
}

/* HEADER */
header {
  background: #ffffff; 
  /* color: #000000; */
  color: #910000;
  padding: 1rem 0;
  text-align: center;
  border-bottom: 2px solid #910000;
}

header h1 {
  margin: 0;
  font-size: 2rem;
  animation: pulse 0.01s infinite;
}
/* NAVIGATION */
.navbar nav {
  margin-top: 0.5rem;
}

.navbar nav a {
  color: #000000;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.navbar nav a:hover {
  color: #910000;
}

/* HERO SECTION */
.hero {
  position: relative;
  width: 100%;
  min-height: 50vh;              /* adjust height as you like (40–70vh works well) */
  background-image: url('images/header.webp');
  background-size: cover;        /* fills the width, cropping if needed */
  background-position: center;   /* keeps subject centered */
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);  /* darken image so text is readable */
}

.hero__content {
  position: relative;
  text-align: center;
  color: #ffffff;
  padding: 1rem 1.5rem;
}

.hero__content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 0.5rem 0;
}

.hero__content p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin: 0;
  opacity: 0.95;
}

/* Optional button */
.hero__btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.7rem 1.1rem;
  border-radius: 8px;
  background: #910000;     /* your accent color */
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.hero__btn:hover { transform: translateY(-2px); opacity: 0.9; }

/* MAIN CONTENT */
main {
  padding: 2rem;
  flex: 1;
  max-width: 1000px;
  margin: 0 auto;
}

/* GALLERY */
.gallery {
  font-family: 'Nosifer', sans-serif;
}
.gallery .art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
}

.art-grid img {
  width: 100%;
  border-radius: 8px;
  border: 2px solid #ccc;
  transition: transform 0.3s, border-color 0.3s;
}

.art-grid img:hover {
  transform: scale(1.05);
  border-color: #910000;
}

/* _____ CONTACT PAGE ____*/
/* FORM STYLING */
form {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  margin-top: 1rem;
}

form label {
  margin-top: 10px;
  font-weight: bold;
}

form input,
form button {
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

form button {
  background-color: #910000;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

form button:hover {
  background-color: #422628;
}

/* Contact link styling */
.contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 1.1rem;
  color: #333;
  transition: color 0.3s ease;
}

/* Instagram styling */
.contact a.instagram {
  color: #0f0707; 
}
.contact a.instagram:hover {
  color: #910000;
}

/* Email styling */
.contact a.email {
  color: #0f0707; 
}
.contact a.email:hover {
  color: #910000;
}

/* Icon size */
.contact i {
  font-size: 1.3rem;
}

/* FLASH GALLERY PAGE */
.flash-gallery {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

.flash-section {
  margin-bottom: 4rem;
  text-align: center;
}

.flash-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #ccc;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.flash-images {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.flash-images img {
  width: 100%;
  max-width: 600px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* FOOTER */
footer {
  text-align: center;
  background: #ffffff; /* Darker gray for footer */
  color: #000000;
  padding: 1rem;
  margin-top: 2rem;
  border-top: 2px solid #910000;
}


/* STORE PAGE */
.store-page {
  flex: 1; /* pushes footer down */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh; /* keeps it tall enough */
}

.store-page h2 {
  font-size: 2.5rem;
  color: #910000; /* your accent color */
  text-align: center;
  animation: pulse 2s infinite;
}

/* Pulse animation */
@keyframes pulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* HAMBURGER MENU SECTION */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

header .navbar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 0.25rem;
  padding: 0rem 1rem;
  flex-wrap: wrap;                 /* <-- allow nav to move to next line */
}
/* Hamburger button (left-aligned under the title) */
header .navbar .menu-toggle {
  display: inline-flex;
  order: 0;
  margin-right: auto;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
  width: 32px; height: 32px;
  /* border: 1px solid #d6d6d6; */
  border: transparent;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}
header .navbar .site-title {
  order: 1;
  flex: 1;
  text-align: center;           /* keep the title centered */
}
/* 3 stacked bars */
header .navbar .hamburger {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
}
header .navbar .hamburger span {
  display: block;
  width: 20px; height: 1.5px;
  background: #222;
  transition: transform .25s ease, opacity .25s ease;
}

/* Animate to X when expanded */
header .navbar .menu-toggle[aria-expanded="true"] .hamburger span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
header .navbar .menu-toggle[aria-expanded="true"] .hamburger span:nth-child(2) {
  opacity: 0;
}
header .navbar .menu-toggle[aria-expanded="true"] .hamburger span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}
/* Make the dropdown occupy a new line and full width, then left-align links */
header .navbar .nav-collapsible { 
  order: 2; 
  flex-basis: 100%;                /* <-- force onto its own line */
}
/* IMPORTANT: reliably hide when [hidden] is present, even if old CSS exists */
header .navbar .nav-collapsible[hidden] { display: none !important; }

header .navbar .nav-collapsible:not([hidden]) {
  display: flex;               /* becomes visible */
  flex-direction: column;      /* stack vertically */
  align-items: flex-start;     /* left align the items */
  gap: 0.5rem;
  margin-top: 0.25rem;
}
/* Link look/feel */
header .navbar .nav-collapsible a {
  display: block;
  text-decoration: none;
  padding: 0.25rem 0;
}
header .navbar .nav-collapsible a:hover {
  text-decoration: underline;
}
