/* Cores do Logotipo */
:root {
    --primary-color: #0E1A3C; /* Azul Escuro */
    --secondary-color: #C39F68; /* Dourado */
    --text-color: #333;
    --light-bg: #F9F9F9;
    --white: #FFFFFF;
}

/* Base Reset e Tipografia */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Roboto', serif;
    color: var(--primary-color);
    margin-bottom: 0.5em;
}

h1 { font-size: 2.5em; }
h2 { font-size: 2em; }
h3 { font-size: 1.5em; }

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

/* Header e Navegação */
header {
    background-color: var(--primary-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 70px; /* Ajuste conforme o tamanho da sua logo PNG */
    width: auto;
}

.rainbird-logo img {
  height: 30px;
}

.instagram-link img {
  height: 30px;
}

#navbar a {
    color: var(--white);
    margin-left: 25px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

#navbar a:hover {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
}

.menu-toggle {
    display: none; /* Esconder em telas maiores */
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5em;
    cursor: pointer;
}

/* Estilo do Botão */
.btn {
    display: inline-block;
    padding: 12px 25px;
    margin-top: 20px;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn.primary {
    background-color: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.btn.primary:hover {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Hero Section (Homepage) */
.hero {
    background: url('/images/background.jpeg') no-repeat center center/cover; /* Substitua a imagem */
    height: 70vh;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    color: var(--white);
}

.hero::before { /* Overlay escuro para melhorar a leitura */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero .container {
    position: relative;
    z-index: 10;
}

.hero h1 {
    font-family: 'Roboto', sans-serif;
    color: var(--white);
    font-size: 3.5em;
    margin-bottom: 0.3em;
}

.hero p {
    font-size: 1.5em;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

/* Serviços */
#servicos {
    text-align: center;
    background-color: var(--light-bg);
}

#servicos .container h2 {
  font-family: 'Roboto', sans-serif;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.servico-item {
    background-color: var(--white);
    padding: 30px;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: left;
    border-top: 4px solid var(--secondary-color);
    transition: transform 0.3s ease;
}

.servico-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.servico-item h3 {
    font-family: 'Roboto', sans-serif;
    color: var(--secondary-color);
}

/* Diferencial (Fundo Primário) */
.diferencial {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 50px 0;
}

.diferencial h2 {
    font-family: 'Roboto', sans-serif;
    color: var(--secondary-color);
}

.diferencial p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1em;
    max-width: 800px;
    margin: 10px auto 0;
}

/* Contato */
#contato {
    background-color: var(--white);
    text-align: center;
}

#contact-form {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

.form-group textarea {
    resize: vertical;
}

.contato-info {
    margin-top: 30px;
    font-size: 1.1em;
}

/* Rodapé */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 20px 0;
}

/* ================================== */
/* MEDIA QUERIES (Responsividade) */
/* ================================== */

@media (max-width: 900px) {
    .hero h1 {
        font-size: 3em;
    }
}

@media (max-width: 768px) {
    /* Menu Mobile */
    #navbar {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 90px; /* Altura do header */
        left: 0;
        background-color: var(--primary-color);
        padding-bottom: 10px;
        box-shadow: 0 4px 5px rgba(0, 0, 0, 0.2);
    }
    
    #navbar.active {
        display: flex;
    }

    #navbar a {
        margin: 10px 0;
        padding: 10px 20px;
        width: 100%;
        text-align: center;
        border-bottom: none;
    }
    
    .menu-toggle {
        display: block; /* Mostrar o ícone de menu */
    }

    /* Hero */
    .hero {
        height: 50vh;
    }

    .hero h1 {
        font-size: 2.5em;
    }
    
    .section-padding {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2em;
    }
    h2 {
        font-size: 1.8em;
    }
}

/* ================================== */
/* Botão Fixo do WhatsApp */
/* ================================== */

.whatsapp-fixed-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25D366; /* Cor oficial do WhatsApp */
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    font-size: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-fixed-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.wpp-icon {
    /* Representação do ícone (use um emoji, texto ou SVG real para o ícone Wpp) */
    display: block;
    font-size: 40px;
    line-height: 60px;
}
.wpp-icon::before {
    content: "💬"; /* Emoji simples de balão de fala */
    /* Para usar o ícone oficial (SVG/Font Awesome), você precisaria incluir a biblioteca */
}

/* Ajuste para telas menores */
@media (max-width: 768px) {
    .whatsapp-fixed-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        line-height: 50px;
        font-size: 25px;
    }
    .wpp-icon {
        line-height: 50px;
    }
}