/*
Theme Name: Waterloop
Author: Marcio José
Description: Tema customizado para Waterloop: Zero Water = No Life
Version: 1.0
Text Domain: waterloop
*/

/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: url('images/footer.jpg') no-repeat;
    background-position: bottom center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: 0.3s;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header.scrolled .logo h1,
header.scrolled .nav-links a,
header.scrolled .nav-icons i {
    color: #333;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: #fff;
    font-size: 24px;
    letter-spacing: 2px;
}

.logo img {
    width: 100%;
    max-width: 160px;
    height: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #fff;
    font-weight: 400;
    font-size: 14px;
}

.nav-icons {
    display: flex;
    gap: 20px;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    align-items: center;
}

/* Search Form */
.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

#search-form {
    position: absolute;
    top: 150%;
    right: 0;
    background: #fff;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

#search-form.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#search-form input[type="search"] {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    outline: none;
    font-family: inherit;
    width: 200px;
}

#search-form button {
    padding: 8px 12px;
    background: #4a7c9d;
    color: #fff;
    border: 1px solid #4a7c9d;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background 0.3s;
}

#search-form button:hover {
    background: #36607d;
}

.menu-toggle {
    display: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: 4px;
}

.hero p {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 40px;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Insights Section */
.insights {
    padding: 80px 0;
}

.section-title {
    font-size: 64px;
    color: #4a7c9d;
    font-weight: 300;
    margin-bottom: 60px;
    position: absolute;
    margin-top: -140px;
}

.insight-card {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.insight-card.reverse {
    flex-direction: row-reverse;
}

.insight-info {
    flex: 1;
}

.insight-image {
    flex: 1;
}

.insight-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 4px;
}

.insight-info h3 {
    font-size: 24px;
    color: #4a7c9d;
    margin-bottom: 10px;
}

.insight-info .date {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 20px;
}

.insight-info p {
    margin-bottom: 20px;
    color: #666;
}

.btn-secondary {
    display: inline-block;
    background: #4a7c9d;
    color: #fff;
    padding: 10px 25px;
    border-radius: 4px;
    font-size: 14px;
}

.btn-primary {
    display: inline-block;
    background: #4a7c9d;
    color: #fff;
    padding: 15px 40px;
    border-radius: 4px;
    font-size: 16px;
    margin-top: 40px;
}

.center-btn {
    text-align: center;
}

/* Marcio Jose Section */
.marcio-jose {
    background: url(images/banner_marcio_2.jpg) no-repeat center center/cover;
    padding: 80px 0;
}

.marcio-flex {
    display: flex;
    align-items: center;
    gap: 60px;
}

.marcio-image {
    flex: 1.5;
}

.marcio-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.marcio-info {
    flex: 1.5;
}

.marcio-info h2 {
    font-size: 48px;
    color: #4a7c9d;
    font-weight: 300;
    margin-bottom: 30px;
}

.marcio-info p {
    margin-bottom: 20px;
    color: #555;
}

/* Waterloop About Section */
.waterloop-about {
    padding: 80px 0;
}

.about-flex {
    display: flex;
    gap: 60px;
}

.about-logo {
    flex: 1;
}

.about-logo .logo-text {
    font-size: 48px;
    letter-spacing: 4px;
    color: #000;
}

.about-content {
    flex: 2;
}

.about-content p {
    margin-bottom: 20px;
    color: #000;
}

/* Footer */
footer {
    position: relative;
    padding: 244px 0 40px;
    color: #fff;
    text-align: center;
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.footer-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(74, 124, 157, 0.8) 50%, rgba(74, 124, 157, 0.9) 100%);
}

.footer-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-icons {
    font-size: 24px;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 14px;
}

.copyright {
    font-size: 12px;
    opacity: 0.8;
    margin-top: 115px;
}

/* Insights Hero Section */
.insights-hero {
    height: 300px;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.4),
            rgba(0, 0, 0, 0.4) 10%,
            rgba(0, 0, 0, 0.4) 70%,
            rgba(255, 255, 255, 1) 100%), url('images/internas.jpeg') no-repeat center bottom/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.insights-hero-content h1 {
    font-size: 56px;
    font-weight: 300;
    letter-spacing: 4px;
}

/* Insights Grid */
.insights-grid {
    padding: 80px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.insight-grid-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); */
    transition: transform 0.3s, box-shadow 0.3s;
}

.insight-grid-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.insight-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.insight-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.insight-card-content {
    padding: 25px;
}

.card-date {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 12px;
}

.insight-grid-card h3 {
    font-size: 18px;
    color: #4a7c9d;
    margin-bottom: 15px;
    font-weight: 600;
}

.insight-grid-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.view-all-section {
    text-align: center;
    padding: 40px 0 80px;
}

/* Article Hero Section */
.article-hero {
    height: 300px;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.4),
            rgba(0, 0, 0, 0.4) 10%,
            rgba(0, 0, 0, 0.4) 70%,
            rgba(255, 255, 255, 1) 100%), url('images/internas.jpeg') no-repeat center bottom/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.article-hero-content h1 {
    font-size: 42px;
    font-weight: 300;
    letter-spacing: 2px;
    max-width: 900px;
}

/* Article Content */
.article-content {
    padding: 80px 0;
    max-width: 800px;
    margin: 0 auto;
}

.article-meta {
    margin-bottom: 10px;
    text-align: left;
}

.article-date {
    font-size: 14px;
    color: rgb(107 133 152);
}

.article-image {
    margin-bottom: 40px;
    border-radius: 4px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: auto;
}

.article-body {
    font-size: 16px;
    line-height: 1.8;
    color: #000000;
}

.article-body p {
    margin-bottom: 25px;
}

.article-tags {
    border-radius: 4px;
}

.tag {
    display: inline-block;
    /* background: #e0e8f0; */
    color: #4a7c9d;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    /* margin-right: 10px; */
    margin-bottom: 10px;
}

.article-cta {
    text-align: let;
    margin-top: 50px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 36px;
    }

    .section-title {
        font-size: 48px;
    }

    .insight-card,
    .insight-card.reverse {
        flex-direction: column;
    }

    .marcio-flex,
    .about-flex {
        flex-direction: column;
        text-align: center;
    }

    .insights-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .insights-hero-content h1 {
        font-size: 42px;
    }

    .article-hero-content h1 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav-icons {
        display: none;
    }

    .insights-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .insights-hero-content h1 {
        font-size: 32px;
    }

    .article-hero-content h1 {
        font-size: 24px;
    }

    .article-content {
        padding: 40px 0;
    }
}