:root {
    --primary-color: #4A4A4A;
    /* Dark gray main color */
    --secondary-color: #707070;
    /* Medium gray */
    --text-color: #f5f3f3e0;
    /* Almost black */
    --hover-color: #FFFFff;
    /* Light gray */
    --background-color: #F5F5F5;
    --border-color: #fff3;
    /* Whitish gray */
    --montserrat: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--montserrat);
    background-color: var(--background-color);

}

nav {
    position: absolute;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1.5px solid #fff3;
    width: 100%;
    height: 75px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-color);
    border-right: 1.5px solid var(--border-color);
    padding-right: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo a {
    text-decoration: none;
    color: var(--text-color);
    margin-left: 1rem;
}

.logo p {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-color);
    margin-left: 1rem;
}

.logo a:hover {
    color: var(--hover-color);
}


.menu-desktop a {
    font-weight: 600;
    text-decoration: none;
    margin-left: 2rem;
    color: var(--text-color);
    transition: color 0.3s;
}

.menu-desktop a:hover {
    color: white;
    text-decoration: underline;
}

.contact {
    border-left: 1.5px solid var(--border-color);
    padding-left: 1rem;
    height: 100%;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.contact a {
    color: var(--text-color);
    font-weight: 600;
    text-decoration: none;
    margin-right: 1rem;
    background-color: var(--primary-color);
    transition: color 0.3s;
    width: 10rem;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.contact a:hover {
    color: var(--primary-color);
    background-color: var(--background-color);
}

.menu-mobile {
    display: none;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    padding: 1rem;
    border-top: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
}

.mobile-menu a {
    display: block;
    color: var(--text-color);
    font-weight: 600;
    text-decoration: none;
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    width: 90%;
    margin: 0 auto;
}

.mobile-menu a:hover {
    background-color: var(--accent-color);
    color: var(--hover-color);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.bento-box {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    border-bottom: 4px solid transparent;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    text-align: center;
    transition: transform 0.3s;
    position: relative;
}

.bento-box::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 4px;
    background-color: var(--primary-color);
    transition: width 0.5s ease-in-out;
}

.bento-box:hover::after {
    width: 100%;
}

.bento-box i {
    font-size: 3rem;
    color: black;
    margin-bottom: 1rem;
}

.bento-box img {
    width: 3rem;
    height: 3rem;
    color: var(--secondary-color);
}


.bento-box h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero {
    min-height: 70vh;
    background: linear-gradient(44deg, #0006, #0000), linear-gradient(#0000004d, #0000004d),
        url('./assets/images/bobCatHero.jpg');
    background-position: center;
    background-size: cover;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-about {
    min-height: 95vh;
    background: linear-gradient(44deg, #0006, #0000), linear-gradient(#0000004d, #0000004d),
        url('./assets/images/hero-about.jpeg');
    background-position: center;
    background-size: cover;
    color: white;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding-top: 100px;
}

.sobre-content-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    font-size: 1.5rem;
    height: 500px;
    width: 50%;
    text-align: left;
    margin-left: 2rem;
}

.sobre-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    text-transform: uppercase;
}

.sobre-text {
    margin-bottom: 1rem;
}


.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.4rem;
    color: var(--background-color);
    max-width: 800px;
    margin: 0 auto;
}

/* Portfolio *===* Carousel*/
.portfolio>.section-title>h2 {
    color: var(--primary-color);
}

.portfolio>.section-title>p {
    color: var(--primary-color);
}

.swiper {
    width: 97%;
    height: 500px;
    margin: 0 auto;
    border-radius: 12px;
    margin-bottom: 1rem;

}

.swiper-slide {
    background-position: center;
    background-size: cover;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Adjustments for the plans section */
/* ===============================*/

.section-title {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 2rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-color);
}

.planos.bento-grid {
    background-color: var(--secondary-color);
    margin-bottom: 0;
    border-bottom: 1px solid var(--border-color);
}

.planos-container {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.plano-box {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    text-align: center;
    transition: transform 0.3s;
    border-bottom: 4px solid transparent;
    position: relative;
}

.plano-box::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 4px;
    background-color: var(--primary-color);
    transition: width 0.5s ease-in-out;
}

.plano-box:hover::after {
    width: 100%;
}

.plano-box i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.plano-box h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.plano-box p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.plano-box ul {
    list-style: none;
    text-align: left;
    padding: 0 1rem;
}

.plano-box ul li {
    color: var(--primary-color);
    margin: 0.8rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.plano-box ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.footer-content a {
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}

.footer-content a:visited {
    color: inherit;
}

.footer-content a:hover {
    text-decoration: underline;
}

.whatsapp-button {
    position: fixed;
    text-decoration: none;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
    z-index: 3;
}


.whatsapp-button:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .menu-desktop {
        display: none;
    }

    .menu-mobile {
        display: block;
        color: var(--text-color);
    }

    .menu-mobile i {
        font-size: 1.5rem;
        /* Ajuste the size of the icon */
        padding-right: 1.5rem;
    }

    .mobile-menu.active {
        display: block;
    }

    /* Adjustments for the nav */
    nav {
        height: 60px;
    }

    .logo {
        font-size: 1.4rem;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding-right: 0.5rem;
    }

    .contact {
        display: none;
    }

    /* Adjustments for the hero */
    .hero-content h1 {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .hero-content p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    /* Adjustments for the bento grid */
    .bento-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .bento-box {
        padding: 1.5rem;
    }

    .bento-box h3 {
        font-size: 1.2rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

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

    .plano-box {
        padding: 1.5rem;
    }

    .plano-box h3 {
        font-size: 1.5rem;
    }

    footer {
        padding: 1rem 0;
        font-size: 0.9rem;
    }

    /* Adjust the WhatsApp button */
    .whatsapp-button {
        width: 55px;
        height: 55px;
        font-size: 2rem;
        bottom: 15px;
        right: 15px;
    }

    .hero-about {
        min-height: 100vh;
        padding: 2rem 1rem;
        justify-content: center;
    }

    .sobre-content-text {
        width: 100%;
        height: auto;
        padding: 1rem;
        font-size: 1.2rem;
        margin-left: 0;
    }

    .sobre-title {
        font-size: 1.8rem;
        text-align: center;
        width: 100%;
    }

    .sobre-text {
        font-size: 1.1rem;
        line-height: 1.6;
    }
}

/* Specific adjustments for very small screens */
@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .logo {
        font-size: 1.2rem;
    }
}

footer {
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;

}

.dev-by {
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.dev-by a {
    color: var(--text-color);
    text-decoration: none;
}



/* Media Queries */
@media screen and (max-width: 768px) {
    nav {
        padding: 0 1rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .logo p {
        font-size: 1rem;
    }

    .menu-desktop {
        display: none;
    }

    .menu-mobile {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
    }

    .contact a {
        width: auto;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .hero-about {
        min-height: 100vh;
        padding: 2rem 1rem;
        justify-content: center;
    }

    .sobre-content-text {
        width: 100%;
        height: auto;
        padding: 1rem;
        font-size: 1.2rem;
        margin-left: 0;
    }

    .sobre-title {
        font-size: 1.8rem;
        text-align: center;
        width: 100%;
    }

    .sobre-text {
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .logo {
        font-size: 1.3rem;
    }

    .logo p {
        font-size: 0.9rem;
    }

    .contact a {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .sobre-content-text {
        padding: 0.5rem;
    }

    .sobre-title {
        font-size: 1.5rem;
    }

    .sobre-text {
        font-size: 1rem;
    }
}

/* Specific adjustments for very small screens */
@media screen and (max-width: 320px) {
    nav {
        padding: 0 0.5rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo p {
        font-size: 0.8rem;
    }

    .contact a {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }

    .sobre-title {
        font-size: 1.3rem;
    }

    .sobre-text {
        font-size: 0.9rem;
    }
}

/* Adjustments for landscape orientation on mobile devices */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero-about {
        min-height: 100vh;
        padding: 1rem;
    }

    .sobre-content-text {
        height: auto;
        max-height: 80vh;
        overflow-y: auto;
    }
}

/* Quick Contact Section */
.contato-rapido {
    background-color: var(--primary-color);
    padding: 3rem 0;
}

.contato-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 0 1rem;
}

.contato-box {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contato-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.contato-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    gap: 1rem;
    cursor: pointer;
}

.contato-link i {
    font-size: 2.5rem;
    transition: transform 0.3s ease;
}

.contato-box:hover .contato-link i {
    transform: scale(1.1);
}

/* Hover effect specific for icons */
.contato-box:hover .fa-phone-alt,
.contato-box:hover .fa-whatsapp {
    color: #25D366; /* WhatsApp green color */
    transition: color 0.3s ease;
}

.contato-link span {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Mobile device adjustments */
@media (max-width: 768px) {
    .contato-container {
        flex-direction: column;
        align-items: center;
    }

    .contato-box {
        width: 100%;
        max-width: 300px;
    }
}

.numero-telefone {
    text-align: center;
    margin-top: 2rem;
    padding: 0 1rem;
}

.numero-telefone p {
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 500;
}

.numero-telefone .numero {
    color: #25D366;
    font-weight: 600;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.numero-telefone .numero:hover {
    text-decoration: underline;
    
}

/* Mobile device adjustments */
@media (max-width: 768px) {
    .numero-telefone p {
        font-size: 1.1rem;
    }
    
    .numero-telefone .numero {
        font-size: 1.2rem;
    }
}