/* =========================================================
   Costa Blanca Bridge Club — Stylesheet
   ========================================================= */

/* ----- Reset & Base ----- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-primary:   #0d1b2e;   /* brand dark navy */
  --color-accent:    #c9a96e;   /* brand gold */
  --color-light:     #f0f4f0;
  --color-dark:      #0d1b2e;
  --color-text:      #333333;
  --font-main:       'Georgia', serif;
  --font-ui:         'Segoe UI', Arial, sans-serif;
  --max-width:       1100px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  line-height: 1.7;
  background: #fff;
}

/* ----- Navigation ----- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--color-primary);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
}

.nav-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo {
  height: 44px;
  width: auto;
  mix-blend-mode: screen;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: #cce0f5;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--color-accent);
}

/* ----- Hero ----- */
.hero {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: 6rem 2rem;
}

.hero-logo {
  height: 120px;
  width: auto;
  margin-bottom: 1.5rem;
  mix-blend-mode: screen;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.hero .tagline {
  font-family: var(--font-ui);
  font-size: 1.2rem;
  color: #cce0f5;
  margin-bottom: 2rem;
}

.btn-primary {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--color-accent);
  color: var(--color-dark);
  font-family: var(--font-ui);
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s, transform 0.1s;
}

.btn-primary:hover {
  background: #a8844a;
  transform: translateY(-1px);
}

/* ----- Sections ----- */
.section {
  padding: 5rem 2rem;
}

.section-alt {
  background: var(--color-light);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section h2 {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  border-bottom: 3px solid var(--color-accent);
  display: inline-block;
  padding-bottom: 0.3rem;
}

.section p {
  font-size: 1.05rem;
  max-width: 700px;
}

/* ----- Footer ----- */
footer {
  background: var(--color-dark);
  color: #aaa;
  text-align: center;
  padding: 2rem;
  font-family: var(--font-ui);
  font-size: 0.9rem;
}
