.hero {
  height: 120vh; /* altura ainda maior */
  background-image: url('/img/Nobeachhero.png');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: stretch; /* garantir que colunas ocupem toda a altura */
  justify-content: stretch;
  width: 100vw; /* 100% da viewport width */
  max-width: 100vw; /* sem limite de largura */
  overflow: hidden;
  margin: 0; /* sobrepor a navbar */
  margin-left: calc(-50vw + 50%);
  padding: 0; /* compensar para o conteúdo não ficar sob a navbar */
}


html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  background-color: #ffffff; /* white background */
  color: #000; /* black text */
  -webkit-font-smoothing: antialiased;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

:root {
  --brand-green: #28a745; /* primary green */
  --brand-orange: #ff922b; /* primary orange */
  --muted-light: #cfead6;
}

.navbar-dark.bg-dark {
  background-color: #ffdc69 !important; /* light navbar */
}

.navbar-brand {
  color: #000 !important;
  font-weight: 700;
}

.footer {
  background: transparent;
  color: #333;
}

.form-control {
  background-color: #fff;
  color: #000;
  border: 1px solid #ced4da;
}
.form-control:focus {
  outline: none;
  box-shadow: 0 0 0 0.15rem rgba(40,167,69,0.15);
  border-color: var(--brand-green);
}

.btn-success {
  background-color: var(--brand-green);
  border-color: var(--brand-green);
  color: #fff;
}
.btn-success:hover {
  background-color: #1f7a38;
}

.btn-warning {
  background-color: var(--brand-orange);
  border-color: var(--brand-orange);
  color: #fff;
}

a { color: #000; }

.modal-content {
  background-color: #fff;
  color: #000;
}

/* smaller tweaks */
.container, .container-fluid {
  color: #000;
}

/* Homepage specific styles */
.hero {
  background: linear-gradient(180deg, rgba(40,167,69,0.06) 0%, rgba(255,146,43,0.03) 100%);
}
.hero .display-4 { color: var(--brand-green); font-weight:700; }
.hero .lead { color: #333; max-width: 900px; margin: 0 auto; }

.sports .sport-card { border: 1px solid #e9ecef; }
.img-placeholder {
  background: #f8f9fa;
  border: 2px dashed #ced4da;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  font-size: 0.95rem;
  padding: 1rem;
}

@media (min-width: 992px) {
  .img-placeholder { height: 220px; }
}

.about h2, .sports h2 { color: #222; }
.cta { background: linear-gradient(90deg, rgba(40,167,69,0.04), rgba(255,146,43,0.02)); }

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Template additions (font + hero from provided design) */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&display=swap');

body {
  font-family: 'Rajdhani', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}


.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  display : flex;
  flex-direction: column;
  justify-content: center;

  padding: 60px;
}
.hero-content h1 {
  color: #ffffff;
  text-transform: uppercase;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}
.hero-content .lead {
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.25rem;
  font-size: clamp(1rem, 2vw, 1.4rem);
  line-height: 1.6;
}
.btn-hero {
  display: inline-block;
  background-color: #ff8c00;
  color: #ffffff;
  border: none;
  padding: clamp(0.75rem, 2vw, 1.2rem) clamp(1.5rem, 4vw, 2.5rem);
  font-size: clamp(0.95rem, 1.5vw, 1.2rem);
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-hero:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(0,0,0,0.2); }

.logo img { width: 160px; height: auto; background: #fff; padding: 6px; border-radius: 4px; }

.agenda-page {
  padding: 4rem 0 6rem;
  background: #f4f5f7;
}

.agenda-card {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 140, 0, 0.16);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
  padding: 2rem 2.25rem;
}

.agenda-card h3 {
  color: #132b50;
  margin-bottom: 0.5rem;
}

.agenda-card .form-label {
  font-weight: 600;
}

.agenda-card .form-control {
  border-radius: 1rem;
  min-height: 3.4rem;
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.06);
}

.agenda-card .form-control:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.2);
}

.agenda-card .btn-hero {
  width: 100%;
}

/* ensure placeholders look good on light theme */
.img-placeholder { background: #f8f9fa; border: 2px dashed #ced4da; }

/* Navbar styling with sticky positioning */
header {
  position: sticky;
  top: 0;
  z-index: 98;
  background: #ff8c00;
}

.navbar {
  padding: 0.5rem 1rem !important;
  transition: padding 0.3s ease, box-shadow 0.3s ease;
  background: #ff8c00 !important;
  border-bottom: 1px solid #e67600 !important;
}

.navbar-toggler-icon {
  filter: invert(1) brightness(1.2);
}

.navbar-brand-custom {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
}
.navbar-brand-custom:hover {
  transform: translateY(-2px);
  color: #ffffff !important;
}

.navbar-logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-logo-img {
  height: 40px;
  width: auto;
  transition: transform 0.2s ease;
}
.navbar-brand-custom:hover .navbar-logo-img {
  transform: scale(1.05);
}

.navbar-brand-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  transition: color 0.2s ease;
}
.navbar-brand-custom:hover .navbar-brand-text {
  color: #ffffff;
}

.navbar.scrolled {
  padding: 0.25rem 1rem !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Two-column hero (image + text) */
/* =========================
   HERO SECTION
========================= */



.hero .container-fluid {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    height: 100%;
}

.hero-grid {
  flex-direction: row;
  align-items: stretch; /* alinhar ambas colunas na mesma linha */
  height: 100%; /* preencher a altura do .hero */
  width: 100%;
  margin: 0;
  padding: 0;
}

.hero-grid > div {
  padding: 0; /* remover padding padrão do Bootstrap */
  height: 100%; /* garantir que cada coluna ocupe toda a altura */
}
/* =========================
   CAIXA DE TEXTO
========================= */

.hero-text {
  width: 100%; /* painel esquerdo ocupando 35% */
  height: 100%; /* ocupar mesma altura da seção hero */
  background: linear-gradient(90deg, #ffffff 0%, #f3f3f3 40%, #e6e6e6 60%); /* degradê interno do painel */
  display: flex;
  flex-direction: column;
  justify-content: center; /* alinhar verticalmente com flexbox */
  align-items: flex-start; /* manter texto alinhado à esquerda */
  padding: 6rem;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

.hero-text h1 {
  color: #132b50;
  /* fonte proporcional, evitando corte */
  font-size: clamp(3rem, 6vh, 5rem);
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 1.5rem 0;
  max-width: 100%;
  word-break: break-word;
}

.hero-text .lead {
  color: #445;
  /* tamanho mais discreto e proporcional ao painel */
  font-size: clamp(1.5rem, 3vh, 1.9rem);
  margin: 0 0 2rem 0;
  max-width: 42rem;
  line-height: 1.8;
}

/* =========================
   IMAGEM
========================= */
.hero-image{
  overflow: hidden;
}
.hero-image {
  width: 100%; /* imagem ocupa 65% da área direita */
  height: 100%; /* ocupar toda a altura do hero */
  background-image: url('/img/Nobeachhero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: block;
  flex: 1;
  object-fit: cover;
}

/* remover restrição que estava cortando o conteúdo em telas grandes */
@media (min-width: 1200px) {
  .hero-text { max-height: none; }
}

/* remove qualquer overlay antigo */
.hero-image::after {
    display: none;
}

.hero::before {
    display: none;
}

/* =========================
   BOTÕES
========================= */

.btn-hero {
    background: #ff8c00;
    color: white;
    border: none;
    border-radius: 999px;
    padding: 1rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
}

.btn-hero:hover {
    transform: translateY(-2px);
}

/* =========================
   RESPONSIVO
========================= */

@media (max-width: 992px) {
  .hero-grid { flex-direction: column; }
  .hero-text {
    width: 100%;
    height: auto;
    padding: 2rem;
    align-items: center;
    text-align: center;
    background: #ffffff; /* gradiente removido em mobile para legibilidade */
  }
  .hero-image { width: 100%; height: 40vh; }
  .hero-text h1 { font-size: clamp(2.5rem, 4vw, 4rem);
    line-height:1.1; }
}