@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-color: #C38B1C; /* Golden/Mustard */
  --primary-hover: #A57313;
  --bg-color: #F8F3E9; /* Light Beige */
  --bg-gradient: linear-gradient(135deg, #FAF7F0 0%, #EFE1D1 100%);
  --text-dark: #3A2A22; /* Dark Brown */
  --text-light: #705B54;
  --white: #ffffff;
  --card-shadow: 0 10px 30px rgba(92, 65, 47, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif;
}

body {
  background: var(--bg-gradient);
  color: var(--text-dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Typography */
h1 {
  font-size: 4rem;
  font-weight: 800;
  color: #632B25; /* Deep reddish brown */
  line-height: 1.1;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Navbar */
nav {
  background: var(--bg-color);
  padding: 1rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
}

.nav-brand .logo-img {
  height: 45px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links a:hover {
  background: rgba(195, 139, 28, 0.1);
  color: var(--primary-color);
}

.nav-links a.active {
  background: rgba(195, 139, 28, 0.2);
  color: var(--primary-hover);
  border-bottom: 2px solid var(--primary-color);
}

.btn-profile {
  background: var(--primary-color);
  color: var(--white) !important;
  border-radius: 50px !important;
  padding: 0.6rem 1.5rem !important;
}
.btn-profile:hover {
  background: var(--primary-hover) !important;
}

/* Layouts */
main {
  flex: 1;
  padding: 3rem 4rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* Hero Section */
.hero-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
  margin-bottom: 6rem;
}

.hero-content {
  flex: 1;
  max-width: 650px;
}

.badge {
  display: inline-block;
  background: var(--white);
  color: var(--primary-hover);
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(195, 139, 28, 0.3);
}

.hero-content h1 span {
  color: var(--primary-color);
}

.hero-content p {
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  background: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
  cursor: pointer;
}

.btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid var(--text-dark);
}

.btn-outline:hover {
  background: rgba(0,0,0,0.05);
  border-color: var(--text-dark);
  transform: translateY(-2px);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-image img {
  max-width: 350px;
  width: 100%;
  border-radius: 50%;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  background: var(--white);
  padding: 1rem;
}

.floating-badge {
  position: absolute;
  bottom: 20px;
  right: -20px;
  background: var(--white);
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  color: var(--text-dark);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Menu Section */
.menu-section {
  text-align: center;
}

.menu-section h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.menu-section > p {
  margin-bottom: 3rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.menu-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: left;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,0.02);
}

.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(92, 65, 47, 0.12);
}

.icon-box {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.icon-box svg {
  width: 28px;
  height: 28px;
  color: var(--white);
}

.menu-card h3 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.menu-card p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.menu-link {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Page Containers */
.page-container {
  background: var(--white);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: var(--card-shadow);
}

.page-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* Quiz Specific */
.options-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.option-btn {
  padding: 1.2rem;
  background: #f9f9f9;
  border: 2px solid #eaeaea;
  border-radius: 12px;
  font-size: 1.1rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-dark);
  font-weight: 500;
}
.option-btn:hover { border-color: var(--primary-color); background: #fffcf5; }
.option-btn.correct { background: #dcfce7; border-color: #22c55e; color: #166534; }
.option-btn.wrong { background: #fee2e2; border-color: #ef4444; color: #991b1b; }

/* Utilities */
.fade-in { animation: fadeIn 0.8s ease-out forwards; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 992px) {
  .hero-section { flex-direction: column; text-align: center; gap: 3rem; }
  .hero-buttons { justify-content: center; }
  .hero-content h1 { font-size: 3rem; }
  nav { padding: 1rem; flex-wrap: wrap; }
  .nav-links { overflow-x: auto; padding-bottom: 0.5rem; }
}
