/*
Theme Name: Portal Rancho Alegria
Author: Antonio Paim
Description: Tema desenvolvido para o Rancho Alegria
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900&family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Squada+One&display=swap');

/* Reset */
* {
    margin: 0;
    border: 0;
    padding: 0;
}

html, body {
    overflow-x: hidden;
}

/* Body */
body {
    background-color: #fff;
    font-family: 'Montserrat', 'Roboto', 'Open Sans', sans-serif;
    font-size: 20px;
    color: #000;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Squada One', 'Roboto', 'Open Sans', sans-serif;
}

/* Links */
a {
    color: inherit;
    font-weight: 700;
    text-decoration: none;
	
}

a:hover {
    color: #888888;
    text-decoration: none;
}

/* Images */
img {
    width: 100%;
    height: auto;
}

/* Utility Classes */
.d-none {
    display: none;
}

.margin-10 {
    right: 30px;
}

/* Geral */
.conteudo {
    min-height: 700px;
}

.conteudo-interno {
    padding: 15px 30px 30px;
    background-color: #fff;
    margin: 35px auto;
}

/* Header */
header {
    background-size: cover;
    background-position: center;
    height: 988px;
    position: relative;
}

.header-background {
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.header-background-loaded {
    opacity: 1;
}

.topo-home .logo-img {
    width: 85%;
    margin-left: 20px;
    /* margin-top: 40px;*/
}

.alinha-logo-centro {
    text-align: center;
}

.menuhorizontal {
    text-align: center;
    /* margin-top: 60px;*/
}

.menuhorizontal .navbar-nav {
    display: inline-block;
    list-style: none;
    padding: 0;
}

.menuhorizontal .navbar-nav li {
    display: inline;
}

.menuhorizontal .navbar-nav li a {
    color: #793300;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 13px;
    text-decoration: none;
    padding: 0 1px;
}

.menuhorizontal .navbar-nav li + li::before {
    content: "|";
    color: #793300;
    margin: 0 5px;
}

.menuhorizontal .navbar-nav li a:hover {
    color: #a55b20;
}

/* Estilo atualizado para o texto "Arte Equestre" no slide */
.texto-slide {
    font-family: 'Montserrat', sans-serif;
    font-size: 58px;
    font-weight: 900;
    color: #ffffff;
    text-align: right;
    bottom: 10%;
    right: 5%;
    line-height: 1.2;
    position: absolute;
    z-index: 2;
}

.alinha-div-texto {
    position: absolute;
    bottom: 10%;
    right: 5%;
}

/* Control Nav (Menu Toggle) */
.control-nav {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    position: relative;
    width: 30px;
    height: 24px;
    cursor: pointer;
}

.nav-toggle-label span {
    background-color: #793300;
    width: 100%;
    height: 3px;
    display: block;
    position: absolute;
    left: 0;
    transition: all 0.3s;
}

.nav-toggle-label span:nth-child(1) {
    top: 0;
}

.nav-toggle-label span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.nav-toggle-label span:nth-child(3) {
    bottom: 0;
}

.nav-toggle:checked + .nav-toggle-label span:nth-child(1) {
    transform: rotate(45deg);
    top: 50%;
}

.nav-toggle:checked + .nav-toggle-label span:nth-child(2) {
    opacity: 0;
}

.nav-toggle:checked + .nav-toggle-label span:nth-child(3) {
    transform: rotate(-45deg);
    top: 50%;
}

.nav-toggle:checked ~ .navbar-nav {
    display: flex;
}

/* Atualização do estilo para o texto sobreposto à imagem no index.php */
.text-center-animal {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    padding: 10px 0;
    color: #000;
}

/* Garantindo que a imagem seja a posição relativa para o texto sobreposto */
.img-card-topo {
    position: relative;
    width: 100%;
    height: auto;
}

/* Estilo para o efeito de hover nas imagens */
.img-hover-container {
    position: relative;
    width: 100%;
}

.img-hover-container img {
    display: block;
    width: 100%;
    height: auto;
}

.img-hover-container .hover-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    color: #000;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.img-hover-container:hover .hover-text {
    opacity: 1;
}

/* Estilo das Linhas e Títulos */
.title-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.title-container .line {
    width: 20%;
    height: 1px;
    background-color: #7A3402;
    margin: 0 10px;
}

.title-container h2 {
    font-family: 'Anton', sans-serif;
    font-weight: 700;
    font-size: 42px;
    color: #7A3402;
    margin: 0;
    text-transform: uppercase;
}

.titulo-page {
    font-family: 'Squada One', sans-serif;
    font-size: 44px;
    font-weight: 700;
    color: #8b3000;
    text-transform: uppercase;
}

.ico-home {
    width: auto;
}

.icon-social {
    color: white;
    font-size: 48px;
}

/* Estilos para a página single-animal.php e single-animal-venda.php */
.single-animal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.informacao-venda-container h3 {
    font-family: 'Squada One', sans-serif;
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
    color: #7A3402;
    margin-top: -20px;
}

.informacao-venda-container p {
    font-weight: 500;
}

/* Título do animal */
.animal-title {
    font-family: 'Squada One', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Imagem do animal */
.animal-image {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

/* Seção de informações do animal */
.animal-infos {
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Título da seção de informações */
.animal-infos h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    color: #555;
    margin-bottom: 10px;
}

/* Texto das informações do animal */
.animal-infos p {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

/* Botão ou link para voltar à lista de animais */
.back-to-list {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
}

.back-to-list:hover {
    background-color: #0056b3;
    color: #fff;
}

/* Estilo para botão de contato na página single */
.btn-ver-todos {
    font-family: 'Montserrat', sans-serif;
    background-color: #613d2c;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    font-size: 12px;
}

.btn-ver-todos:hover {
    background-color: #4e2d1c;
}

/* Estilo para páginas internas */
.topo-interna {
    height: 100px;
    background-color: #fdfdfd;
    display: flex;
    align-items: center;
}

.alinha-logo-centro {
    text-align: center;
}

/* Conteúdo interno das páginas */
.conteudo-interno {
    padding: 20px 0;
}

/* Estilos para a seção de contato */
.background-adjust {
    position: relative;
}

.img-desktop {
    width: 75%;
}

.titulo-contato {
    font-family: 'Squada One', sans-serif;
    font-weight: 700;
    font-size: 45px;
    color: #7A3402;
    text-transform: uppercase;
}

.titulo-contato h3 {
    font-family: 'Squada One', sans-serif;
    font-weight: 700;
    font-size: 45px;
    color: #7A3402;
    text-transform: uppercase;
}

.wpcf7-form-control {
    margin-bottom: 15px;
}

.form-group.text-center .wpcf7-submit {
    width: 150px;
}

.form-group input,
.form-group textarea {
    font-family:'Montserrat', sans-serif;
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.form-group.text-center .wpcf7-submit {
    background-color: #613d2c;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
}

.form-group.text-center .wpcf7-submit:hover {
    background-color: #4e2d1c;
}

/* Footer */
.site-footer {
    background-color: #793300;
    color: white;
    padding: 40px 0 0 0;
}

.site-footer .logo-rodape {
    width: 45%;
    margin-left: 85px;
}

.site-footer p {
    font-family: 'Montserrat', sans-serif;
    color: white;
    font-size: 15px;
}

.site-footer .social-icons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.site-footer .social-icons a {
    color: white;
    font-size: 24px;
    text-decoration: none;
}

.site-footer .social-icons a:hover {
    color: #888;
}

.site-footer .text-center {
    margin-top: 20px;
}

.site-footer .text-center p {
    font-size: 14px;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

/* Estilos personalizados para as Redes Sociais no Rodapé */
.links-uteis-ul {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
}

.links-uteis-ul li {
    margin: 0 10px;
}

.links-uteis-ul li a {
    color: white;
    font-size: 24px;
    text-decoration: none;
}

.links-uteis-ul li a:hover {
    color: #a55b20;
}

.icon-social {
    font-size: 28px;
    color: white;
}

.footer-title {
    font-size: 32px;
    font-family: 'Squada One', sans-serif;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
}

/* Ajuste específico para a seção "Animais à Venda" */
.container-animais-venda .slider-container {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 20px;
}

.container-animais-venda .slider-container li {
    flex: 0 1 30%;
    max-width: 30%;
}

.lista-rancho {
	margin-left:40px;
}

.texto-rancho {
	text-align: justify;
}

.header-background {
    position: relative; /* Pai relativo para controlar a fundo-menu */
}

.fundo-menu {
    background: rgba(255, 255, 255, 0.6); /* Translúcido */
    padding: 20px 0; /* Padding vertical interno */
    width: 100%; /* 100% da tela */
    position: absolute;
    top: 40px; /* Distância correta do topo */
    left: 0;
    right: 0;
    margin: 0 auto;
    border-radius: 0; /* Remove bordas arredondadas */
}

.fundo-menu .row {
    align-items: center;
    min-height: 120px; /* Mantém altura confortável */
}

.fundo-menu .navbar-nav > li > a,
.fundo-menu .logo-cab img {
    color: #333;
}

.fundo-menu .navbar-nav > li > a:hover {
    color: #000;
}

.titulo-contato-menor {
    font-family: 'Squada One', sans-serif;
    font-weight: 700;
    font-size: 35px; 
    color: #7A3402;
    text-transform: uppercase;
}

/* Garantir que não tenha margem lateral nas linhas */
.container-fluid.p-0, 
.row.no-gutters {
    margin-right: 0;
    margin-left: 0;
}

/* =========================
   Custom Header Slider Styles
   ========================= */

/* Container do slider na Home */
.header-slider {
    position: relative;
    overflow: hidden;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}
.header-slider.header-background-loaded {
    opacity: 1;
}

/* Cada slide */
.header-slider .header-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* Background único nas páginas internas */
.header-background-interna {
    width: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}
.header-background-interna.header-background-loaded {
    opacity: 1;
}

/* Texto sobreposto */
.alinha-div-texto .texto-slide {
    /* Seu CSS existente para alinhamento e tipografia */
}



/* Media Queries */
@media (max-width: 768px) {
    /* Esconde o menu desktop no mobile */
    .menuhorizontal .navbar-nav {
        display: none;
    }
	
	.menuhorizontal .navbar-nav li a {
    color: #793300;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 13px;
    text-decoration: none;
    padding: 0 1px;
}

    .topo-home .logo-img {
        margin-left: auto;
        margin-top: auto;
    }

    .control-nav .navbar-nav {
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
        background-color: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 999;
    }

    .nav-toggle-label {
        display: block;
    }

    .navbar-nav {
        width: 100%;
    }

    .navbar-nav li {
        display: block;
        margin: 10px 0;
    }

    .navbar-nav li + li::before {
        content: none;
    }

    .texto-slide {
        font-size: 28px;
        text-align: center;
        bottom: 20%;
        right: 0;
        left: 0;
    }

    .img-desktop {
        width: 100%;
    }

    .background-adjust {
        padding-bottom: 100px;
    }

    .slider-item-show4 {
        --swiffy-slider-item-count: 1 !important;
    }

    .texto-slide {
        font-size: 36px;
        text-align: center;
        padding-bottom: 10px;
        right: 0;
        left: 0;
        position: relative;
        max-width: 90%;
        margin: 0 auto;
        white-space: normal;
    }

    .alinha-div-texto {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        text-align: center;
        padding: 115px 15px;
        box-sizing: border-box;
        color: #ffffff;
    }

    .control-nav .navbar-nav {
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
        background-color: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 999;
    }

    .control-nav input[type="checkbox"]:checked ~ .navbar-nav {
        display: flex;
    }

    .site-footer .social-icons {
        justify-content: center;
        margin-bottom: 15px;
    }

    .site-footer .logo-rodape {
        margin-bottom: 25px;
        text-align: center;
        font-size: 65%;
        margin-left: 0;
    }

    .titulo-contato {
        font-size: 35px;
        margin-top: 15px;
    }

    .titulo-contato h3 {
        font-size: 35px;
        margin-top: 15px;
    }

    .wpcf7-spinner {
        margin: 0;
    }

    .header-slider {
        background: #785c49 !important;
    }

    .header-slider .swiffy-slider,
    .header-slider .slider-container,
    .header-slider .slider-item,
    .header-slider .header-slide {
        display: none !important;
    }
    
    .header-slider,
  .header-slider .header-slide {
    height: 500px !important;
  }
}
