/* ========================================================================
   THE MAGICAL HANDS - PROFESSIONAL STYLESHEET (REFACTORED)
   Author: Professional Refactor
   Description: Mobile-first, responsive massage parlor website
   Version: 4.0 - Production Ready
   ======================================================================== */

/* ========================================================================
   TABLE OF CONTENTS
   ======================================================================== 
   1. CSS Variables & Design Tokens
   2. Reset & Base Styles
   3. Typography
   4. Animations & Keyframes
   5. Layout Components
      - Navigation (Mobile-First)
      - Hero Section (Responsive)
      - Content Sections
   6. UI Components
      - Buttons
      - Cards
   7. Specialized Sections
      - Techniques (Mobile Optimized)
      - Gallery (Responsive Grid)
      - Contact
   8. Cinematic Effects (Performance Optimized)
   9. Responsive Design (Mobile First)
   10. Utilities
   ======================================================================== */


/* ========================================================================
   1. CSS VARIABLES & DESIGN TOKENS
   ======================================================================== */
:root {
  /* Color Palette */
  --orange-100: #e79e5a;
  --orange-200: #ff7a18;
  --orange-300: #c44b00;
  --orange-400: #4d2004;
  
  --green-dark: #0a6e0a;
  --green-forest: #0c2f25;
  --green-valley: #296333;
  
  /* Neutral Colors */
  --text-dark: #2a1a12;
  --bg-light: #fff6ef;
  --white: #ffffff;
  --black: #000000;
  
  /* Glass & Overlays */
  --glass-white: rgba(255, 255, 255, 0.22);
  --glass-dark: rgba(0, 0, 0, 0.45);
  
  /* Spacing System (Mobile-First) */
  --spacing-xs: 8px;
  --spacing-sm: 12px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 10px 24px rgba(0, 0, 0, 0.18);
  --shadow-xl: 0 18px 40px rgba(0, 0, 0, 0.4);
  
  /* Z-Index Scale */
  --z-base: 1;
  --z-dropdown: 10;
  --z-sticky: 50;
  --z-navbar: 100;
  --z-modal: 1000;
  --z-menu-overlay: 99;
  
  /* Touch Target Minimum */
  --min-touch-target: 44px;
}


/* ========================================================================
   2. RESET & BASE STYLES
   ======================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, system-ui, -apple-system, Arial, sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 16px; /* Prevent iOS zoom on input */
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  /* Minimum touch target */
  min-height: var(--min-touch-target);
}

a {
  color: inherit;
  text-decoration: none;
  /* Minimum touch target for links */
  min-height: var(--min-touch-target);
  display: inline-flex;
  align-items: center;
}


/* ========================================================================
   3. TYPOGRAPHY (Mobile First)
   ======================================================================== */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 600;
}

.section-title {
  font-size: clamp(1.6rem, 5vw, 1.7rem);
  font-weight: 400;
  margin-bottom: var(--spacing-lg);
  text-align: center;
  color: var(--text-dark);
  padding: 0 var(--spacing-md);
}

.section-subtitle {
  max-width: 760px;
  margin: 0 auto var(--spacing-xl);
  opacity: .95;
  text-align: center;
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  padding: 0 var(--spacing-md);
  line-height: 1.6;
  font-weight: 600;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}


/* ========================================================================
   4. ANIMATIONS & KEYFRAMES
   ======================================================================== */

/* Fade Up Animation */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* Animation 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; }

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .fade-up {
    opacity: 1;
    transform: none;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Keyframe Animations */
@keyframes mountainsUp {
  to { transform: translateY(0); }
}

@keyframes sunRise {
  to {
    transform: translateX(-50%) translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes slideInFromRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}


/* ========================================================================
   5. LAYOUT COMPONENTS
   ======================================================================== */

/* ------------------------
   Navigation Bar (Mobile First)
   ------------------------ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  padding: 0 var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0)
  );
  color: var(--white);
  z-index: var(--z-navbar);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(80, 35, 8, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* Brand / Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: calc(var(--z-navbar) + 1);
}

.brand__logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.brand__name {
  font-size: clamp(16px, 3vw, 20px);
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: block;
  background: transparent;
  color: var(--white);
  font-size: 1.8rem;
  padding: 8px;
  border: none;
  cursor: pointer;
  z-index: calc(var(--z-navbar) + 1);
  min-width: var(--min-touch-target);
  min-height: var(--min-touch-target);
  transition: transform var(--transition-fast);
}

.mobile-menu-toggle:active {
  transform: scale(0.95);
}

.mobile-menu-toggle.active {
  transform: rotate(90deg);
}

/* Mobile Navigation Menu */
.nav {
  position: fixed;
  top: 64px;
  right: -100%;
  width: min(280px, 80vw);
  height: calc(100vh - 64px);
  background: rgba(45, 25, 15, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  padding: var(--spacing-lg);
  transition: right var(--transition-base);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.nav.nav--open {
  right: 0;
}

.nav__link {
  color: var(--white);
  opacity: 0.95;
  padding: var(--spacing-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-fast);
  font-size: 1.1rem;
  min-height: var(--min-touch-target);
  display: flex;
  align-items: center;
}

.nav__link:hover,
.nav__link:focus {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
  padding-left: 20px;
}

.nav__link:active {
  background: rgba(255, 255, 255, 0.15);
}

/* Menu Overlay for mobile */
.menu-overlay {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: var(--z-menu-overlay);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.menu-overlay.active {
  display: block;
  opacity: 1;
}


/* ------------------------
   Hero Section (Mobile First)
   ------------------------ */
.hero--clean {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh; /* Dynamic viewport height for mobile */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 100px var(--spacing-md) 60px;
  overflow: hidden;
}

/* Hero Content Wrapper */
.hero-clean__content {
  position: relative;
  z-index: var(--z-dropdown);
  max-width: 900px;
  width: 100%;
  padding: var(--spacing-md);
}

.hero-clean__content::before {
  content: "";
  position: absolute;
  inset: -20px;
  background: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0)
  );
  z-index: -1;
}

/* Hero Text Elements */
.hero-quote {
  display: inline-block;
  font-size: clamp(0.75rem, 2vw, 0.9rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: var(--spacing-sm);
}

.hero-clean__title {
  font-size: clamp(1.8rem, 6vw, 3.6rem);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
}

.hero-clean__subtitle {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  max-width: 640px;
  margin: 0 auto var(--spacing-lg);
  opacity: 0.9;
  line-height: 1.6;
}

.hero-clean__actions {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  align-items: center;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

/* Hero Overlay */
.hero::before,
.hero--clean::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 8, 6, 0.6) 0%,
    rgba(10, 8, 6, 0.4) 25%,
    rgba(10, 8, 6, 0.15) 55%,
    rgba(10, 8, 6, 0) 75%
  );
  z-index: var(--z-base);
  pointer-events: none;
}


/* ========================================================================
   6. UI COMPONENTS
   ======================================================================== */

/* ------------------------
   Buttons (Mobile First)
   ------------------------ */
.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 2px solid transparent;
  min-height: var(--min-touch-target);
  min-width: 160px;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary {
  background: var(--orange-200);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--orange-300);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover,
.btn-outline:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
}

.btn-outline:active {
  background: rgba(255, 255, 255, 0.25);
}

.btn-large {
  padding: 16px 40px;
  font-size: 1.1rem;
  width: 100%;
  max-width: 320px;
}


/* ========================================================================
   7. SPECIALIZED SECTIONS
   ======================================================================== */

/* ------------------------
   Techniques Section (Mobile Optimized)
   ------------------------ */
.techniques-vertical {
  position: relative;
  padding: 60px var(--spacing-md) 60px;
  background: linear-gradient(
    135deg,
    #fff9f0 0%,
    #ffe8d6 100%
  );
  overflow: hidden;
}

.techniques-vertical .section-title {
  margin-bottom: var(--spacing-xl);
}

/* Technique Layout - Mobile First */
.tech-layout {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  max-width: 1200px;
  margin: 0 auto;
}

/* Technique List - Horizontal Scroll on Mobile */
.tech-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--spacing-sm);
  scrollbar-width: thin;
  scrollbar-color: var(--orange-200) transparent;
}

.tech-list::-webkit-scrollbar {
  height: 6px;
}

.tech-list::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 3px;
}

.tech-list::-webkit-scrollbar-thumb {
  background: var(--orange-200);
  border-radius: 3px;
}

/* Individual Technique Item */
.tech-item {
  flex: 0 0 auto;
  min-width: 180px;
  padding: var(--spacing-md);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  scroll-snap-align: start;
  border: 2px solid transparent;
  min-height: var(--min-touch-target);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.tech-item:hover,
.tech-item:focus {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.tech-item:active {
  transform: scale(0.98);
}

.tech-item.is-active {
  background: linear-gradient(135deg, var(--orange-100), var(--orange-200));
  color: var(--white);
  border-color: var(--orange-300);
  box-shadow: var(--shadow-lg);
}

.tech-icon {
  font-size: 2rem;
  margin-bottom: 4px;
}

.tech-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

/* Technique Preview Panel */
.tech-preview-container {
  width: 100%;
}

.tech-preview {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-base);
}

.tech-preview.show {
  opacity: 1;
  transform: translateY(0);
}

.tech-preview h3 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  margin-bottom: var(--spacing-md);
  color: var(--orange-300);
}

.tech-preview-description {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.7;
  margin-bottom: var(--spacing-lg);
  opacity: 0.85;
}

/* Benefits List */
.tech-benefits {
  background: linear-gradient(135deg, #fff6f0, #ffe8d6);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-md);
}

.tech-benefits h4 {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-sm);
  color: var(--orange-300);
}

.tech-benefits ul {
  list-style: none;
  padding: 0;
}

.tech-benefits li {
  padding: 10px 12px 10px 36px;
  position: relative;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 6px;
}

.tech-benefits li::before {
  content: "✓";
  position: absolute;
  left: 10px;
  color: var(--orange-200);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Tech Info */
.tech-info-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: var(--spacing-md);
  background: rgba(231, 158, 90, 0.1);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--orange-200);
}

.tech-info-label {
  font-size: 0.85rem;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tech-info-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--orange-300);
}


/* ------------------------
   Gallery Section (Mobile First)
   ------------------------ */
.gallery {
  padding: 60px var(--spacing-md);
  background: var(--bg-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.05);
}


/* ------------------------
   Contact Section
   ------------------------ */
.contact {
  padding: 60px var(--spacing-md);
  background: linear-gradient(135deg, #fff6f0, #ffe8d6);
}

.contact-map {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto var(--spacing-xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 300px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  max-width: 900px;
  margin: 0 auto var(--spacing-xl);
}

.contact-item {
  display: flex;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.contact-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.contact-details h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
  color: var(--orange-300);
}

.contact-details p {
  font-size: 1rem;
  opacity: 0.8;
}

.contact-details a {
  color: var(--orange-200);
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.contact-details a:hover {
  color: var(--orange-300);
}

.contact-cta {
  text-align: center;
}




/* ------------------------
   Footer
   ------------------------ */
.footer {
  background: linear-gradient(135deg, #2a1a12, #1a0f08);
  color: var(--white);
  padding: 40px var(--spacing-md) 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
  max-width: 1200px;
  margin: 0 auto var(--spacing-xl);
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  width: 60px;
  height: 60px;
}

.footer-name {
  font-size: 1.2rem;
  font-weight: 700;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer-nav a {
  color: var(--white);
  opacity: 0.8;
  padding: 8px;
  transition: opacity var(--transition-fast);
}

.footer-nav a:hover {
  opacity: 1;
}

.footer-social {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
}

.social-link {
  width: var(--min-touch-target);
  height: var(--min-touch-target);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.social-link img {
  width: 24px;
  height: 24px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: var(--spacing-md);
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
}


/* ========================================================================
   8. CINEMATIC EFFECTS (Performance Optimized)
   ======================================================================== */
.cinematic-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

/* Sky Gradient */
.cinematic-bg .sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    #2a3f66 0%,
    #f4a261 40%,
    #ffcf9c 60%,
    #2b1b2b 100%
  );
}

/* Animated Sun - Simplified on Mobile */
.cinematic-bg .sun {
  position: absolute;
  width: 150px;
  height: 150px;
  left: 50%;
  bottom: 34%;
  transform: translateX(-50%) translateY(60px) scale(0.9);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    #ffd27d 0%,
    #ff9f43 60%,
    rgba(255, 159, 67, 0.2) 72%
  );
  opacity: 0;
  will-change: transform, opacity;
  animation: sunRise 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.8s forwards;
}

/* Mountain Layers - Simplified */
.cinematic-bg .mountains {
  position: absolute;
  inset: auto -20% 18% -20%;
  height: 40%;
  will-change: transform;
}

.cinematic-bg .mountains.back {
  bottom: 30%;
  background: linear-gradient(180deg, #3b5b7a, #122033);
  clip-path: polygon(
    0% 60%, 12% 46%, 24% 58%, 38% 38%, 52% 60%,
    66% 42%, 82% 60%, 100% 48%, 100% 100%, 0% 100%
  );
  opacity: 0.7;
  transform: translateY(100%);
  animation: mountainsUp 1s ease-out forwards;
}

.cinematic-bg .mountains.mid {
  bottom: 23%;
  background: linear-gradient(180deg, #2b455e, #0b1824);
  clip-path: polygon(
    0% 65%, 14% 50%, 28% 66%, 42% 42%, 58% 66%,
    72% 46%, 88% 64%, 100% 52%, 100% 100%, 0% 100%
  );
  opacity: 0.85;
  transform: translateY(100%);
  animation: mountainsUp 1s ease-out 0.15s forwards;
}

.cinematic-bg .mountains.front {
  bottom: 16%;
  background: linear-gradient(180deg, #182a36, #040a0f);
  clip-path: polygon(
    0% 70%, 12% 56%, 28% 70%, 44% 46%, 60% 70%,
    76% 50%, 92% 68%, 100% 56%, 100% 100%, 0% 100%
  );
  transform: translateY(100%);
  animation: mountainsUp 1s ease-out 0.3s forwards;
}

/* Valley/Foreground */
.cinematic-bg .valley {
  position: absolute;
  inset: auto 0 0 0;
  height: 20%;
  background: linear-gradient(
    180deg,
    #296333 0%,
    #033f10 45%,
    #0c2f25 100%
  );
  clip-path: ellipse(120% 80% at 50% 100%);
}


/* ========================================================================
   9. RESPONSIVE DESIGN (Mobile First Breakpoints)
   ======================================================================== */

/* Small Phones (375px+) */
@media (min-width: 375px) {
  .hero-clean__actions {
    max-width: 450px;
  }
}

/* Medium Phones & Small Tablets (520px+) */
@media (min-width: 520px) {
  :root {
    --spacing-xl: 40px;
    --spacing-2xl: 60px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-clean__actions {
    flex-direction: row;
  }
  
  .btn-primary,
  .btn-outline {
    width: auto;
  }
  
  .contact-info {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablets (768px+) */
@media (min-width: 768px) {
  :root {
    --spacing-xl: 48px;
    --spacing-2xl: 80px;
  }
  
  /* Desktop Navigation */
  .mobile-menu-toggle {
    display: none;
  }
  
  .nav {
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    flex-direction: row;
    padding: 0;
    box-shadow: none;
    gap: 4px;
  }
  
  .nav__link {
    border: none;
    padding: 8px 16px;
    font-size: 1rem;
  }
  
  .nav__link:hover,
  .nav__link:focus {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
  }
  
  /* Hero adjustments */
  .hero--clean {
    padding: 120px var(--spacing-xl) 80px;
  }
  
  /* Techniques - Side by Side */
  .tech-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--spacing-xl);
  }
  
  .tech-list {
    flex-direction: column;
    overflow-x: visible;
    overflow-y: auto;
    max-height: 600px;
    padding-right: var(--spacing-sm);
  }
  
  .tech-item {
    min-width: auto;
    width: 100%;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
  }
  
  .contact-map {
    height: 400px;
  }
  
  .contact-info {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(3, 1fr);
    text-align: left;
  }
  
  .footer-brand {
    align-items: flex-start;
  }
  
  .footer-nav {
    align-items: flex-start;
  }
  
  .footer-social {
    justify-content: flex-start;
  }
  
  /* Cinematic effects enhancement */
  .cinematic-bg .sun {
    width: 200px;
    height: 200px;
  }
  
  .cinematic-bg .mountains {
    height: 46%;
  }
  
  .cinematic-bg .valley {
    height: 24%;
  }
}

/* Large Tablets & Small Desktops (1024px+) */
@media (min-width: 1024px) {
  .navbar {
    padding: 0 var(--spacing-xl);
  }
  
  .techniques-vertical {
    padding: 80px var(--spacing-xl);
  }
  
  .gallery {
    padding: 80px var(--spacing-xl);
  }
  
  .contact {
    padding: 80px var(--spacing-xl);
  }
}

/* Desktop (1280px+) */
@media (min-width: 1280px) {
  .tech-layout {
    grid-template-columns: 320px 1fr;
  }
}

/* Large Desktop (1536px+) */
@media (min-width: 1536px) {
  .container {
    max-width: 1400px;
  }
}


/* ========================================================================
   10. UTILITIES
   ======================================================================== */

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--orange-200);
  color: var(--white);
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-fast);
  z-index: var(--z-sticky);
  display: none;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.scroll-to-top:hover,
.scroll-to-top:focus {
  background: var(--orange-300);
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.scroll-to-top:active {
  transform: scale(0.95);
}

/* Skip to Main Content (Accessibility) */
.skip-to-main {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--orange-200);
  color: var(--white);
  padding: 12px 20px;
  text-decoration: none;
  z-index: 9999;
  transition: top var(--transition-fast);
}

.skip-to-main:focus {
  top: 0;
}

/* Screen Reader Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Text Utilities */
.text-center {
  text-align: center;
}

/* Focus Visible (Accessibility) */
*:focus-visible {
  outline: 2px solid var(--orange-200);
  outline-offset: 2px;
}


/* Bottom-left Hero Info Box */
.hero-info-box {
  position: absolute;
  left: 40px;
  bottom: 40px;
  max-width: 320px;
  padding: 14px 18px;
  border-radius: 14px;

  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);

  animation: floatIn 1s ease 1.2s both;
}

.hero-info-box h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

.hero-info-box p {
  font-size: 0.85rem;
  line-height: 1.4;
  opacity: 0.85;
}

/* Mobile: center it above bottom */
@media (max-width: 768px) {
  .hero-info-box {
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
    max-width: 90%;
    text-align: center;
  }
}


/* ========================================================================
   END OF STYLESHEET
   ======================================================================== */

   /* updates */
   /* Line under section title */
.section-divider {
  width: 280px;
  height: 4px;
  background: linear-gradient(90deg, #ff9a3c, #ff6a00);
  margin: 12px auto 24px;
  border-radius: 999px;
}

/* Map Card */
.contact-map-card {
  max-width: 1100px;
  margin: 30px auto 60px;
  padding: 18px 18px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 40px rgba(0,0,0,0.12);
  position: relative;
}

/* Bold label above map */
.contact-map-label {
  position: absolute;
  top: -14px;
  left: 220px;
  padding: 9px 14px;
  background: #f10000;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

/* Map frame inside card */
.contact-map iframe {
  display: block;
  width: 100%;
  height: 360px;
  border-radius: 16px;
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .contact-map-card {
    margin: 20px 12px 40px;
    padding: 14px;
  }

  .contact-map iframe {
    height: 260px;
  }

  .contact-map-label {
    left: 16px;
    font-size: 0.8rem;
  }
}
.mcontact{
text-align: center;
font-weight: 700;
}

/* Make map card a positioning context */
.contact-map-card {
  position: relative;
}

/* Red centered notice */
.contact-map-label {
  position: absolute;
  top: 12px;              /* distance from top of map card */
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;

  background: #ff1f1f;
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  white-space: nowrap;

  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}

/* Mobile: allow wrapping and better spacing */
@media (max-width: 768px) {
  .contact-map-label {
    top: 8px;
    font-size: 0.75rem;
    white-space: normal;   /* allow text to wrap on small screens */
    max-width: 90%;
    padding: 8px 14px;
  }
}
@keyframes noticePulse {
  0% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.03); }
  100% { transform: translateX(-50%) scale(1); }
}



@keyframes noticePulse {
  0% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.03); }
  100% { transform: translateX(-50%) scale(1); }
}

.contact-map-label {
  animation: noticePulse 6.5s ease-in-out infinite;
}
.pres{
  font-size: 1.6rem;
  font-weight: 400;
  color: #ff0000;
  text-align: center;
}
/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 16px;
}

.lightbox.show {
  display: flex;
}

.lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  animation: zoomIn 0.25s ease;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
  user-select: none;
  opacity: 0.9;
}

.lightbox-close:hover {
  opacity: 1;
}

@keyframes zoomIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .lightbox-close {
    top: 10px;
    right: 12px;
    font-size: 28px;
  }
}
