/* Root Variables */
:root {
  --primary-color: #0F3124;
  --secondary-color: #d4af37;
  --text-color: #2C3E50;
  --light-gray: #f5f5f5;
  --border-color: #ddd;
  --white: #ffffff;
  --black: #000000;
}

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

body {
  font-family: 'Raleway', sans-serif;
  background-color: var(--white);
  color: var(--text-color);
  line-height: 1.0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--primary-color);
  margin-bottom: 0.6rem;
  line-height: 1.1;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.6rem;
}

h3 {
  font-size: 1.4rem;
}

p {
  margin-bottom: 0.6rem;
  line-height: 1.0;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--secondary-color);
}

/* Hero Header */
.hero {
  background-color: var(--primary-color);
  text-align: center;
  padding: 28px 14px;
  color: var(--white);
}

.logo-line1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3.5vw, 2.24rem);
  font-weight: 700;
  margin: 0;
  color: var(--secondary-color);
  line-height: 1.1;
}

.logo-line2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(0.84rem, 2.1vw, 1.12rem);
  font-weight: 400;
  margin: 4px 0 0 0;
  letter-spacing: 0.6px;
  color: var(--secondary-color);
  line-height: 1.1;
}

.logo-line3 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(0.56rem, 1.4vw, 0.665rem);
  font-style: italic;
  margin: 2px 0 0 0;
  color: var(--secondary-color);
  line-height: 1.1;
}

.gold-shimmer {
  color: var(--secondary-color);
  background: linear-gradient(120deg, var(--secondary-color), #f2e29b, var(--secondary-color));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* Dashboard button pulse animation */
@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    transform: scale(1.05);
  }
}

#dashboard-button.pulse {
  animation: pulse 2s infinite;
}

/* Menu Bar */
.menu-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  background-color: var(--white);
  padding: 20px 10px;
  border-bottom: 1px solid var(--border-color);
}

.menu-bar a {
  text-decoration: none;
}

.menu-bar button {
  font-family: 'Raleway', sans-serif;
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 10px 16px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  line-height: 1.3;
}

.menu-bar button:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.menu-bar button.active {
  background-color: var(--primary-color);
  color: var(--white);
  border: 2px solid var(--secondary-color);
}

.button-with-subtitle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  text-align: center;
  line-height: 1.3;
}

.button-with-subtitle small {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* Container */
.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 24px 12px;
}

.section {
  margin-bottom: 24px;
  background-color: var(--light-gray);
  padding: 18px;
  border-radius: 5px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  color: var(--primary-color);
  margin-bottom: 12px;
  font-size: 1.6rem;
  line-height: 1.1;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
  padding: 18px 12px;
  margin-top: 36px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 12px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  margin-bottom: 12px;
}

.footer-section h3 {
  color: var(--secondary-color);
  margin-bottom: 9px;
  font-size: 1.12rem;
  line-height: 1.1;
}

.footer-section p {
  font-size: 0.8rem;
  line-height: 1.2;
  margin-bottom: 4px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 9px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--secondary-color);
  text-decoration: none;
  font-size: 0.8rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Buttons */
.btn {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 7px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.6px;
  transition: background-color 0.3s;
  line-height: 1.1;
}

.btn:hover {
  background-color: #0a231a;
}

.btn.selected,
.btn.active {
  border: 2px solid var(--secondary-color);
}

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

.btn-secondary:hover {
  background-color: #c19b2e;
}

.btn-danger {
  background-color: #d32f2f;
  color: var(--white);
  border: none;
  padding: 7px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.6px;
  transition: background-color 0.3s;
  line-height: 1.1;
}

.btn-danger:hover {
  background-color: #b71c1c;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-bar {
    flex-direction: column;
    align-items: center;
  }

  .menu-bar a {
    width: 80%;
  }

  .container {
    padding: 12px 9px;
  }

  .section {
    padding: 12px 9px;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* Footer New */
.footer-new {
  background: #0f2d22;
  color: white;
  text-align: center;
  padding: 2rem;
  margin-top: 4rem;
}

.footer-new p {
  margin: 0.5rem 0;
}

.footer-new .footer-links {
  margin-top: 1rem;
}

.footer-new .footer-links a {
  color: #c9a648;
  text-decoration: none;
  margin: 0 1rem;
  transition: color 0.3s;
}

.footer-new .footer-links a:hover {
  color: #b08f3a;
}

@media (max-width: 480px) {
  .logo-line1 {
    font-size: 1.6rem;
  }

  .logo-line2 {
    font-size: 0.96rem;
  }

  .logo-line3 {
    font-size: 0.64rem;
  }
}