/* Importar fonte Poppins do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
/* ============================================================
   STYLE.CSS — Estilos personalizados do projeto Maia GYM
   ============================================================ */

/* Fundo geral laranja Maia GYM e texto claro */
body {
    /* Fundo laranja com gradiente diagonal */
    background: linear-gradient(120deg, #ff6633 60%, #ff944d 100%);
    color: #f5f5f5;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}
/* ============================================================
   HERO PRINCIPAL — MAIA GYM
   ============================================================ */
.hero-main {
    position: relative;
    width: 100%;
    min-height: 80vh;
    background: transparent;
    z-index: 1;
    overflow: visible;
}
.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-shadow: 0 4px 24px rgba(0,0,0,0.12);
}
.hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 12px rgba(0,0,0,0.10);
}
.hero-desc {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 2.5rem;
    max-width: 480px;
}
.btn-hero {
    background: #fff;
    color: #ff6633;
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 32px;
    padding: 0.75rem 2.5rem;
    box-shadow: 0 2px 16px rgba(255,102,51,0.10);
    border: none;
    transition: background 0.2s, color 0.2s;
}
.btn-hero:hover {
    background: #ff6633;
    color: #fff;
}
.hero-img {
    max-width: 420px;
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    margin-top: 0;
    margin-bottom: 0;
    object-fit: cover;
}
.hero-shapes {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
    filter: blur(2px);
}
.shape-1 {
    width: 520px; height: 520px;
    background: #fff;
    top: -80px; left: -120px;
}
.shape-2 {
    width: 320px; height: 320px;
    background: #ff944d;
    top: 180px; left: 65vw;
}
.shape-3 {
    width: 180px; height: 180px;
    background: #fff;
    bottom: -40px; right: -40px;
}
/* CARDS DE SERVIÇO */
.service-card {
    background: #111;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    border: none;
    overflow: hidden;
}
.service-card .card-img-top {
    height: 220px;
    object-fit: cover;
    border-radius: 0;
}
.service-card .card-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
.service-card .card-text {
    color: #f5f5f5;
    font-size: 1rem;
    margin-bottom: 1rem;
}
.service-card .btn-warning {
    background-color: #ffcc00;
    color: #111;
    font-weight: 700;
    border-radius: 24px;
    margin-bottom: 8px;
    border: none;
}
.service-card .btn-outline-light {
    border-radius: 24px;
    font-weight: 600;
}
/* FOOTER FIXO */
.footer-main {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

/* Links */
a {
    text-decoration: none;
}

/* Navbar com fundo escuro para contraste */
.navbar {
    background-color: #111 !important;
    border-bottom: 3px solid #ff6633;
    font-family: 'Poppins', Arial, sans-serif;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    min-height: 80px;
    padding-bottom: 12px;
}

.navbar-brand {
    font-weight: 700;
    color: #ff6633 !important; /* Laranja Maia GYM */
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 1.5rem;
    margin: 0 32px 0 0;
    display: flex;
    align-items: flex-end;
    text-align: center;
    height: 100%;
    padding-bottom: 2px;
}

.navbar-nav {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    margin: 0 auto;
    height: 100%;
    padding-bottom: 2px;
}

.nav-link {
    color: #f5f5f5 !important;
    font-weight: 500;
    margin-right: 8px;
    transition: color 0.2s;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 16px;
    text-align: center;
}

.nav-link:hover, .nav-link.active {
    color: #ff6633 !important;
    background: rgba(255,102,51,0.08);
    border-radius: 4px;
}

/* Dropdown para utilizador (se aplicável) */
.navbar-nav .dropdown-menu {
    background-color: #111;
    border: 1px solid #ff6633;
}

/* Botão Login/Logout destacado */
.navbar .btn-warning {
    background-color: #ff6633;
    border-color: #ff6633;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
}

.navbar .btn-warning:hover {
    background-color: #e65c2a;
    border-color: #e65c2a;
    color: #fff;
}

/* Títulos principais */
h1, h2, h3, h4 {
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Carousel: escurecer um pouco a imagem para legibilidade do texto */
.carousel-item img {
    max-height: 520px;
    object-fit: cover;
    filter: brightness(0.7);
}

/* Texto do carousel */
.carousel-caption h5 {
    font-size: 2rem;
    font-weight: 700;
}

.carousel-caption p {
    font-size: 1.1rem;
}

/* Cards dos serviços e admin */
.card {
    border-radius: 8px;
    overflow: hidden;
}

.card img {
    height: 180px;
    object-fit: cover;
}

.card-title {
    font-weight: 600;
}

.card-text {
    font-size: 0.95rem;
}

/* Botões principais */
.btn-warning {
    background-color: #f7d708;
    border-color: #f7d708;
    color: #111;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-warning:hover {
    background-color: #e6c307;
    border-color: #e6c307;
    color: #000;
}

/* Botões secundários */
.btn-outline-light {
    border-width: 2px;
}

/* Tabelas no admin e gallery */
.table {
    font-size: 0.9rem;
}

.table thead tr th {
    text-transform: uppercase;
}

/* Formulários escuros */
form.bg-dark {
    border: 1px solid #333;
}

/* Footer */
footer {
    font-size: 0.85rem;
}

/* Espaçamento geral entre secções */
.container {
    margin-bottom: 40px;
}

/* Imagens em secções About / Contact */
.img-fluid.rounded.shadow {
    border: 2px solid #222;
}

/* Mensagens de alerta centralizadas já estão boas via Bootstrap */
