/* ============================================
   PARFAY SYSTEMS — styles.css
   Color Scheme: #0174ba (Blue), White, Black
   ============================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blue: #0174ba;
  --blue-light: #0294ec;
  --blue-dark: #015a91;
  --blue-glow: rgba(1, 116, 186, 0.15);
  --white: #ffffff;
  --off-white: #f0f4f8;
  --dark: #0a0a0a;
  --dark2: #0e1218;
  --dark3: #141c24;
  --text: #e8edf2;
  --muted: #7a8fa6;
  --border: rgba(1, 116, 186, 0.2);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
}

/* ── CUSTOM CURSOR ─────────────────────────── */
.cursor {
  position: fixed; width: 10px; height: 10px;
  background: var(--blue); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transition: transform 0.1s;
}
.cursor-ring {
  position: fixed; width: 36px; height: 36px;
  border: 1.5px solid var(--blue); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transition: all 0.18s ease;
  opacity: 0.6;
}

/* ── NAV ───────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 5%;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all 0.4s;
}
nav.scrolled {
  padding: 12px 5%;
  background: rgba(10, 10, 10, 0.97);
}
.nav-logo img {
    width: 250px;
     height: 48px;
     object-fit: contain; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--blue);
  transform: scaleX(0); transition: transform 0.3s;
}
.nav-links a:hover { color: var(--blue-light); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  background: var(--blue); color: var(--white);
  padding: 10px 24px; border: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 700; cursor: none; transition: all 0.3s;
  text-decoration: none; display: inline-block;
}
.nav-cta:hover { background: var(--blue-light); transform: translateY(-1px); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: none; background: none; border: none; }
.hamburger span { width: 24px; height: 2px; background: var(--blue); transition: all 0.3s; }

/* ── HERO ──────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #071626 55%, #0e1a28 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(1, 116, 186, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(1, 116, 186, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
}
.hero-glow {
  position: absolute; top: 20%; right: 10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(1, 116, 186, 0.12) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}
.hero-glow2 {
  position: absolute; bottom: 10%; left: 5%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
  animation: pulse 6s ease-in-out infinite reverse;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.15); opacity: 0.6; }
}

.hero-content {
  position: relative; z-index: 2;
  padding: 0 5%; max-width: 800px;
  padding-top: 100px;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--blue-light); margin-bottom: 28px;
  opacity: 0; animation: fadeUp 0.8s 0.2s forwards;
}
.hero-tag::before {
  content: ''; display: block; width: 30px; height: 1px; background: var(--blue-light);
}
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(64px, 10vw, 130px);
  line-height: 0.92;
  color: var(--white);
  opacity: 0; animation: fadeUp 0.8s 0.4s forwards;
}
.hero-title span { color: var(--blue-light); }

.hero-sub {
  font-size: 17px; line-height: 1.7; color: var(--muted);
  max-width: 520px; margin: 28px 0 42px;
  opacity: 0; animation: fadeUp 0.8s 0.6s forwards;
}
.hero-btns {
  display: flex; gap: 16px; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.8s 0.8s forwards;
}

.btn-primary {
  background: var(--blue); color: var(--white);
  padding: 16px 40px; border: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 700; cursor: none; transition: all 0.3s;
  text-decoration: none; display: inline-block;
}
.btn-primary:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(1, 116, 186, 0.4);
}
.btn-outline {
  background: transparent; color: var(--white);
  padding: 16px 40px; border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; letter-spacing: 2px; text-transform: uppercase;
  cursor: none; transition: all 0.3s;
  text-decoration: none; display: inline-block;
}
.btn-outline:hover { border-color: var(--blue-light); color: var(--blue-light); }

.hero-stats {
  position: absolute;  bottom: -13%;
  display: flex; gap: 48px; z-index: 2;
  opacity: 0; animation: fadeUp 0.8s 1s forwards;
}
.stat { text-align: center; }
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 52px; color: var(--blue-light); line-height: 1;
}
.stat-label {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); margin-top: 4px;
}

.scroll-line {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--muted);
}
.scroll-line::after {
  content: ''; display: block; width: 1px; height: 50px;
  background: linear-gradient(var(--blue), transparent);
  animation: scrollDown 1.8s ease-in-out infinite;
}

@keyframes scrollDown {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50%  { opacity: 1; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── SECTION COMMONS ───────────────────────── */
section { padding: 100px 5%; }

.section-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--blue-light); margin-bottom: 16px;
}
.section-tag::before { content: ''; display: block; width: 30px; height: 1px; background: var(--blue-light); }

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(42px, 6vw, 80px);
  line-height: 0.95; margin-bottom: 20px;
  color: var(--white);
}
.accent-text { color: var(--blue-light); }

/* ── ABOUT ─────────────────────────────────── */
#about { background: var(--dark2); overflow: hidden; }

.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-img-wrap { position: relative; }
.about-img-wrap img {
  width: 100%; height: 520px; object-fit: cover;
  display: block; position: relative; z-index: 1;
}
.about-img-wrap::before {
  content: ''; position: absolute;
  top: -16px; left: -16px; right: 16px; bottom: 16px;
  border: 1px solid rgba(1, 116, 186, 0.35);
  z-index: 0;
}
.about-badge {
  position: absolute; bottom: -20px; right: -20px; z-index: 2;
  background: var(--blue); color: var(--white);
  padding: 24px 28px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px; line-height: 1;
  text-align: center;
}
.about-badge small {
  display: block; font-family: 'Barlow', sans-serif;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 600;
}
.about-text p {
  font-size: 16px; line-height: 1.8; color: var(--muted);
  margin-bottom: 20px;
}

.about-features {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-top: 36px;
}
.feature-item { display: flex; align-items: flex-start; gap: 12px; }
.feature-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(1, 116, 186, 0.1);
  border: 1px solid rgba(1, 116, 186, 0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.feature-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px; font-weight: 600; letter-spacing: 0.5px;
  color: var(--white);
}
.feature-desc { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* ── GALLERY ───────────────────────────────── */
#gallery { background: var(--dark); }

.gallery-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 48px;
}
.gallery-desc { max-width: 360px; color: var(--muted); font-size: 15px; line-height: 1.7; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 280px 280px;
  gap: 12px;
}
.gallery-item {
  position: relative; overflow: hidden; cursor: none;
}
.gallery-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 2; }
.gallery-item:nth-child(5) { grid-column: 3 / 5; grid-row: 2 / 3; }

.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(1, 20, 40, 0.85) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.4s;
  display: flex; align-items: flex-end; padding: 20px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--blue-light);
}

/* ── LIGHTBOX ──────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0, 0, 0, 0.95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.lightbox.active { opacity: 1; pointer-events: all; }
.lightbox img { max-width: 90vw; max-height: 88vh; object-fit: contain; }
.lightbox-close {
  position: absolute; top: 28px; right: 36px;
  font-size: 36px; color: var(--blue-light); cursor: none;
  background: none; border: none; font-family: 'Barlow', sans-serif;
}

/* ── PASSION ───────────────────────────────── */
#passion { background: var(--dark3); }

.passion-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.passion-text .quote {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  color: var(--white); margin: 24px 0;
  border-left: 3px solid var(--blue);
  padding-left: 24px;
}
.passion-text p { font-size: 16px; line-height: 1.8; color: var(--muted); margin-bottom: 16px; }

.passion-pillars { display: flex; flex-direction: column; gap: 20px; }

.pillar {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(1, 116, 186, 0.15);
  padding: 24px 28px;
  position: relative; overflow: hidden;
  transition: all 0.3s;
}
.pillar:hover { border-color: rgba(1, 116, 186, 0.5); background: rgba(1, 116, 186, 0.05); }
.pillar::before {
  content: attr(data-num);
  position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 72px; color: rgba(1, 116, 186, 0.08);
  line-height: 1;
}
.pillar-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px; font-weight: 700; letter-spacing: 1px;
  color: var(--blue-light); margin-bottom: 6px;
  text-transform: uppercase;
}
.pillar p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ── CONTACT ───────────────────────────────── */
#contact { background: var(--dark2); }

.contact-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 52px;
}
.contact-info p { font-size: 16px; color: var(--muted); line-height: 1.8; margin-bottom: 40px; }

.info-item {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 28px;
}
.info-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: rgba(1, 116, 186, 0.1);
  border: 1px solid rgba(1, 116, 186, 0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.info-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--blue-light); margin-bottom: 4px;
}
.info-value { font-size: 15px; color: var(--text); }
.phone-link { color: var(--text); text-decoration: none; }

/* form */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); display: block; margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 18px;
  color: var(--text); font-family: 'Barlow', sans-serif; font-size: 14px;
  outline: none; transition: border-color 0.3s;
  appearance: none; -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(1, 116, 186, 0.15); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group select option { background: var(--dark3); }

.submit-btn {
  width: 100%;
  background: var(--blue); color: var(--white);
  padding: 18px; border: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; letter-spacing: 3px; text-transform: uppercase;
  font-weight: 700; cursor: none; transition: all 0.3s;
}
.submit-btn:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(1, 116, 186, 0.35);
}

/* ── OPEN BADGE ────────────────────────────── */
.open-badge {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  color: #4ade80;
}
.open-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80;
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ── FOOTER ────────────────────────────────── */
footer {
  background: #050505;
  border-top: 1px solid rgba(1, 116, 186, 0.15);
  padding: 40px 5%;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px;
}
footer img { height: 36px; object-fit: contain; }
.footer-copy { font-size: 13px; color: var(--muted); }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color 0.3s;
}
.footer-links a:hover { color: var(--blue-light); }

/* ── REVEAL ANIMATIONS ─────────────────────── */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ── MOBILE MENU ───────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 99;
  background: rgba(10, 10, 10, 0.98);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 36px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px; color: var(--text); text-decoration: none;
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--blue-light); }
.mobile-close {
  position: absolute; top: 24px; right: 5%;
  background: none; border: none;
  font-size: 32px; color: var(--blue-light); cursor: none;
}

/* ── RESPONSIVE ────────────────────────────── */
@media (max-width: 900px) {
  .about-grid, .passion-wrap, .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { position: relative; right: auto; bottom: auto; margin-top: 48px; }
  #hero { flex-direction: column; padding-top: 80px; }
  .hero-content { padding-top: 60px; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(5) { grid-column: auto; grid-row: auto; }
  .gallery-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .about-badge { bottom: -10px; right: 10px; }
  .form-row { grid-template-columns: 1fr; }
  .nav-logo img {
    width: 50px;
}
.nav-links a{
  font-size: 12px;
}
}