/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Comfortaa', cursive;
  background: #0a0a0a;
  color: #fff;
  overflow-x: hidden;
  line-height: 1.5;
  cursor: default;
}

::selection {
  background: #ff6a00;
  color: #0a0a0a;
}

/* ===== VARIABLES ===== */
:root {
  --accent: #ff6a00;
  --accent-glow: #ff8c42;
  --accent-dim: rgba(255, 106, 0, 0.3);
  --accent-dark: #cc5500;
  --dark: #0a0a0a;
  --dark-card: #111111;
  --dark-elevated: #181818;
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.05);
  --transition-smooth: 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(255, 106, 0, 0.3);
  --shadow-glow-hover: 0 0 50px rgba(255, 106, 0, 0.5);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, .logo {
  font-family: 'Comfortaa', cursive;
  letter-spacing: 3px;
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 6vw, 3rem);
  text-align: center;
  margin: 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-line {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-glow), var(--accent), transparent);
  margin: 1rem auto 0;
  border-radius: 3px;
}

/* ===== CONTAINER ===== */
.container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.4s ease;
}

header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  border-bottom-color: var(--accent-dim);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: 3px;
  position: relative;
  background: linear-gradient(135deg, #fff, #ccc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo span {
  background: linear-gradient(135deg, var(--accent), var(--accent-glow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
  animation: zGlow 1.5s ease-in-out infinite;
}

@keyframes zGlow {
  0%, 100% { 
    text-shadow: 0 0 0px rgba(255, 106, 0, 0);
    transform: scale(1);
  }
  50% { 
    text-shadow: 0 0 15px rgba(255, 106, 0, 0.8);
    transform: scale(1.05);
  }
}

.nav-buttons {
  display: flex;
  gap: 1rem;
}

/* ===== BUTTONS ===== */
.btn {
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.8rem;
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  cursor: pointer;
  border: none;
  display: inline-block;
  text-align: center;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-decoration: none;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
  z-index: -1;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-glow));
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 106, 0, 0.3);
}

.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 106, 0, 0.5);
}

.secondary {
  background: transparent;
  border: 1.5px solid var(--accent);
  color: #fff;
}

.secondary:hover {
  background: var(--accent-dim);
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(255, 106, 0, 0.2);
}

.route-btn {
  margin-top: 2rem;
  display: inline-block;
}

/* Remove underline from all buttons and links */
.btn, .btn:hover, .btn:focus, .btn:active,
a, a:hover, a:focus, a:active {
  text-decoration: none !important;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-3d-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-3d-layer::before {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  top: -25%;
  left: -25%;
  background: radial-gradient(ellipse at 30% 40%, rgba(255, 106, 0, 0.1) 0%, transparent 60%);
  animation: rotate3D 20s linear infinite;
}

@keyframes rotate3D {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.1); }
  100% { transform: rotate(360deg) scale(1); }
}

.light-beams {
  position: absolute;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(120deg, transparent 30%, rgba(255, 106, 0, 0.08) 40%, rgba(255, 106, 0, 0.12) 50%, transparent 60%),
    linear-gradient(240deg, transparent 30%, rgba(255, 106, 0, 0.05) 45%, transparent 55%);
  animation: beamsMove 12s ease-in-out infinite;
  opacity: 0.7;
}

@keyframes beamsMove {
  0%, 100% { transform: translateX(-10%) translateY(-10%) rotate(0deg); opacity: 0.4; }
  50% { transform: translateX(10%) translateY(10%) rotate(2deg); opacity: 1; }
}

.advanced-grid {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 106, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 106, 0, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridDrift 20s linear infinite;
}

@keyframes gridDrift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(40px, 40px); }
}

.particles-container {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  animation: orbFloat 15s ease-in-out infinite;
}

.orb-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.4), transparent);
  top: 20%;
  left: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 140, 66, 0.3), transparent);
  bottom: 10%;
  right: -150px;
  animation-delay: 5s;
}

.orb-3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.35), transparent);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 10s;
  filter: blur(80px);
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
  50% { transform: translate(30px, -30px) scale(1.2); opacity: 0.5; }
}

.hero-content {
  position: relative;
  z-index: 10;
  animation: heroReveal 1.2s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(30px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.hero h1 {
  font-size: clamp(3rem, 12vw, 6rem);
  letter-spacing: 5px;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff, #aaa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--accent), var(--accent-glow), #ffaa66);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
  animation: zLetterFloat 1.2s ease-in-out infinite;
}

@keyframes zLetterFloat {
  0%, 100% { 
    transform: translateY(0px) scale(1);
    text-shadow: 0 0 0px rgba(255, 106, 0, 0);
  }
  50% { 
    transform: translateY(-4px) scale(1.08);
    text-shadow: 0 0 20px rgba(255, 106, 0, 0.6);
  }
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  opacity: 0.85;
  margin: 1.5rem 0;
  letter-spacing: 1px;
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* Timer Styles */
.timer-container {
  margin-top: 2.5rem;
  display: inline-block;
  width: auto;
  min-width: 280px;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1rem 1.8rem;
  border: 1px solid rgba(255, 106, 0, 0.2);
}

.timer-status {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
  font-family: 'Comfortaa', cursive;
}

.timer-progress {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.timer-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-glow));
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* ===== SERVICES SECTION ===== */
.services {
  padding: 6rem 0;
  background: linear-gradient(180deg, #0a0a0a 0%, #0f0f0f 100%);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
  margin-top: 2rem;
}

.service-card {
  background: linear-gradient(135deg, var(--dark-card), var(--dark-elevated));
  padding: 2rem 1.5rem;
  border-radius: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.2);
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 106, 0, 0.08), transparent);
  transition: left 0.6s ease;
}

.service-card:hover::before {
  left: 100%;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-glow));
  transition: width 0.4s ease;
}

.service-card:hover::after {
  width: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-dim);
  box-shadow: var(--shadow-lg), var(--shadow-glow-hover);
}

.service-card h3 {
  font-family: 'Comfortaa', cursive;
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 1rem;
  color: #fff;
  letter-spacing: 0;
}

.service-card p {
  font-size: 0.8rem;
  color: #999;
  margin-top: 0.75rem;
  line-height: 1.5;
  font-weight: 400;
}

.service-icon {
  width: 65px;
  height: 65px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--accent-dim), rgba(255, 106, 0, 0.05));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 400;
  transition: all 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
  border: 1px solid var(--glass-border);
}

.service-card:hover .service-icon {
  transform: scale(1.08) rotate(3deg);
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.25), rgba(255, 106, 0, 0.08));
  box-shadow: 0 0 25px rgba(255, 106, 0, 0.3);
}

/* ===== GALLERY ===== */
.gallery {
  padding: 6rem 0;
  background: #0a0a0a;
  position: relative;
}

.swiper-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

.swiper-slide {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.swiper-slide:hover img {
  transform: scale(1.05);
}

.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5);
  width: 10px;
  height: 10px;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: var(--accent);
  width: 25px;
  border-radius: 5px;
}

.swiper-button-prev,
.swiper-button-next {
  color: var(--accent);
  background: rgba(0, 0, 0, 0.5);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: var(--accent);
  color: #fff;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 1rem;
  font-weight: bold;
}

@media (max-width: 768px) {
  .swiper-button-prev,
  .swiper-button-next {
    display: none;
  }
}

/* ===== MAP SECTION ===== */
.map {
  padding: 6rem 0;
  background: linear-gradient(180deg, #0f0f0f 0%, #0a0a0a 100%);
  position: relative;
  text-align: center;
}

.map-wrapper {
  margin: 2rem auto;
  max-width: 1000px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--glass-border);
  transition: all 0.4s ease;
}

.map-wrapper:hover {
  transform: scale(1.01);
  border-color: var(--accent-dim);
  box-shadow: var(--shadow-glow);
}

#map-container {
  width: 100%;
  height: 450px;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.map-placeholder {
  text-align: center;
  color: #888;
}

.map-placeholder p {
  margin: 10px 0;
}

/* ===== CONTACTS ===== */
.contacts {
  padding: 6rem 0;
  background: #0a0a0a;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.8rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-item {
  background: linear-gradient(135deg, var(--dark-card), var(--dark-elevated));
  padding: 1.8rem 1.2rem;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  transition: all 0.4s ease;
  text-align: center;
}

.contact-item:hover {
  transform: translateY(-5px);
  border-color: var(--accent-dim);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.contact-icon {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.contact-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.contact-value {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
}

.contact-value a {
  color: #fff;
  transition: color 0.3s ease;
  text-decoration: none;
}

.contact-value a:hover {
  color: var(--accent);
}

.contact-zip {
  font-size: 0.75rem;
  color: #666;
  margin-top: 0.5rem;
  display: inline-block;
}

/* ===== FOOTER ===== */
footer {
  background: #050505;
  padding: 2rem;
  text-align: center;
  border-top: 1px solid var(--glass-border);
}

.footer-content .logo {
  font-size: 1.1rem;
  display: inline-block;
  margin-bottom: 0.8rem;
}

footer p {
  color: #555;
  font-size: 0.75rem;
  letter-spacing: 1px;
}

/* ===== MODAL ===== */
.service-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
  justify-content: center;
  align-items: center;
  z-index: 2000;
  animation: modalFade 0.3s ease;
}

@keyframes modalFade {
  from { opacity: 0; backdrop-filter: blur(0); }
  to { opacity: 1; backdrop-filter: blur(20px); }
}

.modal-content {
  background: linear-gradient(135deg, #1a1a1a, #0f0f0f);
  padding: 2.5rem;
  border-radius: 28px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  position: relative;
  border: 1px solid var(--accent-dim);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 106, 0, 0.2);
  animation: modalSlide 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.2);
}

@keyframes modalSlide {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(40px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-content h3 {
  font-family: 'Comfortaa', cursive;
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-glow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}

.modal-content p {
  color: #bbb;
  line-height: 1.6;
  font-size: 0.95rem;
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  font-size: 1.8rem;
  cursor: pointer;
  color: #666;
  transition: all 0.3s ease;
  line-height: 1;
}

.close-modal:hover {
  color: var(--accent);
  transform: rotate(90deg);
}

/* ===== FLOATING BUTTON ===== */
.floating-call {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, var(--accent), var(--accent-glow));
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(255, 106, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
  cursor: pointer;
}

.floating-call:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(255, 106, 0, 0.6);
}

.floating-call a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.6rem;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}

/* ===== SCROLL REVEAL ===== */
.reveal-section {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.reveal-section.active {
  opacity: 1;
  transform: translateY(0);
}

.service-card {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.service-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .container {
    width: 92%;
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.7rem;
    width: 100%;
    max-width: 220px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .map-wrapper {
    margin: 1.5rem auto;
  }
  
  #map-container {
    height: 300px;
  }

  .contacts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .floating-call {
    display: flex;
  }

  .nav-buttons .primary {
    display: none;
  }

  .modal-content {
    padding: 1.8rem;
    width: 92%;
  }

  .modal-content h3 {
    font-size: 1.5rem;
  }
  
  .swiper-container {
    border-radius: 16px;
  }
}

@media (max-width: 580px) {
  .contacts-grid {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: 2.2rem;
    letter-spacing: 2px;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .timer-container {
    min-width: 260px;
    padding: 0.8rem 1.2rem;
  }
  
  .timer-status {
    font-size: 0.75rem;
  }
  
  .service-card h3 {
    font-size: 1rem;
  }
  
  .service-card p {
    font-size: 0.75rem;
  }
  
  .contact-value {
    font-size: 0.85rem;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero-buttons .btn {
    font-size: 0.65rem;
    padding: 0.6rem 1rem;
  }
  
  .timer-container {
    min-width: 240px;
  }
}

/* ===== CURSOR GLOW ===== */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.06), transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.05s ease;
}

@media (max-width: 768px) {
  .cursor-glow {
    display: none;
  }
}