/* Modern, professional styles for ITCPR Events */
:root {
  --primary: #005fa3;
  --primary-light: #00a6d6;
  --text-dark: #1a2233;
  --text-light: #3a4664;
  --bg-light: #f8fafc;
  --card-bg: #ffffff;
  --border-color: rgba(200,220,255,0.18);
  --shadow-sm: 0 2px 8px rgba(10,35,66,0.03);
  --shadow-md: 0 8px 40px rgba(0,95,163,0.13);
  --shadow-lg: 0 12px 48px rgba(0,95,163,0.16);
  --nav-height: 70px;
}

* {
  outline: none;
}

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  letter-spacing: 0.01em;
  line-height: 1.6;
  margin: 0 !important;
}

h1, h2, h3, .event-title, .event-detail-title {
  font-family: 'Merriweather', 'Georgia', serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Header Styles */
header {
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: none;
  padding: 0.3rem 0;
}

header::before {
  content: '';
  display: block;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  position: absolute;
  top: 0;
  left: 0;
}

header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.header-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.main-nav {
  display: flex;
  gap: 0.2rem;
  background: transparent;
  padding: 0.2rem;
  border-radius: 8px;
}

.nav-tab {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  position: relative;
}

.nav-tab:hover {
  color: var(--primary);
  background: rgba(0,95,163,0.05);
}

.nav-tab.active {
  color: var(--primary);
  background: rgba(0,95,163,0.08);
  font-weight: 600;
}

.nav-tab.active::after {
  content: '';
  position: absolute;
  bottom: -0.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

/* Footer Styles */
footer {
  background: #fff;
  color: #005fa3;
  text-align: center;
  padding: 1.2rem 0 0.7rem 0;
  border-top: 1px solid #e0e6ed;
  margin-top: 2rem;
  font-size: 1.01rem;
}

/* Common Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (max-width: 480px) {
  .container {
      padding: 0 0.3rem;
  }
}

/* Common Button Styles */
.cta-btn {
  display: inline-block;
  background: linear-gradient(90deg, #005fa3 60%, #00a6d6 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.08rem;
  border-radius: 6px;
  padding: 0.7rem 2.1rem;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,95,163,0.07);
  margin-top: 0.5rem;
  transition: background 0.2s, color 0.2s;
  transition: all 0.3s ease;
}

.cta-btn.prominent {
  font-size: 1.2rem;
  padding: 1.1rem 3rem;
  border-radius: 2.5rem;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 24px rgba(0,95,163,0.15);
  border: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-btn:hover {
  background: #00a6d6;
  color: #fff;
}

.cta-btn.prominent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,95,163,0.25);
}

.cta-btn.prominent:active {
  transform: translateY(0);
}

/* Glass Card Effect */
.glass-card {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  padding: 4rem 3rem 3rem 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Page Background */
.page-bg-gradient {
  position: fixed;
  z-index: -2;
  top: 0; left: 0; right: 0; bottom: 0;
  background: 
    linear-gradient(120deg, #eaf6fb 0%, #f9fafb 60%, #e3e9f2 100%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23005fa3' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  min-height: 100vh;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 0.6rem;
  }
  
  .site-title {
    font-size: 1.3rem;
  }
  
  .main-nav {
    width: 100%;
    overflow-x: auto;
    padding: 0.2rem;
    gap: 0.2rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: center;
  }
  
  .main-nav::-webkit-scrollbar {
    display: none;
  }
  
  .nav-tab {
    font-size: 0.9rem;
    padding: 0.35rem 0.9rem;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .header-content {
    gap: 0.5rem;
  }
  
  .site-title {
    font-size: 1.2rem;
  }
  
  .nav-tab {
    font-size: 0.85rem;
    padding: 0.3rem 0.8rem;
  }
} 