/* Crazy Sexy Cool Boudoir - Site Styles */

:root {
  --color-bg: #1a1114;
  --color-bg-alt: #241820;
  --color-accent: #c9a15a;
  --color-accent-soft: #e8c9a0;
  --color-text: #f2e9e4;
  --color-text-muted: #c9b8bd;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', Arial, sans-serif;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #141316;
  background-image: url("/crazypics/Custom_Paisley_Website_Background.jpg");
  background-size: 600px 338px;
  background-repeat: repeat;
  background-attachment: fixed;
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Full-page backdrop: fixed so the photo + overlay cover the entire screen while scrolling */
body::before,
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: -2;
  background-image: var(--backdrop-image, none);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

body::after {
  z-index: -1;
  background: rgba(26, 17, 20, 0.7);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 17, 20, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(201, 161, 90, 0.2);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent-soft);
}

.logo span {
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent-soft);
  border-color: var(--color-accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1.6rem;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  padding: 60px 24px 100px;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 16px;
  color: var(--color-text);
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto 32px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 40px;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-soft));
  color: #1a1114;
  font-weight: 600;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(201, 161, 90, 0.35);
}

.btn-outline {
  border: 1px solid var(--color-accent);
  color: var(--color-accent-soft);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(201, 161, 90, 0.12);
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-alt {
  background: rgba(36, 24, 32, 0.55);
}

.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 48px;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.feature-card {
  text-align: center;
  padding: 32px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 161, 90, 0.15);
  border-radius: 12px;
}

.feature-card h3 {
  margin: 12px 0 8px;
  color: var(--color-accent-soft);
}

.feature-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.gallery-grid-full {
  display: block;
  max-width: none;
  margin: 0;
  padding: 4.32cm;
  columns: 275px;
  column-gap: 12px;
}

.gallery-grid-full .gallery-item {
  aspect-ratio: auto;
  border-radius: 0;
  border: none;
  break-inside: avoid;
  margin-bottom: 12px;
  display: block;
  background: none;
}

.gallery-grid-full .gallery-item img {
  width: 100%;
  height: auto;
  object-fit: unset;
  display: block;
  box-shadow: 0 10px 24px rgba(128, 128, 128, 0.5);
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-bg-alt), #3a2530);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  border: 1px solid rgba(201, 161, 90, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

/* Lightbox */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 6, 8, 0.94);
  align-items: center;
  justify-content: center;
}

.lightbox-overlay.open {
  display: flex;
}

.lightbox-image {
  max-width: 82vw;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: fixed;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(201, 161, 90, 0.3);
  color: var(--color-text);
  font-size: 2.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s ease;
}

.lightbox-nav:hover {
  background: rgba(201, 161, 90, 0.25);
}

.lightbox-prev {
  left: 32px;
}

.lightbox-next {
  right: 32px;
}

@media (max-width: 768px) {
  .lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 2rem;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }
}

.gallery-note {
  text-align: center;
  color: var(--color-text-muted);
  margin-top: 32px;
  font-size: 0.9rem;
}

/* Contact */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h3 {
  color: var(--color-accent-soft);
  margin-bottom: 10px;
}

.contact-info p,
.contact-info a {
  color: var(--color-text-muted);
  margin-bottom: 8px;
  display: block;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

input,
textarea,
select {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 161, 90, 0.25);
  border-radius: 8px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-accent);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-status {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--color-accent-soft);
}

/* Floating contact button */
.float-contact {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  padding: 14px 24px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-soft));
  color: #1a1114;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease;
}

.float-contact:hover {
  transform: translateY(-3px);
}

/* Footer */
.site-footer {
  padding: 32px 0;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  border-top: 1px solid rgba(201, 161, 90, 0.15);
}

.site-footer a {
  color: var(--color-accent-soft);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 1px solid rgba(201, 161, 90, 0.15);
  }

  .nav-links.open {
    max-height: 320px;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-toggle {
    display: block;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .float-contact {
    padding: 12px 20px;
    font-size: 0.8rem;
    bottom: 16px;
    right: 16px;
  }
}
