/* ==========================================================================
   Design System & Variables
   ========================================================================== */
:root {
  --bg-primary: #0a0a0c;      /* Extreme Deep Matte Black */
  --bg-secondary: #121216;    /* Dark Gray for Cards/Sections */
  --bg-tertiary: #191922;     /* Carbon Highlight */
  --accent-red: #e50914;      /* Pure Racing Red */
  --accent-red-glow: #ff2e3b; /* Glowing Neon Red */
  --text-white: #ffffff;
  --text-gray: #a0a0ab;       /* Muted text for descriptions */
  --text-dim: #707075;
  --border-dark: #22222a;
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  --glow-shadow: 0 0 20px rgba(229, 9, 20, 0.35);
  --glow-shadow-heavy: 0 0 35px rgba(229, 9, 20, 0.6);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* offset for fixed header */
  scrollbar-width: thin;
  scrollbar-color: var(--accent-red) var(--bg-primary);
}

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

/* Custom Scrollbar for Chrome/Safari/Edge */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-secondary);
  border-radius: 4px;
  border: 1px solid var(--border-dark);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-red);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

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

/* ==========================================================================
   Reusable Utilities & Layout Components
   ========================================================================== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.text-center { text-align: center; }
.text-danger { color: var(--accent-red); }
.text-glow {
  color: var(--text-white);
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.5), 0 0 30px var(--accent-red);
  animation: pulse-glow 2.5s infinite alternate;
}

/* Button UI */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 14px 28px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-normal);
  border: 2px solid transparent;
  gap: 8px;
}

.btn-primary {
  background-color: var(--accent-red);
  color: var(--text-white);
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}

.btn-primary:hover {
  background-color: var(--accent-red-glow);
  box-shadow: var(--glow-shadow);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--text-white);
  color: var(--text-white);
}

.btn-outline:hover {
  background-color: var(--text-white);
  color: var(--bg-primary);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25d366;
  color: var(--text-white);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: #20ba5a;
  transform: translateY(-2px);
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 11px;
}

/* Section Header Typography */
.section-subtitle {
  font-family: var(--font-display);
  color: var(--accent-red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-desc {
  max-width: 650px;
  margin: 0 auto 50px auto;
  color: var(--text-gray);
  font-size: 16px;
}

.title-bar {
  width: 60px;
  height: 4px;
  background-color: var(--accent-red);
  margin: 0 auto 24px auto;
  border-radius: 2px;
  box-shadow: 0 0 10px var(--accent-red);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(10, 10, 12, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(34, 34, 42, 0.5);
  transition: var(--transition-normal);
}

#header.scrolled {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 85px;
  transition: var(--transition-normal);
}

#header.scrolled .navbar {
  height: 70px;
}

.logo-container {
  height: 70px;
  display: flex;
  align-items: center;
}

#header.scrolled .logo-container {
  height: 55px;
}

#logo-object {
  height: 100%;
  pointer-events: none; /* Let clicks pass through to parent a tag */
}

/* Desktop Navigation Menu */
.nav-menu ul {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-gray);
  padding: 8px 0;
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-red);
  transition: var(--transition-fast);
  box-shadow: 0 0 8px var(--accent-red);
}

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

.nav-cta {
  padding: 10px 20px;
  font-size: 12px;
}

/* Mobile Hamburger Toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
}

.nav-toggle .bar {
  width: 100%;
  height: 2.5px;
  background-color: var(--text-white);
  border-radius: 2px;
  transition: var(--transition-normal);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-image: url('assets/hero_bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(10, 10, 12, 0.4) 0%, rgba(10, 10, 12, 0.95) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 800px;
}

.hero-subtitle {
  font-family: var(--font-display);
  color: var(--accent-red);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(229, 9, 20, 0.3);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.hero-description {
  color: var(--text-gray);
  font-size: clamp(16px, 2vw, 19px);
  max-width: 600px;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Scroll Down Mouse Anim */
.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0.8;
  transition: var(--transition-fast);
}

.scroll-down:hover {
  opacity: 1;
}

.scroll-down .mouse {
  width: 26px;
  height: 44px;
  border: 2px solid var(--text-gray);
  border-radius: 13px;
  display: block;
  position: relative;
}

.scroll-down .wheel {
  width: 4px;
  height: 8px;
  background-color: var(--accent-red);
  box-shadow: 0 0 5px var(--accent-red);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: mouse-scroll 1.6s infinite;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about {
  padding: 100px 0;
  background-color: var(--bg-primary);
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(229, 9, 20, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.about-text {
  color: var(--text-gray);
  margin-bottom: 20px;
  font-size: 16px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  margin-top: 30px;
}

.feat-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.feat-item i {
  font-size: 18px;
  text-shadow: 0 0 8px rgba(229, 9, 20, 0.4);
}

.about-image-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-dark);
}

.about-image {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  transition: var(--transition-slow);
}

.about-image-wrapper:hover .about-image {
  transform: scale(1.05);
}

.about-experience {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(10, 10, 12, 0.95), rgba(10, 10, 12, 0.4));
  padding: 30px;
  border-top: 1px solid rgba(229, 9, 20, 0.3);
  display: flex;
  align-items: center;
  gap: 20px;
}

.exp-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  color: var(--accent-red);
  line-height: 1;
  text-shadow: 0 0 15px rgba(229, 9, 20, 0.5);
}

.exp-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.3;
}

/* ==========================================================================
   Services Section (Grid & Cards)
   ========================================================================== */
.services {
  padding: 100px 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.service-card {
  position: relative;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-dark);
  border-radius: 6px;
  padding: 40px 30px;
  transition: var(--transition-normal);
  cursor: pointer;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px circle at var(--x, 0px) var(--y, 0px), rgba(229, 9, 20, 0.1) 0%, transparent 40%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
  z-index: 1;
}

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

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--accent-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
  box-shadow: 0 0 10px var(--accent-red);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(229, 9, 20, 0.4);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(229, 9, 20, 0.1);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-icon {
  width: 60px;
  height: 60px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-dark);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--accent-red);
  margin-bottom: 24px;
  transition: var(--transition-normal);
  position: relative;
  z-index: 2;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

.service-card:hover .service-icon {
  background-color: var(--accent-red);
  color: var(--text-white);
  border-color: var(--accent-red);
  box-shadow: 0 0 15px rgba(229, 9, 20, 0.5);
  transform: scale(1.05);
}

.service-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

.service-summary {
  color: var(--text-gray);
  font-size: 14px;
  margin-bottom: 25px;
  flex-grow: 1;
  position: relative;
  z-index: 2;
}

.card-btn {
  background: transparent;
  border: none;
  color: var(--text-white);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 0;
  position: relative;
  z-index: 2;
  align-self: flex-start;
}

.card-btn i {
  transition: var(--transition-fast);
}

.service-card:hover .card-btn {
  color: var(--accent-red);
}

.service-card:hover .card-btn i {
  transform: translateX(5px);
}

/* ==========================================================================
   Showcase Gallery Section
   ========================================================================== */
.gallery {
  padding: 100px 0;
  background-color: var(--bg-primary);
}

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

.gallery-item {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 16/10;
  border: 1px solid var(--border-dark);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(10, 10, 12, 0.95) 0%, rgba(10, 10, 12, 0.2) 70%);
  opacity: 0;
  transition: var(--transition-normal);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-info {
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.gallery-item:hover .gallery-info {
  transform: translateY(0);
}

.gallery-tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-red);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.gallery-info h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
}

/* ==========================================================================
   Contact & Booking Section
   ========================================================================== */
.contact {
  padding: 100px 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-desc {
  color: var(--text-gray);
  font-size: 16px;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
}

.detail-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.detail-icon {
  width: 44px;
  height: 44px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-dark);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent-red);
  flex-shrink: 0;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

.detail-text h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.detail-text p {
  color: var(--text-gray);
  font-size: 14px;
}

/* Modern Map Showcase Box */
.map-mockup {
  position: relative;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-dark);
  border-radius: 6px;
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.map-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(229, 9, 20, 0.1) 1.5px, transparent 1.5px), radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 30px 30px, 15px 15px;
  opacity: 0.8;
}

.map-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
}

.map-icon {
  font-size: 32px;
  margin-bottom: 12px;
  text-shadow: 0 0 12px rgba(229, 9, 20, 0.6);
}

.map-overlay p {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

/* Appointment Form UI */
.contact-form-container {
  position: relative;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  padding: 45px 35px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.contact-form-container h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.form-sub {
  color: var(--text-gray);
  font-size: 13px;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

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

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  color: var(--text-white);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-dark);
  border-radius: 4px;
  padding: 12px 16px;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-red);
  box-shadow: 0 0 10px rgba(229, 9, 20, 0.2);
  background-color: var(--bg-tertiary);
}

.form-group select option {
  background-color: var(--bg-primary);
}

/* Success Alert Styles */
.form-success {
  display: none;
  text-align: center;
  padding: 20px 10px;
  animation: fadeIn 0.4s forwards;
}

.success-icon {
  font-size: 56px;
  color: #25d366;
  text-shadow: 0 0 15px rgba(37,211,102,0.4);
  margin-bottom: 20px;
}

.form-success h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.form-success p {
  color: var(--text-gray);
  font-size: 14px;
  margin-bottom: 30px;
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background-color: #050507;
  border-top: 1px solid var(--border-dark);
  padding: 80px 0 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand {
  max-width: 350px;
}

.footer-logo {
  height: 60px;
  margin-bottom: 25px;
}

.footer-logo-svg {
  height: 100%;
}

.footer-brand p {
  color: var(--text-gray);
  font-size: 14px;
  margin-bottom: 25px;
}

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

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 4px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-gray);
  transition: var(--transition-fast);
}

.social-links a:hover {
  background-color: var(--accent-red);
  color: var(--text-white);
  border-color: var(--accent-red);
  box-shadow: 0 0 12px rgba(229, 9, 20, 0.45);
}

.footer-grid h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}

.footer-grid h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent-red);
}

.footer-links ul,
.footer-services ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a,
.footer-services a {
  color: var(--text-gray);
  font-size: 14px;
  transition: var(--transition-fast);
  cursor: pointer;
}

.footer-links a:hover,
.footer-services a:hover {
  color: var(--accent-red);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding: 30px 0;
  font-size: 12px;
  color: var(--text-dim);
}

/* ==========================================================================
   Immersive Modal Overlay
   ========================================================================== */
.service-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(5, 5, 7, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.modal-content-wrapper {
  position: relative;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-dark);
  width: 90%;
  max-width: 680px;
  border-radius: 8px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.8), 0 0 30px rgba(229, 9, 20, 0.15);
  transform: translateY(40px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.15);
  z-index: 2;
  overflow: hidden;
}

.service-modal.active .modal-content-wrapper {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 25px;
  background: transparent;
  border: none;
  color: var(--text-gray);
  font-size: 32px;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 10;
}

.modal-close:hover {
  color: var(--accent-red);
}

.modal-body {
  padding: 50px 40px;
}

.modal-header-block {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-dark);
  padding-bottom: 20px;
}

.modal-icon {
  width: 70px;
  height: 70px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-dark);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--accent-red);
  box-shadow: 0 0 15px rgba(229, 9, 20, 0.2);
}

.modal-header-text h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 3.5vw, 26px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.modal-tagline {
  color: var(--accent-red);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 4px;
}

.modal-description {
  color: var(--text-gray);
  font-size: 15px;
  margin-bottom: 30px;
  line-height: 1.7;
}

.modal-highlights-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 15px;
  border-left: 3px solid var(--accent-red);
  padding-left: 10px;
}

.modal-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 40px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.highlight-item i {
  color: var(--accent-red);
  font-size: 12px;
}

.modal-actions {
  display: flex;
  gap: 15px;
}

/* ==========================================================================
   Animations & Reveals
   ========================================================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse-glow {
  from { text-shadow: 0 0 10px rgba(255, 255, 255, 0.4), 0 0 20px var(--accent-red); }
  to { text-shadow: 0 0 18px rgba(255, 255, 255, 0.7), 0 0 40px var(--accent-red-glow); }
}

@keyframes mouse-scroll {
  0% { opacity: 0; top: 8px; }
  30% { opacity: 1; }
  100% { opacity: 0; top: 22px; }
}

/* Reveal on scroll animations */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Hero animations on load */
.animate-up {
  opacity: 0;
  transform: translateY(30px);
  animation: slide-up 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-content .animate-up:nth-child(1) { animation-delay: 0.1s; }
.hero-content .animate-up:nth-child(2) { animation-delay: 0.3s; }
.hero-content .animate-up:nth-child(3) { animation-delay: 0.5s; }
.hero-content .animate-up:nth-child(4) { animation-delay: 0.7s; }

@keyframes slide-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Media Queries & Responsiveness
   ========================================================================== */

/* Tablet & Mobile Header/Nav adjustments */
@media (max-width: 991px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .navbar {
    height: 75px;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 75px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 75px);
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-dark);
    padding: 40px 30px;
    transition: var(--transition-normal);
    overflow-y: auto;
    z-index: 999;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }
  
  .nav-link {
    font-size: 18px;
    display: block;
    width: 100%;
  }
  
  .nav-cta {
    display: flex;
    width: 100%;
    padding: 14px;
    margin-top: 15px;
  }
  
  /* Hamburger State transformations */
  .nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--accent-red);
  }
  
  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--accent-red);
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .modal-highlights {
    grid-template-columns: 1fr;
  }
  
  .modal-body {
    padding: 40px 24px;
  }
  
  .modal-actions {
    flex-direction: column;
  }
}
