/* smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* base styles */
body {
    font-family: 'Righteous', sans-serif;
    background-color: #f4f4f4;
    text-align: center;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* header section */
header {
    background: url('./imgs/background/background_main.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    position: relative;

    /* decorative line */
    .white-line {
        width: 550px;
        height: 1.2px;
        background-color: white;
        position: absolute;
        top: 20px;
        left: 30px;
    }

    /* main titles */
    .main-title,
    .main-title2 {
        color: white;
        font-size: 90px;
        transition: all 0.3s ease;
    }

    .main-title {
        margin-top: 200px;
    }

    /* main button */
    .main-button {
        background-color: #FDEE7A;
        color: white;
        padding: 15px 32px;
        width: 350px;
        height: 100px;
        font-size: 26px;
        cursor: pointer;
        border-radius: 50px;
        transition: 0.3s ease;
    }

    .main-button:hover {
        background-color: #58532b;
        font-weight: bold;
        transform: translateY(-5px);
    }

    /* navigation menu */
    nav {
        position: absolute;
        top: 30px;
        left: 40px;
        display: flex;
        gap: 20px;

        .menu-link {
            text-decoration: none;
            font-size: 20px;
            color: white;
            transition: all 0.3s ease;
        }

        .menu-link:hover {
            transform: translateY(-5px);
            font-weight: bold;
        }
    }
}

/* animated carousel */
.carrossel-container {
    overflow: hidden;
    white-space: nowrap;
    background: #f4f4f4;
    padding: 10px 0;
    position: relative;
    width: 100%;

    .marquee {
        display: flex;
        width: max-content;
        animation: marquee 15s linear infinite;
    }

    .marquee span {
        display: inline-block;
        padding: 0 40px;
        font-size: 18px;
        color: #555;
    }
}

/* continuous scrolling animation */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* sections */
.menus {
    max-width: 1200px;
    margin: 50px auto;
    padding: 60px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

#information {
    background: linear-gradient(135deg, #93C7FF, #6096BA);
    color: white;
}

#packages {
    background: linear-gradient(135deg, #FFABAB, #FF8E72);
    color: white;
}

#photos {
    background: linear-gradient(135deg, #B5E48C, #99D98C);
    color: white;
}

/* section text styles */
.menus h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.menus p {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* navigation bar */
nav {
    display: flex;
    align-items: center;
    font-size: 15px;

    ul {
        display: flex;
        list-style: none;
        gap: 50px;

        li a {
            display: inline-block;
            padding: 10px 20px;
            color: var(--base);
            transition: background 0.3s ease, border-radius 0.3s ease;
        }

        li a:hover {
            background-color: var(--base-100);
            border-radius: 10px;
            text-decoration: none;
        }
    }

    /* mobile menu toggle */
    .mobile-toggle {
        display: none;
        color: var(--base-800);
        padding: 10px;
    }

    @media (max-width: 768px) {
        .mobile-toggle {
            display: inline-block;
            position: absolute;
            top: 20px;
            right: 20px;
        }
    }
}

/* responsive adjustments */
@media (max-width: 1024px), (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: center;
        margin-top: 10px;
        width: 100%;
    }
}

/* package section */
.package-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* individual package card */
.package-card {
    width: 280px;
    height: 380px;
    background: white;
    color: #555;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.package-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.package-card:hover {
    transform: scale(1.05);
}

/* Modal (card expandido) */
.modal {
    display: none; /* Inicialmente escondido */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: white;
    width: 70%; 
    max-width: 800px;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow-y: auto; /* Adicionar rolagem se necessário */
    max-height: 90%; 
}

.modal-content img {
    width: 100%; /* Reduzir o tamanho da imagem */
    max-width: 400px; 
    height: auto;
    margin-bottom: 20px;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    color: #333;
    cursor: pointer;
}

.package-card {
    width: 280px;
    height: 380px;
    background: white;
    color: #555;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.package-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.package-card:hover {
    transform: scale(1.05);
}

/* Estilo para o botão "Comprar agora" */
.buy-now {
    background-color: #28a745; 
    color: white;
    padding: 10px 20px;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s;
}

/* Efeito de hover no botão */
.buy-now:hover {
    background-color: #218838;
}

.price {
    font-size: 24px;
    font-weight: bold; 
    color: #e74c3c; 
}

