/* ============================================================
   Royal Shot Photos — Clean portable CSS
   Color palette: maroon #4A1029, cream #FAF7F2, taupe #B5A99A
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Manrope:wght@300;400;500;600&display=swap');

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --maroon: #4A1029;
  --maroon-light: #6B2040;
  --cream: #FAF7F2;
  --cream-dark: #F0EBE3;
  --taupe: #B5A99A;
  --taupe-light: #C8BFB3;
  --dusty-rose: #9E7080;
  --white: #FFFFFF;
  --text-dark: #2A2A2A;
  --text-light: #F5F0EB;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Header / Navigation ─────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(74, 16, 41, 0.08);
  transition: box-shadow 0.3s;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(74, 16, 41, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--maroon);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--maroon);
  transition: width 0.3s;
}

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--maroon);
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Hero Section ─────────────────────────────────────────── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 40px;
  background: var(--cream);
}

.hero-logo {
  max-width: 1100px;
  width: 95%;
  margin-bottom: 0;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--maroon);
  margin-top: 4px;
}

/* ── Photo Carousel ───────────────────────────────────────── */
.carousel-section {
  background: var(--maroon);
  padding: 20px;
  position: relative;
}

.carousel-viewport {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 12px;
  transition: transform 0.7s ease;
}

.carousel-slide {
  flex: 0 0 calc((100% - 24px) / 3);
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 2px;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.5s ease;
}

.carousel-slide img:hover {
  transform: scale(1.04);
}

.carousel-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 4px;
  pointer-events: none;
}

.carousel-btn {
  pointer-events: auto;
  background: rgba(250, 247, 242, 0.85);
  color: var(--maroon);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: var(--cream);
}

/* ── About Section ────────────────────────────────────────── */
.about-section {
  background: var(--maroon);
  color: var(--text-light);
  padding: 80px 24px;
}

.about-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: center;
}

.about-portrait {
  width: 420px;
  flex-shrink: 0;
}

.about-portrait img {
  width: 100%;
  height: auto;
}

.about-text h2 {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 400;
  margin-bottom: 24px;
  color: var(--cream);
}

.about-text p {
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 16px;
  color: rgba(245, 240, 235, 0.9);
  font-weight: 300;
}

/* ── Contact Page — Info Section ──────────────────────────── */
.contact-hero {
  padding: 140px 24px 60px;
  text-align: center;
  background: var(--cream);
}

.contact-hero h1 {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 400;
  color: var(--maroon);
  margin-bottom: 20px;
}

.contact-hero p {
  max-width: 680px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dark);
  opacity: 0.8;
}

.contact-info-cards {
  max-width: 800px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 0 24px;
}

.info-card {
  background: var(--maroon);
  color: var(--text-light);
  padding: 32px;
  border-radius: 8px;
}

.info-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 16px;
  color: var(--cream);
}

.info-card .info-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.info-card .info-row:last-child {
  border-bottom: none;
}

.info-card .info-label {
  font-weight: 500;
  color: var(--taupe-light);
}

.info-card .info-value {
  color: var(--cream);
}

.info-card .info-value a {
  color: var(--cream);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  transition: border-color 0.2s;
}

.info-card .info-value a:hover {
  border-color: var(--cream);
}

/* ── Contact Form ──────────────────────────────────────────── */
.contact-form-section {
  padding: 60px 24px 80px;
  background: var(--cream);
}

.contact-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: var(--maroon);
  border-radius: 10px;
  padding: 48px 40px;
}

.contact-form-wrapper h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 400;
  color: var(--cream);
  text-align: center;
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
  color: var(--cream);
  transition: border-color 0.2s, background 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(245, 240, 235, 0.4);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--taupe-light);
  background: rgba(255,255,255,0.12);
}

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

.btn-submit {
  display: block;
  width: 100%;
  padding: 14px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--maroon);
  background: var(--cream);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  margin-top: 8px;
}

.btn-submit:hover {
  background: var(--white);
}

.btn-submit:active {
  transform: scale(0.98);
}

.form-success {
  display: none;
  text-align: center;
  color: var(--cream);
  font-size: 15px;
  padding: 20px;
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--taupe);
  padding: 40px 24px;
  text-align: center;
}

.footer-copyright {
  font-size: 13px;
  color: var(--white);
  margin-bottom: 16px;
  font-weight: 300;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  transition: background 0.2s;
}

.footer-socials a:hover {
  background: rgba(255,255,255,0.3);
}

.footer-socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ── Lightbox ──────────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 32px;
  color: white;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(74, 16, 41, 0.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  }

  .nav-links.open { display: flex; }

  .hero { min-height: 50vh; padding: 100px 24px 40px; }
  .hero-logo { max-width: 300px; }

  .carousel-slide {
    flex: 0 0 calc((100% - 12px) / 2);
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .about-portrait { width: 240px; height: 240px; margin: 0 auto; }
  .about-text h2 { font-size: 32px; }

  .contact-hero h1 { font-size: 32px; }
  .contact-info-cards { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .contact-form-wrapper { padding: 32px 24px; }

  .section-title { font-size: 32px; }
}

@media (max-width: 480px) {
  .carousel-slide { flex: 0 0 100%; }
  .hero-logo { max-width: 240px; }
}
