* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden; /* impede scroll lateral */
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    background: url("../../Content/paginaweb/prf_image2.png") no-repeat center center;
    height: auto;
    min-height: 100vh;
    background-size: cover;
    background-position: center 0;
    object-fit: cover; /* isso vai fazer com que a imagem seja redimensionada para caber no elemento */
}

/* News Section */
.news-section {
    padding: 80px 0;
    background: #f8fafc;
}

    .news-section h2 {
        text-align: center;
        font-size: 2.5rem;
        margin-bottom: 3rem;
        color: #1e3a8a;
    }

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.news-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .news-card.featured {
        grid-column: span 2;
    }

    .news-card.featured {
        background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
        color: white;
    }

.news-date {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.news-card:not(.featured) .news-date {
    background: #1e3a8a;
}

.news-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.news-card p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.read-more {
    color: inherit;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid currentColor;
    transition: opacity 0.3s ease;
    font-size: 1.1rem;
}

    .read-more:hover {
        opacity: 0.8;
    }

.share-buttons {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .share-btn:hover {
        background: rgba(255,255,255,0.3);
    }

/* FenaSaúde Section */
.fenasaude-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
}

    .fenasaude-section h2 {
        text-align: center;
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }

.fenasaude-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.fenasaude-card {
    background: white;
    color: #333;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

    .fenasaude-card h3 {
        padding: 5px;
        font-size: 2.2rem;
        font-weight: 500;
        margin-bottom: 0;
    }

    .fenasaude-card p {
        font-size: 1.5rem;
        margin-bottom: 2px;
        margin-top: 8px;
        padding: 5px;
        margin-bottom: 10px
    }

.card-date {
    background: #1e3a8a;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 1.2rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.more-news-btn {
    text-align: center;
}

.btn-primary {
    background: #1e3a8a;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: background 0.3s ease;
    display: inline-block;
}

    .btn-primary:hover {
        background: #1e40af;
    }

/* Sindicais Section */
.sindicais-section {
    padding: 80px 0;
    background: #f8fafc;
}

    .sindicais-section h2 {
        text-align: center;
        font-size: 2.5rem;
        margin-bottom: 3rem;
        color: #1e3a8a;
    }

.sindicais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.sindicais-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

    .sindicais-card:hover {
        transform: translateY(-5px);
    }

    .sindicais-card h3 {
        padding: 5px;
        font-size: 2.2rem;
        font-weight: 500;
        margin-bottom: 10px
    }

/* Media Section */
.media-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
}

    .media-section h2 {
        text-align: center;
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.media-card {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
    cursor: pointer;
}

    .media-card:hover {
        transform: translateY(-5px);
        background: rgba(255,255,255,0.2);
    }

.media-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.media-card h3 {
    font-size: 1.2rem;
    font-weight: bold;
}

/* Categories Section */
.categories-section {
    padding: 80px 0;
    background: #1e3a8a;
    color: white;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
    cursor: pointer;
}

    .category-card:hover {
        transform: translateY(-5px);
        background: rgba(255,255,255,0.2);
    }

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #fbbf24;
}

.category-card h3 {
    font-size: 1.2rem;
    font-weight: bold;
}

/* History Section */
.history-section {
    padding: 80px 0;
    background: #f8fafc;
}

.history-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

    .history-content h2 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
        color: #1e3a8a;
    }

    .history-content p {
        font-size: 2.2rem;
        line-height: 1.8;
        margin-bottom: 2rem;
        color: #666;
    }

/* Sindicatos Section */
.sindicatos-section {
    padding: 80px 0;
    background: #1e3a8a;
    color: white;
}

.sindicatos-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

    .sindicatos-content h2 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
        color: #fbbf24;
    }

    .sindicatos-content p {
        font-size: 2.2rem;
        line-height: 1.8;
        margin-bottom: 2rem;
        opacity: 0.9;
    }

/* FenaClube Section */
.fenaclube-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    text-align: center;
}

    .fenaclube-section h2 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .fenaclube-section p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

/* Gympass Section */
.gympass-section {
    padding: 80px 0;
    background: #1a1a1a;
    color: white;
    text-align: center;
}

    .gympass-section h2 {
        font-size: 3rem;
        margin-bottom: 1rem;
        color: #ff6b6b;
    }

    .gympass-section p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        color: #fbbf24;
    }

.gympass-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Footer */
.footer {
    background: #1e3a8a;
    color: white;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-title {
    font-size: 1.65rem;
    font-weight: bold;
    color: #FBBF24;
}

.footer-text p {
    margin: 0
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

    .social-link:hover {
        color: #fbbf24;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #1e3a8a;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

        .nav-menu.active {
            display: flex;
        }

    .hero {
        background-image: url("../../Content/paginaweb/prf_image4.png");
        background-attachment: scroll; /* em mobile o parallax fixed não funciona bem */
        background-size: 100% 100%;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        background-image: url("prf_image4.png");
        background-attachment: scroll; /* em mobile o parallax fixed não funciona bem */
        background-size: 100% 100%;
    }

    .container {
        padding: 0 15px;
    }

    section {
        padding: 60px 0;
    }
}

.gympass-content img {
    max-width: 70%;
    height: auto;
    display: block;
    margin: 0 auto;
}




/* Dropdown Menu Styles */
/*.nav-menu li.dropdown {
    position: relative;
}*/

/*.nav-menu li.dropdown.has-submenu > a::after {
        content: '\f0d7';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        margin-left: 5px;
        vertical-align: middle;
        transition: transform 0.3s ease;
    }*/

/*.nav-menu li.dropdown:hover > a::after {
        transform: rotate(180deg);
    }*/

/*.dropdown-content {
    display: none;
    position: absolute;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    list-style: none;
    padding: 0;
    margin-top: 0; 
    top: 100%; 
    left: 0;

    left: auto;
    right: auto;
    transform: translateX(-50%);
    background-color: #2649B3;
}*/

/*.dropdown-content li a {
        color: white;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        text-align: left;
    }*/

/*.dropdown-content li a:hover {
            background-color: #fbbf24;
            color: #1e3a8a;
        }*/

/*.dropdown-content a {
        word-break: break-all;
        font-size: 0.8em;
    }*/


/*.nav-menu li.dropdown:hover .dropdown-content {
    display: block;
}*/

/*.dropdown > a {
    display: flex;
    align-items: center;
    overflow: visible;
}*/

/*.dropdown:last-child .dropdown-content {
    right: 0;
    left: auto;
}*/


/* Responsive adjustments for dropdown */
@media (max-width: 768px) {
    /*.dropdown-content {
        position: relative;
        top: 0;
        left: 0;
        background-color: #fff;
        padding: 10px;
        border: 1px solid #ddd;
    }*/

    /*.nav-menu li.dropdown > a::after {
        display: none; 
    }*/

    /*.nav-menu li.dropdown .dropdown-content {
        position: static;
        display: none; 
        width: 100%;
        background-color: #1e3a8a;
        box-shadow: none;
        margin-top: 0;
    }*/

    /*.nav-menu li.dropdown.active .dropdown-content {
        display: block; 
    }*/
}
