/* ============================================================
   MARLOX USLUGE - Main Stylesheet
   Premium Facade Construction Company
   Design Direction: Industrial Luxury / 2026 Minimalism
   ============================================================ */

/* === GOOGLE FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Syne:wght@400;500;600;700;800&family=DM+Sans:wght@300;400;500&display=swap');

/* === CSS VARIABLES === */
:root {
  --color-bg: #0d0d0d;
  --color-surface: #141414;
  --color-surface-2: #1a1a1a;
  --color-border: rgba(255,255,255,0.08);
  --color-white: #ffffff;
  --color-gray: #888888;
  --color-gray-light: #cccccc;
  --color-accent: rgb(255, 2, 2);
  --color-accent-light: rgb(255, 70, 70);
  --color-accent-dim: rgba(255, 2, 2, 0.12);

  --font-display: 'Bebas Neue', sans-serif;
  --font-heading: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --nav-height: 80px;
  --section-pad: clamp(80px, 10vw, 140px);
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--color-bg);
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: none; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* === CUSTOM CURSOR === */
.cursor {
  width: 10px; height: 10px;
  background: var(--color-accent);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s ease;
  mix-blend-mode: normal;
}
.cursor-follower {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,2,2,0.4);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.35s ease, width 0.3s, height 0.3s, border-color 0.3s;
}
.cursor.hover { transform: scale(3); }
.cursor-follower.hover { width: 60px; height: 60px; border-color: var(--color-accent); }
@media (hover: none) { .cursor, .cursor-follower { display: none; } body { cursor: auto; } button { cursor: pointer; } }

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-accent); border-radius: 2px; }

/* === NAVBAR === */
#navbar {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 1000;
  height: var(--nav-height);
  display: flex; align-items: center;
  padding: 0 clamp(24px, 5vw, 80px);
  transition: background var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: 0 1px 0 var(--color-border);
}
.nav-inner {
  width: 100%; display: flex;
  align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 28px);
  letter-spacing: 0.08em;
  color: var(--color-white);
  display: flex; align-items: center; gap: 10px;
}
.nav-logo span { color: var(--color-accent); }
.nav-logo::before {
  content: '';
  display: block;
  width: 4px; height: 22px;
  background: var(--color-accent);
  border-radius: 2px;
}
.nav-links {
  display: flex; gap: clamp(24px, 3vw, 48px);
  align-items: center;
}
.nav-links a {
  font-family: var(--font-heading);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--color-gray-light);
  transition: color var(--transition-fast);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--color-accent);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--color-white); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  font-family: var(--font-heading);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 10px 24px;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  border-radius: 2px;
  transition: background var(--transition), color var(--transition);
}
.nav-cta:hover { background: var(--color-accent); color: #000; }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; cursor: pointer;
}
.nav-hamburger span {
  width: 24px; height: 1.5px;
  background: var(--color-white);
  display: block; transition: var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav-mobile {
  position: fixed; top: var(--nav-height); left: 0;
  width: 100%; background: rgba(13,13,13,0.97);
  backdrop-filter: blur(20px);
  padding: 40px; display: none;
  flex-direction: column; gap: 28px;
  transform: translateY(-10px); opacity: 0;
  transition: all var(--transition);
  z-index: 999;
}
.nav-mobile.open { transform: translateY(0); opacity: 1; }
.nav-mobile a {
  font-family: var(--font-heading);
  font-size: 28px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 20px;
}

/* === SECTION BASE === */
.section-label {
  font-family: var(--font-heading);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--color-accent);
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 20px;
}
.section-label::before {
  content: '';
  width: 40px; height: 1px;
  background: var(--color-accent);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  height: 100vh; min-height: 700px;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  transform: scale(1.05);
  will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.65) 50%,
    rgba(0,0,0,0.5) 100%
  );
}
.hero-noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4; pointer-events: none;
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 0 clamp(24px, 6vw, 100px);
  max-width: 1200px;
}
.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--color-accent);
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
  opacity: 0; animation: fadeUp 0.8s ease 0.3s forwards;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ''; width: 30px; height: 1px;
  background: var(--color-accent);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(72px, 12vw, 180px);
  line-height: 0.88; letter-spacing: -0.01em;
  color: var(--color-white);
  opacity: 0; animation: fadeUp 1s ease 0.5s forwards;
}
.hero-title .accent { color: var(--color-accent); }
.hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(14px, 1.8vw, 20px);
  font-weight: 400; color: var(--color-gray-light);
  letter-spacing: 0.05em;
  max-width: 560px; margin: 24px auto 48px;
  opacity: 0; animation: fadeUp 0.8s ease 0.8s forwards;
}
.hero-cta {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.8s ease 1s forwards;
}
.btn-primary {
  font-family: var(--font-heading);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 18px 40px;
  background: var(--color-accent);
  color: #000;
  border-radius: 2px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--color-accent-light);
  transform: translateX(-100%);
  transition: transform var(--transition);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(255,2,2,0.35); }
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary span { position: relative; z-index: 1; }
.btn-secondary {
  font-family: var(--font-heading);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 18px 40px;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}
.btn-secondary:hover {
  border-color: var(--color-white);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  opacity: 0; animation: fadeIn 1s ease 1.5s forwards;
  z-index: 2;
}
.hero-scroll span {
  font-family: var(--font-heading);
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--color-gray);
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, transparent, var(--color-accent));
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0); transform-origin: top; }
  40% { transform: scaleY(1); transform-origin: top; }
  60% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Hero stats bar */
.hero-stats {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; border-top: 1px solid var(--color-border);
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  z-index: 2;
  opacity: 0; animation: fadeIn 1s ease 1.3s forwards;
}
.hero-stat {
  flex: 1; padding: clamp(16px, 2.5vw, 28px) clamp(20px, 3vw, 40px);
  border-right: 1px solid var(--color-border);
  text-align: center;
}
.hero-stat:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  color: var(--color-accent);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-heading);
  font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--color-gray);
  margin-top: 4px;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
#about {
  padding: var(--section-pad) clamp(24px, 6vw, 100px);
  position: relative; overflow: hidden;
  background: var(--color-bg);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
  max-width: 1400px; margin: 0 auto;
}
.about-content { max-width: 560px; }
.about-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 100px);
  line-height: 0.9; letter-spacing: -0.01em;
  color: var(--color-white);
  margin-bottom: 32px;
}
.about-title em {
  font-style: normal;
  color: var(--color-accent);
  display: block;
}
.about-text {
  color: var(--color-gray-light);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.8;
  margin-bottom: 40px;
}
.about-text strong { color: var(--color-white); font-weight: 500; }

.about-image-wrap {
  position: relative;
  aspect-ratio: 4/5;
}
.about-image {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 2px;
  filter: grayscale(15%) contrast(1.05);
}
.about-image-frame {
  position: absolute;
  top: -20px; right: -20px;
  bottom: 20px; left: 20px;
  border: 1px solid var(--color-accent);
  border-radius: 2px;
  z-index: -1;
  opacity: 0.4;
}
.about-image-badge {
  position: absolute; bottom: -1px; left: -1px;
  background: var(--color-accent);
  color: #000;
  padding: 20px 28px;
}
.badge-num {
  font-family: var(--font-display);
  font-size: 48px; line-height: 1; display: block;
}
.badge-txt {
  font-family: var(--font-heading);
  font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase; font-weight: 600;
}

/* Features grid */
.features-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: 2px; margin-top: 48px;
  overflow: hidden;
}
.feature-item {
  padding: 28px 24px;
  background: var(--color-surface);
  transition: background var(--transition);
}
.feature-item:hover { background: var(--color-surface-2); }
.feature-icon {
  width: 40px; height: 40px;
  background: var(--color-accent-dim);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  transition: background var(--transition), transform var(--transition);
}
.feature-item:hover .feature-icon {
  background: var(--color-accent);
  transform: scale(1.05);
}
.feature-item:hover .feature-icon svg { color: #000; }
.feature-icon svg { width: 20px; height: 20px; color: var(--color-accent); transition: color var(--transition); }
.feature-name {
  font-family: var(--font-heading);
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--color-white); margin-bottom: 8px;
}
.feature-desc {
  font-size: 13px; color: var(--color-gray);
  line-height: 1.6;
}

/* ============================================================
   GALLERY SECTION
   ============================================================ */
#gallery {
  padding: var(--section-pad) clamp(24px, 5vw, 80px);
  background: var(--color-surface);
  position: relative;
}
.gallery-header {
  max-width: 1400px; margin: 0 auto 60px;
  display: flex; align-items: flex-end;
  justify-content: space-between; flex-wrap: wrap; gap: 24px;
}
.gallery-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 100px);
  line-height: 0.9; color: var(--color-white);
}
.gallery-title em { font-style: normal; color: var(--color-accent); }
.gallery-count {
  font-family: var(--font-heading);
  font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--color-gray);
  margin-bottom: 8px;
}

.gallery-grid {
  max-width: 1400px; margin: 0 auto;
  columns: 3; column-gap: 16px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  cursor: none;
}
.gallery-item img {
  width: 100%; display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
  filter: grayscale(20%) contrast(1.05);
}
.gallery-item:hover img {
  transform: scale(1.06);
  filter: grayscale(0%) contrast(1.1);
}
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  opacity: 0; transition: opacity var(--transition);
  display: flex; align-items: flex-end;
  padding: 24px;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-label {
  font-family: var(--font-heading);
  font-size: 12px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--color-white);
  display: flex; align-items: center; gap: 10px;
}
.gallery-item-label::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--color-accent);
}

/* Lightbox */
#lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.97);
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(10px);
}
#lightbox.active { opacity: 1; pointer-events: all; }
.lightbox-img {
  max-width: 92vw; max-height: 88vh;
  object-fit: contain;
  border-radius: 2px;
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
#lightbox.active .lightbox-img { transform: scale(1); }
.lightbox-close {
  position: absolute; top: 24px; right: 32px;
  font-family: var(--font-heading);
  font-size: 13px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--color-gray);
  display: flex; align-items: center; gap: 10px;
  transition: color var(--transition);
}
.lightbox-close:hover { color: var(--color-white); }
.lightbox-close::before {
  content: '';
  width: 24px; height: 1px; background: currentColor;
}
.lightbox-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-white);
  transition: all var(--transition);
}
.lightbox-nav:hover { border-color: var(--color-accent); background: var(--color-accent-dim); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-nav svg { width: 20px; height: 20px; }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
#contact {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  position: relative; overflow: hidden;
}
.contact-left {
  background: var(--color-surface);
  padding: var(--section-pad) clamp(40px, 6vw, 100px);
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
}
.contact-left::after {
  content: '';
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 1px; background: var(--color-border);
}
.contact-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 6vw, 90px);
  line-height: 0.9; color: var(--color-white);
  margin-bottom: 40px;
}
.contact-title em { font-style: normal; color: var(--color-accent); display: block; }
.contact-info { margin-top: 48px; display: flex; flex-direction: column; gap: 28px; }
.contact-item {
  display: flex; gap: 16px; align-items: flex-start;
}
.contact-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--color-accent-dim);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.contact-item:hover .contact-icon { background: var(--color-accent); }
.contact-item:hover .contact-icon svg { color: #000; }
.contact-icon svg { width: 20px; height: 20px; color: var(--color-accent); transition: color var(--transition); }
.contact-item-label {
  font-family: var(--font-heading);
  font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--color-gray);
  margin-bottom: 4px;
}
.contact-item-value {
  font-size: 15px; color: var(--color-white); line-height: 1.5;
}

.contact-right {
  background: var(--color-bg);
  padding: var(--section-pad) clamp(40px, 6vw, 100px);
  display: flex; flex-direction: column; justify-content: center;
}

.contact-form {
  max-width: 520px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--color-gray);
  margin-bottom: 8px;
}
.form-input, .form-textarea {
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 2px;
  padding: 14px 18px;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--color-accent);
  background: var(--color-surface-2);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--color-gray); }
.form-textarea { resize: vertical; min-height: 140px; }
.form-submit {
  width: 100%;
  padding: 18px;
  background: var(--color-accent);
  color: #000;
  font-family: var(--font-heading);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  border-radius: 2px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: none;
  position: relative; overflow: hidden;
}
.form-submit:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255,2,2,0.3);
}
.form-submit:active { transform: translateY(0); }
.form-message {
  margin-top: 16px; padding: 14px 18px;
  border-radius: 2px;
  font-family: var(--font-heading);
  font-size: 13px; letter-spacing: 0.05em;
  display: none;
}
.form-message.success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
  display: block;
}
.form-message.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 48px clamp(24px, 6vw, 100px);
}
.footer-inner {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 24px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 22px; letter-spacing: 0.06em;
  color: var(--color-white);
  display: flex; align-items: center; gap: 8px;
}
.footer-logo::before {
  content: '';
  width: 3px; height: 18px;
  background: var(--color-accent);
  border-radius: 2px;
}
.footer-logo span { color: var(--color-accent); }
.footer-copy {
  font-family: var(--font-heading);
  font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--color-gray);
  text-align: center;
}
.footer-contact {
  text-align: right;
  font-size: 13px; color: var(--color-gray);
  line-height: 1.8;
}
.footer-contact a { color: var(--color-accent); transition: color var(--transition); }
.footer-contact a:hover { color: var(--color-white); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Reveal on scroll */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0; transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0; transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  #contact { grid-template-columns: 1fr; }
  .contact-left::after { display: none; }
  .contact-left { padding-bottom: 60px; }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-image-wrap { order: -1; aspect-ratio: 16/9; max-height: 480px; }
  .gallery-grid { columns: 2; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-contact { text-align: center; }
  .hero-stats { display: none; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .gallery-grid { columns: 1; }
  .hero-cta { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; text-align: center; }
}

/* === PAGE LOADER === */
#loader {
  position: fixed; inset: 0;
  background: var(--color-bg);
  z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 24px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-text {
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 60px);
  letter-spacing: 0.1em;
  color: var(--color-white);
}
.loader-text span { color: var(--color-accent); }
.loader-bar-track {
  width: 200px; height: 1px;
  background: var(--color-border);
  position: relative; overflow: hidden;
}
.loader-bar {
  height: 100%;
  background: var(--color-accent);
  animation: loaderAnim 1.4s ease-in-out forwards;
}
@keyframes loaderAnim {
  from { width: 0; }
  to { width: 100%; }
}

/* === SELECTION === */
::selection { background: var(--color-accent); color: #000; }
