/* =============================================================================
   DESIGN SYSTEM & COLOR THEMES
   ============================================================================= */

:root {
  /* Primary Colors */
  --color-bg: #FDFBF7;
  --color-text: #403B38;
  --color-accent: #A88B6F;
  --color-accent-light: #D4C5B9;
  --color-border: #E8DDD3;
  --color-white: #FFFFFF;
  --color-accent-dark: #936D54;

  /* Typography */
  --font-sans: 'Montserrat', sans-serif;
  --font-serif: 'Cormorant Garamond', serif;

  /* Spacing - Responsive Scaling */
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 20px;
  --space-lg: 30px;
  --space-xl: clamp(30px, 5vw, 40px);
  --space-2xl: clamp(40px, 6vw, 50px);
  --space-3xl: clamp(50px, 8vw, 60px);
  --space-4xl: clamp(60px, 10vw, 70px);

  /* Sizing */
  --border-radius-sm: 6px;
  --border-radius-md: 8px;
  --border-radius-lg: 10px;
  --border-width: 1px;

  /* Typography Scale - Fluid Clamping */
  --text-3xs: 0.5rem;
  --text-2xs: 0.65rem;
  --text-xs: 0.75rem;
  --text-sm: 0.85rem;
  --text-base: 0.95rem;
  --text-md: 1rem;
  --text-lg: clamp(1.05rem, 1.2vw + 0.5rem, 1.15rem);
  --text-xl: clamp(1.2rem, 3vw, 1.4rem);
  --text-2xl: clamp(1.5rem, 4vw, 1.8rem);
  --text-3xl: clamp(2rem, 5vw, 2.5rem);
  --text-4xl: clamp(2.2rem, 7vw, 3.5rem);

  /* Transitions */
  --transition: all 0.2s ease;

  --about-line-height: 1.75
}

/* =============================================================================
   RESET & BASE STYLES
   ============================================================================= */

* {
  box-sizing: border-box;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3 {
  font-family: var(--font-sans);
  margin: 0;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.1em;
}

h1 {
  font-size: clamp(1.5rem, 7vw, 1.8rem); 
  line-height: 1.2;
  margin-bottom: var(--space-md);
}


a {
  color: inherit;
  text-decoration: none;
}

/* =============================================================================
   LAYOUT & CONTAINERS
   ============================================================================= */

.container {
  max-width: 700px;
  margin: 0 auto;
  padding: var(--space-md) 20px;
  flex: 1 0 auto; 
  width: 100%;
}

.back-btn {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-text);
  opacity: 0.5;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 4px;
  transition: var(--transition);
  display: inline-block; /* Essential for the padding/border to work */
}

.back-btn:hover {
  opacity: 1;
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

/* =============================================================================
   HEADER & HERO SECTION
   ============================================================================= */

.site-header {
  display: flex;
  justify-content: center;
  padding: clamp(10px, 2vw, 20px);
  width: 100%;
}

.logo-link img, 
.logo-link svg {
  width: clamp(180px, 60vw, 350px);
  height: auto;
  display: block;
}

/* =============================================================================
   NAVIGATION
   ============================================================================= */
.nav-simple {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  padding: var(--space-md) 0px;
  margin-bottom: var(--space-xs);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nav-simple a {
  opacity: 0.5;
  transition: var(--transition);
}

.nav-simple a:hover {
  opacity: 1;
  color: var(--color-accent);
}

/* =============================================================================
   HERO GALLERY
   ============================================================================= */
.hero-gallery {
  width: 100%;
  max-width: 900px; /* Keeps it aligned with your site width */
  margin: 0 auto var(--space-4xl) auto;
  padding: 0 20px;
}

.hero-main-img {
  position: relative;
  width: 100%;
  height: clamp(200px, 40vh, 400px);
  overflow: hidden;
  border-radius: var(--border-radius-md);
}

.hero-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-xl);
  background: linear-gradient(transparent, rgba(0,0,0,0.4));
  color: var(--color-white);
}

.hero-overlay h2 {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  text-transform: none;
  letter-spacing: 0;
}

/* =============================================================================
   PRODUCT PAGE LAYOUT
   ============================================================================= */
.product-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  align-items: start;
}

.product-visual img {
  width: 100%;
  border-radius: var(--border-radius-md);
  border: var(--border-width) solid var(--color-border);
}

.product-info h1 {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  text-transform: none;
  letter-spacing: 0;
  margin: var(--space-xs) 0;
}

.price {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
}

.product-info p {
  font-family: var(--font-serif);
  font-size: var(--text-md);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.product-visual {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    overflow: hidden;
}

.product-visual img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease; /* Makes the zoom smooth */
    cursor: zoom-in;
}

.product-visual img:hover {
    transform: scale(1.3); /* Zooms in the image on hover */
}

.product-visual video,
.product-visual img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--border-radius-md);
  border: var(--border-width) solid var(--color-border);
  display: block;
}

.product-visual video {
  cursor: pointer;
  background: #000;
}

/* keep media and images full width inside the visual column */
.product-visual,
.product-visual video,
.product-visual img {
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: var(--border-radius-md);
  border: var(--border-width) solid var(--color-border);
}

/* Desktop: narrow visual column on the left, wider text column on the right */
@media (min-width: 768px) {
  .product-page-grid {
    grid-template-columns: 380px 1fr; /* images column fixed, text column flexible and wider */
    gap: var(--space-2xl);
  }

  .product-info {
    position: sticky;
    top: var(--space-xl);
    align-self: start;
  }
}

/* Slightly wider site container on large desktop */
@media (min-width: 1024px) {
  .container {
    max-width: 1000px;
    padding: var(--space-md) 24px;
  }
}

/* On Desktop, make the images scroll while the info stays still */
@media (min-width: 768px) {
    .product-page-grid {
        align-items: flex-start;
    }
    .product-info {
        position: sticky;
        top: var(--space-xl);
    }
}

/* Desktop: widen content */
@media (min-width: 1024px) {
  .container {
    max-width: 1000px;
    padding: var(--space-md) 24px;
  }

  .about-section {
    max-width: 820px;
  }

  body {
    font-size: 1.02rem;
  }

  .product-page-grid {
    gap: var(--space-2xl);
  }
}

/* =============================================================================
   FOOTER SOCIAL LINKS
   ============================================================================= */

/* Container for the Icons/Text */
.footer-socials {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-md);
}

/* Individual Link Styling */
.footer-socials .social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px; /* Space between icon and text */
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text);
  opacity: 0.7;
  transition: var(--transition);
}

.footer-socials .social-link:hover {
  opacity: 1;
  color: var(--color-accent);
  transform: translateY(-1px);
}

/* =============================================================================
   CONTACT FORM
   ============================================================================= */

.contact {
  background: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--border-radius-md);
  border: var(--border-width) solid var(--color-border);
  margin-bottom: var(--space-xl);
}

form {
  display: flex;
  flex-direction: column;
  gap: calc(var(--space-sm) * 1.5);
}

label {
  font-weight: 500;
  font-size: var(--text-base);
}

input,
textarea {
  padding: var(--space-sm);
  border: var(--border-width) solid var(--color-border);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  background: var(--color-white);
  color: var(--color-text);
  transition: border-color 0.2s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

textarea {
  resize: vertical;
}

.consent {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  opacity: 0.6;
}

.consent input[type="checkbox"] {
  width: auto;
  flex-shrink: 0;
  cursor: pointer;
}

button[type="submit"] {
  padding: var(--space-sm);
  background: var(--color-accent);
  color: var(--color-white);
  border: none;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: var(--text-md);
  cursor: pointer;
  transition: var(--transition);
  margin-top: var(--space-xs);
}

button[type="submit"]:hover {
  background: var(--color-accent-dark);
}

form:not(:has(input[name="consent"]:checked)) button[type="submit"] {
  opacity: 0.55;
  pointer-events: none;
}

/* =============================================================================
   FOOTER
   ============================================================================= */

footer {
  background: var(--color-white);
  border-top: var(--border-width) solid var(--color-border);
  padding: var(--space-xl) var(--space-md);
  text-align: center;
  margin-top: auto; /* Keeps footer at bottom of short pages */
  width: 100%;
}

footer p {
  margin: var(--space-xs) 0;
  font-family: var(--font-sans);
}

.footer-text {
  display: block;
  font-size: var(--text-3xs);
  opacity: 0.5;
  margin-top: var(--space-sm);
  letter-spacing: 0.05em;
}

/* =============================================================================
   WELCOME PAGE AND SIGN UP
   ============================================================================= */

.signup-form input {
  padding: var(--space-sm);
  border: var(--border-width) solid var(--color-text);
  background: transparent;
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  text-align: center;
  transition: var(--transition);
}

.signup-form input:focus {
  outline: none;
  border-color: var(--color-accent);
}

/* =============================================================================
   ABOUT SECTION
   ============================================================================= */

.about-section {
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  color: var(--color-text);
}

.about-section h1 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-lg);
}

.about-section p {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  line-height: 1.75;
  margin-bottom: var(--space-md);
}

.about-section h2 {
  font-family: var(--font-serif);
  text-transform: none;
  font-style: italic;
  font-size: var(--text-2xl);
  text-align: center;
  margin-bottom: var(--space-xl);
  margin-top: var(--space-2xl);
}

.about-list {
  list-style: none;
  padding: 0;
  margin: var(--space-2xl) 0;
}

.about-list li {
  margin-bottom: var(--space-lg);
}

.about-list .label {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
  opacity: 0.8;
}

.about-list .description {
  font-family: var(--font-serif);
  font-size: var(--text-md);
  display: block;
}

/* This targets the hero image ONLY when it's on the about page */
.about-hero {
  height: clamp(100px, 30vh, 200px); /* Shorter than the home page hero */
  margin-bottom: var(--space-xl);
}

.statement {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-xl);
  text-align: center;
}

.learn-more {
  display: block;
  text-align: center;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.6;
}

/* Honey Pot */
.hidden {
    display: none !important;
    visibility: hidden;
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* =============================================================================
   PORTFOLIO SECTION & GRID
   ============================================================================= */

.portfolio {
  margin: var(--space-xl) 0 var(--space-3xl);
  text-align: center;
}

.portfolio h2 {
  margin-bottom: calc(var(--space-sm) * 1.5);
  font-size: var(--text-xl);
}

.grid {
  display: grid;
  /* Auto-responsive grid: items stay min 250px, otherwise expand to fill */
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: calc(var(--space-sm) * 1.33);
  align-items: start;
}

.card {
  display: block;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: var(--border-width) solid var(--color-border);
  background: var(--color-white);
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  cursor: pointer;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.card img {
  width: 100%;
  height: clamp(180px, 25vh, 220px);
  object-fit: cover;
  display: block;
  aspect-ratio: 4/5;
}

.card .meta {
  padding: calc(var(--space-xs) * 1.25) var(--space-sm);
  display: flex;
  justify-content: space-between;
  font-size: var(--text-base);
}


/* =============================================================================
   STUDIO LINKS
   ============================================================================= */

/* This class mimics your submit button perfectly */
.directory-btn {
  display: block;
  width: 100%;
  padding: var(--space-sm);
  background: var(--color-accent);
  color: var(--color-white);
  border: none;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: var(--text-md);
  text-align: center;
  text-decoration: none; /* Removes the link underline */
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: var(--space-sm); /* Spacing between buttons */
  box-sizing: border-box; /* Ensures padding doesn't break width */
}

.directory-btn:hover {
  background: var(--color-accent-dark);
  color: var(--color-white); /* Keeps text white on hover */
}

/* Optional: A subtle "Secondary" style for less important links */
.directory-btn-outline {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.directory-btn-outline:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

/* This targets the hero image ONLY when it's on the about page */
.thin-hero {
  height: clamp(100px, 40vh, 200px); /* Shorter than the home page hero */
  margin-bottom: var(--space-xl);
}