/* 2026 University Design System */
.cf:before, .cf:after { content: " "; display: table; }
.cf:after { clear: both; }
*, *:before, *:after { box-sizing: border-box; }

body {
  background-color: #f4f4f4;
  color: #2e2d29;
  font-family: "Open Sans Condensed", sans-serif;
  margin: 0;
  overflow-x: hidden;
}

/* --- Typography --- */
h1 { font-weight: 700; text-transform: uppercase; }

/* --- Modern Layout & Bento Grid --- */
.site-header {
  background: #2e2d29;
  color: #fff;
  border-bottom: 4px solid #F44336;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.site-nav ul li a {
  color: #fff;
  text-decoration: none;
  padding: 10px 15px;
  font-weight: bold;
  text-transform: uppercase;
  transition: color 0.3s;
}

.site-nav ul li a:hover, .site-nav ul li a.active {
  color: #F44336;
}

/* Bento Grid Implementation */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 30px 0;
}

.bento-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  border: 1px solid #eee;
  transition: transform 0.2s ease;
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: #F44336;
}

/* CTA Button Styling */
.cta-group { margin-top: 25px; }

.btn {
  display: inline-block;
  padding: 12px 28px;
  background: #F44336;
  color: #fff !important;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  margin-right: 10px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn.secondary {
  background: transparent;
  border: 2px solid #fff;
  color: #fff !important;
}

.btn.small {
  padding: 8px 16px;
  font-size: 0.9em;
  margin: 5px;
  border: 1px solid #F44336;
}

.btn.small.secondary {
  background: transparent;
  color: #F44336 !important;
  border: 1px solid #F44336;
}

.btn.small.secondary:hover {
  background: #F44336;
  color: #fff !important;
}

.btn:hover {
  background: #B71C1C;
  border-color: #B71C1C;
}

/* University Panel Styling */
.panel.university {
  margin-bottom: 15px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.university-toggle {
  width: 100%;
  padding: 15px 20px;
  background: #fff;
  border: none;
  text-align: left;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 5px solid #F44336;
  transition: background 0.2s;
  outline: none; /* Remove default outline */
}

.university-toggle:hover, .university-toggle:focus {
  background: #f9f9f9;
  color: #B71C1C; /* Highlight text on hover */
}

.university-body {
  display: none; /* Hidden by default */
  padding: 20px;
  border-top: 1px solid #eee;
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.university-quote {
  font-style: italic;
  color: #666;
  border-left: 3px solid #ccc;
  padding-left: 15px;
  margin-bottom: 20px;
}

.link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.extra-links {
  font-size: 0.9em;
  color: #666;
  margin-top: 10px;
}

.extra-links a {
  color: #F44336;
  text-decoration: none;
  font-weight: bold;
}

/* Layout */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.content { width: 68%; float: left; padding-right: 40px; margin-top: 40px; }
.sidebar { width: 32%; float: left; margin-top: 40px; }

/* Hero Section */
.welcome-message {
  background: #2e2d29;
  color: white;
  padding: 80px 0;
  text-align: center;
}

/* Sidebar */
.window {
  background: #fff;
  padding: 25px;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

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

.sidebar-links li {
  margin-bottom: 10px;
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
}

.sidebar-links a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

/* Forms */
.form input, .form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#send-btn {
  background: #2e2d29;
  color: #fff;
  border: none;
  padding: 12px;
  width: 100%;
  cursor: pointer;
  border-radius: 4px;
}

/* Footer */
.site-footer {
  background: #eee;
  text-align: center;
  padding: 30px 0;
  margin-top: 50px;
  clear: both;
}

/* Stanford 360 Viewer Section */
.stanford-360-section {
  background: linear-gradient(135deg, #8C1515  0%, #2e2d29 100%);
  padding: 30px;
  border-radius: 16px;
  margin-bottom: 30px;
  color: #fff;
}

.stanford-360-header {
  text-align: center;
  margin-bottom: 20px;
}

.stanford-360-header h2 {
  color: #fff;
  margin-bottom: 8px;
  font-size: 1.5rem;
}

.stanford-360-header p {
  color: rgba(255,255,255,0.8);
  margin: 0;
}

.stanford-360-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.stanford-360-controls .marker-btn {
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.stanford-360-controls .marker-btn:hover,
.stanford-360-controls .marker-btn.active {
  background: #fff;
  color: #8C1515;
  border-color: #fff;
}

.stanford-360-viewer {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.stanford-360-info {
  text-align: center;
  margin-top: 15px;
  font-size: 0.9em;
  color: rgba(255,255,255,0.7);
}

.stanford-360-info strong {
  color: #fff;
}

/* VR Controls Styling */
.vr-controls {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.marker-btn {
  background: #2e2d29;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.marker-btn:hover {
  background: #F44336;
  transform: translateY(-2px);
}

.vr-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.vr-transcript {
  margin-top: 15px;
}

.text-btn {
  background: none;
  border: none;
  color: #F44336;
  cursor: pointer;
  font-weight: 600;
  padding: 5px 0;
}

.text-btn:hover {
  text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .content, .sidebar { width: 100%; float: none; padding-right: 0; }
  .site-nav ul { display: none; }
  #menu-trigger { display: block; color: white; float: right; margin-top: -30px; }
  
  #responsive-menu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    background: #fff;
  }
  #responsive-menu li a {
    display: block;
    padding: 15px;
    border-bottom: 1px solid #eee;
    color: #333;
  }
  
  .stanford-360-section {
    padding: 20px;
  }
  
  .stanford-360-controls {
    flex-direction: column;
    align-items: center;
  }
  
  .stanford-360-controls .marker-btn {
    width: 100%;
    max-width: 250px;
  }
}