@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background: #f8f9fa;
    color: #333;
}

h1, h2, h3, h4 {
    font-weight: 600;
}

.custom-header {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-header {
    position: relative;
    height: 400px;
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/fundo-oceano.jpg'); /* ou fundo-ceu.jpg */
    background-size: cover;
    background-position: center;
    filter: blur(3px) brightness(0.6);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%; /* <-- afasta do canto */
    gap: 40px;
}

.hero-text {
    max-width: 50%;
    padding-left: 20px; /* mais afastamento interno */
}

.hero-image {
    padding-right: 20px;
}

.site-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.site-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
}

.site-subtitle-under {
    font-size: 2rem;
    font-weight: bold;
}

.hero-image .profile-photo {
    width: 220px;
    height: auto;
}

.main-nav ul {
    list-style: none;
    padding-left: 0;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #007bff;
}

.logo-container {
  max-width: 700px;
  width: 100%;
  height: auto;
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.logo-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-25deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { left: -75%; }
  100% { left: 125%; }
}

/* Animações */
@keyframes fadeInHeader {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLogo {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.col {
    flex: 1; /* Ocupa espaço igual dentro do flex container */
}

.col img {
    max-width: 100%;
    height: auto;
    display: block;
}
.row {
		display: flex;
		align-items: center; /* Centraliza os itens verticalmente */
		gap: 20px; /* Espaço entre a imagem e o texto */
		margin-left: -20px;
		*zoom: 1;
}
.row:before,
.row:after {
  display: table;
  content: "";
  line-height: 0;
}
.row:after {
  clear: both;
}
.post-preview {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    margin-bottom: 30px;
    padding: 20px;
}

.post-preview:hover {
    transform: translateY(-5px);
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

h1, h2, h3 {
    color: #38603B;
}

.btn-outline-primary {
    border-radius: 20px;
}

.card-img-top {
    border-radius: 12px;
    max-height: 300px;
    object-fit: cover;
}

.full-logo-header {
    width: 100%;
    overflow: hidden;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.navbar {
    font-family: 'Poppins', sans-serif;
    z-index: 999;
}

.navbar .nav-link {
    color: #333;
    font-weight: 500;
    transition: color 0.2s;
}

.navbar .nav-link:hover {
    color: #007bff;
}

.footer {
	background-color: #38603B;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
}

.footer p,
.footer small {
    margin: 0;
    font-size: 14px;
}

.corfooter{
	background-color: #38603B;
}
.social-menu {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #fff;
    padding: 10px;
    border-radius: 8px 0 0 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.social-menu a {
    color: #333;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-menu a:hover {
    color: #007bff;
    transform: scale(1.2);
}

@media screen and (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 20px 10px;
    }

    .hero-text {
        max-width: 100%;
        padding: 0;
    }

    .site-title {
        font-size: 2rem !important;
    }

    .site-subtitle {
        font-size: 1.2rem !important;
    }

    .site-subtitle-under {
        font-size: 1.5rem !important;
    }

    .hero-image .profile-photo {
        width: 160px;
        height: auto;
        margin-top: 20px;
    }
}
