body {
    padding-bottom: 20px;
}

.fetaema-title {
    font-family: 'Kalam', cursive; 
    font-weight: 700;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}



.logo-fetaema {
    max-height: 4rem; 
}

.social-media {
    color: #000000;
    background-color: #D3D3CD;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.navbar {
    padding-left: 0;
    padding-right: 0;
}


.navbar-nav .nav-item:first-child .nav-link {
    padding-left: 0.75rem; 
}


.navbar .container {
    padding-left: 0.75rem; 
}

.navbar-paper {
    background-image: url("Image/papel_rasgad.png");
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100% 110px; 
    background-color: #ffffff;  
    min-height: 110px;        
    position: relative;
    border-bottom: none;
    box-shadow: none;
    z-index: 1;
    display: flex;
    align-items: flex-start;
}

.torn-edge {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0; 
    width: 100%;
    height: auto;
    pointer-events: none; 
    z-index: 3;
}
.torn-effect {
    width: 100vw;
    height: 0;
    margin-left: calc(-50vw + 50%);
    background: url('Image/papel_rasgad.png') top center no-repeat;
    background-size: cover;
    position: relative;
}

.carousel-full {
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    height: auto;
    max-height: 90vh; 
    overflow: hidden;
    margin-bottom: 0;
}



.carousel-slide-preview {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 70vh;   
    min-height: 400px; 
    background: transparent;
    overflow: hidden;
}

.carousel-main {
    z-index: 3;
    height: 100%;     
    width: auto;       
    max-width: 100%;   
    object-fit: contain; 
    filter: drop-shadow(0 12px 48px rgba(0,0,0,0.6))
    drop-shadow(0 4px 16px rgba(0,0,0,0.4));
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.carousel-bg {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 35%;
    height: 100%;     
    object-fit: cover;
    filter: blur(15px) brightness(0.6) opacity(0.7) saturate(0.8);
    z-index: 1;
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.carousel-bg.left {
    left: 0;
    transform: scale(1.1) translateX(-5%);
}

.carousel-bg.right {
    right: 0;
    transform: scale(1.1) translateX(5%);
}

.carousel-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
            circle at center,
            rgba(0,0,0,0.1) 30%,
            rgba(0,0,0,0.3) 100%
    );
    z-index: 2;
}

.carousel-bg.left::after {
    background: linear-gradient(
            to right,
            rgba(0,0,0,0.6) 0%,
            rgba(0,0,0,0.2) 70%,
            transparent 100%
    );
}

.carousel-bg.right::after {
    background: linear-gradient(
            to left,
            rgba(0,0,0,0.6) 0%,
            rgba(0,0,0,0.2) 70%,
            transparent 100%
    );
}


.carousel-caption {
    z-index: 4;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

body > .container.mt-4 {
    padding-left: 15px;
    padding-right: 15px;
}
.top-header {
    border-bottom: 1px solid #e0e0e0;
}

.contact-info small {
    font-size: 11px;
}

.contact-info strong {
    font-size: 14px;
}

.carousel-with-cards {
    position: relative;
    margin-bottom: 100px; 
}

.card-hover {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    border-radius: 0.5rem;
    padding: 5px;
}
.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    padding: 5px;
}

.cards-overlay {
    position: relative;
    z-index: 10;
    margin-top: -50px; /* Sobrepõe os cards no carrossel */
}

.cards-overlay .card {
    background: #fff;
    border: none;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

.cards-overlay .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2) !important;
}

.card-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.card-text {
    font-size: 0.9rem;
    color: #333;
}

.icon-container {
    margin-top: 10px;
}


/* CARD NOTICIAS */
.card-news {
    border: none;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card-news:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15) !important;
}
.card-img-wrapper {
    position: relative;
    overflow: hidden;
}

.card-img-top {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card-news:hover .card-img-top {
    transform: scale(1.05);
}
.date-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: #28a745;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.card-news .card-title {
    font-size: 1.1rem;
    line-height: 1.4;
    color: #333;
}

/*  QUEM SOMOS */

.q-somos{
    background-color: #F8F7F0;
    width: 100%;
    
}
.img-principal {
    border-radius: 50% 50% 0 50%; 
    max-width: 100%;
}


.img-secundaria {
    width: 200px;
    border-radius: 50%;
    bottom: -30px;
    left: -30px;
    border: 5px solid #fff; 
}

.footer {
    background-color: #1e1e1a;
    position: relative;
}

.footer h6 {
    font-weight: 600;
}

.footer a {
    color: #ddd;
    text-decoration: none;
}

.footer a:hover {
    color: #ffc720; 
}


.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    color: #fff;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 1.2rem;
    transition: 0.3s;
}

.social-icon:hover {
    background-color: #ffc720;
}

.social-icon:hover i {
    color: #fff !important;
}


.footer-bottom {
    background-color: #141411;
    font-size: 0.9rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .top-header {
        text-align: center;
        padding: 1.5rem 0
    }

    .contact-info {
        margin-bottom: 1rem;
    }

    .cards-overlay {
        margin-top: -60px;
    }

    .cards-overlay .card {
        margin-bottom: 30px;
    }

    .carousel-bg {
        width: 35%;   
        height: 100%;
        transform: scale(1.1);
    }
    .card-img-top {
        height: 200px;
    }
    .card-img-top {
        height: 200px;
    }
    .date-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    .card-news .card-title {
        font-size: 1rem;
    }
}



@media (max-width: 991px) {
    .top-header {
        text-align: center;
        padding: 1.5rem 0
    }
    .social-icons {
        margin-left: 0 !important;
    }

}

