:root {
  --bg-main: #0b0f19;
  --bg-card: #151c2c;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --primary: #f59e0b;
  --primary-hover: #d97706;
  --border: #232d42;
  --nav-bg: rgba(11, 15, 25, 0.85);
  --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] {
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --primary: #d97706;
  --primary-hover: #b45309;
  --border: #e2e8f0;
  --nav-bg: rgba(248, 250, 252, 0.85);
  --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  transition:
    background-color 0.3s,
    color 0.3s;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  color: var(--text-main);
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 800;
}

.logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
}

.theme-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: none;
  color: var(--text-main);
  cursor: pointer;
  font-size: 0.85rem;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 9rem 0 5rem;
}

.badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 1rem;
  border: 1px solid var(--primary);
  border-radius: 50px;
  background: rgba(245, 158, 11, 0.15);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
}

.hero h1 {
  margin-bottom: 1rem;
  font-size: 3rem;
  line-height: 1.15;
}

.hero p {
  margin-bottom: 2rem;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.2s,
    background 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: #000;
}

.btn-secondary {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-main);
}

/* Hero Slider */
.hero-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 550px;
  overflow: hidden;
  border-radius: 24px;
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero-slider .slide.active {
  opacity: 1;
}

.slider-btn {
  position: absolute;
  top: 50%;
  z-index: 10;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  transform: translateY(-50%);
}

.slider-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.slider-btn.prev {
  left: 15px;
}

.slider-btn.next {
  right: 15px;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-title {
  margin-bottom: 3rem;
  text-align: center;
}

.section-title h2 {
  margin-bottom: 0.5rem;
  font-size: 2.2rem;
}

.section-title p {
  color: var(--text-muted);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
  transition: border-color 0.3s;
}

.service-card:hover {
  border-color: var(--primary);
}

.service-card i {
  margin-bottom: 1rem;
  color: var(--primary);
  font-size: 2rem;
}

.service-card h3 {
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Gallery */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-card);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Video thumbnail always shows play icon */
.video-gallery-item .gallery-overlay {
  opacity: 1;
  background: rgba(0, 0, 0, 0.2);
}

/* Image thumbnails show icon only on hover */
.gallery-item:not(.video-gallery-item):hover .gallery-overlay {
  opacity: 1;
  background: rgba(0, 0, 0, 0.5);
}

.video-gallery-item {
  position: relative;
}

.video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  display: block;
  font-size: 4.5rem;
  color: #930ead;
  border-radius: 50%;
  padding: 12px;
  pointer-events: none;
}

.video-label {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 8px;
  text-align: center;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9998;
}

@media (max-width: 768px) {
  .video-play-icon {
    font-size: 3.5rem;
    padding: 10px;
  }
}

/* Lightbox */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.9);
}

.modal.active {
  display: flex;
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 900px;
}

.modal-content img,
.modal-content iframe {
  width: 100%;
  max-height: 80vh;
  border-radius: 8px;
}

.close-modal {
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

/* Contact */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 3rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-card);
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-main);
  color: var(--text-main);
  font-family: inherit;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
}

/* Social */
.social-links {
  margin: 30px 0;
  text-align: center;
}

.social-links a {
  display: inline-block;
  margin: 0 12px;
  font-size: 2rem;
  transition: transform 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-5px) scale(1.15);
}

.facebook {
  color: #1877f2;
}

.instagram {
  color: #e4405f;
}

.tiktok {
  color: #000;
}

.youtube {
  color: #ff0000;
}

.whatsapp {
  color: #25d366;
}

[data-theme='dark'] .tiktok {
  color: #fff;
}

/* Footer */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.footer p {
  margin-top: 20px;
}

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 2rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
}

/* Mobile Call Bar */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 998;
  width: 100%;
  padding: 0.8rem;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 7rem;
    text-align: center;
  }

  .hero-slider {
    height: 400px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .contact-container {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .mobile-call-bar {
    display: block;
  }

  .floating-whatsapp {
    bottom: 75px;
  }
}