/* Reset and Base Styles */
:root {
  --primary-color: #000000;
  --accent-color: #ff0066;
  --text-color: #ffffff;
  --secondary-color: #333333;
  --glitch-color: rgba(255, 0, 102, 0.7);
  --nav-bg: rgba(0, 0, 0, 0.95);
  --nav-height: 80px; /* Desktop nav height */
  --nav-height-mobile: 60px; /* Mobile nav height */
}

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

body {
  background-color: var(--primary-color);
  color: var(--text-color);
  font-family: 'Rajdhani', 'Orbitron', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: var(--nav-height);
  margin: 0;
  min-height: 100vh;
}

/* Logo Styles */
.nav-logo {
  height: 50px;
  margin: 0;
  position: relative;
  filter: drop-shadow(0 0 10px var(--glitch-color));
}

.nav-logo a {
  display: block;
  height: 100%;
  text-decoration: none;
}

.nav-logo img {
  height: 100%;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}

.nav-logo a:hover img {
  transform: scale(1.05);
}

/* Navigation */
.nav {
  background: var(--nav-bg);
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 0, 102, 0.3);
  transition: all 0.3s ease;
}

.nav.scrolled {
  height: 60px;
  background: rgba(0, 0, 0, 0.98);
  box-shadow: 0 2px 20px rgba(255, 0, 102, 0.2);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.nav-logo {
  height: 50px;
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 100%;
  width: auto;
}

.nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  gap: 3rem;
  height: 100%;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav a {
  color: var(--text-color);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 2px;
  position: relative;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

.nav a:hover {
  color: var(--accent-color);
  text-shadow: 0 0 8px var(--glitch-color);
}

.nav a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav a:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--nav-bg);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transition: right 0.3s ease;
    backdrop-filter: blur(10px);
  }

  .nav.active ul {
    right: 0;
  }

  .nav-item {
    height: auto;
  }

  .nav a {
    font-size: 1.2rem;
    padding: 1rem;
  }

  .nav a::before {
    display: none;
  }

  .nav a:hover {
    background: rgba(255, 0, 102, 0.1);
    border-radius: 4px;
  }

  .nav-logo {
    height: 40px;
    margin-right: auto;
  }

  .nav-container {
    padding: 0 1rem;
  }

  body {
    padding-top: 60px;
  }
}

/* Add margin to main content to account for fixed nav */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh; /* Full viewport height */
  margin: 0;
}

.wlgif {
  max-width: 100%; /* Makes it responsive */
  height: auto;    /* Maintains aspect ratio */
}


/* Section Headers */
.section-header {
  font-size: 2.5rem;
  text-transform: uppercase;
  margin: 2rem 0;
  position: relative;
  text-align: center;
}

.section-header::after {
  content: '';
  display: block;
  width: 100px;
  height: 3px;
  background: var(--accent-color);
  margin: 1rem auto;
}

/* Event Cards */
.event-card {
  background: var(--secondary-color);
  border: 1px solid var(--accent-color);
  padding: 2rem;
  margin: 1rem 0;
  transition: transform 0.3s ease;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(255, 0, 102, 0.3);
}

/* Glitch Effect */
.glitch {
  position: relative;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch::before {
  left: 2px;
  text-shadow: -2px 0 var(--accent-color);
  clip: rect(24px, 550px, 90px, 0);
  animation: glitch-anim 3s infinite linear alternate-reverse;
}

.glitch::after {
  left: -2px;
  text-shadow: -2px 0 var(--glitch-color);
  clip: rect(85px, 550px, 140px, 0);
  animation: glitch-anim 2s infinite linear alternate-reverse;
}

/* Button Styles */
.btn {
  background: transparent;
  color: var(--text-color);
  border: 2px solid var(--accent-color);
  padding: 0.8rem 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn:hover {
  background: var(--accent-color);
  color: var(--primary-color);
}

/* Animations */
@keyframes glitch-anim {
  0% {
    clip: rect(42px, 9999px, 44px, 0);
  }
  100% {
    clip: rect(32px, 9999px, 54px, 0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .section-header {
    font-size: 2rem;
  }
  
  .container {
    padding: 1rem;
  }
}

/* Footer */
.footer {
  background: var(--secondary-color);
  padding: 2rem 0;
  margin-top: 4rem;
  text-align: center;
  border-top: 2px solid var(--accent-color);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 1rem 0;
}

.social-links a {
  color: var(--text-color);
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--accent-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.9));
    margin-top: var(--nav-height);
}

.hero h1 {
    font-size: 4rem;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    animation: glitch-anim 5s infinite;
}

.hero h2 {
    font-size: 1.5rem;
    font-family: 'Rajdhani', sans-serif;
    color: var(--accent-color);
    letter-spacing: 2px;
}

/* Calendar Styles */
.calendar-container {
    background: var(--secondary-color);
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem auto;
    max-width: 600px;
    box-shadow: 0 0 20px rgba(255, 0, 102, 0.2);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.calendar-header h3 {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
}

.calendar-nav {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--text-color);
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.calendar-nav:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    text-align: center;
    margin-bottom: 0.5rem;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.7rem;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 0, 102, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.8rem;
    padding: 0.25rem;
    min-height: 30px;
}

.calendar-day:hover {
    background: rgba(255, 0, 102, 0.1);
    border-color: var(--accent-color);
}

.calendar-day.has-event {
    border-color: var(--accent-color);
    background: rgba(255, 0, 102, 0.1);
}

.calendar-day.has-event::after {
    content: '';
    position: absolute;
    bottom: 2px;
    width: 3px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 50%;
}

.calendar-day.selected {
    background: var(--accent-color);
    color: var(--primary-color);
}

/* Event List Styles */
.event-list {
    margin-top: 1rem;
}

.event-item {
    background: var(--secondary-color);
    border-left: 3px solid var(--accent-color);
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.event-item:hover {
    transform: translateX(10px);
    box-shadow: -5px 0 15px rgba(255, 0, 102, 0.2);
}

.event-date {
    color: var(--accent-color);
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

.event-title {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.event-venue {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .calendar-container {
        padding: 0.5rem;
        margin: 0.5rem auto;
    }
    
    .calendar-weekdays div,
    .calendar-day {
        font-size: 0.7rem;
        min-height: 25px;
    }
    
    .calendar-header h3 {
        font-size: 1rem;
    }
}

/* Optional: Add a compact class for even smaller views */
.calendar-container.compact {
    max-width: 400px;
}

.compact .calendar-day {
    min-height: 25px;
    font-size: 0.7rem;
}

/* Events Section Styles */
.events-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.event-item {
    background: var(--secondary-color);
    border-left: 4px solid var(--accent-color);
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2rem;
}

.event-item:hover {
    transform: translateX(10px);
    box-shadow: -5px 0 15px rgba(255, 0, 102, 0.2);
    background: rgba(255, 0, 102, 0.1);
}

.event-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.event-date {
    color: var(--accent-color);
    font-size: 1rem;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

.event-title {
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-venue {
    font-size: 0.9rem;
    opacity: 0.8;
}

.event-button {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--accent-color);
    padding: 0.8rem 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.event-button:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .event-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .event-title {
        font-size: 1.2rem;
    }

    .event-button {
        width: 100%;
        text-align: center;
    }
}

.view-all-button {
    display: inline-block;
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--accent-color);
    padding: 1rem 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    margin-top: 2rem;
    transition: all 0.3s ease;
}

.view-all-button:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

/* Limit number of events shown on home page */
.home-page .events-list {
    max-height: 800px;
    overflow: hidden;
}

/* Adjust main content z-index */
main {
    position: relative;
    z-index: 1;
}

/* Ensure sections don't get hidden */
section {
    position: relative;
    z-index: 1;
    padding: 2rem 0;
}

/* Instagram Feed Styles */
.instagram-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.instagram-header {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    margin-bottom: 20px;
    padding: 10px;
    transition: all 0.3s ease;
}

.instagram-header:hover {
    background: rgba(0,0,0,0.05);
    border-radius: 8px;
}

.instagram-profile-pic {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.instagram-handle {
    font-size: 1.2em;
    color: #000;
    font-weight: 600;
}

.instagram-feed {
    width: 100%;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .instagram-container {
        padding: 10px;
    }
    
    .instagram-feed {
        width: 100%;
    }
}

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

/* Make embeds responsive */
.instagram-media {
    max-width: 100% !important;
    width: 100% !important;
    min-width: 100% !important;
}

/* For profile embed */
iframe {
    max-width: 100%;
    margin: 0 auto;
    display: block;
}

@media (max-width: 768px) {
    .instagram-container {
        padding: 10px;
    }
    
    .instagram-grid {
        grid-template-columns: 1fr;
    }
}
