/* ═══════════════════════════════════════════════════════════
   AMNA GROUP — Ultra-Premium 3D Cinematic Website
   Design System: Luxury Futuristic Architecture
   Palette: Deep Red · Black · Charcoal · Metallic White
═══════════════════════════════════════════════════════════ */

/* ── CSS VARIABLES ── */
:root {
  --red:        #c0392b;
  --red-bright: #e74c3c;
  --red-glow:   rgba(192, 57, 43, 0.6);
  --red-soft:   rgba(192, 57, 43, 0.15);
  --black:      #000000;
  --dark-1:     #080808;
  --dark-2:     #0f0f0f;
  --dark-3:     #161616;
  --dark-4:     #1e1e1e;
  --charcoal:   #2a2a2a;
  --gray-1:     #3a3a3a;
  --gray-2:     #555555;
  --gray-3:     #888888;
  --gray-4:     #aaaaaa;
  --white:      #ffffff;
  --off-white:  #f0ece8;
  --metallic:   #c8c0b8;

  --font-display: 'Cormorant Garamond', serif;
  --font-ui:      'Syne', sans-serif;
  --font-body:    'Space Grotesk', sans-serif;

  --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-snap:   cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --glass-bg:     rgba(255,255,255,0.03);
  --glass-border: rgba(255,255,255,0.08);
  --glass-blur:   blur(20px);

  --section-pad: clamp(80px, 10vw, 140px);
  --container:   1280px;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--dark-1);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

body.loading { overflow: hidden; }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: none; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: var(--font-body); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

/* ── CUSTOM CURSOR ── */
.cursor-outer,
.cursor-inner {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  mix-blend-mode: difference;
  transition: opacity 0.3s;
}

.cursor-outer {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(192, 57, 43, 0.8);
  transform: translate(-50%, -50%);
  transition: transform 0.15s var(--ease-snap), width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor-inner {
  width: 6px;
  height: 6px;
  background: var(--red-bright);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px var(--red-glow);
  transition: transform 0.05s, width 0.3s, height 0.3s;
}

.cursor-outer.hovering {
  width: 60px;
  height: 60px;
  border-color: var(--red-bright);
  background: rgba(192, 57, 43, 0.08);
}

.cursor-inner.hovering {
  width: 4px;
  height: 4px;
}

/* ═══════════════════════════════════════════════════════════
   CINEMATIC LOADER
═══════════════════════════════════════════════════════════ */
.loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#particleCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Loader logo wrap */
.loader-logo-wrap {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}

.loader-logo-container {
  position: relative;
  width: clamp(280px, 40vw, 520px);
  transform: perspective(800px) rotateX(0deg);
}

.loader-logo-img {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
  /* Will be animated to full color */
  position: relative;
  z-index: 2;
}

.loader-logo-reflection {
  position: absolute;
  bottom: -20px;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.08), transparent);
  transform: scaleY(-1) translateY(-100%);
  filter: blur(4px);
  opacity: 0;
  z-index: 1;
}

.loader-logo-glow {
  position: absolute;
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(192,57,43,0.4) 0%, transparent 70%);
  filter: blur(40px);
  animation: loaderGlowPulse 2s ease-in-out infinite alternate;
}

@keyframes loaderGlowPulse {
  from { opacity: 0.4; transform: scale(0.9); }
  to   { opacity: 0.8; transform: scale(1.1); }
}

.loader-smoke {
  position: absolute;
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(40,40,40,0.6) 0%, transparent 70%);
  filter: blur(60px);
  animation: smokeDrift 4s ease-in-out infinite alternate;
}

@keyframes smokeDrift {
  from { transform: translateY(0) scale(1); opacity: 0.3; }
  to   { transform: translateY(-20px) scale(1.1); opacity: 0.6; }
}

.loader-red-glow-left,
.loader-red-glow-right {
  position: absolute;
  width: 200px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(192,57,43,0.3) 0%, transparent 70%);
  filter: blur(30px);
  opacity: 0;
}

.loader-red-glow-left  { left: -100px; }
.loader-red-glow-right { right: -100px; }

/* Wireframes */
.loader-wireframes {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.wireframe-svg {
  width: 100%;
  height: 100%;
}

/* Progress */
.loader-progress-wrap {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(200px, 30vw, 400px);
  height: 1px;
  background: rgba(255,255,255,0.1);
  z-index: 20;
}

.loader-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--red), var(--red-bright));
  box-shadow: 0 0 10px var(--red-glow);
  transition: width 0.1s linear;
}

.loader-progress-text {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gray-3);
  z-index: 20;
}

.loader-skip {
  position: absolute;
  bottom: 30px;
  right: 40px;
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--gray-2);
  cursor: none;
  z-index: 20;
  padding: 8px 16px;
  border: 1px solid var(--gray-1);
  transition: color 0.3s, border-color 0.3s;
}

.loader-skip:hover {
  color: var(--red);
  border-color: var(--red);
}

/* ═══════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background 0.4s, padding 0.4s, backdrop-filter 0.4s;
}

.navbar.scrolled {
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  border-bottom: 1px solid rgba(192, 57, 43, 0.15);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  flex-shrink: 0;
}

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

.nav-logo:hover img {
  filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(192,57,43,0.8));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
}

.nav-link {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-3);
  position: relative;
  transition: color 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--red);
  transition: width 0.3s var(--ease-luxury);
  box-shadow: 0 0 6px var(--red-glow);
}

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

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--red);
  padding: 10px 22px;
  border: 1px solid var(--red);
  transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
  white-space: nowrap;
}

.nav-cta:hover {
  background: transparent;
  box-shadow: 0 0 20px var(--red-glow), inset 0 0 20px rgba(192,57,43,0.1);
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

/* ═══════════════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.hero-bg {
  position: absolute;
  inset: -10%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform-origin: center;
  will-change: transform;
  transition: transform 0.1s linear;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.hero-overlay-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, transparent 100%),
    linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 50%, rgba(192,57,43,0.12) 0%, transparent 60%);
}

.hero-scanlines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.03) 2px,
    rgba(0,0,0,0.03) 4px
  );
  pointer-events: none;
}

.hero-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-layer-1 {
  background: radial-gradient(ellipse at 80% 20%, rgba(192,57,43,0.08) 0%, transparent 50%);
  animation: heroLayerFloat1 8s ease-in-out infinite alternate;
}

.hero-layer-2 {
  background: radial-gradient(ellipse at 10% 80%, rgba(192,57,43,0.06) 0%, transparent 40%);
  animation: heroLayerFloat2 10s ease-in-out infinite alternate;
}

@keyframes heroLayerFloat1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(20px, -20px) scale(1.05); }
}

@keyframes heroLayerFloat2 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-15px, 15px) scale(1.03); }
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
  padding-top: 80px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray-3);
  border: 1px solid rgba(192,57,43,0.3);
  padding: 8px 18px;
  margin-bottom: 28px;
  background: rgba(192,57,43,0.05);
  backdrop-filter: blur(10px);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red-glow);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 8px var(--red-glow); }
  50%       { box-shadow: 0 0 16px var(--red-glow), 0 0 30px rgba(192,57,43,0.3); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 110px);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.hero-title-line {
  display: block;
  color: var(--white);
}

.hero-title-accent {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 40%, #ff6b6b 70%, #c0392b 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease-in-out infinite alternate;
  text-shadow: none;
  filter: drop-shadow(0 0 20px rgba(192,57,43,0.4));
}

@keyframes gradientShift {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero-subtitle {
  font-family: var(--font-ui);
  font-size: clamp(13px, 1.5vw, 16px);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-3);
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* ── BUTTONS ── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 16px 32px;
  overflow: hidden;
  transition: transform 0.3s var(--ease-luxury), box-shadow 0.3s;
  cursor: none;
}

.btn-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border: 1px solid var(--red);
}

.btn-primary .btn-glow {
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.2), transparent);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(192,57,43,0.5), 0 0 60px rgba(192,57,43,0.2);
}

.btn-primary:hover .btn-glow { opacity: 1; }

.btn-whatsapp {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
}

.btn-whatsapp .btn-glow {
  background: radial-gradient(ellipse at center, rgba(37,211,102,0.15), transparent);
}

.btn-whatsapp:hover {
  border-color: #25d366;
  color: #25d366;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(37,211,102,0.2);
}

.btn-whatsapp:hover .btn-glow { opacity: 1; }

.btn-full { width: 100%; justify-content: center; }

/* Hero stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 500px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  padding: 0 28px;
}

.stat-item:first-child { padding-left: 0; }

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.stat-plus {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 30px);
  color: var(--red);
  font-weight: 600;
}

.stat-label {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-3);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  right: clamp(20px, 5vw, 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 5;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--red));
  animation: scrollLinePulse 2s ease-in-out infinite;
}

@keyframes scrollLinePulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1; transform: scaleY(1.1); }
}

.scroll-indicator span {
  font-family: var(--font-ui);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--gray-3);
  writing-mode: vertical-rl;
}

/* ═══════════════════════════════════════════════════════════
   SECTION SHARED STYLES
═══════════════════════════════════════════════════════════ */
.section-header {
  text-align: center;
  margin-bottom: clamp(50px, 7vw, 80px);
}

.section-tag {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  position: relative;
  padding: 0 20px;
}

.section-tag::before,
.section-tag::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
  background: var(--red);
  opacity: 0.5;
}

.section-tag::before { right: 100%; margin-right: -20px; }
.section-tag::after  { left: 100%; margin-left: -20px; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 16px;
}

.text-red {
  color: var(--red);
  text-shadow: 0 0 30px rgba(192,57,43,0.4);
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.5vw, 16px);
  color: var(--gray-3);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   SERVICES SECTION
═══════════════════════════════════════════════════════════ */
.services-section {
  padding: var(--section-pad) 0;
  position: relative;
  background: var(--dark-2);
  overflow: hidden;
}

.section-bg-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

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

.service-card {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  padding: 40px 28px;
  overflow: hidden;
  transition: transform 0.4s var(--ease-luxury), box-shadow 0.4s;
  transform-style: preserve-3d;
  cursor: none;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(192,57,43,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover {
  transform: translateY(-12px) rotateX(2deg) rotateY(-1deg);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.5),
    0 0 40px rgba(192,57,43,0.15),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

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

.card-glow {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(192,57,43,0.4), transparent 70%);
  filter: blur(20px);
  opacity: 0;
  transition: opacity 0.4s, bottom 0.4s;
}

.service-card:hover .card-glow {
  opacity: 1;
  bottom: -20px;
}

.card-border-glow {
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(192,57,43,0.4), transparent, rgba(192,57,43,0.2)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover .card-border-glow { opacity: 1; }

.service-icon-wrap {
  margin-bottom: 28px;
}

.service-icon {
  width: 64px;
  height: 64px;
  position: relative;
}

.service-icon svg {
  width: 100%;
  height: 100%;
  transition: transform 0.4s var(--ease-luxury);
}

.service-card:hover .service-icon svg {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 0 8px rgba(192,57,43,0.6));
}

.service-title {
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.service-desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--gray-3);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-arrow {
  color: var(--red);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s, transform 0.3s;
}

.service-card:hover .service-arrow {
  opacity: 1;
  transform: translateX(0);
}

.card-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  transition: color 0.4s;
  user-select: none;
}

.service-card:hover .card-number {
  color: rgba(192,57,43,0.06);
}

/* ═══════════════════════════════════════════════════════════
   PROJECTS SECTION
═══════════════════════════════════════════════════════════ */
.projects-section {
  padding: var(--section-pad) 0;
  background: var(--dark-1);
  position: relative;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  grid-template-rows: auto;
  gap: 16px;
  align-items: start;
}

.project-card {
  position: relative;
  overflow: hidden;
  cursor: none;
}

.project-card-large {
  grid-row: span 1;
}

.project-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.project-card-large .project-img-wrap {
  aspect-ratio: 3/4;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-luxury);
  will-change: transform;
}

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

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s;
  display: flex;
  align-items: flex-end;
  padding: 28px;
}

.project-card:hover .project-overlay { opacity: 1; }

.project-overlay-content {
  transform: translateY(20px);
  transition: transform 0.4s var(--ease-luxury);
}

.project-card:hover .project-overlay-content {
  transform: translateY(0);
}

.project-category {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 6px;
}

.project-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.project-overlay-content p {
  font-size: 12px;
  color: var(--gray-3);
  margin-bottom: 14px;
}

.project-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  border-bottom: 1px solid var(--red);
  padding-bottom: 2px;
}

.project-shine {
  position: absolute;
  top: -100%;
  left: -100%;
  width: 60%;
  height: 200%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.06) 50%, transparent 60%);
  transition: left 0.6s var(--ease-luxury), top 0.6s var(--ease-luxury);
  pointer-events: none;
}

.project-card:hover .project-shine {
  left: 150%;
  top: -100%;
}

.project-info {
  padding: 16px 0 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.project-tag {
  font-family: var(--font-ui);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid rgba(192,57,43,0.3);
  padding: 3px 10px;
}

.project-info h3 {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-3);
  letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════════════════════
   WHY CHOOSE US
═══════════════════════════════════════════════════════════ */
.why-section {
  padding: var(--section-pad) 0;
  background: var(--dark-2);
  position: relative;
  overflow: hidden;
}

.why-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(192,57,43,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 8vw, 100px);
  align-items: center;
}

.why-left .section-tag,
.why-left .section-title {
  text-align: left;
}

.why-left .section-tag::before { display: none; }
.why-left .section-tag { padding-left: 0; }

.why-desc {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--gray-3);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 420px;
}

.why-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 22px 24px;
  transition: transform 0.3s var(--ease-luxury), border-color 0.3s, box-shadow 0.3s;
  cursor: none;
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--red);
  transform: scaleY(0);
  transition: transform 0.3s var(--ease-luxury);
  box-shadow: 0 0 10px var(--red-glow);
}

.why-card:hover {
  transform: translateX(8px);
  border-color: rgba(192,57,43,0.3);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3), 0 0 20px rgba(192,57,43,0.08);
}

.why-card:hover::before { transform: scaleY(1); }

.why-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.why-icon svg {
  width: 100%;
  height: 100%;
  transition: transform 0.3s;
}

.why-card:hover .why-icon svg {
  transform: scale(1.1);
  filter: drop-shadow(0 0 6px rgba(192,57,43,0.5));
}

.why-content h4 {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 4px;
}

.why-content p {
  font-size: 12px;
  color: var(--gray-3);
  line-height: 1.6;
}

.why-check {
  margin-left: auto;
  flex-shrink: 0;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.3s, transform 0.3s;
}

.why-card:hover .why-check {
  opacity: 1;
  transform: scale(1);
}

/* ═══════════════════════════════════════════════════════════
   CONTACT SECTION
═══════════════════════════════════════════════════════════ */
.contact-section {
  padding: var(--section-pad) 0;
  background: var(--dark-1);
  position: relative;
  overflow: hidden;
}

.contact-bg-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(192,57,43,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.contact-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}

.contact-info-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 18px;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(192,57,43,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--red);
  transition: background 0.3s, box-shadow 0.3s;
}

.contact-info-icon svg {
  width: 18px;
  height: 18px;
}

.contact-info-icon.whatsapp-icon {
  color: #25d366;
  border-color: rgba(37,211,102,0.3);
}

.contact-info-item:hover .contact-info-icon {
  background: rgba(192,57,43,0.1);
  box-shadow: 0 0 20px rgba(192,57,43,0.2);
}

.contact-label {
  display: block;
  font-family: var(--font-ui);
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray-2);
  margin-bottom: 4px;
}

.contact-value {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  transition: color 0.3s;
}

a.contact-value:hover { color: var(--red); }

/* Contact form */
.contact-form {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 40px;
  overflow: hidden;
}

.form-glow {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(192,57,43,0.08), transparent 70%);
  pointer-events: none;
}

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

.form-group {
  margin-bottom: 24px;
  position: relative;
}

.form-group label {
  display: block;
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-3);
  margin-bottom: 10px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 12px 0;
  color: var(--white);
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
  -webkit-appearance: none;
}

.form-group select {
  cursor: none;
}

.form-group select option {
  background: var(--dark-3);
  color: var(--white);
}

.form-group textarea {
  resize: none;
}

.input-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--red);
  box-shadow: 0 0 8px var(--red-glow);
  transition: width 0.4s var(--ease-luxury);
}

.form-group:focus-within .input-line { width: 100%; }
.form-group:focus-within input,
.form-group:focus-within textarea,
.form-group:focus-within select {
  border-bottom-color: transparent;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.footer {
  background: var(--black);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  box-shadow: 0 0 30px var(--red-glow);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: clamp(30px, 5vw, 60px);
  margin-bottom: 60px;
}

.footer-logo {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
  transition: filter 0.3s;
}

.footer-logo:hover {
  filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(192,57,43,0.8));
}

.footer-tagline {
  font-size: 13px;
  color: var(--gray-2);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 36px;
  height: 36px;
  border: 1px solid var(--gray-1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-3);
  transition: border-color 0.3s, color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.social-link svg {
  width: 14px;
  height: 14px;
}

.social-link:hover {
  border-color: var(--red);
  color: var(--red);
  box-shadow: 0 0 15px rgba(192,57,43,0.3);
  transform: translateY(-2px);
}

.footer-links-col h5 {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-col a {
  font-size: 13px;
  color: var(--gray-2);
  transition: color 0.3s, padding-left 0.3s;
  display: inline-block;
}

.footer-links-col a:hover {
  color: var(--red);
  padding-left: 6px;
}

.footer-contact-col h5 {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--gray-2);
  font-size: 13px;
}

.footer-contact-item svg {
  color: var(--red);
  flex-shrink: 0;
}

.footer-contact-item a {
  color: var(--gray-2);
  transition: color 0.3s;
}

.footer-contact-item a:hover { color: var(--red); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 24px 0;
}

.footer-line {
  display: none;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom-content p {
  font-size: 12px;
  color: var(--gray-2);
}

.footer-tagline-bottom {
  font-family: var(--font-ui);
  font-size: 10px !important;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-1) !important;
}

/* ═══════════════════════════════════════════════════════════
   FLOATING ACTION BUTTONS
═══════════════════════════════════════════════════════════ */
.fab {
  position: fixed;
  right: 28px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  transition: transform 0.3s var(--ease-luxury), box-shadow 0.3s;
  cursor: none;
  overflow: visible;
}

.fab svg {
  width: 22px;
  height: 22px;
  position: relative;
  z-index: 2;
}

.fab-glow {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s;
}

.fab:hover {
  transform: scale(1.12) translateY(-2px);
}

.fab:hover .fab-glow { opacity: 1; }

.fab-call {
  bottom: 100px;
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(192,57,43,0.4);
}

.fab-call .fab-glow {
  background: radial-gradient(circle, rgba(192,57,43,0.4), transparent 70%);
}

.fab-call:hover {
  box-shadow: 0 8px 30px rgba(192,57,43,0.6);
}

.fab-whatsapp {
  bottom: 36px;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
}

.fab-whatsapp .fab-glow {
  background: radial-gradient(circle, rgba(37,211,102,0.4), transparent 70%);
}

.fab-whatsapp:hover {
  box-shadow: 0 8px 30px rgba(37,211,102,0.6);
}

.fab-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  background: var(--dark-3);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  border: 1px solid var(--glass-border);
}

.fab:hover .fab-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ═══════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
═══════════════════════════════════════════════════════════ */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-luxury), transform 0.8s var(--ease-luxury);
}

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

.reveal-card {
  opacity: 0;
  transform: translateY(50px) scale(0.96);
  transition: opacity 0.7s var(--ease-luxury), transform 0.7s var(--ease-luxury);
}

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

.reveal-project {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-luxury), transform 0.8s var(--ease-luxury);
}

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

.reveal-why {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s var(--ease-luxury), transform 0.7s var(--ease-luxury);
}

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

/* ═══════════════════════════════════════════════════════════
   MAIN SITE TRANSITION
═══════════════════════════════════════════════════════════ */
.main-site {
  transition: opacity 0.8s var(--ease-luxury);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .project-card-large {
    grid-column: span 2;
  }

  .project-card-large .project-img-wrap {
    aspect-ratio: 16/7;
  }

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

@media (max-width: 900px) {
  .why-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .why-left .section-title {
    font-size: clamp(32px, 6vw, 48px);
  }

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

  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .nav-hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.97);
    backdrop-filter: blur(20px);
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 999;
  }

  .nav-links.open .nav-link {
    font-size: 18px;
    letter-spacing: 0.2em;
  }
}

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

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

  .project-card-large {
    grid-column: span 1;
  }

  .project-card-large .project-img-wrap {
    aspect-ratio: 4/3;
  }

  .hero-stats {
    gap: 0;
  }

  .stat-item {
    padding: 0 16px;
  }

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

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

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .contact-form {
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    justify-content: center;
  }

  .loader-logo-container {
    width: 85vw;
  }
}

/* ═══════════════════════════════════════════════════════════
   EXTRA CINEMATIC DETAILS
═══════════════════════════════════════════════════════════ */

/* Red separator lines between sections */
.services-section::before,
.projects-section::before,
.why-section::before,
.contact-section::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(192,57,43,0.4) 30%, rgba(192,57,43,0.8) 50%, rgba(192,57,43,0.4) 70%, transparent 100%);
  box-shadow: 0 0 20px rgba(192,57,43,0.3);
}

/* Animated border on hero */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  animation: heroBorderPulse 3s ease-in-out infinite;
  z-index: 6;
}

@keyframes heroBorderPulse {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 1; box-shadow: 0 0 20px var(--red-glow); }
}

/* Glowing red corner accents on service cards */
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 28px 28px 0;
  border-color: transparent rgba(192,57,43,0.15) transparent transparent;
  transition: border-color 0.3s;
}

.service-card:hover::after {
  border-color: transparent rgba(192,57,43,0.5) transparent transparent;
}

/* Metallic sheen on project images */
.project-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

/* Pulsing dot animation for badge */
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 6px rgba(192,57,43,0.6); transform: scale(1); }
  50%       { box-shadow: 0 0 14px rgba(192,57,43,0.9), 0 0 28px rgba(192,57,43,0.3); transform: scale(1.2); }
}

/* Loader wireframe animations */
.wire-building-left,
.wire-building-right {
  animation: wireFloat 4s ease-in-out infinite alternate;
}

.wire-building-right {
  animation-delay: -2s;
}

@keyframes wireFloat {
  from { transform: translateY(0); }
  to   { transform: translateY(-8px); }
}

.wire-floaters rect:first-child {
  animation: floaterSpin1 8s linear infinite;
  transform-origin: 230px 330px;
}

.wire-floaters rect:last-child {
  animation: floaterSpin2 10s linear infinite reverse;
  transform-origin: 975px 305px;
}

@keyframes floaterSpin1 {
  from { transform: rotate(15deg); }
  to   { transform: rotate(375deg); }
}

@keyframes floaterSpin2 {
  from { transform: rotate(-20deg); }
  to   { transform: rotate(-380deg); }
}

/* Glowing text for section tags */
.section-tag {
  text-shadow: 0 0 20px rgba(192,57,43,0.4);
}

/* Premium input placeholder */
::placeholder {
  color: var(--gray-1);
  font-size: 13px;
}

/* Smooth image loading */
.project-img {
  background: var(--dark-3);
}

/* Footer top glow line animation */
.footer-glow {
  animation: footerGlowPulse 3s ease-in-out infinite alternate;
}

@keyframes footerGlowPulse {
  from { opacity: 0.5; box-shadow: 0 0 20px rgba(192,57,43,0.3); }
  to   { opacity: 1;   box-shadow: 0 0 40px rgba(192,57,43,0.6); }
}

/* Scroll indicator enhanced */
.scroll-indicator {
  animation: scrollIndicatorFade 3s ease-in-out infinite;
}

@keyframes scrollIndicatorFade {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--dark-1); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--red-bright); }

/* ── Selection ── */
::selection {
  background: rgba(192,57,43,0.3);
  color: var(--white);
}