/* TGK Events - AWS Cloud Club Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* AWS Cloud Club Colors */
  --aws-dark: #0f1419;
  --aws-darker: #0a0e13;
  --aws-navy: #16202b;
  --aws-blue: #1e3a5f;
  --aws-orange: #ff9900;
  --aws-orange-hover: #e88b00;
  --aws-light-blue: #4a9eff;
  
  /* Text Colors */
  --text-white: #ffffff;
  --text-gray: #d1d5db;
  --text-muted: #9ca3af;
  --text-dark: #374151;
  
  /* Background Colors */
  --bg-card: rgba(255, 255, 255, 0.05);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --border-color: rgba(255, 255, 255, 0.1);
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

/* Buttons - AWS Style */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
}

.btn-primary {
  background: var(--aws-orange);
  color: var(--text-white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--aws-orange-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  color: var(--text-white);
  text-decoration: none;
}

/* Footer - AWS Style */
.site-footer {
  background: var(--aws-darker);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}



.footer-section {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }

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

.footer-section h3 {
  color: var(--aws-orange);
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  position: relative;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--aws-orange);
  transition: width 0.3s ease;
}

.footer-section:hover h3::after {
  width: 30px;
}

.footer-section p {
  color: var(--text-gray);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.footer-brand p {
  margin-bottom: 1.5rem;
  max-width: 280px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-gray);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
}

.footer-links a::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: all 0.3s ease;
  color: var(--aws-orange);
}

.footer-links a:hover {
  color: var(--aws-orange);
  padding-left: 20px;
}

.footer-links a:hover::before {
  opacity: 1;
  left: 0;
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.newsletter-form {
  margin-top: 1rem;
  position: relative;
  z-index: 10;
}

.newsletter-form .form-group {
  margin-bottom: 1rem;
}

.newsletter-form input,
.newsletter-form select {
  width: 100%;
  padding: 0.75rem;
  background: var(--aws-darker);
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  color: var(--text-white);
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.newsletter-form input:focus {
  border-color: var(--aws-orange);
  box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.1);
  outline: none;
  transform: scale(1.02);
}

.newsletter-form input::placeholder {
  color: var(--text-muted);
}

.newsletter-form select {
  cursor: pointer;
}

.newsletter-form select option {
  background: var(--aws-darker);
  color: var(--text-white);
}

.newsletter-form .btn {
  width: 100%;
  justify-content: center;
  font-size: 0.875rem;
  padding: 0.75rem;
  position: relative;
  overflow: hidden;
}

.newsletter-form .btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s;
}

.newsletter-form .btn:hover::before {
  width: 300px;
  height: 300px;
}

.newsletter-form .btn:active {
  transform: scale(0.98);
}

.multi-select-dropdown {
  position: relative;
  z-index: 10;
}

.dropdown-toggle {
  width: 100%;
  padding: 0.75rem;
  background: var(--aws-darker);
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  color: var(--text-white);
  font-size: 0.875rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
  text-align: left;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.dropdown-toggle:focus {
  outline: none;
  border-color: var(--aws-orange);
  box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.1);
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(10, 14, 19, 0.9);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 153, 0, 0.2);
  border-radius: 0.375rem;
  max-height: 200px;
  overflow-y: auto;
  z-index: 99999;
  display: none;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  pointer-events: auto;
}

.dropdown-content.show {
  display: block;
}

.dropdown-content label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  color: var(--text-white);
  font-size: 0.875rem;
  cursor: pointer;
  border-bottom: 1px solid var(--border-color);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  pointer-events: auto;
  position: relative;
  z-index: 1;
}

.dropdown-content label:hover {
  background: var(--bg-card);
}

.dropdown-content input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--aws-orange);
  cursor: pointer;
  flex-shrink: 0;
}

.newsletter-form label {
  color: var(--text-white);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  display: block;
}

.checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  max-height: 120px;
  overflow-y: auto;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin: 0;
  accent-color: var(--aws-orange);
}

@media (max-width: 768px) {
  .checkbox-group {
    grid-template-columns: 1fr;
  }
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  color: var(--text-gray);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
}

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

.social-icons a:hover::before {
  left: 100%;
}

.social-icons a:hover {
  background: var(--aws-orange);
  border-color: var(--aws-orange);
  color: var(--text-white);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 153, 0, 0.4);
}

.social-icons a i {
  font-size: 1.1rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.legal-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.legal-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-links a:hover {
  color: var(--aws-orange);
}

.legal-links span {
  color: var(--border-color);
}

.powered-by {
  font-size: 0.875rem;
}

.powered-by a {
  color: var(--aws-orange);
  text-decoration: none;
  font-weight: 500;
}

.powered-by a:hover {
  color: var(--aws-light-blue);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-legal {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-section {
    text-align: center;
  }
  
  .footer-brand p {
    max-width: 100%;
    margin: 0 auto 1.5rem;
  }
  
  .footer-links {
    text-align: center;
  }
  
  .social-icons {
    justify-content: center;
  }
  
  .newsletter-form {
    max-width: 300px;
    margin: 1rem auto 0;
  }
  
  .footer-links a:hover {
    padding-left: 0;
  }
  
  .footer-links a::before {
    display: none;
  }
  
  .contact-info p {
    justify-content: center;
  }
  
  /* Mobile fixes for interests dropdown */
  .dropdown-toggle {
    font-size: 16px;
  }
  
  .dropdown-content {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(10, 14, 19, 0.9);
    border: 1px solid rgba(255, 153, 0, 0.3);
    top: auto;
    bottom: 100%;
    margin-bottom: 5px;
  }
  
  .newsletter-form input,
  .newsletter-form select {
    font-size: 16px;
  }
}