/* ================
   THEME & RESET
   ================ */

:root {
  --bg-main: #050816;
  --bg-alt: #0b1020;
  --surface: #111827;
  --surface-soft: #1f2937;

  --border-soft: #374151;
  --border-strong: #4b5563;

  --accent: #f5c542;
  --accent-deep: #d29b1f;
  --accent-soft: rgba(245, 197, 66, 0.16);

  --text-main: #f9fafb;
  --text-soft: #d1d5db;
  --text-muted: #9ca3af;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1f2933 0, #050816 40%, #020617 100%);
  color: var(--text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Subtle giant logo watermark */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("logo.png") center/80vw no-repeat;
  opacity: 0.05;
  pointer-events: none;
  z-index: -1;
  filter: brightness(1.2) saturate(1.1);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ================
   PAGE WRAPPER
   ================ */

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3.5rem;
}

/* ================
   HEADER / NAV
   ================ */

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.logo-area,
.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-img {
  height: 220px; /* desktop size */
  width: auto;
  object-fit: contain;
  background: transparent !important;
}

.brand-title,
.logo-text-main {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-main);
}

.logo-text-tagline {
  font-size: 0.78rem;
  color: var(--text-muted);
  max-width: 18rem;
  line-height: 1.3;
}

/* Main nav */

.nav-links {
  display: flex;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  flex-wrap: nowrap;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.2rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transition: width 0.18s ease-out;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Mobile nav toggle */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.35rem;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-main);
  border-radius: 999px;
  margin: 4px 0;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

/* Old .nav-wrap support */

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* ================
   BUTTONS
   ================ */

.btn,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}

.btn {
  background: linear-gradient(135deg, var(--accent), #f59e0b);
  color: #111827;
  box-shadow: 0 14px 30px rgba(245, 197, 66, 0.35);
}

.btn:hover {
  background: linear-gradient(135deg, #f8cc5d, #fbbf24);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text-soft);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--text-main);
}

/* ================
   HERO
   ================ */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.2rem;
  margin-bottom: 3rem;
}

.hero-left {
  padding-right: 1rem;
}

.hero-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.hero-title {
  font-size: clamp(2.4rem, 3.3vw, 3.1rem);
  line-height: 1.02;
  margin-bottom: 1rem;
}

.hero-title span {
  display: block;
  color: var(--accent);
}

.hero-sub {
  font-size: 1rem;
  color: var(--text-soft);
  max-width: 34rem;
  margin-bottom: 1.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 0.8rem;
}

.hero-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-right {
  background: radial-gradient(circle at top left, #1f2937 0, #020617 72%);
  border-radius: 22px;
  padding: 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.8);
}

.hero-video-label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

/* ================
   SECTIONS
   ================ */

section {
  margin-bottom: 3rem;
}

.section-header {
  margin-bottom: 1.5rem;
  max-width: 48rem;
}

.section-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 580;
  margin-bottom: 0.4rem;
  color: #f9fafb;
}

.section-sub {
  font-size: 0.98rem;
  color: var(--text-soft);
}

/* Alt background variation */

main > section:nth-of-type(odd) .card,
main > section:nth-of-type(odd) .portfolio-item,
main > section:nth-of-type(odd) .contact-form {
  background: var(--surface-soft);
}

/* ================
   LAYOUT HELPERS
   ================ */

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.8rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

/* ================
   CARDS
   ================ */

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 1.2rem 1.3rem;
  font-size: 0.95rem;
  color: var(--text-soft);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.7);
}

.card h3 {
  font-size: 1.02rem;
  color: var(--text-main);
  margin-bottom: 0.45rem;
}

.card-pill {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

/* ================
   BULLET LIST
   ================ */

.bullet-list {
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-top: 0.2rem;
}

.bullet-list li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.28rem;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0.24rem;
  top: 0.6rem;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent);
}

/* ================
   PORTFOLIO / VIDEO / GALLERY
   ================ */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.portfolio-item {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  padding: 0.9rem;
  font-size: 0.88rem;
  color: var(--text-soft);
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.8);
}

.portfolio-title {
  font-size: 0.98rem;
  font-weight: 560;
  margin-bottom: 0.35rem;
  color: var(--text-main);
}

.portfolio-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ================
   FAQ ACCORDION
   ================ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.85);
}

.faq-button {
  width: 100%;
  text-align: left;
  padding: 0.85rem 1.2rem;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question {
  font-size: 0.98rem;
  font-weight: 560;
  color: var(--text-main);
}

.faq-icon {
  font-size: 1rem;
  color: var(--text-muted);
}

.faq-answer {
  padding: 0 1.2rem 1rem;
  font-size: 0.9rem;
  color: var(--text-soft);
  display: none;
  border-top: 1px solid var(--border-soft);
}

/* ================
   CONTACT FORM
   ================ */

.contact-form {
  background: var(--surface);
  border-radius: 22px;
  border: 1px solid var(--border-soft);
  padding: 1.4rem 1.5rem 1.6rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.9);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.86rem;
  color: var(--text-soft);
}

.form-field label {
  font-size: 0.86rem;
  color: var(--text-main);
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--bg-alt);
  color: var(--text-main);
  font-size: 0.9rem;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(245, 197, 66, 0.4);
}

.contact-note {
  margin-top: 0.7rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ================
   FOOTER
   ================ */

footer {
  border-top: 1px solid var(--border-soft);
  margin-top: 2.2rem;
  padding-top: 1.1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: space-between;
}

footer span {
  color: var(--accent);
}

/* ================
   RESPONSIVE
   ================ */

@media (max-width: 900px) {
  header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
  }

  .logo-area,
  .logo {
    justify-content: flex-start;
  }

  .logo-img {
    height: 90px;
  }

  .brand-title,
  .logo-text-main {
    font-size: 1.3rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.9rem;
    margin-top: 0.8rem;
  }

  body.nav-open .nav-links {
    display: flex;
  }

  body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-left {
    padding-right: 0;
  }

  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .grid-3,
  .portfolio-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page {
    padding-inline: 1.1rem;
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .logo-text-tagline {
    display: none;
  }
}
/* Container */
.gallery-grid,
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); /* adjust min width */
  gap: 16px; /* spacing between boxes */
  align-items: start;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Item wrapper */
.gallery-item,
.photo-item {
  width: 100%;
  aspect-ratio: 4 / 3; /* controls box shape — change to 3/2, 16/9, etc. */
  overflow: hidden;
  border-radius: 8px;
  background: #eee; /* placeholder color while loading */
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

/* Gallery tile system — append to styles.css */
.gallery-grid,
.photo-grid,
.kelly-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  align-items: start;
  list-style: none;
}

/* wrapper for each tile */
.gallery-item,
.photo-item {
  width: 100%;
  aspect-ratio: 4 / 3;       /* change to 3/2 or 16/9 if you prefer */
  overflow: hidden;
  border-radius: 8px;
  background: #efefef;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

/* image fills and crops to tile */
.gallery-item img,
.photo-item img,
.kelly-gallery img,
.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  loading: lazy;
}

/* Fallback for old browsers that ignore aspect-ratio */
@supports not (aspect-ratio: 1/1) {
  .gallery-item, .photo-item { height: 220px; }
}

/* Mobile */
@media (max-width: 520px) {
  .gallery-grid, .photo-grid, .kelly-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .gallery-item, .photo-item { aspect-ratio: 4 / 3; }
}

}


