/* Sigma Nu Modern Flat Professional Theme - Updated */
:root {
  --primary-dark: #1a1a1a;
  --secondary-dark: #242424;
  --accent-dark: #2d2d2d;
  --gold: #f4c430;
  --gold-hover: #f7d560;
  --gold-muted: #e6b800;
  --white: #ffffff;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --text-primary: #b8b9ba;
  --text-secondary: #b8b9ba;
  --text-muted: #8e9297;
  --border-color: #3a3a3a;
  --transition: all 0.2s ease;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--primary-dark);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.01em;
  padding-top: 0;
  margin-top: 0;
  overflow-x: hidden;
}

/* Header */
.header {
  background-color: var(--primary-dark);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  height: 64px;
}

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

.logo {
  display: flex;
  align-items: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: -0.05em;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 1.25rem 1.5rem;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.025em;
  transition: var(--transition);
  display: block;
  position: relative;
  text-transform: uppercase;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--gold);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: var(--gold);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 50%;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 25% 75%, rgba(244, 196, 48, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 75% 25%, rgba(244, 196, 48, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  padding: 0 2rem;
}

.hero-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  margin-bottom: 1.5rem;
}

.hero-emblem {
  flex-shrink: 0;
}

.emblem-image {
  width: 280px;
  height: 280px;
  object-fit: contain;
}

.hero-sigma {
  text-align: left;
}

.hero-sigma h1 {
  font-size: clamp(8rem, 15vw, 16rem);
  color: var(--gold);
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.8;
}

.hero-motto {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  text-align: center;
  justify-content: center;
  margin-bottom: 3rem;
}

.hero-motto span {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--text-secondary);
  font-weight: 400;
  letter-spacing: 0.1em;
}

.hero-content h2 {
  font-size: clamp(1.125rem, 2.5vw, 1.75rem);
  margin-bottom: 3.5rem;
  color: var(--text-secondary);
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2.5rem;
  background-color: var(--gold);
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.05em;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  min-width: 140px;
  justify-content: center;
}

.btn:hover {
  background-color: var(--gold-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-secondary:hover {
  background-color: var(--gold);
  color: var(--primary-dark);
}

/* Main Content */
main {
  padding-top: 64px;
  min-height: calc(100vh - 64px);
  position: relative;
}

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

.section {
  padding: 6rem 0;
}

.section-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--gold);
  margin-bottom: 4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.section-subtitle {
  text-align: center;
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-weight: 400;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Tiles Grid */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin: 4rem 0;
}

.tile {
  position: relative;
  height: 300px;
  background-color: var(--secondary-dark);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.tile:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}

.tile-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(26, 26, 26, 0.92) 0%, 
    rgba(36, 36, 36, 0.85) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.tile-content h3 {
  color: var(--gold);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.tile-content p {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.tile a {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-decoration: none;
}

/* About Section */
.about {
  background-color: var(--secondary-dark);
  padding: 6rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.about-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.about-content h2 {
  color: var(--gold);
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.about-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.7;
  font-weight: 400;
}

/* Brother Grid */
.brother-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin: 4rem 0;
}

.brother-card {
  background-color: #2a2a2a;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid #555555;
  position: relative;
}

.brother-card:hover {
  border-color: var(--gold);
  transform: none;
}

.brother-photo {
  width: 150px;
  height: 150px;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid var(--gold);
}

.brother-name {
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.brother-details {
  color: var(--text-primary);
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: 400;
  margin-bottom: 1rem;
}

.brother-role {
  color: var(--gold);
  font-weight: 700;
  margin-top: 0.5rem;
  font-size: 1rem;
  letter-spacing: 0.05em;
}

/* Footer */
.footer {
  background-color: var(--secondary-dark);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-color);
  margin-top: 5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.footer-section p,
.footer-section a {
  color: var(--text-secondary);
  text-decoration: none;
  line-height: 1.7;
  font-size: 0.9375rem;
  font-weight: 400;
}

.footer-section a:hover {
  color: var(--gold);
}

.footer-section a i {
  margin-right: 0.5rem;
  width: 16px;
}

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

/* Contact Cards */
.contact-cards {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 3rem 0;
}

.contact-card {
  background-color: var(--secondary-dark);
  padding: 1rem 2rem 2rem 2rem;
  text-align: center;
  border: 1px solid var(--border-color);
  flex: 1;
  max-width: 250px;
  min-width: 200px;
}

.contact-card:hover {
  border-color: var(--gold);
}

.contact-card h4 {
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.contact-card a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
}

.contact-card a:hover {
  color: var(--gold);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  padding: 8px;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition);
  transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Scroll effects */
.header.scrolled {
  background-color: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
}

/* Cards and components */
.card {
  background-color: var(--secondary-dark);
  border: 1px solid var(--border-color);
  padding: 2rem;
  transition: var(--transition);
}

.card:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}

/* Typography utilities */
.text-gold { color: var(--gold); }
.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }

.font-light { font-weight: 300; }
.font-regular { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

/* Spacing utilities */
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

/* Modern selection styles */
::selection {
  background-color: var(--gold);
  color: var(--primary-dark);
}

::-moz-selection {
  background-color: var(--gold);
  color: var(--primary-dark);
}

/* Focus styles for accessibility */
a:focus,
button:focus,
.filter-btn:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

/* Loading animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Modern input styles */
input[type="text"],
input[type="email"],
textarea {
  background-color: var(--secondary-dark);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: var(--transition);
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: var(--gold);
  outline: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background-color: var(--primary-dark);
    flex-direction: column;
    padding: 1.5rem 0;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
    border-bottom: 1px solid var(--border-color);
  }
  
  .nav-menu.active {
    transform: translateX(0);
  }
  
  .nav-menu li {
    width: 100%;
  }
  
  .nav-menu a {
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 12px;
  }
  
  .nav-menu a::after {
    display: none;
  }
  
  .nav {
    justify-content: space-between;
  }
  
  .hero-layout {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  
  .hero-sigma {
    text-align: center;
  }
  
  .emblem-image {
    width: 200px;
    height: 200px;
  }
  
  .hero-sigma h1 {
    font-size: clamp(5rem, 18vw, 8rem);
  }
  
  .hero-motto span {
    font-size: clamp(1.25rem, 4vw, 1.75rem);
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .tiles {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .brother-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  
  .contact-cards {
    flex-direction: column;
    align-items: center;
  }
  
  .container {
    padding: 0 1.5rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .page-header {
    padding: 6rem 0 3rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .brother-grid {
    grid-template-columns: 1fr;
  }
  
  .tiles {
    gap: 1rem;
  }
  
  .tile {
    height: 240px;
  }
  
  .brother-card {
    padding: 2rem 1.5rem;
  }
  
  .brother-photo {
    width: 100px;
    height: 100px;
  }
  
  .section {
    padding: 3rem 0;
  }
}

/* Event Cards */
.event-card {
  background-color: var(--secondary-dark);
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border-color);
  border-left: 5px solid var(--gold);
}

.event-card h3 {
  color: var(--gold);
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.event-card p {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.event-card strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Filters */
.filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  background-color: var(--secondary-dark);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--gold);
  color: var(--primary-dark);
  border-color: var(--gold);
}

/* Page Headers */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
  padding: 8rem 0 4rem;
  text-align: center;
  margin-top: 0;
  border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
  color: var(--gold);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* Photo Gallery */
.photo-gallery {
  margin: 4rem 0;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.photo-item {
  position: relative;
  height: 300px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.photo-item:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.photo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 26, 0.85) 0%,
    rgba(36, 36, 36, 0.75) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.photo-item:hover .photo-overlay {
  opacity: 1;
}

.photo-overlay h3 {
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.02em;
  padding: 0 2rem;
  transform: translateY(10px);
  transition: var(--transition);
}

.photo-item:hover .photo-overlay h3 {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .photo-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .photo-item {
    height: 250px;
  }
  
  .photo-overlay h3 {
    font-size: 1.25rem;
  }
}

/* Content Typography Styles */
.section .container {
  max-width: 1000px;
}

.section h1,
.section h2,
.section h3,
.section h4,
.section h5,
.section h6 {
  color: var(--gold);
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.section h1 {
  font-size: 2.5rem;
  margin-top: 0;
}

.section h2 {
  font-size: 2rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.5rem;
  margin-top: 3rem;
}

.section h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
}

.section h4 {
  font-size: 1.25rem;
  color: var(--text-primary);
}

.section p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.section a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.section a:hover {
  color: var(--gold-hover);
  border-bottom-color: var(--gold-hover);
}

.section img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 2rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.section ul,
.section ol {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.section li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.section blockquote {
  border-left: 4px solid var(--gold);
  padding-left: 1.5rem;
  margin: 2rem 0;
  color: var(--text-muted);
  font-style: italic;
  font-size: 1.1rem;
}

.section code {
  background: var(--accent-dark);
  color: var(--gold);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: 'Fira Code', monospace;
  font-size: 0.9rem;
}

.section pre {
  background: var(--accent-dark);
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 2rem 0;
  border: 1px solid var(--border-color);
}

.section pre code {
  background: none;
  padding: 0;
  color: var(--text-primary);
}
