/* ============================================================
   ROOT VARIABLES (Light + Dark Theme)
============================================================ */
:root {
  --brand:   #e07a5f;
  --brand-2: #d65a42;
  --bg:      #fffdf9;
  --text:    #333;
  --card:    #fff;
  --muted:   #fef4f0;
  --shadow:  0 5px 15px rgba(0, 0, 0, 0.12);
  --radius:  14px;
}

:root.dark {
  --bg:     #0f0f10;
  --text:   #f3f3f3;
  --card:   #1b1b1d;
  --muted:  #151517;
  --shadow: 0 8px 18px rgba(255, 255, 255, 0.07);
}

/* ============================================================
   GLOBAL RESET + BASE
============================================================ */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
}

body {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 23px;
  line-height: 1.7;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
  scroll-behavior: smooth;
}

/* Screen-reader only */
.sr-only {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  padding: 8px 12px;
  background: #000;
  color: #fff;
  border-radius: 8px;
  z-index: 999;
}

/* ============================================================
   LAYOUT UTILITIES
============================================================ */
.wrap {
  width: 100%;
  margin: 0;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Default section spacing */
section {
  padding: 44px 20px 56px;
  scroll-margin-top: 90px;
}

/* ============================================================
   HEADER + NAVIGATION
============================================================ */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--card);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

header .wrap {
  padding-top: 40px;
  padding-bottom: 40px;
}

/* Logo */
.logo {
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.logo-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  line-height: 1.1;
  color: var(--text);
}

.logo-title {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
}

.logo-subtitle {
  font-family: "Playfair Display", serif;
  font-size: 0.9rem;
  letter-spacing: 0.25em;
}

/* Navigation Links */
nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

nav a {
  position: relative;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding-bottom: 4px;
}

/* Underline hover + active */
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width 0.25s ease;
}

nav a:hover::after,
nav a[aria-current="page"]::after {
  width: 100%;
}

/* Mobile Menu Button */
.menu-btn {
  display: none;
  margin-left: auto;
  padding: 8px 10px;
  background: transparent;
  border: 1px solid #9993;
  border-radius: 10px;
  cursor: pointer;
}

@media (max-width: 820px) {
  nav { display: none; }

  nav.open {
    display: flex;
    flex-direction: column;
    padding: 10px 20px 16px;
    align-items: flex-start;
  }

  .menu-btn {
    display: inline-flex;
  }

  .wrap {
    flex-wrap: wrap;
  }
}

/* Dark Mode Toggle */
#darkModeToggle {
  margin-left: 8px;
  padding: 8px 12px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 999px;
  cursor: pointer;
}

/* ============================================================
   HERO SECTIONS
============================================================ */
.hero {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("images/resin2.jpg") center/cover no-repeat;
  filter: saturate(1.05) contrast(1.05);
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.35));
  z-index: -1;
}

.hero.sub-hero {
  min-height: 45vh;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 6.5vw, 4rem);
  color: #fff;
  letter-spacing: 0.08em;
  margin: 0 16px 10px;
}

.hero p {
  color: #fff;
  font-size: 1.15rem;
  opacity: 0.98;
  max-width: 40rem;
  margin: 10px auto 26px;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-1px) scale(1.02);
  background: var(--brand-2);
}

/* ============================================================
   MARQUEE BANNER
============================================================ */
.marquee {
  background: var(--brand);
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  font-weight: 700;
}

.marquee p {
  display: inline-block;
  padding: 10px 0;
  padding-left: 100%;
  animation: marquee 15s linear infinite;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ============================================================
   PRODUCT GRID (Featured Photos on Home Page)
============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 18px 22px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.15);
}

.card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 6px 0 8px;
  line-height: 1.35;
}

.price {
  font-size: 0.9rem;
  opacity: 0.85;
  line-height: 1.4;
}

/* ============================================================
   ABOUT PAGE
============================================================ */
.about-hero::before {
  background-image: url("images/about-banner.jpg");
  background-size: cover;
  background-position: center;
}

.about-section {
  background: var(--bg);
  padding: 72px 20px 96px;
}

.about-section .wrap {
  display: block;
}

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

.about-column h2 {
  font-size: clamp(3rem, 4vw, 2.6rem);
}

.about-column p {
  font-size: 1.08rem;
  line-height: 1.8;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   CONTACT PAGE
============================================================ */

/* Prevent the wrap layout from being flex on this page */
.contact-section .wrap {
  display: block !important;
}

.contact-column {
  max-width: 700px;
  margin: 0 auto;
}

.contact-column h2 {
  text-align: center;
  margin-bottom: 12px;
}

.contact-intro {
  margin-bottom: 24px;
  text-align: center;
  font-size: 1.15rem;
  opacity: 0.9;
}

/* Form */
form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}

label {
  font-weight: 600;
  font-size: 1.05rem;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  background: var(--card);
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
}

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

.required-tag {
  font-size: 0.95rem;
  color: #d65a42;
}

.contact-column .btn {
  align-self: center;
  padding: 10px 26px;
  border-radius: 999px;
}

/* ============================================================
   CONTACT STRIP (Bottom of About Page)
============================================================ */
/* Contact Strip */
.contact-strip {
  background: #202020;
  color: #f5f5f5;
  padding: 32px 20px;
}

.contact-strip-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.contact-strip-inner p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
}

.contact-strip-btn {
  border: 1px solid #f5f5f5;
  padding: 10px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f5f5f5;
  background: transparent;
}

.contact-strip-btn:hover {
  background: #f5f5f5;
  color: #202020;
}

@media (max-width: 700px) {
  .contact-strip-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-strip-btn {
    align-self: stretch;
    text-align: center;
  }
}

/* ============================================================
   TESTIMONIALS CAROUSEL
============================================================ */
.testimonial-carousel {
  position: relative;
  max-width: 750px;
  margin: 30px auto 0;
  padding: 30px 20px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.testimonial-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.testimonial-slide.active {
  display: block;
  opacity: 1;
}

.testimonial-text {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 10px;
}

.testimonial-name {
  font-size: 1rem;
  opacity: 0.8;
}

/* Carousel dots */
.testi-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.dot {
  width: 12px;
  height: 12px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.dot.active {
  background: var(--brand);
  transform: scale(1.2);
}

/* ============================================================
   GALLERY (Masonry Layout)
============================================================ */
.gallery {
  max-width: 1100px;
  margin: 40px auto 80px;
  column-count: 3;
  column-gap: 24px;
}

@media (max-width: 900px) {
  .gallery {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .gallery {
    column-count: 1;
  }
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 28px;
  cursor: default;
  position: relative;
  transition: opacity 0.4s ease;
}

.gallery-item img {
  width: 100%;
  border-radius: var(--radius);
  display: block;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

/* Hidden captions on thumbnails (lightbox uses them) */
.gallery-item .caption {
  display: none;
}

/* ============================================================
   FILTER BAR (If used)
============================================================ */
.gallery-filters {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 20px auto 40px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.gallery-filters::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  background: transparent;
  border: none;
  font-size: 1rem;
  color: var(--text);
  cursor: pointer;
  position: relative;
  padding: 6px 4px;
  white-space: nowrap;
}

.filter-btn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: var(--brand);
  transition: width 0.25s ease;
}

.filter-btn:hover::after,
.filter-btn.active::after {
  width: 100%;
}

.gallery-item.hide {
  opacity: 0;
  transform: scale(0.92);
  pointer-events: none;
}

/* ============================================================
   PREMIUM HOVER OVERLAY (Optional — currently unused)
============================================================ */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  border-radius: var(--radius);
  text-align: center;
  padding: 20px;
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ============================================================
   LIGHTBOX
============================================================ */
body.no-scroll {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: min(900px, 90vw);
  max-height: 80vh;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
  margin-bottom: 12px;
  transition: opacity 0.3s ease;
}

.lightbox-caption {
  color: #fff;
  font-size: 1.05rem;
  text-align: center;
  max-width: 60ch;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 24px;
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: 1px solid #fff;
  border-radius: 999px;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Optional next/prev arrows (if implemented later) */
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 8px 14px;
  background: rgba(255,255,255,0.25);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 2.4rem;
  cursor: pointer;
  transition: background 0.25s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.45);
}

.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }

/* ============================================================
   GSAP VERSACE-STYLE SCROLL ZOOM — INITIAL STATE
============================================================ */
.vs-zoom {
  transform: scale(1.15);
  opacity: 0;
  will-change: transform, opacity;
}
footer {
  padding: 22px;
  background: #222;
  color: #fff;
  margin-top: 48px;
  text-align: center;
  font-size: 0.95rem;
}

footer p {
  margin: 6px 0;
}

footer .socials a {
  color: var(--brand);
  text-decoration: none;
  margin: 0 6px;
}

footer .socials a:hover {
  text-decoration: underline;
}

.center-content {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding: 0 20px;
}

/* Hide the OUTSIDE dark mode toggle on mobile */
@media (max-width: 820px) {
  header .wrap > #darkModeToggle {
    display: none !important;
  }
}

.contact-section {
  background: red important;
}

