/* ==========================================================
   THALASSO PLANET
   Autor: Samuel Salgado
   ========================================================== */

/* ---------- Estrutura Geral ---------- */

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #F5F5F5;
    color: #2B2B2B;
}

/* ---------- Navbar ---------- */

.navbar {
    background-color: #023E8A !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;

    color: white !important;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: .5px;

    text-decoration: none;
}

.navbar-brand img {
    height: 42px;
    width: 42px;
    object-fit: contain;
    border-radius: 50%;
    transition: transform .25s ease;
}

.navbar-brand:hover img {
    transform: rotate(-8deg) scale(1.08);
}

.nav-link {
    color: white !important;
    font-weight: 500;
    transition: color .25s ease;
}

.nav-link:hover {
    color: #90E0EF !important;
}

/* ---------- Conteúdo ---------- */

.container {
    margin-top: 25px;
}

/* ---------- Títulos ---------- */

.page-title {
    color: #023E8A;
    font-weight: bold;
    margin-bottom: 20px;
}

/* ---------- Hero ---------- */

.hero {
    background-image:
        linear-gradient(rgba(0, 0, 0, .45),
                        rgba(0, 0, 0, .45)),
        url('/images/backgrounds/ocean-banner.jpg');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: white;
    text-align: center;

    padding: 170px 30px;

    border-radius: 20px;

    margin-bottom: 50px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
}

.hero p {
    font-size: 1.2rem;
    margin-top: 20px;
}

/* ---------- Cartões ---------- */

.card {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,.18);
}

.card-body {
    text-align: center;
    padding: 25px;
}

.card-title {
    color: #023E8A;
    font-weight: bold;
}

.card-text {
    color: #555;
}

/* ---------- Imagens ---------- */

.shark-image,
.marine-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

/* ---------- Botões ---------- */

.btn-primary {
    background-color: #0077B6;
    border-color: #0077B6;
    transition: all .25s ease;
}

.btn-primary:hover {
    background-color: #0096C7;
    border-color: #0096C7;
    transform: scale(1.05);
}

/* ---------- Rodapé ---------- */

.footer {
    background-color: #023E8A;
    color: white !important;
    text-align: center;
    padding: 15px 0;
    width: 100%;
    margin-top: 60px;
}

.footer a {
    color: #90E0EF;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* ---------- Responsivo ---------- */

@media (max-width: 768px) {

    .hero {
        padding: 50px 20px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .shark-image,
    .marine-image {
        height: 220px;
    }
}