/* ---------- Base styles ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #f9fafb;
  background-color: #05060a;
}

/* So content is not full-width on big screens */
main {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

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

/* ---------- Header & nav ---------- */

header {
  background-color: #111827;
  color: #f9fafb;
  position: sticky;
  top: 0;
  z-index: 10;
}

header nav {
  max-width: 960px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* first link = "logo" */
header nav a:first-child {
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-right: auto;
}

header nav a {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.95rem;
}

header nav a:hover {
  color: #ffffff;
  text-decoration: underline;
}

header nav a.active-link {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

/* ---------- Sections & typography ---------- */

section {
  margin-bottom: 2.5rem;
  padding: 1.5rem 0 1.75rem;
  background-color: transparent;
  border-radius: 0;
  box-shadow: none;
  border-bottom: 1px solid #e5e7eb;
}

section h2 {
  margin-top: 0;
}


h1,
h2 {
  margin-top: 0;
  color: #fafafa;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(1.9rem, 3vw, 2.3rem);
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

p {
  margin: 0 0 0.7rem;
  color: #d1d5db;
}

ul {
  padding-left: 1.1rem;
  margin: 0.25rem 0 0;
}

/* ---------- Buttons & links inside main ---------- */

main a {
  color: #2563eb;
}

main a:hover {
  text-decoration: underline;
}

/* specific links on the home hero as buttons */
main a[href="gallery.html"],
main a[href="booking.html"] {
  display: inline-block;
  margin-right: 0.75rem;
  margin-top: 0.75rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background-color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  color: #111827;
}

main a[href="gallery.html"]:hover,
main a[href="booking.html"]:hover {
  background-color: #111827;
  color: #f9fafb;
  border-color: #111827;
}

/* ---------- Gallery layout ---------- */

/* On gallery page, sections with figures should wrap nicely */
section figure {
  margin: 0 1rem 1rem 0;
  display: inline-block;
  vertical-align: top;
  max-width: 260px;
  background-color: #f9fafb;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

section figure img {
  width: 100%;
  height: auto;
}

section figure figcaption {
  padding: 0.6rem 0.75rem 0.75rem;
  font-size: 0.85rem;
  color: #4b5563;
}

/* ---------- Booking form ---------- */

form {
  margin-top: 0.5rem;
}

form div {
  margin-bottom: 0.9rem;
}

label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
  color: #374151;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.5rem 0.6rem;
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  font-family: inherit;
  font-size: 0.95rem;
  color: #111827;
  background-color: #ffffff;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #2563eb;
  outline-offset: 1px;
  border-color: #2563eb;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

button[type="submit"] {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: none;
  background-color: #111827;
  color: #f9fafb;
  font-size: 0.92rem;
  cursor: pointer;
}

button[type="submit"]:hover {
  background-color: #030712;
}

.booking-message {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #047857; /* green-ish */
}

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid #111827;
  padding: 1rem 1rem 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: #6b7280;
  background-color: #05060a;
}

/* ---------- Responsive tweaks ---------- */

@media (max-width: 640px) {
  header nav {
    flex-wrap: wrap;
    row-gap: 0.4rem;
  }

  header nav a:first-child {
    flex-basis: 100%;
    margin-right: 0;
  }

  section {
    padding: 1.25rem 1rem 1.5rem;
  }

  section figure {
    max-width: 100%;
    margin-right: 0;
  }
}

/* ---------- Active nav link via JS ---------- */

header nav a.active {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* ---------- HERO SECTION ---------- */

.hero {
  margin: 0 calc(50% - 50vw) 3rem  ;
  padding: 3.2rem 1.5rem 5rem;

  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.7)),
    url("../img/DSC_9302.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: #ffffff;
  backdrop-filter: brightness(1.05);
}

.hero-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: center;
}

.hero-content {
  flex: 1 1 360px;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 5vw, 3.1rem);
  font-weight: 600;
  color: #fdfdfd;
  text-shadow: 0 3px 12px rgba(0,0,0,0.45);
}

.hero-tagline {
  font-size: 1.05rem;
  max-width: 32rem;
  color: #f2f2f7;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);  
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.btn-hero {
  padding: 0.7rem 1.4rem;
  background: #ffffff;
  color: #111827;
  text-decoration: none;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid #ffffff;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-hero:hover {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.btn-hero.secondary {
  background: transparent;
  border: 1px solid #ffffff;
  color: #ffffff;
}

.btn-hero.secondary:hover {
  background: #ffffff;
  color: #111827;
}

/* ---------- GALLERY SECTION ---------- */

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 1.75rem;
}

.gallery-filter-btn {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid #4b5563;
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
}

.gallery-filter-btn:hover {
  border-color: #f9fafb;
  transform: translateY(-1px);
}

.gallery-filter-btn.is-active {
  background: #f9fafb;
  color: #020617;
  border-color: #f9fafb;
}

.gallery-header {
  background: #111827;
  padding: 1.2rem 1.5rem;  
  border-radius: 0.75rem; 
  margin-bottom: 1.5rem;   
  border-radius: 1rem;
}


/* ---------- GALLERY SECTION ---------- */

/* ---------- FEATURED CAROUSEL ---------- */

.featured-section {
  margin-top: 2.5rem;
  margin-bottom: 2rem;
}

.featured-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 2rem;
  align-items: center;
}

.featured-text h1 {
  margin-bottom: 0.5rem;
}

.featured-text p {
  max-width: 28rem;
}

.featured-carousel {
  background: radial-gradient(circle at top left, rgba(148, 163, 184, 0.12), rgba(15, 23, 42, 0.95));
  border-radius: 1rem;
  border: 1px solid #111827;
  padding: 1rem 1rem 1.1rem;
}

.carousel-window {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
}

.carousel-slide {
  display: none;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.25s ease-out, transform 0.25s ease-out;
}

.carousel-slide.is-active {
  display: block;
  opacity: 1;
  transform: scale(1);
}

.carousel-slide img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  display: block;
}

.carousel-caption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #e5e7eb;
}

/* controls */

.carousel-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.7rem;
}

.carousel-arrow {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid #4b5563;
  border-radius: 999px;
  color: #e5e7eb;
  padding: 0.3rem 0.7rem;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}

.carousel-arrow:hover {
  background: rgba(15, 23, 42, 1);
  border-color: #f9fafb;
  transform: translateY(-1px);
}

.carousel-dots {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  margin-top: 0.6rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: #4b5563;
  cursor: pointer;
  transition: background 0.15s, width 0.15s;
}

.carousel-dot.is-active {
  background: #f9fafb;
  width: 14px;
}

/* responsive */

@media (max-width: 768px) {
  .featured-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- BOOKING LAYOUT ---------- */

.booking-section {
  margin-top: 2.5rem;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.booking-info h1 {
  margin-bottom: 0.75rem;
}

.booking-info p {
  max-width: 34rem;
}

/* keep your existing form styles working with these: */

.booking-form {
  background: #020617;
  border-radius: 0.9rem;
  border: 1px solid #111827;
  padding: 1.3rem 1.4rem 1.5rem;
}

.form-field {
  margin-bottom: 0.95rem;
}

.booking-message {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #22c55e;
}

/* --- Booking form text clarity upgrade --- */

.booking-form label {
  color: #f3f4f6;     /* bright, clean gray */
  font-weight: 500;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  color: #f9fafb;     /* white-ish */
  background: #0f172a; 
  border: 1px solid #1e293b;
}

.booking-form input::placeholder,
.booking-form textarea::placeholder {
  color: #9ca3af;     /* subtle but readable */
}

.booking-form select {
  background-color: #0f172a;
}

.booking-form button {
  background: #f9fafb;
  color: #020617;
  font-weight: 600;
  border: none;
  border-radius: 0.6rem;
  padding: 0.6rem 1rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.booking-form button:hover {
  background: #e2e8f0;
  transform: translateY(-1px);
}

/* ---------- CALENDAR ---------- */

.calendar {
  margin-top: 1.75rem;
  padding: 1rem 1.1rem 1.2rem;
  border-radius: 0.9rem;
  border: 1px solid #1f2937;
  background: #020617;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.calendar-title {
  font-size: 0.95rem;
}

.calendar-nav {
  background: #020617;
  border-radius: 999px;
  border: 1px solid #4b5563;
  color: #e5e7eb;
  padding: 0.25rem 0.6rem;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}

.calendar-nav:hover {
  background: #111827;
  border-color: #e5e7eb;
  transform: translateY(-1px);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
}

.calendar-weekdays span {
  font-size: 0.75rem;
  text-align: center;
  color: #9ca3af;
}

.calendar-day {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 0.55rem;
  border: 1px solid #111827;
  background: #020617;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  cursor: pointer;
  color: #e5e7eb;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.1s;
}

.calendar-day.muted {
  opacity: 0.25;
  cursor: default;
}

.calendar-day.today {
  border-color: #f97316;
}

.calendar-day.selected {
  background: #f9fafb;
  color: #020617;
  border-color: #f9fafb;
  transform: translateY(-1px);
}

.calendar-note {
  margin-top: 0.7rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

/* responsive */

@media (max-width: 768px) {
  .booking-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .booking-form {
    margin-top: 0.5rem;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.homepage-featured {
  margin: 3rem 0 3rem;
}

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

.featured-grid img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 0.75rem;
  filter: brightness(0.9) saturate(1.2);
  transition: transform 0.3s ease-out, filter 0.3s ease-out;
}

.featured-grid img:hover {
  transform: scale(1.02);
  filter: brightness(1) saturate(1.3);
}

/* ---------- HOMEPAGE ABOUT + WHAT I SHOOT ---------- */

.eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #9ca3af;
  margin-bottom: 0.4rem;
}

.about-section {
  margin-top: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #1f2933;
}

.about-section .about-heading h2 {
  margin-bottom: 0.5rem;
}

.about-section .about-body {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr);
  gap: 2rem;
  margin-top: 1.2rem;
}

.about-section .about-body p {
  font-size: 0.98rem;
}

.about-facts {
  display: grid;
  gap: 0.7rem;
}

.fact-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9ca3af;
}

.fact-value {
  display: block;
  font-size: 0.9rem;
  color: #e5e7eb;
}

/* WHAT I SHOOT */

.what-section {
  margin-top: 2.5rem;
}

.what-header h2 {
  margin-bottom: 1rem;
}

.what-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
}

.what-card {
  background: #020617;
  border-radius: 0.85rem;
  border: 1px solid #111827;
  padding: 1.1rem 1.2rem 1.3rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, border-color 0.18s;
}

.what-card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.what-card p {
  font-size: 0.9rem;
  color: #d1d5db;
}

.what-card:hover {
  transform: translateY(-4px);
  border-color: #e5e7eb;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

/* responsive */

@media (max-width: 768px) {
  .about-section .about-body {
    grid-template-columns: minmax(0, 1fr);
  }
}

