/* ============================================================
   FRATEUR — Decorate Your Event
   Stylesheet — Cinematic Opulence Theme
   ============================================================ */

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

:root {
  --bg-primary: #080808;
  --bg-elevated: #1A1A1A;
  --bg-tertiary: #2A2A2A;
  --accent: #FF6B00;
  --accent-hover: #FF8A33;
  --accent-glow: #FFB366;
  --accent-orange: #FF7500;
  --accent-orange-light: #FF8200;
  --text-primary: #F2EDE8;
  --text-secondary: #8A8580;
  --text-bright: #FFFFFF;
  --neutral: #E5E5E5;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --container-max: 1200px;
  --section-padding: clamp(80px, 10vw, 140px);
  --section-padding-x: clamp(20px, 4vw, 80px);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

ul {
  list-style: none;
}

strong {
  color: var(--accent);
  font-weight: 600;
}

/* === Preloader === */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

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

.preloader-logo {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-bright);
  letter-spacing: 0.3em;
  margin-bottom: 24px;
}

.preloader-bar {
  width: 200px;
  height: 2px;
  background: var(--bg-tertiary);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}

.preloader-bar-fill {
  width: 0%;
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  animation: preloaderFill 1.5s ease-in-out forwards;
}

@keyframes preloaderFill {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* === Navigation === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: rgba(8, 8, 8, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 107, 0, 0.1);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--section-padding-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-bright);
  letter-spacing: 0.2em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--text-bright);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--accent) !important;
  color: var(--text-bright) !important;
  padding: 10px 24px !important;
  border-radius: 4px;
  font-weight: 600 !important;
  transition: background 0.3s ease !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--accent-hover) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-bright);
  transition: all 0.3s ease;
  border-radius: 2px;
}

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

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

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

/* === Hero Section === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% {
    opacity: 0;
    transform: translateY(100vh) scale(0);
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    opacity: 0;
    transform: translateY(-10vh) scale(1);
  }
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255, 107, 0, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(255, 117, 0, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 130, 0, 0.04) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 20px;
}

.hero-logo-wrapper {
  margin-bottom: 24px;
}

.hero-logo {
  max-width: 320px;
  margin: 0 auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.hero-logo-text {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  color: var(--text-bright);
  letter-spacing: 0.25em;
  text-shadow: 0 0 80px rgba(255, 107, 0, 0.3);
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.5vw, 1.1rem);
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 60px;
}

.hero-scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: heroScrollPulse 2s ease-in-out infinite;
}

.hero-scroll-indicator span {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  transform: rotate(45deg);
}

@keyframes heroScrollPulse {
  0%, 100% { opacity: 0.4; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(6px); }
}

/* === Section Common Styles === */
.section {
  padding: var(--section-padding) 0;
  position: relative;
}

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

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--text-bright);
  line-height: 1.15;
  letter-spacing: 0.05em;
}

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

.title-accent-line {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 20px auto 0;
  border-radius: 2px;
}

/* === Mirrorball Section === */
.mirrorball-section {
  background: var(--bg-primary);
}

.mirrorball-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 60px;
}

.mirrorball-hero-image img {
  width: 100%;
  border-radius: 8px;
}

.mirrorball-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px;
  background: var(--bg-elevated);
  border-radius: 8px;
  border: 1px solid var(--bg-tertiary);
}

.mirrorball-sphere {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%,
    var(--accent-glow) 0%,
    var(--accent) 30%,
    #cc5500 60%,
    #663300 80%,
    #331a00 100%);
  box-shadow:
    0 0 60px rgba(255, 107, 0, 0.4),
    0 0 120px rgba(255, 107, 0, 0.2),
    inset 0 -20px 40px rgba(0,0,0,0.5);
  margin-bottom: 24px;
  animation: sphereGlow 4s ease-in-out infinite;
}

@keyframes sphereGlow {
  0%, 100% { box-shadow: 0 0 60px rgba(255, 107, 0, 0.4), 0 0 120px rgba(255, 107, 0, 0.2), inset 0 -20px 40px rgba(0,0,0,0.5); }
  50% { box-shadow: 0 0 80px rgba(255, 107, 0, 0.6), 0 0 160px rgba(255, 107, 0, 0.3), inset 0 -20px 40px rgba(0,0,0,0.5); }
}

.mirrorball-placeholder p {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-bright);
  letter-spacing: 0.15em;
}

.mirrorball-hero-desc {
  padding: 20px 0;
}

.mirrorball-lead {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.mirrorball-hero-desc p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.mirrorball-highlight {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent) !important;
  margin-top: 20px;
}

/* === Specs Panel === */
.specs-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--bg-tertiary);
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 60px;
}

.specs-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 30px;
  text-align: center;
  letter-spacing: 0.05em;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--bg-tertiary);
}

.spec-item:last-child,
.spec-item:nth-last-child(2):nth-child(odd) {
  border-bottom: none;
}

.spec-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.spec-value {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent);
  text-align: right;
}

/* === References Carousel === */
.references-block {
  margin-top: 20px;
}

.references-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-bright);
  text-align: center;
  margin-bottom: 30px;
  letter-spacing: 0.05em;
}

.references-carousel {
  position: relative;
  overflow: hidden;
}

.references-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 10px 0;
}

.reference-card {
  flex: 0 0 calc(33.333% - 14px);
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--bg-elevated);
}

.reference-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.reference-card:hover img {
  transform: scale(1.08);
}

.reference-card .img-error {
  display: none;
}

.reference-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 8, 8, 0.8) 0%, transparent 60%);
}

.reference-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  z-index: 1;
}

.reference-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-bright);
  letter-spacing: 0.05em;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--bg-tertiary);
  background: var(--bg-elevated);
  color: var(--text-bright);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--text-bright);
}

/* === Decor Section === */
.decor-section {
  background: var(--bg-primary);
}

.decor-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 60px;
}

.decor-intro-text h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 20px;
}

.decor-intro-text p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.decor-intro-image img {
  width: 100%;
  border-radius: 8px;
}

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

.decor-card {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-elevated);
  position: relative;
  cursor: pointer;
}

.decor-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.decor-card:hover img {
  transform: scale(1.05);
}

.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--bg-tertiary);
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.card-placeholder {
  min-height: 200px;
  background:
    linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-tertiary) 100%);
}

/* === Construct Section === */
.construct-section {
  background: var(--bg-elevated);
}

.construct-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}

.construct-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.construct-step {
  background: var(--bg-primary);
  border: 1px solid var(--bg-tertiary);
  border-radius: 12px;
  padding: 32px;
  position: relative;
  transition: all 0.4s ease;
}

.construct-step:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.2;
  position: absolute;
  top: 16px;
  right: 24px;
  line-height: 1;
}

.step-image {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--bg-tertiary);
}

.step-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
}

.step-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.step-content h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 10px;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* === Services Section === */
.services-section {
  background: var(--bg-primary);
}

.services-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}

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

.service-card {
  background: var(--bg-elevated);
  border: 1px solid var(--bg-tertiary);
  border-radius: 12px;
  padding: 40px 32px;
  text-align: center;
  transition: all 0.4s ease;
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon img {
  max-width: 80px;
  max-height: 80px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.service-icon-placeholder {
  font-size: 2.5rem;
  color: var(--accent);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* === CTA Section === */
.cta-section {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cta-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8, 8, 8, 0.85) 0%,
    rgba(255, 107, 0, 0.15) 50%,
    rgba(8, 8, 8, 0.9) 100%
  );
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
}

.cta-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: var(--accent);
  margin-bottom: 40px;
}

.cta-button {
  display: inline-block;
  padding: 16px 48px;
  background: var(--accent);
  color: var(--text-bright);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(255, 107, 0, 0.3);
}

/* === Contact Section === */
.contact-section {
  background: var(--bg-primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  padding: 40px;
  background: var(--bg-elevated);
  border: 1px solid var(--bg-tertiary);
  border-radius: 12px;
}

.contact-block {
  margin-bottom: 28px;
}

.contact-block:last-child {
  margin-bottom: 0;
}

.contact-block h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-bright);
  letter-spacing: 0.1em;
}

.contact-tagline {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  margin-top: 4px;
}

.contact-block h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.contact-block p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-block a {
  color: var(--text-primary);
  transition: color 0.3s ease;
}

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

.social-links {
  display: flex;
  gap: 16px;
}

.social-link {
  padding: 8px 16px;
  border: 1px solid var(--bg-tertiary);
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--text-secondary) !important;
  transition: all 0.3s ease;
}

.social-link:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
}

/* === Contact Form === */
.contact-form-wrapper h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 28px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-elevated);
  border: 1px solid var(--bg-tertiary);
  border-radius: 6px;
  padding: 14px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-secondary);
  opacity: 0.5;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group select {
  appearance: none;
  -webkit-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='%238A8580' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

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

.form-submit {
  align-self: flex-start;
  padding: 14px 40px;
  background: var(--accent);
  color: var(--text-bright);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 107, 0, 0.3);
}

/* === Footer === */
.footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--bg-tertiary);
  padding: 60px 0 0;
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--section-padding-x);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--bg-tertiary);
}

.footer-logo {
  max-width: 180px;
  filter: brightness(0) invert(1);
  margin-bottom: 12px;
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-bright);
  letter-spacing: 0.2em;
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-links-group h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.footer-links-group ul li {
  margin-bottom: 10px;
}

.footer-links-group ul li a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.footer-links-group ul li a:hover {
  color: var(--text-bright);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.footer-credit {
  font-family: var(--font-display);
  font-style: italic;
}

/* === Scroll Animations === */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* === Responsive === */
@media (max-width: 1024px) {
  .mirrorball-hero {
    grid-template-columns: 1fr;
  }

  .decor-intro {
    grid-template-columns: 1fr;
  }

  .construct-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

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

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(8, 8, 8, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 40px;
    transition: right 0.4s ease;
    border-left: 1px solid var(--bg-tertiary);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1rem;
  }

  .reference-card {
    flex: 0 0 calc(50% - 10px);
  }

  .construct-steps {
    grid-template-columns: 1fr;
  }

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

  .decor-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .reference-card {
    flex: 0 0 100%;
  }

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

  .specs-panel {
    padding: 24px 16px;
  }

  .hero-logo {
    max-width: 200px;
  }
}

/* === Selection Color === */
::selection {
  background: var(--accent);
  color: var(--text-bright);
}

/* === Scrollbar === */
::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 4px;
}

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