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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navegação */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 280ms ease, padding 240ms ease, box-shadow 280ms ease, transform 240ms ease;
}

.navbar.scrolled {
    background-color: rgba(255,255,255,0.98);
    padding: 12px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    transform: translateY(-1px);
    backdrop-filter: blur(4px);
}

.navbar .logo {
    float: left;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-left: 50px;
}

.nav-links {
    float: right;
    margin-right: 50px;
}

.nav-links li {
    display: inline;
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #89CFF0;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/igrejinha.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4em;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.hero-content h2 {
    font-size: 2em;
    font-weight: 300;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

/* Biografia Section */
.biografia {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.biografia h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    margin-bottom: 50px;
    text-align: center;
}

.bio-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.bio-texto {
    flex: 1;
    padding-left: 24px;
    border-left: 3px solid #89CFF0;
}

.bio-imagem {
    flex: 0 0 420px;
    height: 320px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.bio-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

/* Vídeos Section */
.videos {
    padding: 100px 0;
}

.videos h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    margin-bottom: 50px;
    text-align: center;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Estilo minimalista para a seção de vídeos */
.videos {
    background-color: #f9f9f9; /* mesma tonalidade usada em outras seções minimalistas */
}

.video-grid {
    max-width: 1200px;
    margin: 0 auto;
}

.video-item {
    background: #ffffff;
    padding: 18px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-left: 4px solid #89CFF0; /* faixa de destaque igual à citação/biografia */
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.video-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

.video-item h3 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: 1.1em;
    color: #2c2c2c;
    padding-left: 6px;
}

.video-container {
    border-radius: 6px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 12px;
    }

    .video-item {
        padding: 14px;
    }

    .video-item h3 {
        text-align: center;
    }
}

/* Contato Section */
.contato {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/mossico1.JPEG');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 100px 0;
    color: white;
    height: 628px;
}

.contato h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
}

.contato-content {
    text-align: center;
}

.contato-frase {
    text-align: center;
    font-size: 2.2em; /* tamanho similar ao estilo do hero */
    color: #ffffff; /* texto branco, como no hero */
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    margin-bottom: 32px;
    background: transparent; /* sem fundo para ficar igual ao hero */
    padding: 0; /* removido padding com fundo */
    border-radius: 0;
    box-shadow: none;
    text-shadow: 0 8px 20px rgba(0,0,0,0.45); /* ajuda a leitura sobre a foto */
    opacity: 0; /* início para animação */
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.25s;
}

/* Seção de Citação */
.citacao {
    padding: 100px 0;
    position: relative;
    /* overlay sutil e imagem de fundo */
    background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)),
                     url('../images/background.png');
    background-size: cover;
    background-position: center;
    color: #222;
    /* ocupar o espaço restante da viewport considerando a altura do footer */
    min-height: calc(100vh - var(--footer-height, 110px));
    display: flex;
    align-items: center;
}

.quote-section {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 40px 20px;
}

.quote-image {
    flex: 0 0 420px;
    max-width: 420px;
    position: relative;
}

.quote-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    position: relative;
    box-shadow: 0 6px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    border-radius: 6px;
}

.quote-container {
    flex: 1;
    padding: 0 24px;
    z-index: 3;
}

blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 1.5em;
    line-height: 1.7;
    color: #2c2c2c;
    position: relative;
    padding-left: 30px;
    border-left: 3px solid #89CFF0;
}

cite {
    display: block;
    margin-top: 20px;
    font-size: 1.1em;
    color: #666;
    font-style: normal;
    font-weight: 400;
}

@media (max-width: 768px) {
    .quote-section {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .quote-image {
        flex: 0 0 auto;
        max-width: 100%;
    }

    .quote-image img {
        height: 300px;
    }

    blockquote {
        font-size: 1.3em;
        padding-left: 0;
        border-left: none;
        padding-top: 20px;
    border-top: 3px solid #89CFF0;
    }

    /* Biografia responsiva: mesma linguagem minimalista */
    .bio-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .bio-imagem {
        flex: 0 0 auto;
        width: 100%;
        height: 260px;
    }

    .bio-imagem img {
        height: 100%;
        width: 100%;
    }

    .bio-texto {
        padding-left: 0;
        border-left: none;
    border-top: 3px solid #89CFF0;
        padding-top: 18px;
        margin-top: 8px;
    }

}
.contact-btn {
    display: inline-block;
    text-decoration: none;
    font-size: 1.2em;
    padding: 20px 40px;
    margin-top: 20px;
    background-color: #25D366;  /* Cor oficial do WhatsApp */
    color: white;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.contact-btn i {
    margin-right: 10px;
    font-size: 1.1em;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    background-color: #128C7E;  /
}

.btn {
    background-color: #89CFF0;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.navbar.hidden {
    transform: translateY(-110%);
    transition: transform 240ms ease;
}

.btn:hover {
    background-color: #8e44ad;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 18px 0;
    text-align: center;
}

.developer {
    color: #89CFF0;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.developer:hover {
    color: #8e44ad;
    text-decoration: underline;
}

.social-links {
    margin-bottom: 12px;
}

.social-icon {
    color: white;
    font-size: 20px;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #89CFF0;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .quote-section {
        flex-direction: column;
        text-align: center;
        padding: 0 20px;
    }

    .quote-image {
        margin-bottom: 30px;
    }

    .quote-image img {
        height: 300px;
    }
    .navbar {
        padding: 15px 0;
    }
    
    .logo {
        float: none;
        text-align: center;
        margin: 0 0 10px 0;
    }
    
    /* Menu móvel: usar visibilidade/opacidade/transform para animação suave */
    .nav-links {
        display: block; /* permanece no fluxo visualmente via visibility/opacity */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        padding: 20px 0;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity 280ms cubic-bezier(.2,.8,.2,1), transform 280ms cubic-bezier(.2,.8,.2,1), visibility 0ms linear 280ms;
        pointer-events: none;
    }

    .nav-links.active {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        transition: opacity 280ms cubic-bezier(.2,.8,.2,1), transform 280ms cubic-bezier(.2,.8,.2,1), visibility 0ms linear 0ms;
        pointer-events: auto;
    }

    .nav-links li {
        display: block;
        margin: 15px 0;
        text-align: center;
        opacity: 0;
        transform: translateY(14px);
        transition: opacity 300ms ease, transform 300ms ease;
    }
    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }
    
    .menu-toggle {
        display: none;
    }

    @media (max-width: 768px) {
        .menu-toggle {
            display: block;
            position: absolute; /* posiciona dentro da navbar */
            right: 26px;
            top: 50%;
            transform: translateY(-50%);
            z-index: 1001;
            width: 30px;
            height: 24px;
            cursor: pointer;
            background: transparent;
            border: none;
            padding: 0;
            margin: 0;
        }

        .menu-toggle span {
            display: block;
            position: absolute;
            height: 3px;
            width: 100%;
            background: #333;
            left: 0;
            transition: all 0.25s ease-in-out;
        }

        .menu-toggle span:nth-child(1) {
            top: 0;
        }

        .menu-toggle span:nth-child(2) {
            top: 50%;
            transform: translateY(-50%);
        }

        .menu-toggle span:nth-child(3) {
            bottom: 0;
        }

        /* Animação do menu quando ativo */
        .menu-toggle.active span:nth-child(1) {
            top: 50%;
            transform: translateY(-50%) rotate(45deg);
        }

        .menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .menu-toggle.active span:nth-child(3) {
            bottom: 50%;
            transform: translateY(50%) rotate(-45deg);
        }

        /* Ajustes de posicionamento responsivo */
        @media (max-width: 360px) {
            .menu-toggle {
                right: 18px;
                top: 50%;
                transform: translateY(-50%);
                width: 25px;
                height: 20px;
            }
        }

        /* Prevenção de overflow */
        .navbar {
            position: fixed;
            width: 100%;
            top: 0;
            left: 0;
            z-index: 1000;
            background: rgba(255, 255, 255, 0.98);
            padding: 15px;
            box-sizing: border-box;
        }

        .logo {
            padding-right: 40px; /* Espaço para o botão do menu */
            max-width: calc(100% - 50px); /* Evita sobreposição com o botão */
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .nav-links {
            /* full-screen overlay but hidden by default using opacity/visibility to animate */
            display: flex;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: rgba(255, 255, 255, 0.98);
            z-index: 1000;
            padding: 80px 20px 40px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            overflow-y: auto;
            visibility: hidden;
            opacity: 0;
            transform: translateY(-6%);
            transition: opacity 320ms cubic-bezier(.2,.8,.2,1), transform 320ms cubic-bezier(.2,.8,.2,1), visibility 0ms linear 320ms;
            pointer-events: none;
        }

        .nav-links.active {
            visibility: visible;
            opacity: 1;
            transform: translateY(0);
            transition: opacity 320ms cubic-bezier(.2,.8,.2,1), transform 320ms cubic-bezier(.2,.8,.2,1), visibility 0ms linear 0ms;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            pointer-events: auto;
        }

        .nav-links li {
            display: block;
            margin: 20px 0;
            text-align: center;
            opacity: 0;
            transform: translateY(18px);
            transition: opacity 300ms ease, transform 300ms ease;
        }

        .nav-links.active li {
            opacity: 1;
            transform: translateY(0);
        }

        .nav-links li:nth-child(1) { animation-delay: 0.1s; }
        .nav-links li:nth-child(2) { animation-delay: 0.2s; }
        .nav-links li:nth-child(3) { animation-delay: 0.3s; }
        .nav-links li:nth-child(4) { animation-delay: 0.4s; }

        .nav-links a {
            font-size: 1.4em;
            padding: 10px 20px;
            display: block;
            color: #333;
            transition: all 0.3s ease;
        }

        .nav-links a:hover {
            color: #89CFF0;
            transform: translateY(-2px);
        }
    }
    
    .hero-content h1 {
        font-size: 2.5em;
    }
    
    .hero-content h2 {
        font-size: 1.5em;
    }
    
    .bio-content {
        flex-direction: column;
    }
    
    .bio-imagem {
        height: 300px;
    }

    /* Ajuste da frase no contato para telas menores */
    .contato-frase {
        font-size: 1.4em;
        text-shadow: 0 6px 16px rgba(0,0,0,0.45);
        padding: 0 6px;
    }
}

/* Footer Styles */
.footer {
    position: relative;
    background-color: #ffffff;
    background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)),
                     url('../images/background.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 20px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    min-height: 110px;
}

.footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 12px;
}

.footer-left,
.footer-center,
.footer-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.footer-center {
    align-items: center;
}

.footer-right {
    align-items: flex-end;
}

.musician-name {
    font-family: 'Playfair Display', serif;
    font-size: 1em;
    font-weight: 600;
    color: #111;
    margin-bottom: 4px;
}

.footer-nav a {
    color: #666;
    text-decoration: none;
    margin: 0 8px;
    font-weight: 500;
    font-size: 0.95em;
}

.footer-nav a:hover {
    color: #89CFF0;
    text-decoration: underline;
}

.center-logo {
    margin-top: 8px;
}

.center-developer {
    display: inline-flex;
    flex-direction: row; 
    align-items: center;
    text-decoration: none;
    color: inherit;
    gap: 8px;
}

.center-developer-mark {
    width: 90px;
    height: auto;
}

.center-developer-mark {
    width: 48px;
    height: 48px;
    border-radius: 50%; 
    background-color: transparent; 
    padding: 0; 
    box-shadow: none; 
    object-fit: cover;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.center-developer:hover .center-developer-mark {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.center-developer-name {
    margin: 0;
    font-size: 0.95em;
    color: #666;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 30px;
}

.social-icon {
    color: #333;
    font-size: 24px;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.social-icon:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.social-icon i {
    transition: color 0.3s ease;
}

.fa-instagram:hover {
    color: #E1306C;
}

.fa-youtube:hover {
    color: #FF0000;
}

.fa-whatsapp:hover {
    color: #25D366;
}

.footer-divider {
    width: 50px;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1);
}

.copyright {
    color: #666;
    font-size: 0.9em;
}

.developer-logo {
    opacity: 0.7;
    transition: all 0.3s ease;
}

.developer-logo:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    /* Container e seções */
    .container {
        padding: 0 15px;
        max-width: 100%;
    }

    section {
        padding: 60px 0;
    }

    /* Ajustes de texto */
    h2 {
        font-size: 2em;
        margin-bottom: 30px;
    }

    /* Bio section */
    .bio-content {
        flex-direction: column;
        gap: 30px;
        padding: 0 15px;
    }

    .bio-texto {
        text-align: left;
        padding: 0;
    }

    .bio-imagem {
        width: 100%;
        height: 300px;
        margin: 0 auto;
    }

    /* Quote section */
    .quote-section {
        flex-direction: column;
        gap: 30px;
        padding: 0 15px;
    }

    .quote-image {
        width: 100%;
        max-width: none;
        margin: 0 auto;
        display: flex;
        justify-content: center;
    }

    .quote-image .quote-photo {
        width: 280px;
        height: 280px;
        transform: translateY(0);
        border-radius: 50%;
        border-width: 6px;
    }

    blockquote {
        font-size: 1.2em;
        padding: 0 15px;
    }

    /* Footer adjustments (compact) */
    .footer-grid {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
        padding: 16px 12px;
    }

    .footer-left,
    .footer-center,
    .footer-right {
        align-items: center;
        width: 100%;
    }

    .footer-nav {
        margin: 10px 0;
    }

    .footer-nav a {
        display: block;
        margin: 8px 0;
    }

    .social-links {
        justify-content: center;
        margin-top: 10px;
    }

    .center-developer {
        margin-top: 12px;
    }

    /* Contato ajustes */
    .contato {
        text-align: center;
        padding: 60px 15px;
    }

    .contato-frase {
        font-size: 1.6em;
        padding: 0 15px;
        margin: 20px 0 30px;
    }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5em;
    }

    .hero-content h2 {
        font-size: 1.5em;
    }

    .contato-frase {
        font-size: 1.4em;
    }

    .bio-imagem,
    .quote-image img {
        height: 250px;
    }

    .social-links {
        gap: 20px;
    }

    .social-icon {
        font-size: 20px;
    }

    .center-developer-mark {
        width: 40px;
        height: 40px;
    }

    .center-developer-name {
        font-size: 0.85em;
    }

    .footer-nav a {
        display: inline-block;
        margin: 6px 8px;
    }
}

/* Overrides para garantir botão do menu sempre visível e dentro da tela */
.menu-toggle {
    position: absolute !important; /* posiciona relativamente à navbar fixa */
   
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 11000 !important;
    box-sizing: content-box !important;
    padding: 0 !important;
    margin: 0 !important;
}

@media (max-width: 360px) {
    .menu-toggle {
        right: 8px !important;
        top: 10px !important;
    }
}

/* Garante que o logo não ultrapasse e empurre o botão */
.navbar .logo {
    margin-left: 16px;
    max-width: calc(100% - 80px);
}

/* Remove possível overflow horizontal causado pelo menu */
html, body {
    overflow-x: hidden;
}