/* Forçar modo claro e prevenir mudanças automáticas do sistema */
@media (prefers-color-scheme: dark) {
    body {
        background-color: var(--color-bege) !important;
        color: var(--color-marrom-escuro) !important;
    }
    
    * {
        color-scheme: light only;
    }
}

:root {
    /* Paleta personalizada */
    --color-bege: #F4eee9; /* Bege (fundo principal) */
    --color-marrom-claro: #9d7967; /* Marrom claro (secundário/cards) */
    --color-cinza: #c4bab3; /* Cinza (fundo secundário) */
    --color-marrom-escuro: #44290c; /* Marrom escuro (texto principal) */
    --color-rosa-escuro: #7f2e45; /* Rosa escuro (destaques, botões, títulos) */
    --color-rosa-claro: #d3a1ab; /* Rosa claro (fundo secundário/cards) */

    /* Cores antigas para referência/ajuste */
    --color-bg-footer-border: #d0c8be;
}

/* Tela de Carregamento */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bege);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.loading-logo {
    max-width: 200px;
    height: auto;
    animation: logoPulse 2s ease-in-out infinite;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-cinza);
    border-top: 3px solid var(--color-rosa-escuro);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.2em;
    color: var(--color-marrom-escuro);
    margin: 0;
    animation: textFade 1.5s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes textFade {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

/* Esconder o conteúdo principal durante o carregamento */
body.loading {
    overflow: hidden;
}

body {
    font-size: 1.15rem; /* ou 18px */
    font-family: 'Times New Roman', Times, serif; /* Placeholder, will need to find closer matches or use web fonts */
    margin: 0;
    padding: 0;
    background-color: var(--color-bege); /* Light beige background */
    color: var(--color-marrom-escuro);
    overflow-x: hidden; /* Prevent horizontal scrollbar from animation */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.btn {
    background-color: var(--color-rosa-escuro); /* Pink button */
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: var(--color-marrom-claro);
}
/* Adicione isso ao seu CSS existente */

/* Hamburger Menu Styles */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: #555;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bege);
    z-index: 1000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

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

.mobile-menu ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.mobile-menu ul li {
    margin: 20px 0;
}

.mobile-menu ul li a {
    font-size: 1.5em;
    color: #555;
    transition: color 0.3s ease;
}

.mobile-menu ul li a:hover {
    color: var(--color-rosa-escuro);
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 1.5em;
    background: none;
    border: none;
    cursor: pointer;
    color: #555;
}

/* Ajuste para telas menores */
@media (max-width: 992px) {
    nav ul {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-logo {
        margin: 0;
    }
    
    nav {
        justify-content: space-between;
        padding: 15px 20px;
    }
    
}
/* Header */
header {
    padding: 20px 5%;
    background-color: var(--color-bege); /* Same as body or slightly different if needed */
}

.logo-container {
    text-align: center;
    margin-bottom: 20px;
}

.designed-by {
    font-size: 0.9em;
    color: var(--color-text-muted);
    display: block;
}
.designed-by a{
    color: var(--color-rosa-escuro);
}
.site-title {
    font-family: 'Playfair Display', serif; /* Example serif font */
    font-size: 2.8em;
    font-weight: bold;
    margin: 5px 0;
    color: var(--color-marrom-escuro);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 3px solid var(--color-marrom-claro); /* Increased thickness */
    border-bottom: 3px solid var(--color-marrom-claro); /* Increased thickness */
    padding: 15px 0;
}

.nav-logo {
    font-family: 'Dancing Script', cursive; /* Example script font for 'Studio ASTER' */
    font-size: 2.5em;
    color: var(--color-rosa-escuro); /* Gold-ish color, adjust as needed */
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    font-size: 1.3rem;
    color: #555;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--color-rosa-escuro);
}

/* Main content separation */
main {
    border-top: 3px solid var(--color-border-dark); /* Added thicker line separating header/nav from main */
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    padding: 40px 5%;
    gap: 40px;
    background-color: var(--color-bege); /* White background for this section */
    border-bottom: 3px solid var(--color-marrom-claro); /* Increased thickness */
}

.hero-image-container {
    flex-basis: 40%;
    border: 10px solid var(--color-bege); /* White border around image */
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.hero-text-container {
    flex-basis: 60%;
}

.tagline {
    font-family: 'Dancing Script', cursive; /* Script font for 'Hey You!' */
    color: var(--color-rosa-escuro);
    font-size: 1.5em;
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid var(--color-rosa-escuro);
    border-radius: 15px;
    transform: rotate(-5deg);
    margin-bottom: 15px;
}

.hero-text-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5em;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--color-marrom-escuro);
}

.hero-text-container .highlight-text {
    font-family: 'Lilita One', cursive;
    color: var(--color-rosa-escuro);
    font-style: italic;
}

.hero-text-container p {
    font-size: 1.5em;
    line-height: 1.6;
    color: var(--color-text-light);
    margin-bottom: 30px;
}

/* Now Booking Banner */
.now-booking-banner {
    background-color: var(--color-rosa-escuro); /* Pink background */
    color: var(--color-rosa-claro); /* Black text */
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
    border-top: 3px solid var(--color-rosa-claro); /* Increased thickness, kept color consistent with banner */
    border-bottom: 3px solid var(--color-rosa-claro); /* Increased thickness, kept color consistent with banner */
}

.scrolling-text {
    display: inline-block;
    animation: scroll-left 30s linear infinite;
}

.scrolling-text span {
    font-size: 1.1em;
    font-weight: 500;
    margin-right: 30px;
    display: inline-flex;
    align-items: center;
}

.scrolling-text .dot {
    font-size: 0.8em;
    color: var(--color-marrom-escuro); /* Black dot */
    margin: 0 10px;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%); /* Adjust based on content width to ensure seamless loop */
    }
}

/* Business Goals Section */
.business-goals {
    display: flex;
    align-items: center;
    padding: 60px 5%;
    gap: 40px;
    background-color: var(--color-bege);
    border-top: 3px solid var(--color-marrom-claro); /* Added border for separation */
    border-bottom: 3px solid var(--color-marrom-claro); /* Added border for separation */
}

.business-goals-text {
    flex-basis: 55%;
    position: relative;
}

.business-goals-text::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background-color: rgba(247, 181, 205, 0.2); /* Faint pink glow */
    border-radius: 50%;
    top: 20%;
    right: 10%;
    filter: blur(50px);
    z-index: 0;
}

.business-goals-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8em;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--color-marrom-escuro);
    position: relative;
    z-index: 1;
}

.highlight-text-goals {
    font-family: 'Lilita One', cursive;
    color: var(--color-rosa-escuro);
    font-style: italic;
}

.business-goals-text p {
    font-size: 1.4em;
    line-height: 1.6;
    color: var(--color-text-light);
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.link-help {
    font-weight: bold;
    color: var(--color-bege);
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}


.business-goals-image {
    flex-basis: 40%;
}

/* Services Section */
.services-section {
    display: flex;
    padding: 60px 5%;
    gap: 40px;
    background-color: var(--color-cinza); /* White background */
    border-top: 3px solid var(--color-marrom-claro); /* Increased thickness */
    border-bottom: 3px solid var(--color-marrom-claro); /* Increased thickness */
}

.services-image-container {
    flex-basis: 45%;
}

.services-list {
    flex-basis: 55%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.service-item {
    border-bottom: 2px solid var(--color-marrom-claro); /* Slightly thicker for internal division */
    padding-bottom: 30px;
}

.service-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.service-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8em;
    margin-bottom: 10px;
    color: var(--color-marrom-escuro);
}

.service-item p {
    font-size: 1.25em;
    line-height: 1.6;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.btn-service {
    background-color: var(--color-rosa-escuro);
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-service:hover {
    background-color: var(--color-marrom-claro);
}

/* Featured On Banner */
.featured-on-banner {
    background-color: var(--color-rosa-escuro);
    color: var(--color-rosa-claro);
    padding: 25px 5%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-family: 'Arial', sans-serif; /* More standard font for logos */
    font-weight: bold;
    font-size: 1.3em;
    border-top: 3px solid var(--color-rosa-claro); /* Added border for separation */
    border-bottom: 3px solid var(--color-rosa-claro); /* Added border for separation */
}

/* Recent Work Section */
.recent-work {
    padding: 60px 5%;
    background-color: var(--color-bege);
    border-top: 3px solid var(--color-marrom-claro); /* Added border for separation */
    border-bottom: 3px solid var(--color-marrom-claro); /* Added border for separation */
}

.recent-work-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.tagline-recent {
    font-family: 'Dancing Script', cursive;
    color: var(--color-rosa-escuro);
    font-size: 1.3em;
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid var(--color-rosa-escuro);
    border-radius: 15px;
    transform: rotate(-5deg);
    margin-bottom: 10px;
}

.recent-work-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5em;
    color: var(--color-marrom-escuro);
    margin: 0;
}

.highlight-text-work {
    font-family: 'Lilita One', cursive;
    font-style: italic;
    color: var(--color-marrom-escuro); /* Black for 'Work' in this case, as per image */
}

/* Simple placeholder for gallery layout - to be refined */
.recent-work-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: center; /* Align items for varied heights */
}

.recent-work-text-left,
.recent-work-text-right {
    padding: 20px;
}

.recent-work-text-left p,
.recent-work-text-right p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.recent-work-image-top img,
.recent-work-image-bottom img {
    border: 8px solid var(--color-bege);
    box-shadow: 0 0 10px rgba(0,0,0,0.08);
}
/* More Recent Work Section (Mais Destaques Criativos) */
.more-recent-work-section {
    padding: 60px 5%;
    background-color: var(--color-cinza); /* Alternando a cor de fundo */
    border-top: 3px solid var(--color-marrom-claro);
    border-bottom: 3px solid var(--color-marrom-claro);
}

.more-recent-work-section .recent-work-title h2 { /* Garante que o h2 herde o estilo mas podemos ajustar se necessário */
    font-family: 'Playfair Display', serif;
    font-size: 3.5em; /* Igual ao .recent-work-title h2 */
    color: var(--color-marrom-escuro);
    margin: 0;
}

.more-recent-work-section .tagline-recent { /* Garante que a tagline herde o estilo */
    font-family: 'Dancing Script', cursive;
    color: var(--color-rosa-escuro);
    font-size: 1.3em;
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid var(--color-rosa-escuro);
    border-radius: 15px;
    transform: rotate(-5deg);
    margin-bottom: 10px;
}

.more-recent-work-section .highlight-text-work { /* Garante que o highlight herde o estilo */
    font-family: 'Lilita One', cursive;
    font-style: italic;
    color: var(--color-marrom-escuro);
}

.more-work-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Cria um grid responsivo */
    gap: 30px;
    margin-top: 40px; /* Espaço após o título da seção */
}

.project-card {
    background-color: var(--color-cinza); /* Cor de fundo dos cards, similar ao .pricing-plan mas invertido com a seção */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden; /* Para conter a imagem arredondada se necessário */
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card img {
    width: 100%;
    height: 220px; /* Altura fixa para as imagens dos cards */
    object-fit: cover; /* Garante que a imagem cubra o espaço sem distorcer */
    display: block;
}

.project-card-content {
    padding: 25px;
    text-align: center;
    flex-grow: 1; /* Faz o conteúdo ocupar o espaço restante */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-card-content h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6em; /* Tamanho similar ao .pricing-plan-name */
    color: var(--color-marrom-escuro);
    margin-bottom: 10px;
}

.project-card-content p {
    font-family: 'Times New Roman', Times, serif; /* Usando a fonte base do body */
    font-size: 0.95em;
    line-height: 1.6;
    color: var(--color-text-light);
    margin-bottom: 20px;
    flex-grow: 1; /* Permite que o parágrafo cresça */
}

.project-card-content .btn {
    background-color: var(--color-rosa-escuro); /* Cor rosa padrão do botão */
    color: #fff;
    padding: 10px 20px; /* Padding padrão do .btn */
    border-radius: 25px; /* Raio padrão do .btn */
    font-size: 0.9em;
    font-weight: bold;
    display: inline-block; /* Para centralizar se necessário ou para manter o tamanho */
    margin-top: auto; /* Empurra o botão para baixo se o card tiver altura flexível */
}

.project-card-content .btn:hover {
    background-color: var(--color-marrom-claro); /* Cor hover padrão */
}

/* Ajustes responsivos para a nova seção de galeria */
@media (max-width: 768px) {
    .more-recent-work-section .recent-work-title h2 {
        font-size: 2.5em; /* Ajuste para telas menores */
    }
    .more-work-gallery {
        grid-template-columns: 1fr; /* Uma coluna em telas menores */
    }
     .project-card img {
        height: 200px; /* Altura ligeiramente menor para telas menores */
    }
}
/* Footer */
footer {
    text-align: center;
    padding: 50px 5%;
    background-color: var(--color-marrom-claro); /* Slightly darker beige for footer */
    border-top: 3px solid var(--color-bg-footer-border); /* Increased thickness, slightly darker color for footer border */
}

.footer-tag {
    font-size: 0.7em;
    color: var(--color-text-muted);
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

footer h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    color: var(--color-marrom-escuro);
    margin: 0;
}

/* Services Pricing Section */
.services-pricing {
    padding: 60px 5%;
    background-color: var(--color-bege);
    border-top: 3px solid var(--color-marrom-claro);
    border-bottom: 3px solid var(--color-marrom-claro);
}

.services-pricing-title {
    text-align: center;
    margin-bottom: 40px;
}

.services-pricing-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8em;
    color: var(--color-marrom-escuro);
    margin-bottom: 15px;
}

.services-pricing-title p {
    font-size: 1.1em;
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto;
}
.services-pricing-title span {
    font-family: 'Dancing Script', cursive;
    color: var(--color-rosa-escuro);
    font-size: 1.05em;
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid var(--color-rosa-escuro);
    border-radius: 15px;
}
.service-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-bottom: 50px;
}

.service-category-btn {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 10px 20px;
    font-size: 1.1em;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-category-btn.active {
    color: var(--color-marrom-escuro);
    border-bottom: 2px solid var(--color-rosa-escuro);
    font-weight: bold;
}

.pricing-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.pricing-plan {
    background-color: var(--color-cinza);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.pricing-plan:hover {
    transform: translateY(-5px);
}

.pricing-plan-header {
    border-bottom: 1px solid var(--color-marrom-claro);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.pricing-plan-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.8em;
    color: var(--color-marrom-escuro);
    margin-bottom: 10px;
}

.pricing-plan-price {
    font-size: 2.2em;
    color: var(--color-rosa-escuro);
    font-weight: bold;
    margin-bottom: 10px;
}

.pricing-plan-period {
    font-size: 0.9em;
    color: var(--color-text-muted);
}

.pricing-plan-features {
    margin-bottom: 30px;
}

.pricing-plan-features ul {
    list-style: none;
    padding: 0;
}

.pricing-plan-features li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: var(--color-text-light);
}

.pricing-plan-features li:before {
    content: "✔";
    color: var(--color-rosa-escuro);
    position: absolute;
    left: 0;
}

.pricing-plan-cta {
    text-align: center;
}

.pricing-plan-cta .btn {
    width: 100%;
    max-width: 200px;
}

.service-description {
    margin-bottom: 40px;
}

.service-description h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2em;
    color: var(--color-marrom-escuro);
    margin-bottom: 20px;
}

.service-description p {
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1.15em;
}
.service-description span {
    font-family: 'Dancing Script', cursive;
    color: var(--color-rosa-escuro);
    font-size: 1.05em;
    display: inline-block;
    padding: 5px 10px;
}
.service-description-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    
}

.service-description-benefit {
    background-color: rgba(247, 181, 205, 0.1);
    padding: 10px 15px;
    border-radius: 20px;
    color: var(--color-text-light);
    font-size: 0.9em;
}
.service-description-benefits .service-description-benefit {
    color: var(--color-marrom-escuro);
}
#description-contact{
    color: var(--color-marrom-escuro);
    font-weight: 300;
}
.contact-info {
    text-align: center;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--color-marrom-claro);
}

.contact-info p {
    color: var(--color-text-light);
    margin-bottom: 10px;

}

.contact-info a {
    color: var(--color-rosa-escuro);
    font-weight: bold;
    
}
.contact-info a:hover{
    text-decoration: underline;
    color: var(--color-marrom-escuro);
}

/* --- INÍCIO DA CORREÇÃO --- */
/* Regra específica para links que são botões dentro da seção de contato */
.contact-info a.btn {
    color: #fff; /* Garante que o texto do botão seja branco */
}

/* Regra para o estado hover de links que são botões, removendo o sublinhado */
.contact-info a.btn:hover {
    color: #fff; /* Mantém o texto branco ao passar o mouse */
    text-decoration: none; /* Remove a decoração de sublinhado */
    background-color: var(--color-marrom-claro); /* Mantém o efeito de hover do .btn */
}
/* --- FIM DA CORREÇÃO --- */


@media (max-width: 768px) {
    .services-pricing-title h2 {
        font-size: 2.2em;
    }
    
    .pricing-plans {
        grid-template-columns: 1fr;
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    nav ul {
        display: none; /* Simple hide for now, implement burger menu later if needed */
    }
    .nav-logo {
        margin: 0 auto; /* Center logo if menu is hidden */
    }
    .hero, .business-goals, .services-section {
        flex-direction: column;
        text-align: center;
    }
    .hero-image-container, .business-goals-image, .services-image-container {
        margin-bottom: 30px;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-text-container, .business-goals-text, .services-list {
        flex-basis: 100%;
    }
    .business-goals-text::before {
        display: none; /* Hide glow on smaller screens or adjust */
    }
    .featured-on-banner {
        flex-direction: column;
        gap: 15px;
        font-size: 1.1em;
    }
    .recent-work-gallery {
        grid-template-columns: 1fr; /* Stack gallery items */
    }
    .recent-work-text-left,
    .recent-work-text-right {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .site-title {
        font-size: 2.2em;
    }
    .hero-text-container h2, .business-goals-text h3, .recent-work-title h2 {
        font-size: 2.5em;
    }
    .service-item h4 {
        font-size: 1.5em;
    }
    .btn, .btn-service {
        padding: 8px 16px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    header, .hero, .business-goals, .services-section, .recent-work, footer {
        padding-left: 3%;
        padding-right: 3%;
    }
    .site-title {
        font-size: 1.8em;
    }
    .hero-text-container h2, .business-goals-text h3, .recent-work-title h2 {
        font-size: 2em;
    }
    .tagline, .tagline-recent {
        font-size: 1.2em;
    }
    .scrolling-text span {
        font-size: 1em;
        margin-right: 20px;
    }
}

/* ===================== Portfolio Gallery Styles ===================== */
.portfolio-gallery {
    column-count: 3;
    column-gap: 20px;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .portfolio-gallery {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .portfolio-gallery {
        column-count: 1;
    }
}
.post{
    max-width: 500px;
    max-height: 500px;
}

/* Start of Selection */

/* End of Selection */
.portfolio-item {
    position: relative;
      overflow: hidden;
      border-radius: 10px;
      transition: transform 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
    break-inside: avoid;
}

.portfolio-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: all 0.3s ease;
    
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(125, 125, 125, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-info {
    text-align: center;
    color: white;
    padding: 20px;
}

.portfolio-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8em;
    margin-bottom: 10px;
    color: white;
}

.portfolio-info p {
    font-size: 1.1em;
    color: var(--color-rosa-claro);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-info .view-full-image {
    display: inline-block;
    margin-top: 10px;
    color: var(--color-bege);
    font-size: 1em;
    background: none;
    border: none;
    padding: 0;
    text-decoration: underline dotted;
    cursor: pointer;
    transition: color 0.2s;
}
.portfolio-info .view-full-image:hover {
    color: var(--color-rosa-escuro);
    text-decoration: underline;
}

/* Layout classes */


/* Responsive adjustments */
@media (max-width: 992px) {
    .half-width {
        grid-column: span 12;
        height: 300px;
    }
    
    .third-width {
        grid-column: span 6;
        height: 250px;
    }
}

@media (max-width: 768px) {
    
    .portfolio-info h3 {
        font-size: 1.5em;
    }
    
    
    .portfolio-info p {
        font-size: 1em;
    }
}

/* NOVO AJUSTE PARA O PORTFÓLIO NO MOBILE */
@media (max-width: 768px) {
  .portfolio-gallery {
    grid-template-columns: 1fr;
  }
  .portfolio-item {
    margin-bottom: 20px;
  }
  .portfolio-item:nth-child(1),
  .portfolio-item:nth-child(2),
  .portfolio-item:nth-child(3) {
    grid-column: span 1;
  }
  .portfolio-item:nth-child(n+4) {
    grid-column: span 1;
  }
}
@media (max-width: 600px) {
  .portfolio-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
  }

  .portfolio-item {
    margin-bottom: 0;
  }

  /* Itens 1 a 4 ocupam a largura total (span 2 colunas) */
  .portfolio-item:nth-child(1),
  .portfolio-item:nth-child(2),
  .portfolio-item:nth-child(3),
  .portfolio-item:nth-child(4) {
    grid-column: 1 / -1;
  }

  /* Itens 5 e 6 na mesma linha */
  .portfolio-item:nth-child(5),
  .portfolio-item:nth-child(6),
  .portfolio-item:nth-child(7),
  .portfolio-item:nth-child(8),
  .portfolio-item:nth-child(9),
  .portfolio-item:nth-child(10) {
    grid-column: span 1;
  }
}


/* --- Lightbox de imagem do portfólio --- */
#portfolio-image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: column;
    cursor: zoom-out;
    transition: opacity 0.3s;
}
#portfolio-image-modal img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    background: #fff;
    cursor: auto;
}
#close-portfolio-modal {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 2.5em;
    color: #fff;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.2s;
}
#close-portfolio-modal:hover {
    color: var(--color-rosa-claro);
}
@media (max-width: 600px) {
    #portfolio-image-modal img {
        max-width: 98vw;
        max-height: auto;
    }
    #close-portfolio-modal {
        top: 10px;
        right: 16px;
        font-size: 2em;
    }
    .post{
        max-width: 200px;
        max-height: 200px;
    }
    .portfolio-gallery {
    column-count: 2;
    column-gap: 20px;
    margin-top: 40px;
}
}

/* --- Modal de imagem do portfólio --- */
#image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: zoom-out;
    transition: opacity 0.3s ease;
}

#image-modal img {
    max-width: 90vw;
    max-height: 70vh;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    background: #fff;
    cursor: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

#modal-info {
    text-align: center;
    color: white;
    max-width: 90vw;
    margin-top: 20px;
}

#modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 2em;
    margin-bottom: 10px;
    color: var(--color-rosa-claro);
}

#modal-description {
    font-size: 1.2em;
    color: #ccc;
    margin: 0;
}

#close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5em;
    color: #fff;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.2s ease;
    background: none;
    border: none;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#close-modal:hover {
    color: var(--color-rosa-claro);
}

@media (max-width: 768px) {
    #image-modal img {
        max-width: 95vw;
        max-height: 60vh;
    }
    
    #modal-title {
        font-size: 1.6em;
    }
    
    #modal-description {
        font-size: 1em;
    }
    
    #close-modal {
        top: 15px;
        right: 20px;
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    #image-modal img {
        max-width: 98vw;
        max-height: 50vh;
    }
    
    #modal-title {
        font-size: 1.4em;
    }
    
    #modal-description {
        font-size: 0.9em;
    }
    
    #close-modal {
        top: 10px;
        right: 15px;
        font-size: 1.8em;
    }
}

/* Indicador de "Arraste para baixo" - apenas mobile e tablet */
.scroll-indicator {
    display: none;
    position: absolute;
    top: 80vh;
    left: 50%;
    text-align: center;
    color: var(--color-rosa-escuro);
    font-size: 0.9em;
    font-weight: 500;
    z-index: 5;
    animation: bounce 2s infinite;
/* Start Generation Here */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
/* End Generation Here */
}

.scroll-indicator .scroll-text {
    margin-bottom: 8px;
    font-family: 'Times New Roman', Times, serif;
}

.scroll-indicator .scroll-arrow {
    font-size: 1.5em;
    animation: slideDown 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    50% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(10px);
    }
}

/* Mostrar apenas em tablets e mobile */
@media (max-width: 1024px) {
    .scroll-indicator {
        display: block;
    }
}

/* Ajuste para telas muito pequenas */
@media (max-width: 480px) {
    .scroll-indicator {
        bottom: 30px;
        font-size: 0.8em;
    }
}

/* Ajustes para mobile e tablet - remover hover e ajustar para clique */
@media (max-width: 1024px) {
    .portfolio-item:hover .portfolio-overlay {
        opacity: 0; /* Remove o hover em dispositivos touch */
    }
    
    .portfolio-item:hover img {
        transform: none; /* Remove a transformação de hover */
    }
    
    .portfolio-overlay {
        opacity: 0;
        pointer-events: none; /* Desabilita interações de hover */
    }
    
    /* Mostrar overlay apenas quando ativo via JavaScript */
    .portfolio-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }
}

/* Ajuste específico para telas muito pequenas */
@media (max-width: 480px) {
    .portfolio-item {
        cursor: pointer; /* Indica que é clicável */
    }
    
    .portfolio-info h3 {
        font-size: 1.3em; /* Tamanho menor para mobile */
    }
    
    .portfolio-info p {
        font-size: 0.9em; /* Tamanho menor para mobile */
    }
}

/* Botão Flutuante WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: white;
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    fill: currentColor;
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    }
    70% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    }
}

/* Ajustes responsivos para o botão WhatsApp */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }
}

/* Garantir que todos os highlight-text usem Lilita One em mobile */
@media (max-width: 768px) {
    .hero-text-container .highlight-text,
    .highlight-text-goals,
    .highlight-text-work,
    .more-recent-work-section .highlight-text-work {
        font-family: 'Lilita One', cursive !important;
        font-style: italic;
    }
}



