/* --- Base Settings & Animations --- */
:root {
  --primary-color: #fca311;
  --primary-dark: #e65100;
  --accent-color: #00d2ff;
  --bg-dark: #07090f;
  --glass-bg: rgba(20, 25, 40, 0.6);
  --glass-border: rgba(255, 255, 255, 0.1);
  --text-main: #f5f5f5;
  --text-muted: #aaaaaa;
  
  --ff-head: 'Orbitron', sans-serif;
  --ff-body: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background-color: var(--bg-dark);
}

body {
  font-family: var(--ff-body);
  background-color: transparent;
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Background Animation */
.bg-wrapper {
  position: fixed;
  top: -5%;
  left: -5%;
  width: 110%;
  height: 110%;
  background: url('../images/backgground.jpeg') center/cover no-repeat;
  z-index: -2;
  animation: slowZoom 25s infinite alternate ease-in-out;
  filter: blur(4px) brightness(0.6);
}

.bg-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(circle at center, rgba(0,0,0,0.1) 0%, rgba(7,9,15,0.9) 100%);
  z-index: -1;
}

@keyframes slowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

/* Glassmorphism Classes */
.glass-main {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glass-panel {
  background: rgba(30, 35, 55, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-panel:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(252, 163, 17, 0.2);
  border-color: rgba(252, 163, 17, 0.5);
}

/* Typography & Utilities */
h1, h2, h3, h4, h5, h6, .ff-orbitron {
  font-family: var(--ff-head);
  letter-spacing: 1px;
}

.highlight {
  color: var(--primary-color);
  text-shadow: 0 0 10px rgba(252, 163, 17, 0.5);
}

.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.meta-color { color: var(--text-muted); }

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
.wrapper-margin {
  margin-top: 100px;
  margin-bottom: 50px;
  flex: 1;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  border-bottom: 1px solid var(--glass-border);
  border-radius: 0 0 10px 10px;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-family: var(--ff-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  color: var(--primary-color);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); text-shadow: 0 0 0 rgba(252,163,17,0); }
  50% { transform: scale(1.1); text-shadow: 0 0 15px rgba(252,163,17,0.7); }
  100% { transform: scale(1); text-shadow: 0 0 0 rgba(252,163,17,0); }
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a:hover {
  color: var(--primary-color);
}

/* Buttons */
.btn {
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: inline-block;
  font-family: var(--ff-body);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
  color: #000;
  box-shadow: 0 0 15px rgba(252, 163, 17, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 0 25px rgba(252, 163, 17, 0.8);
  transform: scale(1.05);
  color: #000;
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.btn-outline:hover {
  background: rgba(252, 163, 17, 0.1);
  box-shadow: 0 0 15px rgba(252, 163, 17, 0.3) inset;
}

.btn-block {
  width: 100%;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Home Page */
.hero-section {
  padding: 2.5rem 0 2rem;
}

.services-section {
  padding: 1rem 0 2rem;
}

.hero-video {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
  border: 2px solid rgba(255,255,255,0.1);
  margin-bottom: 3rem;
  overflow: hidden;
}

.hero-video iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 400px));
  gap: 2rem;
  margin-top: 2rem;
  justify-content: center;
}

.category-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}

.category-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.category-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 15px 30px rgba(252, 163, 17, 0.3);
}

.category-card:hover img {
  transform: scale(1.1);
}

.category-overlay {
  position: absolute;
  bottom: 0; left: 0; width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  padding: 2rem 1rem 1rem;
  text-align: center;
}

.category-overlay h2 {
  color: var(--primary-color);
  font-size: 2rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  color: #fff;
  font-family: var(--ff-body);
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(252, 163, 17, 0.2);
}

/* Packages */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.package-card {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.package-price {
  font-size: 2rem;
  color: var(--primary-color);
  font-weight: 700;
  margin: 15px 0;
  font-family: var(--ff-head);
}

.package-features {
  list-style: none;
  margin: 20px 0;
  color: var(--text-muted);
  text-align: left;
}

.package-features li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.package-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

/* Floating Telegram */
.floating-telegram {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #0088cc;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  box-shadow: 0 5px 15px rgba(0, 136, 204, 0.4);
  z-index: 1000;
  transition: all 0.3s;
  animation: floatBounce 3s infinite ease-in-out;
}

.floating-telegram:hover {
  background: #0099e6;
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 136, 204, 0.6);
}

@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Footer */
footer {
  padding: 20px 0;
  margin-top: auto;
}

/* Tables */
.table-responsive {
  overflow-x: auto;
}
.styled-table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 0.9em;
  font-family: var(--ff-body);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}
.styled-table thead tr {
  background-color: var(--primary-dark);
  color: #ffffff;
  text-align: left;
}
.styled-table th,
.styled-table td {
  padding: 12px 15px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.styled-table tbody tr {
  transition: background 0.3s;
}
.styled-table tbody tr:hover {
  background-color: rgba(255,255,255,0.05);
}

.badge {
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: bold;
}
.badge-pending { background: #ff9800; color: #000; }
.badge-completed { background: #4caf50; color: #fff; }
.badge-danger { background: #f44336; color: #fff; }

/* Alerts */
.alert {
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
  border-left: 4px solid;
}
.alert-success { background: rgba(76, 175, 80, 0.1); border-color: #4caf50; color: #4caf50; }
.alert-danger { background: rgba(244, 67, 54, 0.1); border-color: #f44336; color: #f44336; }

/* Responsive adjustments */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    padding: 20px;
    border-bottom: 1px solid var(--glass-border);
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .logo { font-size: 1.2rem; }
}
