/* Splash Screen Styles */
#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #2c3e50;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.8s ease;
}

.splash-logo {
  width: 150px;
  height: 150px;
  margin-bottom: 20px;
  animation: pulse 2s infinite;
}

.splash-loader {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255,255,255,0.3);
  border-top: 5px solid #1abc9c;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 20px 0;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Main Content - Initially Hidden */
.main-content {
  display: none;
}

/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #f4f4f4;
}

/* Academy Title */
.title {
  background-color: #1abc9c;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 26px;
  font-weight: bold;
}

/* Header & File Menu */
header {
  background-color: #2c3e50;
  color: white;
}

.menu-bar {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 12px 20px;
}

.menu {
  position: relative;
  cursor: pointer;
}

.menu-title {
  padding: 10px;
  color: white;
}

.menu-title a {
  color: white;
  text-decoration: none;
}

.menu-title a:hover {
  color: #1abc9c;
}

.dropdown {
  display: none;
  position: absolute;
  top: 40px;
  left: 0;
  background-color: #34495e;
  min-width: 120px;
  border-radius: 4px;
  z-index: 999;
}

.dropdown a {
  display: block;
  padding: 10px;
  color: white;
  text-decoration: none;
}

.dropdown a:hover {
  background-color: #1abc9c;
}

.menu:hover .dropdown {
  display: block;
}

/* Slider */
.slider {
  width: 100%;
  height: 450px;
  overflow: hidden;
  position: relative;
  margin-top: 20px;
}

.slides {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease;
}

.slide {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Owner Section */
.owner-section {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  background-color: white;
  display: flex;
  gap: 20px;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 8px;
}

.owner-section img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
}

.owner-info h2 {
  margin-bottom: 10px;
  color: #2c3e50;
}

.owner-info p {
  font-size: 16px;
  color: #555;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .menu-bar {
    flex-direction: column;
  }

  .dropdown {
    position: static;
    width: 100%;
  }

  .menu:hover .dropdown {
    display: none;
  }

  .menu .menu-title:active + .dropdown {
    display: block;
  }

  .owner-section {
    flex-direction: column;
    text-align: center;
  }

  .owner-section img {
    margin-bottom: 15px;
  }
}
