/* ==========================================================
   Bearknot Holdings Website Styles
   Color palette derived from logo (blue & gold Celtic bear)
   ========================================================== */

:root {
  --navy-blue: #0A1A2F;        /* Deep background */
  --royal-blue: #1A4D8F;       /* Primary accent */
  --sky-blue: #4BA3F2;         /* Gradient highlight */
  --gold: #D4AF37;             /* Metallic gold */
  --cream: #FDF6E3;            /* Text / light background */
  --gray: #444;                /* Neutral text */
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Poppins', sans-serif;
}

/* --------------------------
   Base Layout
-------------------------- */

html, body {
  margin: 0;
  padding: 0;
  background-color: var(--navy-blue);
  color: var(--cream);
  font-family: var(--font-body);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

/* --------------------------
   Header + Navigation
-------------------------- */

header {
  text-align: center;
  padding: 2rem 1rem 1rem;
  background: linear-gradient(180deg, var(--royal-blue) 0%, var(--navy-blue) 100%);
  border-bottom: 2px solid var(--gold);
}

header img.logo {
  width: 140px;
  height: auto;
}

header h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--gold);
  margin-top: 0.5rem;
}

nav a {
  color: var(--cream);
  text-decoration: none;
  margin: 0 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--gold);
}

/* Highlight current page */
nav a.active {
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
  text-shadow: 0 0 6px rgba(212, 175, 55, 0.6);
}

/* --------------------------
   Main Sections
-------------------------- */

main {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1rem;
}

section {
  margin-bottom: 3rem;
}

h2 {
  font-family: var(--font-heading);
  color: var(--gold);
  border-bottom: 1px solid var(--royal-blue);
  padding-bottom: 0.5rem;
  font-size: 1.8rem;
}

p, li {
  font-size: 1.1rem;
  color: var(--cream);
}

/* --------------------------
   Forms + Buttons
-------------------------- */

form input,
form textarea {
  width: 100%;
  padding: 0.75rem;
  border-radius: 5px;
  border: 1px solid var(--royal-blue);
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

form textarea {
  min-height: 120px;
}

button,
input[type="submit"] {
  background: linear-gradient(90deg, var(--royal-blue), var(--sky-blue));
  color: var(--cream);
  border: none;
  border-radius: 5px;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
}

button:hover,
input[type="submit"]:hover {
  background: var(--gold);
  color: var(--navy-blue);
}

/* --------------------------
   Footer
-------------------------- */

footer {
  background-color: var(--navy-blue);
  text-align: center;
  color: var(--gold);
  border-top: 1px solid var(--royal-blue);
  padding: 1rem 0;
  font-size: 0.9rem;
}

/* --------------------------
   Utility Classes
-------------------------- */

.center {
  text-align: center;
}

.gold-text {
  color: var(--gold);
}

.gradient-text {
  background: linear-gradient(90deg, var(--royal-blue), var(--sky-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --------------------------
   Responsive
-------------------------- */

@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }

  nav a {
    display: inline-block;
    margin: 0.5rem;
  }

  main {
    margin: 2rem auto;
  }
}
