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

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background: linear-gradient(135deg, #ff8c42 0%, #3498db 100%);
  color: white;
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 5px 10px;
  border-radius: 20px;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.hero {
  background: linear-gradient(135deg, #ff8c42 0%, #3498db 50%, #2980b9 100%);
  padding: 120px 0 80px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "💃🕺";
  position: absolute;
  font-size: 15rem;
  opacity: 0.1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: dance 4s ease-in-out infinite;
}

@keyframes dance {
  0%,
  100% {
    transform: translate(-50%, -50%) rotate(-5deg);
  }
  50% {
    transform: translate(-50%, -50%) rotate(5deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cta-button {
  display: inline-block;
  background: white;
  color: #ff8c42;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 1s ease-out 0.6s both;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  background: #f8f9fa;
}

.dance-styles {
  background: white;
  padding: 80px 0;
  transition: background-color 0.3s ease;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #333;
  position: relative;
  transition: color 0.3s ease;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #ff8c42, #3498db);
  border-radius: 2px;
}

.styles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.style-card {
  background: linear-gradient(135deg, #fff5e6 0%, #ffd699 100%);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
}

.style-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: #ff8c42;
  box-shadow: 0 15px 30px rgba(255, 140, 66, 0.3);
}

.style-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.style-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.lessons {
  background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
  color: white;
  padding: 80px 0;
}

.lessons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.lesson-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.lesson-card:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.lesson-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.instructor {
  background: #f8f9fa;
  padding: 80px 0;
  transition: background-color 0.3s ease;
}

.instructor-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
}

.instructor-image {
  text-align: center;
}

.instructor-avatar {
  width: auto;
  height: auto;
  border-radius: 15px;
  background: none;
  display: block;
  font-size: 6rem;
  color: white;
  margin: 0 auto;
  animation: none;
  max-width: 400px;
}

.instructor-avatar .instagram-media {
  border-radius: 15px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
  transition: transform 0.3s ease;
}

.instructor-avatar .instagram-media:hover {
  transform: scale(1.02);
}

.instructor-info h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #333;
}

.instructor-name {
  font-family: "Great Vibes", cursive;
  font-size: 4.5rem;
  color: #ff8c42;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .instructor-name {
    font-size: 3rem;
  }
}

@media (max-width: 480px) {
  .instructor-name {
    font-size: 2.5rem;
  }
}

.credentials {
  list-style: none;
  margin: 1rem 0;
}

.credentials li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 2rem;
}

.credentials li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ff8c42;
  font-weight: bold;
}

.contact {
  background: linear-gradient(135deg, #ff8c42 0%, #3498db 100%);
  color: white;
  padding: 80px 0;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.contact-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.contact-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 2rem 0;
}

.quote {
  font-style: italic;
  font-size: 1.2rem;
  margin: 2rem 0;
  text-align: center;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #ff8c42 0%, #3498db 100%);
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 1001;
  }

  .nav-links a {
    padding: 15px 20px;
    border-radius: 10px;
    margin: 5px 10px;
    color: white;
  }

  .nav-links.active {
    display: flex !important;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .hero::before {
    font-size: 8rem;
  }

  .container {
    padding: 0 15px;
  }

  .section-title {
    font-size: 2rem;
  }

  .styles-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .lessons-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .instructor-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .instructor-avatar {
    max-width: 300px;
  }

  .contact-info {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-form {
    max-width: 100%;
  }

  .dance-styles,
  .lessons,
  .instructor,
  .contact {
    padding: 60px 0;
  }
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: white;
  margin-bottom: 4px;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

/* Enhanced contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 14px;
  transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.15);
}

.contact-form button {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  padding: 12px 20px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
}

.contact-form button:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* Navigation Controls - removed since dark mode toggle moved to footer */

.dark-mode-toggle {
  background: rgba(255, 140, 66, 0.2) !important;
  border: 2px solid rgba(255, 140, 66, 0.3) !important;
  border-radius: 50% !important;
  width: 50px !important;
  height: 50px !important;
  font-size: 1.3rem !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ff8c42 !important;
}

.dark-mode-toggle:hover {
  background: rgba(255, 140, 66, 0.4) !important;
  border-color: rgba(255, 140, 66, 0.6) !important;
  transform: scale(1.1) !important;
}

/* Dark Mode Styles */
.dark-mode {
  background-color: #1a1a1a;
  color: #e0e0e0;
}

.dark-mode .dance-styles {
  background: #2c2c2c;
}

.dark-mode .instructor {
  background: #2c2c2c;
}

.dark-mode .section-title {
  color: #e0e0e0;
}

.dark-mode .style-card {
  background: linear-gradient(135deg, #3a3a3a 0%, #4a4a4a 100%);
  color: #e0e0e0;
  border-color: #555;
}

.dark-mode .style-card:hover {
  border-color: #ff8c42;
  box-shadow: 0 15px 30px rgba(255, 140, 66, 0.2);
}

.dark-mode .style-card h3 {
  color: #e0e0e0;
}

.dark-mode .instructor-info h3 {
  color: #e0e0e0;
}

.dark-mode .instructor-info p {
  color: #b0b0b0;
}

.dark-mode .credentials li {
  color: #b0b0b0;
}

.dark-mode footer {
  background: #1a1a1a;
  border-top: 1px solid #333;
}

.dark-mode .quote {
  color: #b0b0b0;
}

/* Dark mode mobile adjustments */
@media (max-width: 768px) {
  .dark-mode-toggle {
    width: 45px !important;
    height: 45px !important;
    font-size: 1.1rem !important;
  }
}
