:root {
    --primary-color: #6a1b9a;
    /* Um tom de violeta */
    --secondary-color: #ab47bc;
    /* Um violeta mais claro */
    --dark-bg: #212529;
    /* Cor do navbar e footer */
    --light-bg: #f8f9fa;
    --text-color: #343a40;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    padding-top: 56px;
    /* Altura do navbar fixo */
}

/* Navbar Customização */
.navbar-brand {
    font-family: 'Dancing Script', cursive;
    /* Sugestão de fonte mais elegante */
    font-size: 1.8rem;
    color: var(--white);
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    /* Mais um toque de cor */
}

.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary-color);
    font-weight: bold;
}

.logo {
    border-radius: 100%;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/RP-gemini.png') no-repeat center center/cover;
    min-height: 80vh;
    position: relative;
    padding: 100px 0;
    margin-top: -60px;
    font-family: "Dancing Script", cursive;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-section p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-section .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.hero-section .btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Títulos das Seções */
h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Sobre Nós Section */
#sobre .img-fluid {
    max-height: 400px;
    object-fit: cover;
}

/* Serviços Section */
#servicos .card {
    border: none;
    border-radius: 0.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#servicos .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

#servicos .card-body {
    padding: 2.5rem 1.5rem;
}

#servicos .card-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 15px;
}

#servicos .text-primary {
    color: var(--primary-color) !important;
}

/* Galeria Section */
#galeria .carousel-item img {
    height: 500px;
    /* Altura fixa para as imagens do carrossel */
    object-fit: cover;
}

/* Media Queries para Responsividade (Bootstrap já é responsivo, mas este é um exemplo de ajuste fino) */
@media (max-width: 991.98px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1.2rem;
    }

    #galeria .carousel-item img {
        height: 350px;
    }

    .navbar-collapse {
        background-color: var(--dark-bg);
        padding: 15px;
        text-align: center;
    }

    .navbar-nav .nav-item {
        margin: 10px 0;
    }
}

@media (max-width: 767.98px) {
    h2 {
        font-size: 2.2rem;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    #galeria .carousel-item img {
        height: 250px;
    }

    body {
        padding-top: 56px;
        /* Ajusta se o navbar mudar de altura no mobile */
    }
}

.gallery-item {
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    margin-bottom: 20px;
    /* Espaçamento entre as linhas */
}

.gallery-item:hover {
    transform: scale(1.03);
    opacity: 0.9;
}

.modal-content {
    background-color: transparent;
    border: none;
}

.modal-header {
    border-bottom: none;
}

.modal-body {
    text-align: center;
}

/* Garantir que a imagem do modal seja responsiva */
#modalImage {
    max-width: 60%;
    height: auto;
}