@charset "UTF-8";
/* Modern Sports Brand CSS - Upper Moreland Wrestling Club */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Orbitron:wght@400;500;600;700;800;900&display=swap');

/* CSS Variables for consistent theming */
:root {
  --primary-color: #2d1b69;
  --secondary-color: #1a103f;
  --accent-color: #8b5cf6;
  --accent-gold: #f59e0b;
  --accent-silver: #94a3b8;
  --text-primary: #1f2937;
  --text-secondary: #4b5563;
  --text-light: #ffffff;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --gradient-primary: linear-gradient(135deg, #2d1b69 0%, #1a103f 50%, #0f0a23 100%);
  --gradient-secondary: linear-gradient(135deg, #1a103f 0%, #2d1b69 50%, #0f0a23 100%);
  --gradient-accent: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
  --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.1);
  --shadow-heavy: 0 15px 35px rgba(0, 0, 0, 0.15);
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-secondary);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Modern Container */
#container {
  max-width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header Styles */
header {
  background: var(--bg-primary);
  padding: 1rem 0;
  position: relative;
  box-shadow: var(--shadow-medium);
  z-index: 1000;
  border-bottom: 2px solid var(--accent-color);
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.05) 0%, rgba(245, 158, 11, 0.05) 100%);
  pointer-events: none;
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.logo img {
  max-height: 80px;
  transition: var(--transition);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.logo:hover img {
  transform: scale(1.05);
}

/* Social Icons */
.social-icons {
  position: absolute;
  top: 1rem;
  right: 2rem;
  z-index: 15;
}

.social-icons .fa,
.social-icons .fa-brands,
.social-icons .fa-solid {
  color: var(--accent-color);
  font-size: 3rem !important;
  margin-left: 1rem;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1 !important;
}

.social-icons .fa:hover,
.social-icons .fa-brands:hover,
.social-icons .fa-solid:hover {
  color: var(--accent-gold);
  transform: scale(1.2);
}

/* Navigation Styles */
nav {
  background: var(--bg-primary);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--accent-color);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: var(--shadow-light);
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
}

nav li {
  position: relative;
}

nav li a {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  position: relative;
}

nav li a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: var(--transition);
  transform: translateX(-50%);
}

nav li a:hover::before {
  width: 100%;
}

nav li a:hover {
  color: var(--accent-color);
  background: rgba(139, 92, 246, 0.1);
}

/* Mobile Navigation */
.topnav {
  display: none;
}

/* Main Content Area */
main {
  flex: 1;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Layout Container for Sidebars and Content */
.layout-container {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  gap: 2rem;
  padding: 0 2rem;
}

.content-area {
  flex: 1;
  max-width: 800px;
  order: 2;
}

.sidebar-left {
  width: 300px;
  flex-shrink: 0;
  order: 1;
}

.sidebar-right {
  width: 300px;
  flex-shrink: 0;
  order: 3;
}

/* Banner Slideshow - Always Visible */
.banner-slideshow {
  display: block;
  margin-bottom: 3rem;
}

/* Slideshow Styles */
.slideshow-container {
  max-width: 1200px;
  margin: 0 auto 3rem auto;
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-heavy);
}

.mySlides {
  display: none;
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.mySlides img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-medium);
  transition: var(--transition);
}

.mySlides img:hover {
  transform: scale(1.02);
}

/* Dot Navigation */
.slideshow-dots {
  text-align: center;
  padding: 1rem 0;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.3));
}

.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: inline-block;
  transition: var(--transition);
}

.dot:hover,
.dot.active {
  background-color: var(--accent-color);
  transform: scale(1.2);
}

/* Content Sections */
.homepage-content,
.about-us-content,
.gallery-container,
.contact-us-content,
.wrestling-links-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2rem;
  background: var(--bg-primary);
  border-radius: var(--border-radius);
  border: 1px solid rgba(139, 92, 246, 0.1);
  box-shadow: var(--shadow-medium);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
  text-align: center;
}

h1 {
  font-size: 2.5rem;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 2rem;
  color: var(--accent-color);
}

h3 {
  font-size: 1.5rem;
  color: var(--text-secondary);
}

/* Buttons */
.btn {
  background: var(--gradient-accent);
  color: var(--text-primary);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-light);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn.active {
  background: var(--gradient-gold);
  color: var(--text-dark);
}

/* Sidebar Styles */
.sidebar-links,
.sidebar-info {
  background: var(--bg-primary);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  border: 1px solid rgba(139, 92, 246, 0.1);
  box-shadow: var(--shadow-light);
  height: fit-content;
}

.sidebar-links h3,
.sidebar-info h3 {
  color: var(--primary-color);
  font-family: 'Orbitron', monospace;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.sidebar-links a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  display: block;
  padding: 0.5rem 0;
}

.sidebar-links a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

/* Registration Button Styles */
.sidebar-links a[href*="registration.bluesombrero.com"],
.sidebar-info a[href*="registration.bluesombrero.com"] {
  background: linear-gradient(135deg, var(--accent-color), #7c3aed);
  color: white !important;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
}

.sidebar-links a[href*="registration.bluesombrero.com"]:hover,
.sidebar-info a[href*="registration.bluesombrero.com"]:hover {
  background: linear-gradient(135deg, #7c3aed, var(--accent-color));
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
  color: white !important;
}

.sidebar-links a[href*="registration.bluesombrero.com"]:active,
.sidebar-info a[href*="registration.bluesombrero.com"]:active {
  transform: translateY(0) scale(0.98);
}

/* Fix image overflow in sidebar */
.sidebar-links img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  margin-top: 0.5rem;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
}

.sidebar-links img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-medium);
}

/* Form Styles */
input, textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--border-radius);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

input[type=submit] {
  background: var(--gradient-accent);
  color: var(--text-primary);
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

input[type=submit]:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* Gallery Styles */
.gallery-container {
  text-align: center;
}

.row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.column img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--border-radius);
  transition: var(--transition);
  box-shadow: var(--shadow-light);
}

.column img:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-medium);
}

/* Schedule Styles */
.schedule-content {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin: 1rem 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.schedule-icons {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.schedule-icons img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

/* Sponsor Styles */
.sponsor-container {
  background: var(--gradient-primary);
  padding: 2rem 0;
  margin-top: 3rem;
  border-top: 2px solid var(--accent-color);
  width: 100%;
}

.sponsor-container h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.sponsor-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.sponsor-images {
  flex: 1;
  min-width: 200px;
  text-align: center;
}

.sponsor-images img {
  max-height: 80px;
  width: auto;
  filter: grayscale(100%);
  transition: var(--transition);
}

.sponsor-images img:hover {
  filter: grayscale(0%);
  transform: scale(1.1);
}

/* Footer */
footer {
  background: var(--gradient-secondary);
  color: var(--text-light);
  text-align: center;
  padding: 2rem 0;
  margin-top: auto;
  border-top: 2px solid var(--accent-color);
}

/* Accordion Styles */
.accordion {
  background: var(--bg-primary);
  color: var(--text-primary);
  cursor: pointer;
  padding: 1rem 1.5rem;
  width: 100%;
  text-align: left;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  transition: var(--transition);
  box-shadow: var(--shadow-light);
  border: 1px solid rgba(139, 92, 246, 0.1);
}

.accordion:hover,
.accordion.active-accordion {
  background: var(--gradient-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.panel {
  padding: 1rem 1.5rem;
  background: var(--bg-secondary);
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  display: none;
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.1);
  border-top: none;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.homepage-content,
.about-us-content,
.gallery-container,
.contact-us-content {
  animation: fadeInUp 0.6s ease-out;
}

.sidebar-links {
  animation: slideInLeft 0.6s ease-out;
}

/* Mobile Styles */
@media only screen and (max-width: 768px) {
  .mobile {
    display: block;
  }
  
  .desktop {
    display: none;
  }
  
  /* Banner slideshow - always visible */
  .banner-slideshow {
    display: block;
    margin-bottom: 2rem;
  }
  
  .banner-slideshow .slideshow-container {
    max-width: 100%;
    margin: 0;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
  }
  
  .banner-slideshow .mySlides {
    padding: 1rem;
  }
  
  .banner-slideshow .mySlides img {
    border-radius: 8px;
    max-height: 250px;
    object-fit: cover;
    width: 100%;
  }
  
  .topnav {
    display: block;
    background: var(--bg-primary);
    position: relative;
  }
  
  .topnav a.icon {
    display: block;
    color: var(--text-primary);
    font-size: 1.5rem;
    padding: 1rem;
    position: absolute;
    top: 0;
    right: 0;
  }
  
  #my-links {
    display: none;
    background: var(--bg-primary);
    border-top: 2px solid var(--accent-color);
  }
  
  #my-links a {
    color: var(--text-primary);
    padding: 1rem;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    transition: var(--transition);
  }
  
  #my-links a:hover {
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-color);
  }
  
  .logo img {
    max-height: 60px;
  }
  
  header .social-icons {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    z-index: 20;
    text-align: left;
    margin-top: 0;
  }
  
  header .social-icons .fa,
  header .social-icons .fa-brands,
  header .social-icons .fa-solid {
    margin: 0;
    margin-left: 0;
    font-size: 1.75rem;
    display: block;
  }
  
  nav ul {
    flex-direction: column;
  }
  
  nav li a {
    padding: 1rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
  }
  
  /* Mobile Layout */
  .layout-container {
    flex-direction: column;
    padding: 0 1rem;
  }
  
  .sidebar-left,
  .sidebar-right {
    width: 100%;
    order: 2;
  }
  
  .content-area {
    order: 1;
  }
  
  .homepage-content,
  .about-us-content,
  .gallery-container,
  .contact-us-content {
    margin: 1rem 0;
    padding: 1rem;
  }
  
  .row {
    grid-template-columns: 1fr;
  }
  
  .sponsor-wrapper {
    flex-direction: column;
    gap: 1rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
}

/* Medium Screen Styles - Social Icons Vertical */
@media only screen and (max-width: 1240px) {
  header .social-icons {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 20;
  }
  
  header .social-icons .fa,
  header .social-icons .fa-brands,
  header .social-icons .fa-solid {
    margin: 0;
    margin-left: 0;
    font-size: 2.5rem;
    display: block;
  }
}

@media only screen and (max-width: 1024px) {
  header .social-icons .fa,
  header .social-icons .fa-brands,
  header .social-icons .fa-solid {
    font-size: 2rem;
  }
}

/* Tablet Styles */
@media only screen and (min-width: 769px) and (max-width: 1024px) {
  .desktop {
    display: block;
  }
  
  .mobile {
    display: none;
  }
  
  /* Banner slideshow - visible on tablet */
  .banner-slideshow {
    display: block;
    margin-bottom: 2rem;
  }
  
  .banner-slideshow .slideshow-container {
    max-width: 100%;
    margin: 0 auto;
  }
  
  .logo img {
    max-height: 70px;
  }
  
  .layout-container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .sidebar-left,
  .sidebar-right {
    width: 100%;
  }
  
  .sidebar-links,
  .sidebar-info {
    margin: 0;
  }
  
  .homepage-content,
  .about-us-content,
  .gallery-container,
  .contact-us-content {
    margin: 1rem 0;
  }
  
  .row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop Styles */
@media only screen and (min-width: 1025px) {
  .desktop {
    display: block;
  }
  
  .mobile {
    display: none;
  }
  
  .logo img {
    max-height: 80px;
  }
  
  .slideshow-container {
    display: block;
  }
  
  .sponsor-wrapper {
    display: flex;
  }
  
  .layout-container {
    flex-direction: row;
  }
  
  .sidebar-left {
    order: 1;
  }
  
  .content-area {
    order: 2;
  }
  
  .sidebar-right {
    order: 3;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }