/* ==========================================================================
   Gurock Equipments — Homepage Styles
   Extends style.css tokens (--color-black, --color-gold, etc.)
   ========================================================================== */

:root {
  --bg-light: #F8F8F8;
  --section-pad: 100px;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--color-gold-dark);
  margin-bottom: 14px;
}

.section-eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--color-gold);
  display: inline-block;
}

.section-heading {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 700;
  color: var(--color-black);
  line-height: 1.2;
  margin: 0 0 16px;
}

.section-sub {
  font-size: 16px;
  color: var(--color-muted);
  line-height: 1.7;
  max-width: 620px;
}

.section-head-center {
  text-align: center;
  margin: 0 auto 56px;
}

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

/* Buttons shared across sections */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease);
  cursor: pointer;
  border: none;
}

.btn-gold {
  color: var(--color-black);
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold) 55%, var(--color-gold-dark));
  box-shadow: 0 10px 24px -8px rgba(201, 151, 43, 0.55);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -8px rgba(201, 151, 43, 0.7);
}

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

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-white);
  transform: translateY(-3px);
}

.btn-outline-dark {
  color: var(--color-black);
  background: transparent;
  border: 1.5px solid rgba(17, 17, 17, 0.25);
}

.btn-outline-dark:hover {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
  transform: translateY(-3px);
}

.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transform: scale(0);
  animation: ripple-anim 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-anim {
  to {
    transform: scale(3);
    opacity: 0;
  }
}

/* Scroll-reveal animation utility classes */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: transform, opacity;
}

[data-reveal="up"] { transform: translateY(36px); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="zoom"] { transform: scale(0.92); }

[data-reveal].is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   1. HERO SLIDER
   ========================================================================== */

.hero-slider {
  position: relative;
  width: 100%;
  height: 88vh;
  min-height: 560px;
  max-height: 800px;
  overflow: hidden;
  background: var(--color-black);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s ease, visibility 1.1s;
  background-color: #1a1a1a;
  background-size: cover;
  background-position: center;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 7s linear;
}

.hero-slide.is-active .hero-bg {
  transform: scale(1);
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17,17,17,0.86) 0%, rgba(17,17,17,0.55) 45%, rgba(17,17,17,0.25) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--color-white);
}

.hero-content .section-eyebrow {
  color: var(--color-gold-light);
}

.hero-content .section-eyebrow::before {
  background: var(--color-gold-light);
}

.hero-title {
  font-size: clamp(32px, 5.2vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  max-width: 780px;
  margin: 0 0 20px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease) 0.2s, transform 0.8s var(--ease) 0.2s;
}

.hero-subtitle {
  font-size: 17px;
  line-height: 1.7;
  max-width: 560px;
  color: #E4E4E4;
  margin: 0 0 34px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease) 0.35s, transform 0.8s var(--ease) 0.35s;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease) 0.5s, transform 0.8s var(--ease) 0.5s;
}

.hero-slide.is-active .hero-title,
.hero-slide.is-active .hero-subtitle,
.hero-slide.is-active .hero-buttons {
  opacity: 1;
  transform: translate(0, 0);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.hero-arrow:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
}

.hero-arrow.prev { left: 28px; }
.hero-arrow.next { right: 28px; }

.hero-arrow svg {
  width: 20px;
  height: 20px;
}

.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease), width 0.3s var(--ease);
}

.hero-dot.is-active {
  background: var(--color-gold);
  width: 28px;
  border-radius: 6px;
}

@media (max-width: 700px) {
  .hero-slider { height: 78vh; min-height: 480px; }
  .hero-arrow { display: none; }
}

/* ==========================================================================
   2. ABOUT US
   ========================================================================== */

.about-section {
  padding: var(--section-pad) 0;
  background: var(--color-white);
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media-frame {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(145deg, #1c1c1c, #2c2c2c);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-soft);
}

.about-badge {
  position: absolute;
  bottom: -28px;
  right: -24px;
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold) 55%, var(--color-gold-dark));
  color: var(--color-black);
  border-radius: 16px;
  padding: 22px 26px;
  text-align: center;
  box-shadow: 0 20px 40px -14px rgba(201, 151, 43, 0.6);
  min-width: 160px;
}

.about-badge .badge-number {
  display: block;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.about-badge .badge-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-top: 6px;
  letter-spacing: 0.3px;
}

.about-copy p {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--color-muted);
  margin: 0 0 18px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 30px 0 34px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--bg-light);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.about-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.about-feature .check {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-feature .check svg {
  width: 15px;
  height: 15px;
  stroke: var(--color-black);
}

.about-feature span.label {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--color-black);
}

.about-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .about-media-frame { aspect-ratio: 16/10; max-width: 480px; margin: 0 auto; }
  .about-badge { right: 50%; transform: translateX(50%); }
}

@media (max-width: 560px) {
  .about-features { grid-template-columns: 1fr; }
}

/* ==========================================================================
   3. WHY CHOOSE US
   ========================================================================== */

.why-section {
  padding: var(--section-pad) 0;
  background: var(--bg-light);
}

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

.why-card {
  background: var(--color-white);
  border-radius: 18px;
  padding: 36px 30px;
  box-shadow: 0 4px 20px -10px rgba(17,17,17,0.08);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  border: 1px solid var(--color-border);
  position: relative;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft);
  border-color: transparent;
}

.why-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: linear-gradient(135deg, #FFF6E4, #FBEBC7);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

.why-card:hover .why-icon {
  transform: rotate(-6deg) scale(1.08);
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
}

.why-icon svg {
  width: 27px;
  height: 27px;
  stroke: var(--color-gold-dark);
  transition: stroke 0.35s var(--ease);
}

.why-card:hover .why-icon svg {
  stroke: var(--color-black);
}

.why-card h3 {
  font-size: 18.5px;
  font-weight: 700;
  color: var(--color-black);
  margin: 0 0 10px;
}

.why-card p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--color-muted);
  margin: 0;
}

.why-card .card-index {
  position: absolute;
  top: 28px;
  right: 30px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-border);
}

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

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

/* ==========================================================================
   4. PRODUCTS
   ========================================================================== */

.products-section {
  padding: var(--section-pad) 0;
  background: var(--color-white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.product-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: transparent;
}

.product-media {
  aspect-ratio: 4/3;
  background: linear-gradient(150deg, #EDEDED, #F7F7F7);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  position: relative;
}

.product-media img,
.product-media .product-media-fill {
  width: 500px;
  height: 500px;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.product-card:hover .product-media img,
.product-card:hover .product-media .product-media-fill {
  transform: scale(1.08);
}

.product-media-fill {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, #1c1c1c, #2c2c2c);
}

.product-media-fill svg {
  width: 46px;
  height: 46px;
  stroke: var(--color-gold);
  opacity: 0.85;
}

.product-body {
  padding: 20px 22px 24px;
}

.product-body h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--color-black);
  margin: 0 0 8px;
}

.product-body p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--color-muted);
  margin: 0 0 16px;
  min-height: 42px;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-gold-dark);
  letter-spacing: 0.2px;
}

.product-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}

.product-card:hover .product-link svg {
  transform: translateX(4px);
}

.products-footer {
  text-align: center;
  margin-top: 52px;
}

@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}

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

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

/* ==========================================================================
   5. QUALITY SECTION
   ========================================================================== */

.quality-section {
  padding: var(--section-pad) 0;
  background: var(--color-black);
  background-image:
    radial-gradient(circle at 15% 20%, rgba(201,151,43,0.12), transparent 45%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0 2px, transparent 2px 26px);
  color: var(--color-white);
  overflow: hidden;
}

.quality-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: center;
}

.quality-media {
  border-radius: 20px;
  aspect-ratio: 4/5;
  background: linear-gradient(150deg, #232323, #151515);
  background-size: cover;
  background-position: center;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
  position: relative;
  overflow: hidden;
}

.quality-media::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201, 151, 43, 0.35);
  border-radius: 20px;
  margin: 14px;
}

.quality-copy .section-sub {
  color: #C6C6C6;
}

.quality-list {
  list-style: none;
  margin: 26px 0 40px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.quality-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: #DADADA;
}

.quality-list li svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-gold);
  flex-shrink: 0;
}

.progress-group {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.progress-item .progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-white);
}

.progress-item .progress-label .progress-value {
  color: var(--color-gold-light);
}

.progress-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold-light));
  transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 980px) {
  .quality-grid { grid-template-columns: 1fr; gap: 50px; }
  .quality-media { aspect-ratio: 16/9; max-width: 560px; margin: 0 auto; }
  .quality-list { grid-template-columns: 1fr; }
}

/* ==========================================================================
   6. CLIENTS — infinite logo scroller
   ========================================================================== */

.clients-section {
  padding: var(--section-pad) 0;
  background: var(--bg-light);
  overflow: hidden;
}

.clients-track-wrap {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: clients-scroll 32s linear infinite;
}

.clients-track-wrap:hover .clients-track {
  animation-play-state: paused;
}

@keyframes clients-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.client-logo {
  flex-shrink: 0;
  width: 150px;
  height: 72px;
  border-radius: 12px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--color-muted);
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 0.35s var(--ease), opacity 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.client-logo:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  color: var(--color-gold-dark);
  border-color: transparent;
}

@media (max-width: 700px) {
  .client-logo { width: 120px; height: 60px; font-size: 12px; }
  .clients-track { gap: 36px; }
}
