/* Variables CSS */
:root {
  --primary-color: #ff00cc;
  --secondary-color: #3333ff;
  --bg-dark: #0f0c29;
  --text-light: #ffffff;
  --text-muted: #dddddd;
}

/* Base Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: url('fond2.gif') center/cover no-repeat fixed;
  color: var(--text-light);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 12, 41, 0.7);
  z-index: -1;
}

/* Header Styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: linear-gradient(135deg, rgba(255, 0, 204, 0.9), rgba(51, 51, 255, 0.9));
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(5px);
  border-radius: 0 0 20px 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.logo img {
  height: 80px;
  width: 80px;
  object-fit: contain;
  border-radius: 50%;
  transition: transform 0.5s ease;
}

.logo:hover img {
  transform: rotate(360deg);
}

.logo h1 {
  font-size: 1.8rem;
  margin: 0;
  color: var(--text-light);
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Navigation */
nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 8px 15px;
  border-radius: 20px;
}

nav ul li a:hover,
nav ul li a:focus {
  background: rgba(255,255,255,0.2);
  outline: none;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: linear-gradient(135deg, rgba(255, 0, 204, 0.9), rgba(51, 51, 255, 0.9));
  min-width: 200px;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  z-index: 1000;
  overflow: hidden;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  padding: 10px 15px;
  border-top: 1px solid rgba(255,255,255,0.1);
  transition: background 0.3s ease;
}

.dropdown-menu li:hover {
  background: rgba(255,255,255,0.1);
}

.dropdown-menu li a {
  display: block;
  white-space: nowrap;
  border-radius: 0;
  padding: 0;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  background: transparent;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  padding-right: 40px;
  max-width: 600px;
}

.hero-content h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text-muted);
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-right: 15px;
  margin-top: 10px;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 0, 204, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 0, 204, 0.6);
}

.btn-secondary {
  background: var(--secondary-color);
  color: white;
  box-shadow: 0 4px 15px rgba(51, 51, 255, 0.4);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(51, 51, 255, 0.6);
}

/* Dance Animation */
.dance-animation {
  position: relative;
  width: 500px;
  height: 500px;
  flex-shrink: 0;
}

.orbital-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: rotate 30s linear infinite;
}

.orbital-gif-container {
  position: absolute;
  width: 100%;
  height: 100%;
}

.orbital-gif {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(255, 0, 204, 0.7);
  border: 2px solid rgba(255, 255, 255, 0.5);
  transform-origin: center;
}

.orbital-gif img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Circle Highlights */
.circle-highlights {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 80px auto;
  max-width: 1200px;
  padding: 0 20px;
}

.circle-item {
  text-align: center;
  max-width: 200px;
  position: relative;
}

.circle-bg {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: transform 0.5s ease;
}

.circle-item:hover .circle-bg {
  transform: scale(1.1) rotate(15deg);
}

.circle-item h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--text-light);
}

.circle-item p {
  color: var(--text-muted);
}

/* Footer */
footer {
  background: linear-gradient(135deg, rgba(255, 0, 204, 0.9), rgba(51, 51, 255, 0.9));
  text-align: center;
  padding: 30px 0;
  color: white;
  font-weight: 600;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(5px);
  border-radius: 20px 20px 0 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.footer-circle {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
}

.circle-animation {
  width: 100%;
  height: 100%;
  border: 3px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  position: relative;
  animation: pulse 4s ease infinite;
}

.circle-animation::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  border: 3px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  animation: pulse 4s ease infinite 0.5s;
}

.circle-animation::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  border: 3px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  animation: pulse 4s ease infinite 1s;
}

/* Animations */
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

/* Responsive Design */
@media (max-width: 992px) {
  .circle-highlights {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(255, 0, 204, 0.9), rgba(51, 51, 255, 0.9));
    position: absolute;
    top: 70px;
    right: 30px;
    width: 200px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    z-index: 100;
  }
  
  nav ul.active {
    display: flex;
  }
  
  .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
    background: rgba(0,0,0,0.2);
  }
  
  .dropdown:hover .dropdown-menu {
    display: none;
  }
  
  .dropdown.active .dropdown-menu {
    display: block;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .hero-container {
    flex-direction: column;
    padding: 40px 20px;
  }
  
  .hero-content {
    padding-right: 0;
    margin-bottom: 40px;
    text-align: center;
  }
  
  .dance-animation {
    width: 300px;
    height: 300px;
  }
  
  .orbital-gif {
    width: 70px;
    height: 70px;
  }
  
  .circle-bg {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 480px) {
  .logo h1 {
    font-size: 1.4rem;
  }
  
  .hero-content h2 {
    font-size: 2rem;
  }
  
  .btn {
    display: block;
    width: 100%;
    margin-bottom: 15px;
  }
  
  .circle-highlights {
    gap: 30px;
  }
}