/* ============================================
   Kamenictví Adámek — Modern Redesign
   ============================================ */

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

:root {
  --color-bg: #0e0e0e;
  --color-bg-light: #1a1a1a;
  --color-bg-card: #141414;
  --color-surface: #1e1e1e;
  --color-border: #2a2a2a;
  --color-text: #e8e6e3;
  --color-text-muted: #8a8680;
  --color-accent: #c9a96e;
  --color-accent-light: #dfc08a;
  --color-accent-dark: #a8884e;
  --color-white: #ffffff;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1200px;
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
  font-size: 16px;
  scrollbar-color: var(--color-accent-dark) var(--color-bg-light);
  scrollbar-width: thin;
}

/* Webkit scrollbar (Chrome, Edge, Safari) */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--color-accent-dark);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

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

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

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

a:hover {
  color: var(--color-accent-light);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

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

/* --- Section Labels & Titles --- */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-desc {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 50px;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-bg);
  border-color: var(--color-accent);
}

.btn--primary:hover {
  background: var(--color-accent-light);
  border-color: var(--color-accent-light);
  color: var(--color-bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 169, 110, 0.25);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.25);
}

.btn--outline:hover {
  border-color: var(--color-white);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
  background: transparent;
}

.header--scrolled {
  background: rgba(14, 14, 14, 0.95);
  backdrop-filter: blur(20px);
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

/* SVG Logo */
.logo__svg {
  width: 42px;
  height: 42px;
  color: var(--color-accent);
  flex-shrink: 0;
  transition: all var(--transition);
}

.logo:hover .logo__svg {
  color: var(--color-accent-light);
  filter: drop-shadow(0 0 8px rgba(201, 169, 110, 0.3));
}

.logo--footer .logo__svg {
  width: 36px;
  height: 36px;
}

.logo__text {
  display: flex;
  flex-direction: column;
}

.logo__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-white);
}

.logo__sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text-muted);
}

/* Nav */
.nav {
  display: flex;
  gap: 8px;
}

.nav__link {
  padding: 8px 20px;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text-muted);
  border-radius: 50px;
  transition: all var(--transition);
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-white);
  background: rgba(255,255,255,0.07);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: all var(--transition);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1a1a1a 0%, #0e0e0e 50%, #1a1816 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201, 169, 110, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(201, 169, 110, 0.05) 0%, transparent 50%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 120px 0 80px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero__title br + * {
  color: var(--color-accent);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 560px;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* --- Section Nav (prolink) --- */
.section-nav {
  background: linear-gradient(135deg, rgba(20, 18, 14, 0.98) 0%, rgba(30, 25, 16, 0.98) 50%, rgba(20, 18, 14, 0.98) 100%);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 169, 110, 0.12);
  padding: 10px 0;
  position: sticky;
  top: var(--header-height, 68px);
  z-index: 99;
}

.section-nav__inner {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.section-nav__link {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 6px 16px;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  transition: all 0.3s ease;
}

.section-nav__link:hover,
.section-nav__link--active {
  color: var(--color-accent);
  border-color: var(--color-accent);
  background: rgba(201,169,110,0.06);
}

@media (max-width: 768px) {
  .section-nav {
    padding: 8px 0;
  }
  .section-nav__inner {
    gap: 5px;
  }
  .section-nav__link {
    font-size: 0.75rem;
    padding: 5px 12px;
  }
}

/* --- Features --- */
.features {
  padding: 100px 0;
  background: var(--color-bg-light);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.feature {
  text-align: center;
  padding: 40px 24px;
}

.feature__icon {
  color: var(--color-accent);
  margin-bottom: 20px;
}

.feature__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-white);
  margin-bottom: 12px;
}

.feature__text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- About --- */
.about {
  padding: 120px 0;
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__content p {
  color: var(--color-text-muted);
  margin-bottom: 20px;
  line-height: 1.7;
}

.about__content .btn {
  margin-top: 12px;
}

/* About text-only variant */
.about__inner--text-only {
  display: block;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.about__inner--text-only .section-label::after {
  margin-left: auto;
  margin-right: auto;
}

.about__inner--text-only .btn {
  margin-top: 20px;
}

/* --- Coverage map --- */
.coverage {
  padding: 120px 0;
  background: var(--color-bg-light);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.coverage__map {
  max-width: 700px;
  margin: 48px auto 0;
}

.coverage__svg {
  width: 100%;
  height: auto;
}

.coverage__svg text {
  font-family: var(--font-body);
}

/* --- Gallery show more --- */
.gallery__grid.gallery__grid--hidden {
  display: none;
  margin-top: 16px;
}

.gallery__grid.gallery__grid--hidden.visible {
  display: grid;
}

.gallery__more-btn {
  font-size: 0.9rem;
  padding: 10px 28px;
}

/* Placeholder images */
.placeholder-img {
  background: var(--color-surface);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.placeholder-img--tall {
  height: 450px;
}

.placeholder-img--card {
  height: 220px;
  border-radius: var(--radius) var(--radius) 0 0;
}

/* --- Services --- */
.services {
  padding: 120px 0;
  background: var(--color-bg-light);
}

.services__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-top: 60px;
}

.services__grid .service-card {
  width: calc(33.333% - 19px);
}

.service-card {
  background: var(--color-bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-accent-dark);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.service-card__body {
  padding: 24px;
}

.service-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--color-white);
  margin-bottom: 8px;
}

.service-card__body p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --- Stones --- */
.stones {
  padding: 120px 0;
}

.stones__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.stone {
  text-align: center;
}

.stone__sample {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  border: 2px solid var(--color-border);
  transition: all var(--transition);
}

.stone:hover .stone__sample {
  transform: scale(1.05);
  border-color: var(--color-accent);
}

.stone span {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Stone textures — realistic multi-layer gradients */

/* Zimbabwe Black — deep black, fine white/grey specks */
.stone--dark {
  background: url('../img/stones/ZIMBABWE BLACK.png') center/cover no-repeat;
}

.stone--red {
  background: url('../img/stones/Balmoral-Red.jpg') center/cover no-repeat;
}

.stone--light {
  background: url('../img/stones/Bianco-Sardo-.jpg') center/cover no-repeat;
}

.stone--blue {
  background: url('../img/stones/blue-pearl-600x600-600x600.jpg') center/cover no-repeat;
}

.stone--green {
  background: url('../img/stones/VERDE MARINA.jpg') center/cover no-repeat;
}

.stone--himalayan {
  background: url('../img/stones/HIMALAYAN BLUEs.jpg') center/cover no-repeat;
}

.stone--paradiso {
  background: url('../img/stones/PARADISO CLASSICO .jpg') center/cover no-repeat;
}

.stone--mountain {
  background: url('../img/stones/Nero impala.jpg') center/cover no-repeat;
}

.stone--kashmir {
  background: url('../img/stones/verde-guatemala-1000x750.jpg') center/cover no-repeat;
}

.stone--multicolor {
  background: url('../img/stones/MULTICOLOUR RED.jpg') center/cover no-repeat;
}

.stone--baltic {
  background: url('../img/stones/BALTIC BROWN.jpg') center/cover no-repeat;
}

.stone--giallo {
  background: url('../img/stones/GIALLO VENEZIANO.jpg') center/cover no-repeat;
}

/* --- CTA --- */
.cta {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--color-bg-light) 0%, #1a1816 100%);
  border-top: 1px solid var(--color-border);
}

.cta__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--color-white);
  margin-bottom: 16px;
  text-align: center;
}

.cta__text {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* --- Footer --- */
.footer {
  background: var(--color-bg-light);
  border-top: 1px solid var(--color-border);
  padding-top: 60px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 40px;
}

.footer__col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-white);
  margin-bottom: 20px;
}

.footer__col a {
  display: block;
  color: var(--color-text-muted);
  padding: 4px 0;
  font-size: 0.9rem;
}

.footer__col a:hover {
  color: var(--color-accent);
}

.footer__col p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 8px;
}

.footer__desc {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 16px;
  max-width: 320px;
}

.logo--footer .logo__name {
  font-size: 1rem;
}

.footer__bottom {
  border-top: 1px solid var(--color-border);
  padding: 20px 0;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.footer__credit {
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 1024px) {
  .features__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .services__grid .service-card {
    width: calc(50% - 14px);
  }

  .stones__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .about__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

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

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-bg-light);
    flex-direction: column;
    padding: 100px 32px 32px;
    gap: 4px;
    transition: right var(--transition);
    border-left: 1px solid var(--color-border);
  }

  .nav.active {
    right: 0;
  }

  .nav__link {
    padding: 14px 20px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }

  .hero__content {
    padding: 140px 0 60px;
  }

  .services__grid .service-card {
    width: 100%;
  }

  .stones__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about__image {
    order: -1;
  }

  .placeholder-img--tall {
    height: 280px;
  }
}

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

  .hero__buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

/* --- Page header for subpages --- */
.page-header {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, #1a1a1a 0%, #0e0e0e 100%);
  border-bottom: 1px solid var(--color-border);
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-white);
  margin-bottom: 8px;
}

.page-header p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

/* --- Gallery for reference page --- */
.gallery {
  padding: 80px 0;
}

.gallery__section {
  margin-bottom: 60px;
}

.gallery__section h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-white);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.gallery__item {
  aspect-ratio: 4/3;
  background: var(--color-surface);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
  overflow: hidden;
}

.gallery__item:hover {
  border-color: var(--color-accent);
  transform: scale(1.02);
}

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

/* --- Lightbox --- */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.active {
  display: flex;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
}

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--radius-sm);
}

/* --- Contact page --- */
.contact-section {
  padding: 80px 0;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact__info h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-white);
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-item__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(201, 169, 110, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.contact-item__text h4 {
  color: var(--color-white);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-item__text p,
.contact-item__text a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.contact__map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  min-height: 400px;
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
  filter: grayscale(0.5) brightness(0.8);
}

@media (max-width: 768px) {
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* --- Pricing page --- */
.pricing {
  padding: 80px 0;
}

.pricing__note {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.pricing__note p {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.pricing__table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
}

.pricing__table th {
  background: var(--color-surface);
  color: var(--color-accent);
  padding: 16px 20px;
  text-align: left;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid var(--color-accent-dark);
}

.pricing__table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.pricing__table tr:hover td {
  background: rgba(201, 169, 110, 0.03);
}

.pricing__table td:first-child {
  color: var(--color-white);
  font-weight: 500;
}

@media (max-width: 768px) {
  .pricing__table {
    font-size: 0.85rem;
  }

  .pricing__table th,
  .pricing__table td {
    padding: 12px 12px;
  }
}

/* --- Scroll Animations --- */
.animate-target {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-target.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.features__grid .animate-target:nth-child(2) { transition-delay: 0.1s; }
.features__grid .animate-target:nth-child(3) { transition-delay: 0.2s; }

.services__grid .animate-target:nth-child(2) { transition-delay: 0.05s; }
.services__grid .animate-target:nth-child(3) { transition-delay: 0.1s; }
.services__grid .animate-target:nth-child(4) { transition-delay: 0.15s; }
.services__grid .animate-target:nth-child(5) { transition-delay: 0.2s; }
.services__grid .animate-target:nth-child(6) { transition-delay: 0.25s; }

.stones__grid .animate-target:nth-child(2) { transition-delay: 0.03s; }
.stones__grid .animate-target:nth-child(3) { transition-delay: 0.06s; }
.stones__grid .animate-target:nth-child(4) { transition-delay: 0.09s; }
.stones__grid .animate-target:nth-child(5) { transition-delay: 0.12s; }
.stones__grid .animate-target:nth-child(6) { transition-delay: 0.15s; }
.stones__grid .animate-target:nth-child(7) { transition-delay: 0.18s; }
.stones__grid .animate-target:nth-child(8) { transition-delay: 0.21s; }
.stones__grid .animate-target:nth-child(9) { transition-delay: 0.24s; }
.stones__grid .animate-target:nth-child(10) { transition-delay: 0.27s; }
.stones__grid .animate-target:nth-child(11) { transition-delay: 0.3s; }
.stones__grid .animate-target:nth-child(12) { transition-delay: 0.33s; }

/* --- Hero entrance animation --- */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes lineGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes subtleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero__title {
  animation: heroFadeUp 0.9s ease-out both;
}

.hero__subtitle {
  animation: heroFadeUp 0.9s ease-out 0.2s both;
}

.hero__buttons {
  animation: heroFadeUp 0.9s ease-out 0.4s both;
}

/* --- Section label line accent --- */
.section-label {
  position: relative;
}

.section-label::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--color-accent);
  margin-top: 8px;
  transform-origin: left;
  animation: lineGrow 0.6s ease-out both;
}

.text-center .section-label::after {
  margin-left: auto;
  margin-right: auto;
  transform-origin: center;
}

/* --- Feature icons float --- */
.feature__icon {
  transition: transform 0.4s ease;
}

.feature:hover .feature__icon {
  animation: subtleFloat 2s ease-in-out infinite;
}

/* --- Service card subtle glow on hover --- */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius);
  opacity: 0;
  background: radial-gradient(circle at 50% 0%, rgba(201, 169, 110, 0.08), transparent 70%);
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card {
  position: relative;
}

.service-card:hover::before {
  opacity: 1;
}

/* --- Stone samples pulse border on hover --- */
.stone__sample {
  position: relative;
}

.stone:hover .stone__sample {
  box-shadow: 0 0 16px rgba(201, 169, 110, 0.15);
}

/* --- Gallery items subtle zoom --- */
.gallery__item {
  position: relative;
  overflow: hidden;
}

.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(201, 169, 110, 0);
  transition: background 0.3s ease;
  pointer-events: none;
}

.gallery__item:hover::after {
  background: rgba(201, 169, 110, 0.06);
}

/* --- Contact items slide-in on hover --- */
.contact-item {
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateX(6px);
}

.contact-item__icon {
  transition: all 0.3s ease;
}

.contact-item:hover .contact-item__icon {
  background: rgba(201, 169, 110, 0.2);
  box-shadow: 0 0 12px rgba(201, 169, 110, 0.1);
}

/* --- Pricing table row highlight --- */
.pricing__table tbody tr {
  transition: all 0.3s ease;
}

.pricing__table tbody tr:hover {
  transform: scale(1.005);
}

/* --- Button press effect --- */
.btn:active {
  transform: translateY(0) scale(0.98);
}

/* --- Page header subtle gradient animation --- */
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.page-header {
  background: linear-gradient(135deg, #1a1a1a 0%, #0e0e0e 40%, #1a1816 100%);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
}

/* --- Header nav link underline animation --- */
.nav__link {
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 20px;
  right: 20px;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: center;
}

.nav__link:hover::after,
.nav__link--active::after {
  transform: scaleX(1);
}

/* --- CTA section pulse accent --- */
.cta {
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(201, 169, 110, 0.03) 0%, transparent 50%);
  animation: subtleFloat 6s ease-in-out infinite;
  pointer-events: none;
}
