/* ============================================================
   KLESARSTVO PERIĆ — Modern Stonemason Website
   Design System & Complete Stylesheet
   ============================================================ */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Colors */
  --clr-primary: #1a1a1a;
  --clr-secondary: #2d2d2d;
  --clr-accent: #b8956a;
  --clr-accent-light: #d4c5b2;
  --clr-accent-dark: #8a6d4b;
  --clr-white: #ffffff;
  --clr-off-white: #faf8f5;
  --clr-warm-grey: #f0ece6;
  --clr-stone: #8c8279;
  --clr-text: #333333;
  --clr-text-light: #777777;
  --clr-border: #e8e2db;
  --clr-overlay: rgba(26, 26, 26, 0.65);
  --clr-overlay-heavy: rgba(26, 26, 26, 0.8);

  /* Typography */
  --ff-heading: 'Cormorant Garamond', 'Georgia', serif;
  --ff-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Font Sizes (fluid) */
  --fs-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --fs-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --fs-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --fs-md: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  --fs-lg: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
  --fs-xl: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  --fs-xxl: clamp(2.5rem, 1.8rem + 3.5vw, 5rem);
  --fs-hero: clamp(3rem, 2rem + 5vw, 7rem);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
  --space-3xl: 8rem;
  --space-section: clamp(4rem, 3rem + 5vw, 8rem);

  /* Layout */
  --max-width: 1400px;
  --max-width-narrow: 900px;
  --header-height: 80px;
  --border-radius: 4px;
  --border-radius-lg: 8px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Modern CSS Reset --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: 1.7;
  color: var(--clr-text);
  background-color: var(--clr-off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-heading);
  font-weight: var(--fw-regular);
  line-height: 1.2;
  color: var(--clr-primary);
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 3vw, 3rem);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-accent {
  color: var(--clr-accent);
}

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

/* --- Section Titles --- */
.section-label {
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: var(--space-sm);
  display: block;
}

.section-title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-light);
  color: var(--clr-primary);
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: var(--fs-md);
  color: var(--clr-text-light);
  max-width: 600px;
  line-height: 1.8;
}

.section-divider {
  width: 60px;
  height: 2px;
  background: var(--clr-accent);
  border: none;
  margin: var(--space-lg) 0;
}

.section-divider--center {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: background-color var(--transition-base),
              box-shadow var(--transition-base),
              backdrop-filter var(--transition-base);
}

.header--transparent {
  background-color: transparent;
}

.header--scrolled {
  background-color: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 3vw, 3rem);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1001;
}

.header__logo-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__logo-icon svg {
  width: 100%;
  height: 100%;
}

.header__logo-text {
  font-family: var(--ff-heading);
  font-size: 1.3rem;
  font-weight: var(--fw-regular);
  color: var(--clr-white);
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.header__logo-text span {
  display: block;
  font-family: var(--ff-body);
  font-size: 0.6rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-top: 2px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
}

.header__nav-link {
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--clr-accent);
  transition: width var(--transition-base);
}

.header__nav-link:hover,
.header__nav-link--active {
  color: var(--clr-white);
}

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

/* Mobile Menu Toggle */
.header__menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 28px;
  padding: 4px 0;
  z-index: 1001;
  background: none;
  border: none;
  cursor: pointer;
}

.header__menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--clr-white);
  transition: transform var(--transition-base), opacity var(--transition-fast);
  transform-origin: center;
}

.header__menu-toggle--open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.header__menu-toggle--open span:nth-child(2) {
  opacity: 0;
}

.header__menu-toggle--open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .header__menu-toggle {
    display: flex;
  }

  .header__nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 1000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    background: var(--clr-primary);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition-base), visibility var(--transition-base);
  }

  .header__nav--open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .header__nav-link {
    font-size: var(--fs-md);
    color: rgba(255, 255, 255, 0.8);
  }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(4rem, 8vw, 8rem);
  overflow: hidden;
}

.hero--short {
  min-height: 60vh;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Placeholder gradient backgrounds for hero sections */
.hero__bg--home {
  background: 
    linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 30%, #3d3428 60%, #2c2c2c 100%);
}

.hero__bg--products {
  background: 
    linear-gradient(135deg, #3d3428 0%, #2c2c2c 40%, #1a1a1a 100%);
}

.hero__bg--gallery {
  background: 
    linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 50%, #3d3428 100%);
}

.hero__bg--contact {
  background: 
    linear-gradient(135deg, #2c2c2c 0%, #3d3428 60%, #1a1a1a 100%);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to top,
    rgba(26, 26, 26, 0.85) 0%,
    rgba(26, 26, 26, 0.4) 40%,
    rgba(26, 26, 26, 0.2) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero__label {
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: var(--space-md);
  display: block;
}

.hero__title {
  font-size: var(--fs-hero);
  font-weight: var(--fw-light);
  color: var(--clr-white);
  line-height: 1.05;
  margin-bottom: var(--space-lg);
}

.hero__title em {
  font-style: italic;
  color: var(--clr-accent-light);
}

.hero__description {
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.7);
  max-width: 550px;
  line-height: 1.8;
  margin-bottom: var(--space-xl);
}

.hero__cta-group {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Animated scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  right: clamp(1.5rem, 3vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

.hero__scroll-text {
  font-size: 0.65rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--clr-accent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { top: -100%; }
  50% { top: 0; }
  100% { top: 100%; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.25rem;
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: var(--border-radius);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn--primary {
  background: var(--clr-accent);
  color: var(--clr-white);
}

.btn--primary:hover {
  background: var(--clr-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(184, 149, 106, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--clr-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn--outline:hover {
  border-color: var(--clr-white);
  background: rgba(255, 255, 255, 0.05);
}

.btn--dark {
  background: var(--clr-primary);
  color: var(--clr-white);
}

.btn--dark:hover {
  background: var(--clr-secondary);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn--ghost {
  background: transparent;
  color: var(--clr-primary);
  padding: 0.75rem 0;
  letter-spacing: 0.1em;
}

.btn--ghost::after {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1px;
  background: var(--clr-accent);
  transition: width var(--transition-base);
}

.btn--ghost:hover::after {
  width: 50px;
}

.btn__icon {
  font-size: 1.1em;
  transition: transform var(--transition-fast);
}

.btn:hover .btn__icon {
  transform: translateX(3px);
}

/* ============================================================
   ABOUT / INTRO SECTION
   ============================================================ */
.intro {
  padding: var(--space-section) 0;
}

.intro__grid {
  max-width: 700px;
}

.intro__image-wrap {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
}

.intro__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.intro__image-wrap:hover img {
  transform: scale(1.03);
}

.intro__image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  border: 2px solid var(--clr-accent);
  border-radius: var(--border-radius-lg);
  z-index: -1;
}

.intro__content {
  padding: var(--space-lg) 0;
}

.intro__text {
  font-size: var(--fs-base);
  color: var(--clr-text);
  margin-bottom: var(--space-md);
  line-height: 1.9;
}

.intro__stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--clr-border);
}

.intro__stat-number {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  font-weight: var(--fw-light);
  color: var(--clr-accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.intro__stat-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-text-light);
}

@media (max-width: 768px) {
  .intro__stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   SERVICES / FEATURES SECTION
   ============================================================ */
.services {
  padding: var(--space-section) 0;
  background: var(--clr-primary);
  color: var(--clr-white);
}

.services__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.services__header .section-title {
  color: var(--clr-white);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.service-card {
  padding: clamp(2rem, 3vw, 3rem);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius-lg);
  transition: all var(--transition-base);
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(184, 149, 106, 0.3);
  transform: translateY(-4px);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--clr-accent);
  font-size: 1.75rem;
}

.service-card__icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--clr-accent);
  fill: none;
  stroke-width: 1.5;
}

.service-card__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-light);
  color: var(--clr-white);
  margin-bottom: var(--space-sm);
}

.service-card__text {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
}

/* ============================================================
   PRODUCTS PAGE
   ============================================================ */
.products-intro {
  padding: var(--space-section) 0;
  text-align: center;
}

.products-intro .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Category Filter */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
  padding: 0 var(--space-md);
}

.filter-btn {
  padding: 0.6rem 1.5rem;
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-text-light);
  border: 1px solid var(--clr-border);
  border-radius: 50px;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn--active {
  color: var(--clr-white);
  background: var(--clr-primary);
  border-color: var(--clr-primary);
}

/* Products List (Textual) */
.products-list-section {
  padding-bottom: var(--space-section);
}

.products-list {
  max-width: 800px;
  margin: 0 auto;
}

.product-item {
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--clr-border);
}

.product-item:first-child {
  border-top: 1px solid var(--clr-border);
}

.product-item__subtitle {
  display: block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 0.5rem;
}

.product-item__title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-light);
  margin-bottom: 0.75rem;
}

.product-item__description {
  font-size: var(--fs-sm);
  color: var(--clr-text-light);
  line-height: 1.8;
  max-width: 600px;
}

/* Stone Type Showcase */
.stone-showcase {
  padding: var(--space-section) 0;
  background: var(--clr-warm-grey);
}

.stone-showcase__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-md);
}

.stone-swatch {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  cursor: pointer;
}

.stone-swatch__image,
.stone-swatch > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.stone-swatch:hover .stone-swatch__image,
.stone-swatch:hover > img {
  transform: scale(1.08);
}

.stone-swatch__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 26, 26, 0.75) 0%,
    rgba(26, 26, 26, 0) 50%
  );
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  transition: background var(--transition-base);
}

.stone-swatch:hover .stone-swatch__overlay {
  background: linear-gradient(
    to top,
    rgba(26, 26, 26, 0.85) 0%,
    rgba(26, 26, 26, 0.1) 60%
  );
}

.stone-swatch__name {
  font-family: var(--ff-heading);
  font-size: var(--fs-md);
  color: var(--clr-white);
  font-weight: var(--fw-light);
}

.stone-swatch__category {
  font-size: var(--fs-xs);
  color: var(--clr-accent-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* Placeholder for stone swatches (gradient textures) */
.stone-swatch--placeholder {
  background-size: cover;
  background-position: center;
}

.stone-swatch--granite-dark {
  background: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 25%, #252525 50%, #383838 75%, #2a2a2a 100%);
}

.stone-swatch--granite-red {
  background: linear-gradient(135deg, #6b3a3a 0%, #8b4545 25%, #5a2d2d 50%, #7d4040 75%, #6b3a3a 100%);
}

.stone-swatch--marble-white {
  background: linear-gradient(135deg, #e8e4df 0%, #f5f2ee 25%, #ddd9d4 50%, #ebe8e3 75%, #e8e4df 100%);
}

.stone-swatch--marble-grey {
  background: linear-gradient(135deg, #8a8580 0%, #9d9892 25%, #7d7873 50%, #918c86 75%, #8a8580 100%);
}

.stone-swatch--granite-brown {
  background: linear-gradient(135deg, #5c4a3a 0%, #6d5a4a 25%, #4d3c2d 50%, #5e4d3d 75%, #5c4a3a 100%);
}

.stone-swatch--granite-grey {
  background: linear-gradient(135deg, #5a5a5a 0%, #6d6d6d 25%, #4a4a4a 50%, #636363 75%, #5a5a5a 100%);
}

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-section {
  padding: var(--space-section) 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-md);
}

.gallery-grid--masonry {
  columns: 3;
  column-gap: var(--space-md);
}

@media (max-width: 900px) {
  .gallery-grid--masonry {
    columns: 2;
  }
}

@media (max-width: 500px) {
  .gallery-grid--masonry {
    columns: 1;
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  cursor: pointer;
  break-inside: avoid;
  margin-bottom: var(--space-md);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: var(--clr-overlay);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

.gallery-item__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-lg);
  color: var(--clr-white);
  font-weight: var(--fw-light);
}

.gallery-item__category {
  font-size: var(--fs-xs);
  color: var(--clr-accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* Gallery placeholder items */
.gallery-item--placeholder {
  aspect-ratio: auto;
  min-height: 250px;
}

.gallery-item--tall {
  min-height: 400px;
}

.gallery-item--wide {
  grid-column: span 2;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.lightbox--open {
  opacity: 1;
  visibility: visible;
}

.lightbox__image {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--border-radius);
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-white);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.lightbox__close:hover {
  color: var(--clr-accent);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-white);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.lightbox__nav:hover {
  color: var(--clr-accent);
}

.lightbox__nav--prev {
  left: 1.5rem;
}

.lightbox__nav--next {
  right: 1.5rem;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
  padding: var(--space-section) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(3rem, 5vw, 6rem);
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact Info */
.contact-info__item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--clr-border);
}

.contact-info__item:last-child {
  border-bottom: none;
}

.contact-info__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-warm-grey);
  border-radius: 50%;
  color: var(--clr-accent);
}

.contact-info__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--clr-accent);
  fill: none;
  stroke-width: 2;
}

.contact-info__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-text-light);
  margin-bottom: 0.25rem;
}

.contact-info__value {
  font-size: var(--fs-base);
  color: var(--clr-text);
}

.contact-info__value a {
  color: var(--clr-text);
  transition: color var(--transition-fast);
}

.contact-info__value a:hover {
  color: var(--clr-accent);
}

/* Business Hours */
.business-hours {
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  background: var(--clr-warm-grey);
  border-radius: var(--border-radius-lg);
}

.business-hours__title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-text);
  margin-bottom: var(--space-sm);
}

.business-hours__row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: var(--fs-sm);
  color: var(--clr-text-light);
  border-bottom: 1px solid var(--clr-border);
}

.business-hours__row:last-child {
  border-bottom: none;
}

.business-hours__day {
  font-weight: var(--fw-medium);
  color: var(--clr-text);
}

/* Contact Form */
.contact-form {
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--border-radius-lg);
}

.contact-form__title {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-sm);
}

.contact-form__subtitle {
  font-size: var(--fs-sm);
  color: var(--clr-text-light);
  margin-bottom: var(--space-xl);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--clr-text);
  margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: var(--fs-sm);
  color: var(--clr-text);
  background: var(--clr-off-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--border-radius);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(184, 149, 106, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--clr-text-light);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23777' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

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

.form-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: 0.5rem;
}

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

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--clr-accent);
  cursor: pointer;
}

.form-checkbox span {
  font-size: var(--fs-sm);
  color: var(--clr-text);
}

.form-submit {
  margin-top: var(--space-lg);
}

.form-note {
  font-size: var(--fs-xs);
  color: var(--clr-text-light);
  margin-top: var(--space-sm);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  padding: var(--space-section) 0;
  background: var(--clr-primary);
  text-align: center;
}

.cta-banner__title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-light);
  color: var(--clr-white);
  margin-bottom: var(--space-md);
}

.cta-banner__text {
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.6);
  max-width: 550px;
  margin: 0 auto var(--space-xl);
  line-height: 1.8;
}

/* ============================================================
   TESTIMONIAL / QUOTE SECTION
   ============================================================ */
.quote-section {
  padding: var(--space-section) 0;
  background: var(--clr-warm-grey);
}

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

.quote-block__icon {
  font-size: 3rem;
  color: var(--clr-accent);
  line-height: 1;
  margin-bottom: var(--space-lg);
  font-family: var(--ff-heading);
}

.quote-block__text {
  font-family: var(--ff-heading);
  font-size: var(--fs-lg);
  font-style: italic;
  font-weight: var(--fw-light);
  color: var(--clr-text);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.quote-block__author {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-text-light);
}

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process {
  padding: var(--space-section) 0;
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.process__step {
  text-align: center;
  position: relative;
}

.process__step-number {
  font-family: var(--ff-heading);
  font-size: var(--fs-xxl);
  font-weight: var(--fw-light);
  color: var(--clr-border);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.process__step-title {
  font-size: var(--fs-md);
  font-weight: var(--fw-regular);
  margin-bottom: var(--space-sm);
}

.process__step-text {
  font-size: var(--fs-sm);
  color: var(--clr-text-light);
  line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--clr-primary);
  color: rgba(255, 255, 255, 0.6);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 4rem);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

.footer__brand {
  max-width: 320px;
}

.footer__brand-name {
  font-family: var(--ff-heading);
  font-size: var(--fs-lg);
  color: var(--clr-white);
  margin-bottom: var(--space-sm);
}

.footer__brand-text {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.8;
}

.footer__heading {
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-white);
  margin-bottom: var(--space-md);
}

.footer__link {
  display: block;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.45);
  padding: 0.35rem 0;
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--clr-accent);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: var(--space-sm);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.45);
}

.footer__contact-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__contact-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--clr-accent);
  fill: none;
  stroke-width: 2;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 600px) {
  .footer__bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
}

.footer__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--transition-fast);
}

.footer__social-link:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ============================================================
   SCROLL ANIMATIONS (Reveal on Scroll)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-primary);
  color: var(--clr-white);
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
  z-index: 999;
  border: none;
}

.back-to-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--clr-accent);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* ============================================================
   PAGE-SPECIFIC: Products hero split
   ============================================================ */
.product-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

@media (max-width: 768px) {
  .product-feature {
    grid-template-columns: 1fr;
  }
}

.product-feature__image {
  position: relative;
  overflow: hidden;
  min-height: 350px;
}

.product-feature__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-feature__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5rem);
  background: var(--clr-primary);
  color: var(--clr-white);
}

.product-feature__content .section-title {
  color: var(--clr-white);
}

.product-feature__text {
  font-size: var(--fs-base);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

/* ============================================================
   MAP PLACEHOLDER
   ============================================================ */
.map-section {
  height: 400px;
  background: var(--clr-warm-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid var(--clr-border);
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================================
   RESPONSIVE FINE-TUNING
   ============================================================ */
@media (max-width: 480px) {
  .hero__title {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }

  .intro__stat-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

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

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

  .gallery-item--wide {
    grid-column: span 1;
  }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  .header,
  .hero__scroll,
  .back-to-top,
  .lightbox {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }
}
