/* ============================================
   HOME PAGE — Gwennato Epoxy
   Styles specific to the home / landing page
   ============================================ */

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(201,169,110,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(201,169,110,0.05) 0%, transparent 60%),
    var(--bg-primary);
}
.hero-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  border: 1px solid var(--border);
  animation: rotateSlow 80s linear infinite;
}
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(201,169,110,0.06);
  animation: rotateSlow 60s linear infinite reverse;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 30px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 24px;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.72rem;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 40px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(201,169,110,0.04);
}
.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulseGlow 2s ease infinite;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.5vw, 6.5rem);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 28px;
  letter-spacing: -1px;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 4s ease infinite;
}
.hero-subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto 50px;
}
.hero-buttons {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
  font-size: 0.68rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.hero-scroll .line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: float 2s ease infinite;
}

/* ============================================
   MARQUEE BANNER
   ============================================ */
.marquee-section {
  padding: 22px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-secondary);
}
.marquee-track {
  display: flex;
  animation: marqueeScroll 25s linear infinite;
  width: max-content;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0 30px;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-dim);
}
.marquee-item .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
  padding: 140px 50px;
  max-width: 1300px;
  margin: 0 auto;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 30px;
}
.about-title em {
  font-style: italic;
  color: var(--gold);
}
.about-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  font-weight: 300;
}
.about-text p + p { margin-top: 18px; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 50px;
}
.stat-card {
  padding: 30px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all 0.4s;
}
.stat-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(201,169,110,0.08);
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 400;
}

.about-image-container {
  position: relative;
}
.about-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1510 0%, #0f0f0f 50%, #1a1510 100%);
}
.about-image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(201,169,110,0.2), transparent 60%),
    radial-gradient(ellipse at 70% 70%, rgba(201,169,110,0.1), transparent 50%);
  z-index: 1;
}
.about-image-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.epoxy-visual {
  width: 75%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    conic-gradient(from 45deg, #1a1510, #2a2015, #c9a96e, #2a2015, #1a1510, #c9a96e33, #1a1510);
  filter: blur(0.5px);
  animation: rotateSlow 20s linear infinite;
  position: relative;
}
.epoxy-visual::after {
  content: '';
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,110,0.15), var(--bg-primary));
}
.about-image-frame {
  position: absolute;
  inset: 20px;
  border: 1px solid var(--border);
  z-index: 3;
  pointer-events: none;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
  padding: 140px 50px;
  background: var(--bg-secondary);
  position: relative;
}
.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}
.services-header {
  max-width: 1300px;
  margin: 0 auto 80px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
.services-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.15;
}
.services-title em {
  font-style: italic;
  color: var(--gold);
}
.services-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
  font-weight: 300;
  max-width: 380px;
  text-align: right;
}

.services-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.service-card {
  position: relative;
  padding: 60px 50px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: left;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  box-shadow: 0 8px 40px rgba(201,169,110,0.06);
}
.service-card:hover .service-icon { color: var(--gold); transform: scale(1.1); }
.service-card:hover .service-arrow { opacity: 1; transform: translateX(0); }

.service-number {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--text-dim);
  letter-spacing: 2px;
  margin-bottom: 30px;
}
.service-icon {
  font-size: 2.2rem;
  margin-bottom: 24px;
  transition: all 0.4s;
  color: var(--text-secondary);
  display: block;
}
.service-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.service-arrow {
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.4s;
  color: var(--gold);
  font-size: 1.2rem;
}
.service-desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.75;
  font-weight: 300;
}

/* ============================================
   FEATURED PROJECTS SECTION
   ============================================ */
.portfolio-section {
  padding: 140px 50px;
  max-width: 1300px;
  margin: 0 auto;
}
.portfolio-header {
  text-align: center;
  margin-bottom: 60px;
}
.portfolio-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
}
.portfolio-title em { font-style: italic; color: var(--gold); }

/* Project cards (matches projects.css card styles) */
.featured-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-bottom: 50px;
}

.project-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-card);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  text-decoration: none;
  display: block;
  color: inherit;
}
.project-card:hover {
  box-shadow: 0 8px 30px rgba(201,169,110,0.1);
}
.project-card-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1510, #0f0f0f, #1a1510);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.project-card:hover .project-card-inner {
  transform: scale(1.05);
}
.project-card-swatch {
  width: 80%;
  height: 80%;
  border-radius: 8px;
  filter: blur(0.3px);
}
.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,10,10,0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.project-card:hover .project-card-overlay {
  opacity: 1;
}
.project-card-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.project-card-category {
  font-size: 0.7rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
}
.project-card-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(201,169,110,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s;
}
.project-card:hover .project-card-arrow {
  opacity: 1;
  transform: translateY(0);
}

.view-all-projects {
  text-align: center;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
  padding: 140px 50px;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}
.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}
.testimonials-inner {
  max-width: 1300px;
  margin: 0 auto;
}
.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}
.testimonials-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
}
.testimonials-title em { font-style: italic; color: var(--gold); }
.testimonials-track-wrapper {
  overflow: hidden;
  position: relative;
}
.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.testimonial-card {
  min-width: calc(33.333% - 16px);
  padding: 40px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  flex-shrink: 0;
  transition: all 0.4s;
}
.testimonial-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(201,169,110,0.06);
}
.testimonial-stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 3px;
  margin-bottom: 20px;
}
.testimonial-text {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.8;
  font-weight: 300;
  font-style: italic;
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold);
}
.testimonial-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}
.testimonial-role {
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 1px;
}
.testimonials-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}
.testi-btn {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s;
  border-radius: 50%;
}
.testi-btn:hover { border-color: var(--gold); color: var(--gold); }

/* ============================================
   WHY US SECTION
   ============================================ */
.why-section {
  padding: 140px 50px;
  max-width: 1300px;
  margin: 0 auto;
}
.why-header {
  text-align: center;
  margin-bottom: 80px;
}
.why-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.15;
}
.why-title em {
  font-style: italic;
  color: var(--gold);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.why-card {
  padding: 50px 40px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  text-align: center;
  transition: all 0.5s;
  position: relative;
}
.why-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(201,169,110,0.08);
}
.why-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.3rem;
  transition: all 0.4s;
}
.why-card:hover .why-card-icon {
  border-color: var(--gold);
  background: var(--gold-dim);
}
.why-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 14px;
  color: var(--text-primary);
}
.why-card-text {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.7;
  font-weight: 300;
}

/* ============================================
   PROCESS / HOW WE WORK
   ============================================ */
.process-section {
  padding: 140px 50px;
  background: var(--bg-secondary);
  position: relative;
}
.process-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}
.process-inner {
  max-width: 1300px;
  margin: 0 auto;
}
.process-header {
  text-align: center;
  margin-bottom: 90px;
}
.process-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
}
.process-title em { font-style: italic; color: var(--gold); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 38px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, var(--border), var(--gold), var(--border));
}

.process-step {
  text-align: center;
  padding: 0 24px;
  position: relative;
}
.step-number {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gold);
  position: relative;
  z-index: 2;
  transition: all 0.4s;
}
.process-step:hover .step-number {
  border-color: var(--gold);
  background: var(--gold-dim);
  box-shadow: 0 0 30px rgba(201,169,110,0.15);
}
.step-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 12px;
}
.step-text {
  color: var(--text-secondary);
  font-size: 0.83rem;
  line-height: 1.65;
  font-weight: 300;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 160px 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,110,0.1) 0%, rgba(201,169,110,0.04) 40%, transparent 70%);
  pointer-events: none;
  animation: subtlePulse 6s ease infinite;
}
.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 24px;
}
.cta-title em { font-style: italic; color: var(--gold); }
.cta-text {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 45px;
}
.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid var(--gold-dim);
  border-radius: 50px;
  font-size: 0.7rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 36px;
}

/* ============================================
   RESPONSIVE — HOME SECTIONS
   ============================================ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 40px; }
  .process-steps::before { display: none; }
  .services-header { flex-direction: column; align-items: flex-start; }
  .services-desc { text-align: left; }
  .featured-projects-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-card { min-width: calc(50% - 12px); }
}

@media (max-width: 768px) {
  .hero-content { padding: 0 20px; }
  .about-section,
  .services-section,
  .why-section,
  .process-section,
  .cta-section {
    padding: 80px 24px;
  }
  .portfolio-section { padding: 80px 24px; }
  .testimonials-section { padding: 80px 24px; }
  .about-stats { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .service-card { padding: 40px 30px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .featured-projects-grid { grid-template-columns: 1fr; }
  .testimonial-card { min-width: 100%; }
}

@supports (padding: env(safe-area-inset-top)) {
  .hero { min-height: calc(100vh - var(--safe-top)); }
}
