/* ============================================
   STYLE.CSS - Katrina Betts Portfolio Website
   Minimalist Luxury Design
   ============================================ */

/* ---- CSS RESET & BASE ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #000000;
  background-color: #FFFFFF;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  line-height: 1.2;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #000000;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.6;
}

/* ---- UTILITY CLASSES ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.text-center {
  text-align: center;
}

.uppercase {
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border: 1px solid #000000;
  background-color: transparent;
  color: #000000;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 0;
}

.btn:hover {
  background-color: #000000;
  color: #FFFFFF;
  opacity: 1;
}

.btn-dark {
  background-color: #000000;
  color: #FFFFFF;
}

.btn-dark:hover {
  background-color: #FFFFFF;
  color: #000000;
}

/* ---- HEADER / NAVIGATION ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: #FFFFFF;
  border-bottom: 1px solid #f0f0f0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 400;
}

.logo-tagline {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #666;
  margin-top: 0.35rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nav-link {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #000000;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  opacity: 1;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.menu-toggle span {
  width: 24px;
  height: 1px;
  background-color: #000000;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* ---- HERO SECTION ---- */
.hero {
  padding-top: 80px;
}

.hero-banner {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 400px;
  max-height: 600px;
  overflow: hidden;
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ---- HERO CAROUSEL ---- */
.hero-slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translateX(100%);
  transition: transform 900ms cubic-bezier(0.45, 0, 0.15, 1);
  will-change: transform;
}

.hero-slide.is-current {
  z-index: 2;
}

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.75rem;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 0.85rem;
}

.hero-dot {
  position: relative;
  width: 44px;
  height: 18px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.hero-dot::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 50%;
  height: 2px;
  background: rgba(0, 0, 0, 0.35);
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.9);
  transition: background 0.35s ease, height 0.35s ease,
              left 0.35s ease, right 0.35s ease;
}

.hero-dot:hover::after {
  background: rgba(0, 0, 0, 0.6);
}

.hero-dot[aria-selected="true"]::after {
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  height: 3px;
}

.hero-dot:focus-visible {
  outline: 1px solid #000;
  outline-offset: 3px;
}

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 4rem;
  background: linear-gradient(transparent, rgba(255,255,255,0.9));
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 0.25rem;
  color: #000;
}

.hero-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 400;
  font-style: italic;
  color: #333;
}

.hero-info {
  text-align: center;
  padding: 3rem 2rem;
}

.hero-role {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
  color: #000;
}

.hero-locations {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #666;
}

.hero-locations span {
  display: block;
  margin-bottom: 0.25rem;
}

/* ---- PORTFOLIO TEASER (Homepage) ---- */
.portfolio-teaser {
  background-color: #FFFFFF;
}

.portfolio-teaser h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.portfolio-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: pointer;
}

.portfolio-card-image {
  width: 100%;
  height: 100%;
  background-color: #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s ease;
}

.portfolio-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-card:hover .portfolio-card-image {
  transform: scale(1.05);
}

.portfolio-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #FFFFFF;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-align: center;
}

/* Placeholder styling */
.placeholder {
  background-color: #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---- BIO SECTION ---- */
.bio-section {
  background-color: #fafafa;
}

.bio-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.bio-greeting {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-style: italic;
  margin-bottom: 0.5rem;
}

.bio-welcome {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: #666;
}

.bio-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
}

/* ---- TESTIMONIALS PREVIEW (Homepage) ---- */
.testimonials-preview {
  background-color: #FFFFFF;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.testimonial-card {
  text-align: center;
  padding: 1rem;
}

.testimonial-card-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: #e5e5e5;
  margin: 0 auto 2rem;
  overflow: hidden;
}

.testimonial-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-card-quote {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.7;
  color: #333;
  margin-bottom: 1.5rem;
}

.testimonial-card-author {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #666;
}

/* ---- TESTIMONIALS SECTION (About page - full size) ---- */
.testimonials-section {
  background-color: #FFFFFF;
}

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

.testimonial-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.testimonial-item:nth-child(even) {
  direction: rtl;
}

.testimonial-item:nth-child(even) > * {
  direction: ltr;
}

.testimonial-image {
  aspect-ratio: 1;
  background-color: #e5e5e5;
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-content {
  padding: 2rem 0;
}

.testimonial-quote {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 2rem;
  position: relative;
  padding-left: 2rem;
}

.testimonial-quote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -0.5rem;
  font-size: 3rem;
  color: #ddd;
  font-family: 'Playfair Display', serif;
}

.testimonial-author {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.25rem;
}

.testimonial-role {
  font-size: 0.75rem;
  color: #666;
}

/* ---- CONTACT TEASER ---- */
.contact-teaser {
  background-color: #fafafa;
  text-align: center;
}

.contact-teaser h2 {
  margin-bottom: 1.5rem;
}

.contact-teaser p {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: #666;
}

/* ---- FOOTER ---- */
.footer {
  background-color: #FFFFFF;
  border-top: 1px solid #f0f0f0;
  padding: 4rem 0 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
  text-align: center;
}

.footer-link {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-social a {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-copyright {
  text-align: center;
  font-size: 0.7rem;
  color: #999;
  letter-spacing: 0.05em;
}

/* ---- PAGE HEADER (Subpages) ---- */
.page-header {
  padding-top: 160px;
  padding-bottom: 3rem;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
}

.page-header h1 {
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---- PORTFOLIO PAGE ---- */
.portfolio-section {
  padding: 4rem 0;
}

.portfolio-category {
  margin-bottom: 5rem;
}

.portfolio-category:last-child {
  margin-bottom: 0;
}

.portfolio-category h3 {
  text-align: center;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.portfolio-category-desc {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2rem;
  color: #666;
  font-size: 0.9rem;
}

.portfolio-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.portfolio-image-item {
  margin: 0;
  min-width: 0;   /* lets the no-wrap credit be clipped instead of widening the column */
}

/* the picture itself; a placeholder keeps the ratio on the item instead */
.portfolio-image-frame,
.portfolio-image-item.placeholder {
  aspect-ratio: 4/5;
  background-color: #e5e5e5;
  overflow: hidden;
}

.portfolio-image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.portfolio-image-item:hover img {
  transform: scale(1.05);
}

/* ---- LANDSCAPE CATEGORY (stage photography, 3:2) ---- */
.portfolio-images-wide {
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.portfolio-images-wide + .portfolio-images {
  margin-top: 2rem;
}

/* below this the two columns get too narrow for the credit line, so go single */
@media (max-width: 1080px) {
  .portfolio-images-wide {
    grid-template-columns: 1fr;
  }
}

.portfolio-images-wide .portfolio-image-frame {
  aspect-ratio: 3/2;
}

/* ---- IMAGE CREDIT (one line) ---- */
.portfolio-credit {
  margin-top: 0.85rem;
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8c8c8c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.portfolio-credit-production {
  color: #000;
}

.portfolio-credit-sep {
  color: #c4c4c4;
  margin: 0 0.45rem;
}

/* ---- ABOUT PAGE ---- */
.about-intro {
  text-align: center;
}

.about-image-centered {
  width: 280px;
  height: 350px;
  margin: 0 auto 3rem;
  background-color: #e5e5e5;
}

.about-image-centered img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text-centered {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

#about-bio-text {
  column-count: 2;
  column-gap: 3rem;
  text-align: left;
}

.about-text-centered h2 {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.about-text-centered p {
  color: #333;
  line-height: 1.8;
}

.about-ethos {
  padding: 4rem 0;
  border-top: 1px solid #f0f0f0;
}

.about-ethos h3 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.about-ethos p {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  color: #333;
  line-height: 1.8;
}

.about-cta {
  text-align: center;
  padding: 3rem 0 5rem;
}

/* ---- CONTACT PAGE ---- */
.contact-intro {
  padding: 3rem 0;
  max-width: 700px;
  margin: 0 auto;
}

.contact-intro h2 {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.contact-intro p {
  color: #666;
  line-height: 1.8;
}

.contact-form-section {
  padding: 0 0 5rem;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  color: #333;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ddd;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  background-color: #FFFFFF;
  transition: border-color 0.3s ease;
  border-radius: 0;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: #000000;
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #000000;
}

.checkbox-item label {
  font-size: 0.85rem;
  cursor: pointer;
}

.form-submit {
  margin-top: 2rem;
}

/* ---- RESPONSIVE DESIGN ---- */

/* Tablet */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-overlay {
    padding: 2rem 3rem;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    gap: 2rem;
  }

  .testimonial-item {
    gap: 2rem;
  }

  .about-intro {
    gap: 2rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .header-inner {
    padding: 1rem 1.5rem;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #FFFFFF;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .nav.active {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 1rem;
  }

  .hero {
    padding-top: 60px;
  }

  .hero-banner {
    height: 50vh;
    min-height: 300px;
  }

  .hero-overlay {
    padding: 1.5rem 2rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-info {
    padding: 2rem 1.5rem;
  }

  .section {
    padding: 4rem 0;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .testimonial-card-image {
    width: 100px;
    height: 100px;
  }

  .testimonial-item {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .testimonial-item:nth-child(even) {
    direction: ltr;
  }

  .testimonial-image {
    max-width: 300px;
    margin: 0 auto;
  }

  .testimonial-content {
    text-align: center;
    padding: 0;
  }

  .testimonial-quote {
    padding-left: 0;
    font-size: 1.1rem;
  }

  .testimonial-quote::before {
    position: static;
    display: block;
    margin-bottom: 0.5rem;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-images {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .portfolio-images-wide {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .portfolio-credit {
    white-space: normal;
    line-height: 2;
  }

  .about-intro {
    grid-template-columns: 1fr;
  }

  .about-image {
    max-width: 350px;
    margin: 0 auto;
  }

  #about-bio-text {
    column-count: 1;
  }

  .page-header {
    padding-top: 130px;
  }

  .page-header h1 {
    font-size: 1.75rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .checkbox-group {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .portfolio-images {
    grid-template-columns: 1fr;
  }
}

/* ---- HERO CAROUSEL: small screens ---- */
@media (max-width: 768px) {
  .hero-dots {
    bottom: 1rem;
    gap: 0.6rem;
  }

  .hero-dot {
    width: 30px;
  }
}

/* ---- HERO CAROUSEL: visitors who prefer less motion get a gentle fade ---- */
@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transform: none !important;
    transition: opacity 0.5s ease !important;
    opacity: 0;
  }

  .hero-slide.is-current {
    opacity: 1;
  }
}

/* ---- BACKSTAGE STRIP ---- */
.backstage {
  padding: 5rem 0 5.5rem;
  background-color: #FFFFFF;
  overflow: hidden;
}
.backstage h2 {
  text-align: center;
  margin-bottom: 3rem;
}
.bs-ribbon {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.bs-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: bs-drift 90s linear infinite;
}
.bs-ribbon:hover .bs-track { animation-play-state: paused; }
.bs-track .bs-tile { height: 200px; }
@keyframes bs-drift {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 6px)); }
}
@media (max-width: 768px) {
  .backstage { padding: 3.5rem 0 4rem; }
  .bs-track .bs-tile { height: 140px; }
  .bs-track { animation-duration: 60s; }
}
@media (prefers-reduced-motion: reduce) {
  .bs-track { animation: none; }
  .bs-ribbon { overflow-x: auto; }
}
