/* =========================================================
   VIDEOGRAPHER PORTFOLIO TEMPLATE - style.css
   Author: Ayman InfoTechs | aymaninfotechs@gmail.com
   Version: 1.0
   Description: Cinematic dark theme for videographer portfolio
   ========================================================= */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,700;1,400&family=Rajdhani:wght@400;500;600;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  --color-black:    #080808;
  --color-dark:     #111111;
  --color-dark-2:   #1a1a1a;
  --color-dark-3:   #222222;
  --color-grey:     #333333;
  --color-grey-2:   #555555;
  --color-grey-3:   #888888;
  --color-white:    #ffffff;
  --color-off-white:#f0f0f0;
  --color-red:      #e50914;
  --color-red-dark: #b0060f;
  --color-red-glow: rgba(229,9,20,0.25);

  --font-primary:  'Montserrat', sans-serif;
  --font-display:  'Playfair Display', serif;
  --font-heading:  'Rajdhani', sans-serif;

  --transition:    all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.2s ease;
  --shadow-red:    0 0 30px rgba(229,9,20,0.3);
  --shadow-dark:   0 10px 40px rgba(0,0,0,0.7);
  --border-red:    1px solid rgba(229,9,20,0.4);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-primary);
  background-color: var(--color-black);
  color: var(--color-white);
  line-height: 1.7;
  overflow-x: hidden;
}

::selection { background: var(--color-red); color: #fff; }

img { max-width: 100%; height: auto; display: block; }

a { text-decoration: none; color: inherit; transition: var(--transition); }

ul { list-style: none; margin: 0; padding: 0; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-dark); }
::-webkit-scrollbar-thumb { background: var(--color-red); border-radius: 3px; }

/* =========================================================
   LOADER
   ========================================================= */
#loader-wrapper {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--color-black);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loader-wrapper.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 6px;
  color: var(--color-white);
  text-transform: uppercase;
}

.loader-logo span { color: var(--color-red); }

.loader-bar {
  width: 200px;
  height: 2px;
  background: var(--color-grey);
  border-radius: 2px;
  overflow: hidden;
}

.loader-bar-fill {
  height: 100%;
  background: var(--color-red);
  animation: loaderFill 1.8s ease forwards;
}

@keyframes loaderFill {
  from { width: 0; }
  to   { width: 100%; }
}

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  background: transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(8,8,8,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(229,9,20,0.15);
  box-shadow: 0 4px 30px rgba(0,0,0,0.6);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-white) !important;
}

.navbar-brand span { color: var(--color-red); }

.navbar-toggler {
  border: none;
  background: transparent;
  padding: 4px;
}

.navbar-toggler:focus { box-shadow: none; }

.toggler-icon {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--color-white);
  margin: 6px 0;
  transition: var(--transition);
  border-radius: 2px;
}

.navbar-nav .nav-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8) !important;
  padding: 6px 16px !important;
  position: relative;
  transition: var(--transition);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--color-red);
  transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--color-white) !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { width: 70%; }

.nav-cta {
  background: var(--color-red) !important;
  color: var(--color-white) !important;
  border-radius: 0 !important;
  padding: 8px 24px !important;
  letter-spacing: 2px;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--color-red-dark) !important; }

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.06);
  animation: heroPan 16s ease-in-out infinite alternate;
}

@keyframes heroPan {
  from { transform: scale(1.06) translateX(0); }
  to   { transform: scale(1.1) translateX(-2%); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8,8,8,0.55) 0%,
    rgba(8,8,8,0.35) 40%,
    rgba(8,8,8,0.75) 80%,
    rgba(8,8,8,1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.3s forwards;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--color-red);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 28px;
  color: var(--color-white);
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.5s forwards;
}

.hero-title .accent { color: var(--color-red); font-style: italic; }

.hero-subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto 44px;
  letter-spacing: 0.5px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.7s forwards;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.9s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  animation: bounce 2s ease infinite;
}

.hero-scroll i { font-size: 1.2rem; color: var(--color-red); }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* Film strip indicator */
.hero-filmstrip {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 6px;
  background: repeating-linear-gradient(
    to right,
    var(--color-red) 0px,
    var(--color-red) 30px,
    transparent 30px,
    transparent 40px
  );
  opacity: 0.5;
}

/* =========================================================
   SECTION COMMONS
   ========================================================= */
.section-padding { padding: 100px 0; }

.section-header { margin-bottom: 60px; }

.section-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--color-red);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--color-red);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-white);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1rem;
  color: var(--color-grey-3);
  max-width: 550px;
  line-height: 1.8;
}

.text-center .section-eyebrow { justify-content: center; }
.text-center .section-eyebrow::before { display: none; }
.text-center .section-eyebrow::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--color-red);
}
.text-center .section-desc { margin: 0 auto; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn-cinematic {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 14px 36px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-cinematic::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.08);
  transition: var(--transition);
  transform: skewX(-15deg);
}

.btn-cinematic:hover::before { left: 100%; }

.btn-primary-cine {
  background: var(--color-red);
  color: var(--color-white);
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}
.btn-primary-cine:hover {
  background: var(--color-red-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

.btn-outline-cine {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.4);
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}
.btn-outline-cine:hover {
  background: rgba(255,255,255,0.08);
  color: var(--color-white);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

/* =========================================================
   PORTFOLIO SECTION
   ========================================================= */
.portfolio-section { background: var(--color-dark); }

/* Filter Tabs */
.portfolio-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 50px;
}

.filter-btn {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 9px 24px;
  background: transparent;
  border: 1px solid var(--color-grey);
  color: var(--color-grey-3);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-red);
  border-color: var(--color-red);
  color: var(--color-white);
}

/* Portfolio Grid */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16/10;
  background: var(--color-dark-3);
}

.portfolio-item.wide { grid-column: span 2; }
.portfolio-item.tall { grid-row: span 2; aspect-ratio: unset; }

.portfolio-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-item:hover .portfolio-thumb { transform: scale(1.08); }

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8,8,8,0.92) 0%,
    rgba(8,8,8,0.3) 50%,
    transparent 100%
  );
  opacity: 0;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-category {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 6px;
}

.portfolio-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 16px;
}

.portfolio-play {
  width: 54px; height: 54px;
  border: 2px solid var(--color-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.1rem;
  transition: var(--transition);
  background: var(--color-red-glow);
  transform: scale(0.8);
  transition: var(--transition);
}

.portfolio-item:hover .portfolio-play {
  transform: scale(1);
  background: var(--color-red);
  box-shadow: var(--shadow-red);
}

/* =========================================================
   STATS BAR
   ========================================================= */
.stats-section {
  background: var(--color-red);
  padding: 50px 0;
}

.stat-item {
  text-align: center;
  padding: 10px 20px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

.stat-divider {
  width: 1px;
  height: 70px;
  background: rgba(255,255,255,0.25);
  align-self: center;
}

/* =========================================================
   ABOUT SECTION
   ========================================================= */
.about-section { background: var(--color-black); }

.about-image-wrap {
  position: relative;
}

.about-img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  filter: brightness(0.9) contrast(1.05);
}

.about-badge {
  position: absolute;
  bottom: -24px; right: -24px;
  width: 140px; height: 140px;
  background: var(--color-red);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  clip-path: polygon(20px 0%, 100% 0%, calc(100% - 20px) 100%, 0% 100%);
}

.about-badge-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-white);
}

.about-badge-text {
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  line-height: 1.3;
  margin-top: 4px;
}

.about-frame {
  position: absolute;
  top: 24px; left: 24px;
  right: 24px; bottom: 24px;
  border: 1px solid rgba(229,9,20,0.25);
  pointer-events: none;
}

.about-content { padding-left: 20px; }

.about-lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
  font-weight: 300;
  line-height: 1.9;
}

.about-text {
  font-size: 0.95rem;
  color: var(--color-grey-3);
  line-height: 1.85;
  margin-bottom: 36px;
}

/* Skills */
.skill-item { margin-bottom: 20px; }

.skill-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.skill-name {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-white);
}

.skill-value {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--color-red);
}

.skill-bar {
  height: 3px;
  background: var(--color-grey);
  border-radius: 3px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: var(--color-red);
  border-radius: 3px;
  width: 0;
  transition: width 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s;
}

/* Equipment */
.equipment-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 36px;
}

.equipment-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--color-grey-3);
}

.equipment-item i {
  color: var(--color-red);
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* =========================================================
   SERVICES SECTION
   ========================================================= */
.services-section { background: var(--color-dark); }

.service-card {
  background: var(--color-dark-2);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--color-red);
  transition: width 0.5s ease;
}

.service-card:hover { transform: translateY(-6px); border-color: rgba(229,9,20,0.2); }
.service-card:hover::before { width: 100%; }

.service-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(229,9,20,0.08);
  line-height: 1;
  position: absolute;
  top: 20px; right: 24px;
}

.service-icon {
  width: 60px; height: 60px;
  background: var(--color-red-glow);
  border: var(--border-red);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px;
  font-size: 1.5rem;
  color: var(--color-red);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--color-red);
  color: var(--color-white);
  box-shadow: var(--shadow-red);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 14px;
}

.service-text {
  font-size: 0.9rem;
  color: var(--color-grey-3);
  line-height: 1.8;
  margin-bottom: 24px;
}

.service-list {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 20px;
}

.service-list li {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-list li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--color-red);
  border-radius: 50%;
  flex-shrink: 0;
}

/* =========================================================
   PROCESS SECTION
   ========================================================= */
.process-section { background: var(--color-black); padding: 80px 0; }

.process-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px; top: 44px;
  width: 2px;
  height: calc(100% + 20px);
  background: linear-gradient(to bottom, var(--color-red), transparent);
}

.step-number {
  width: 40px; height: 40px;
  border: 2px solid var(--color-red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-red);
  flex-shrink: 0;
  background: var(--color-black);
  position: relative;
  z-index: 1;
}

.step-content { padding-bottom: 40px; }

.step-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 8px;
}

.step-text { font-size: 0.88rem; color: var(--color-grey-3); line-height: 1.8; }

/* =========================================================
   TESTIMONIALS SECTION
   ========================================================= */
.testimonials-section { background: var(--color-dark-2); }

.testimonial-card {
  background: var(--color-dark);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}

.testimonial-card:hover {
  border-color: rgba(229,9,20,0.2);
  transform: translateY(-6px);
  box-shadow: var(--shadow-dark);
}

.quote-icon {
  font-size: 3.5rem;
  line-height: 1;
  color: var(--color-red);
  opacity: 0.25;
  font-family: Georgia, serif;
  position: absolute;
  top: 20px; left: 28px;
}

.testimonial-text {
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(255,255,255,0.75);
  line-height: 1.9;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 22px;
}

.author-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-red);
}

.author-avatar-placeholder {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--color-red-glow);
  border: 2px solid var(--color-red);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-red);
  flex-shrink: 0;
}

.author-name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 3px;
}

.author-role { font-size: 0.78rem; color: var(--color-grey-3); letter-spacing: 0.5px; }

.star-rating { color: var(--color-red); font-size: 0.8rem; margin-bottom: 18px; }

/* =========================================================
   CONTACT SECTION
   ========================================================= */
.contact-section { background: var(--color-black); }

.contact-info-card {
  background: var(--color-dark-2);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 50px 40px;
  height: 100%;
}

.contact-info-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 36px;
}

.contact-info-item:last-child { margin-bottom: 0; }

.contact-icon {
  width: 50px; height: 50px;
  background: var(--color-red-glow);
  border: var(--border-red);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-red);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-info-item:hover .contact-icon {
  background: var(--color-red);
  color: var(--color-white);
}

.contact-info-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 5px;
}

.contact-info-value {
  font-size: 0.95rem;
  color: var(--color-white);
}

.contact-info-value a:hover { color: var(--color-red); }

/* Contact Form */
.contact-form-wrap {
  background: var(--color-dark-2);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 50px 40px;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
  display: block;
}

.form-control, .form-select {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0;
  color: var(--color-white);
  padding: 14px 18px;
  font-size: 0.9rem;
  transition: var(--transition);
  font-family: var(--font-primary);
}

.form-control:focus, .form-select:focus {
  background: rgba(255,255,255,0.06);
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px var(--color-red-glow);
  color: var(--color-white);
  outline: none;
}

.form-control::placeholder { color: rgba(255,255,255,0.25); }

.form-select { appearance: none; }
.form-select option { background: var(--color-dark-2); color: var(--color-white); }

textarea.form-control { resize: none; min-height: 140px; }

/* =========================================================
   VIDEO LIGHTBOX
   ========================================================= */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.95);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.lightbox.active { display: flex; }

.lightbox-content {
  position: relative;
  width: 90%;
  max-width: 960px;
}

.lightbox-close {
  position: absolute;
  top: -50px; right: 0;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition);
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
}

.lightbox-close:hover { color: var(--color-red); transform: rotate(90deg); }

.lightbox-video {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--color-black);
  border: 1px solid rgba(229,9,20,0.2);
}

.lightbox-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--color-dark-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border: 1px solid rgba(229,9,20,0.2);
  color: var(--color-grey-3);
  font-family: var(--font-heading);
  letter-spacing: 2px;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.lightbox-placeholder i { font-size: 3rem; color: var(--color-red); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--color-dark);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 80px;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand span { color: var(--color-red); }

.footer-desc {
  font-size: 0.88rem;
  color: var(--color-grey-3);
  line-height: 1.8;
  margin-bottom: 28px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: var(--color-grey-3);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--color-red);
  border-color: var(--color-red);
  color: var(--color-white);
  transform: translateY(-3px);
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 28px;
  position: relative;
  padding-bottom: 14px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: var(--color-red);
}

.footer-links li { margin-bottom: 12px; }

.footer-links a {
  font-size: 0.88rem;
  color: var(--color-grey-3);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-links a::before {
  content: '›';
  color: var(--color-red);
  font-size: 1rem;
  transition: var(--transition);
}

.footer-links a:hover { color: var(--color-white); padding-left: 4px; }

.footer-contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.footer-contact-item i {
  color: var(--color-red);
  font-size: 0.9rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-contact-item span {
  font-size: 0.85rem;
  color: var(--color-grey-3);
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 24px 0;
  margin-top: 60px;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--color-grey-3);
}

.footer-copy span { color: var(--color-red); }

/* =========================================================
   PAGE HERO (inner pages)
   ========================================================= */
.page-hero {
  padding: 180px 0 100px;
  background: var(--color-dark);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(ellipse at 60% 50%, rgba(229,9,20,0.07) 0%, transparent 60%);
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 16px;
}

.breadcrumb { background: none; padding: 0; margin: 0; }

.breadcrumb-item { font-size: 0.82rem; letter-spacing: 1.5px; color: var(--color-grey-3); }
.breadcrumb-item a { color: var(--color-red); }
.breadcrumb-item.active { color: var(--color-grey-3); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--color-grey-3); }

/* Decorative lines */
.page-hero-line {
  position: absolute;
  right: 0; top: 0;
  height: 100%;
  width: 4px;
  background: var(--color-red);
}

/* =========================================================
   UTILITIES & ANIMATIONS
   ========================================================= */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* =========================================================
   BACK TO TOP
   ========================================================= */
#back-to-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 46px; height: 46px;
  background: var(--color-red);
  color: var(--color-white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 500;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  border: none;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

#back-to-top:hover {
  background: var(--color-red-dark);
  transform: translateY(-4px);
  box-shadow: var(--shadow-red);
}

/* =========================================================
   ALERT / TOAST
   ========================================================= */
.toast-container {
  position: fixed;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  z-index: 9998;
}

.toast-message {
  background: var(--color-dark-2);
  border-left: 3px solid var(--color-red);
  color: var(--color-white);
  padding: 16px 28px;
  font-size: 0.88rem;
  font-family: var(--font-heading);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 14px;
  animation: fadeInUp 0.4s ease forwards;
  box-shadow: var(--shadow-dark);
  white-space: nowrap;
}

.toast-message i { color: var(--color-red); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1199px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-item.wide { grid-column: span 1; }
}

@media (max-width: 991px) {
  .section-padding { padding: 70px 0; }
  .about-content { padding-left: 0; margin-top: 40px; }
  .about-badge { right: 0; bottom: -10px; width: 110px; height: 110px; }
  .navbar-collapse { background: rgba(8,8,8,0.97); padding: 20px; margin-top: 10px; border-top: 1px solid rgba(229,9,20,0.2); }
  .process-section .row { flex-direction: column; }
}

@media (max-width: 767px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-item.tall { aspect-ratio: 16/10; }
  .stat-divider { display: none; }
  .stats-section .row { row-gap: 10px; }
  .equipment-list { grid-template-columns: 1fr; }
  .about-img { height: 380px; }
  .contact-form-wrap, .contact-info-card { padding: 36px 24px; }
}

@media (max-width: 575px) {
  .hero-title { font-size: 2rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .portfolio-filters { gap: 6px; }
  .filter-btn { padding: 7px 16px; font-size: 0.72rem; }
  .page-hero { padding: 150px 0 70px; }
  .service-card { padding: 32px 24px; }
  #back-to-top { bottom: 20px; right: 20px; }
}
