/* style.css - Arquivo CSS Unificado para todas as páginas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 60px; 
}

/* ------------------------------------- */
/* Estilos do HEADER (Padrão para Index.html) */
/* ------------------------------------- */
header {
    background-color: #111111;
    color: white;
    padding: 60px 20px;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
    border-bottom: 1px solid #333333;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3); 
}


.header-aluguel-devs {
    background-color: #1a1a1a;
    border-bottom: 2px solid #333;
}

/* Estilo do botão "Voltar" (específico para páginas secundárias) */
.back-btn {
    position: absolute; /* Mantém o position absolute */
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1001;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
}

.back-btn::before {
    content: '←';
    font-size: 18px;
}

header img {
    height: 80px;
    vertical-align: middle;
    margin-right: 15px; 
}

header h1 {
    display: inline-flex; 
    align-items: center; 
    gap: 10px; 
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: none;
    -webkit-text-fill-color: inherit;
    color: white;
}

header h1 .fas.fa-tools {
    color: #007bff;
}

.header-aluguel-devs h1 {
    background: linear-gradient(45deg, #fff, #f0f8ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

header p {
    font-size: 1.2rem;
    color: #cccccc;
}

.header-aluguel-devs p {
    opacity: 0.9;
}

.toggle-btn {
    background: #333333;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    margin-top: 20px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.toggle-btn:hover {
    background: #555555;
    transform: translateY(-2px);
}

/* ------------------------------------- */
/* Estilos da NAVEGAÇÃO */
/* ------------------------------------- */
nav {
    background-color: #222222; /* Cor para index.html */
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    border-bottom: 1px solid #444444;
    position: sticky;
    top: 0;
    z-index: 999; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); 
}


.nav-aluguel-devs {
    background-color: #1a1a1a;
    border-bottom: 1px solid #333;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 12px;
    transition: color 0.3s ease, transform 0.3s;
    border-radius: 4px;
}

nav a:hover {
    color: #cccccc;
    transform: translateY(-2px);
}


.nav-aluguel-devs a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ------------------------------------- */
/* Estilos de SEÇÃO GERAIS */
/* ------------------------------------- */
section {
    max-width: 1100px;
    margin: 60px auto; 
    padding: 40px 30px; 
    background: #111111;
    border: 1px solid #333333;
    border-radius: 8px; 
    box-shadow: 0 6px 15px rgba(0,0,0,0.4); 
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

h2 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 20px;
    border-bottom: 3px solid #ffffff;
    display: inline-block; 
    padding-bottom: 5px;
}

/* ------------------------------------- */
/* Estilos de CARDS (Página Index.html) */
/* ------------------------------------- */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.card {
    background: #1a1a1a;
    padding: 20px;
    border: 1px solid #333333;
    border-radius: 6px;
    text-align: center;
    transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
    opacity: 0;
    transform: translateY(20px);
}

.card.visible {
    opacity: 1;
    transform: translateY(0);
}

.card:hover {
    box-shadow: 0 8px 20px rgba(255,255,255,0.1);
    transform: translateY(-5px);
    border-color: #007bff;
}

.card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 15px;
}

/* ------------------------------------- */
/* Estilos de CARDS (Página de Aluguel) */
/* ------------------------------------- */
.cards-aluguel {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.card-aluguel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.card-aluguel::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.6s;
}
.card-aluguel:hover::before {
    left: 100%;
}
.card-aluguel.visible {
    opacity: 1;
    transform: translateY(0);
}
.card-aluguel:hover {
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.1);
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}
.card-aluguel img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    transition: transform 0.3s ease;
}
.card-aluguel:hover img {
    transform: scale(1.05);
}
.card-aluguel h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #fff;
}
.card-aluguel p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 15px;
}
.btn-detalhes {
    background: linear-gradient(45deg, #444, #666);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}
.btn-detalhes:hover {
    background: linear-gradient(45deg, #666, #888);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.2);
}

/* ------------------------------------- */
/* Estilos de FEATURES (Página de Aluguel) */
/* ------------------------------------- */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}
.feature {
    text-align: center;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}
.feature:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}
.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
    color: #fff;
}
.feature h3 {
    margin-bottom: 10px;
    color: #fff;
}

/* ------------------------------------- */
/* Estilos de GIF CONTAINER (Página Index.html) */
/* ------------------------------------- */
.gif-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}
.gif-container img {
    width: 100%;
    max-width: 280px;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s ease-out;
    border: 1px solid #333333;
}
.gif-container img.visible {
    opacity: 1;
    transform: scale(1);
}

/* ------------------------------------- */
/* Estilos de LISTAS (Geral) */
/* ------------------------------------- */
ul {
    margin-left: 20px;
    list-style: disc;
    line-height: 1.8;
    color: #cccccc;
}

.tech-stack ul, .dev-contact ul {
    list-style: none;
    padding: 0;
    text-align: center;
    margin-left: 0;
}

.tech-stack li, .dev-contact li {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    padding: 8px 15px;
    margin: 5px;
    display: inline-block;
    font-size: 0.9rem;
}

/* ------------------------------------- */
/* Estilos do FOOTER (Padrão para Index.html) */
/* ------------------------------------- */
footer {
    background-color: #111111;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    margin-top: 40px;
    border-top: 1px solid #333333;
}

.footer-aluguel-devs {
    padding: 30px 20px;
    margin-top: 60px;
}

/* ------------------------------------- */
/* Estilos de BOTÕES FLUTUANTES (Padrão para Index.html) */
/* ------------------------------------- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
    background-color: #333333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(255,255,255,0.2);
    transition: transform 0.3s;
    border: 1px solid #555555;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #555555;
}

.whatsapp-float-aluguel-devs {
    background-color: #25D366;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    border: none;
}
.whatsapp-float-aluguel-devs:hover {
    background-color: #25D366;
}

.instagram-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 95px;
    z-index: 1000;
    background-color: #333333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(255,255,255,0.2);
    transition: transform 0.3s;
    border: 1px solid #555555;
}

.instagram-float:hover {
    transform: scale(1.1);
    background-color: #555555;
}

.instagram-float-aluguel-devs {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    box-shadow: 0 4px 15px rgba(188, 24, 136, 0.4);
    border: none;
}
.instagram-float-aluguel-devs:hover {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.whatsapp-float img, .instagram-float img {
    width: 35px;
    height: 35px;
}

/* ------------------------------------- */
/* Estilos dos LINKS DE CONTATO (SVG e Texto) */
/* ------------------------------------- */
.contato-info {
    text-align: center;
    margin-top: 30px;
}

.contato-info p {
    margin-bottom: 15px;
}

.contato-link {
    color: #007bff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease, transform 0.3s ease;
    font-size: 1.1em;
    justify-content: center;
    max-width: 100%;
    padding: 5px 0;
}

.contato-link:hover {
    color: #00aaff;
    transform: translateX(5px);
}

.contato-link svg {
    fill: currentColor;
    width: 24px;
    height: 24px;
}

.contato-link:focus {
    outline: 2px solid #007bff;
    outline-offset: 3px;
    border-radius: 4px;
}

/* ------------------------------------- */
/* Estilos da ÁREA DE DEVS */
/* ------------------------------------- */
.dev-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.dev-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    text-align: center;
    transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
    opacity: 0;
    transform: translateY(20px);
}

.dev-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.dev-card:hover {
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    border-color: #007bff;
}

.dev-card img.dev-profile {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #ffffff;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.dev-card img.dev-profile:hover {
    transform: scale(1.1);
}

.dev-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.dev-card p {
    font-size: 0.95rem;
    color: #cccccc;
    margin-bottom: 10px;
}

.dev-social-links a {
    color: #ffffff;
    font-size: 1.3rem;
    margin: 0 8px;
    transition: color 0.3s ease, transform 0.2s;
    text-decoration: none;
}

.dev-social-links a:hover {
    color: #007bff;
    transform: translateY(-2px);
}

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

/* Para telas de até 992px (tablets maiores, laptops pequenos) */
@media (max-width: 992px) {
    header {
        padding: 50px 15px;
    }
    header img { height: 60px; }
    header h1 { font-size: 2.2rem; gap: 8px;}
    
    nav { top: 0; gap: 15px;}
    
    section { margin: 50px auto; padding: 30px 15px; }
    h2 { font-size: 1.8rem; }

    .cards { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; }
    .cards-aluguel { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
    .features { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; }
    .dev-cards { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
    
    .gif-container img { max-width: 250px; height: 160px; }
    footer { padding: 25px 15px; }

    .whatsapp-float, .instagram-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
    }
    .instagram-float { right: 85px; }
    .whatsapp-float { right: 20px; }
    .whatsapp-float img, .instagram-float img { width: 30px; height: 30px; }
}

@media (max-width: 768px) {
    .back-btn {
        position: static; 
        margin: 20px auto 0;
        width: fit-content;
        display: block;
        padding: 10px 20px;
    }

    header {
        padding: 30px 15px;
        text-align: center;
    }
    header img { margin-right: 0; margin-bottom: 10px; height: 60px; }
    header h1 { font-size: 1.8rem; gap: 5px; }
    header p { font-size: 0.9rem; }

    .toggle-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    nav {
        flex-direction: column;
        gap: 0;
        padding: 0;
        top: 0; 
    }
    nav a { 
        font-size: 1rem; 
        width: 100%; 
        text-align: center; 
        padding: 15px 0;
        border-bottom: 1px solid #333;
    }
    nav a:last-child {
        border-bottom: none;
    }

    section { margin: 30px auto; padding: 25px 15px; }
    h2 { font-size: 1.5rem; text-align: center; width: 100%; display: block; border-bottom: 3px solid #ffffff; }

    .cards, .cards-aluguel, .dev-cards, .features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gif-container {
        flex-direction: column;
        align-items: center;
    }
    .gif-container img { max-width: 100%; height: 150px; }

    .card p, .card-aluguel p, .dev-card p, .feature p {
        text-align: center;
    }

    .whatsapp-float, .instagram-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
    }
    .instagram-float { right: 75px; }
    .whatsapp-float { right: 15px; }
    .whatsapp-float img, .instagram-float img { width: 28px; height: 28px; }
    footer { font-size: 0.8rem; padding: 20px 15px; }
}

@media (max-width: 480px) {
    header h1 { font-size: 1.6rem; }
    header p { font-size: 0.85rem; }
    h2 { font-size: 1.3rem; }

    .card, .card-aluguel, .dev-card, .feature {
        padding: 15px;
    }
    .card h3, .card-aluguel h3, .dev-card h3, .feature h3 { font-size: 1.1rem; }
    .card p, .card-aluguel p, .dev-card p, .feature p { font-size: 0.8rem; }

    .whatsapp-float, .instagram-float { width: 45px; height: 45px; bottom: 10px; }
    .instagram-float { right: 65px; }
    .whatsapp-float { right: 10px; }
    .whatsapp-float img, .instagram-float img { width: 25px; height: 25px; }
}

.modal {
    display: none;
    position: fixed;
    z-index: 10000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; 
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px); 
    display: flex;
    align-items: center; 
    justify-content: center; 
    animation: fadeInModal 0.3s ease-out; 
}

.modal-content {
    background-color: #1a1a1a;
    margin: auto; 
    padding: 30px;
    border: 1px solid #333333;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative; 
    animation: slideInFromTop 0.4s ease-out;
    color: #ffffff; 
}

.modal-content h2 {
    font-size: 2rem;
    color: #007bff; 
    margin-bottom: 15px;
    text-align: center;
    border-bottom: 2px solid #333; 
    padding-bottom: 10px;
}

.modal-content h3 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-top: 20px;
    margin-bottom: 10px;
}

.modal-content p {
    font-size: 1.1em;
    margin-bottom: 10px;
    line-height: 1.5;
    color: #cccccc;
}

.modal-content ul {
    list-style: none; 
    padding: 0;
    margin-bottom: 20px;
}

.modal-content ul li {
    background-color: rgba(255, 255, 255, 0.05); 
    padding: 8px 15px;
    margin-bottom: 5px;
    border-radius: 5px;
    font-size: 0.95em;
    color: #f0f0f0;
}

.modal-content #modalPrice {
    font-size: 1.4em;
    font-weight: bold;
    color: #25D366; 
    text-align: center;
    margin-top: 25px;
    margin-bottom: 25px;
}

.close-button {
    color: #aaaaaa;
    font-size: 30px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-button:hover,
.close-button:focus {
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
}

.modal-contact-btn {
    background-color: #25D366; 
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: block; 
    width: fit-content; 
    margin: 0 auto; 
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-contact-btn:hover {
    background-color: #1DA851; /
}

/* Animações para o modal */
@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInFromTop {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ------------------------------------- */
/* Estilos do MODAL (Popup) */          
/* ------------------------------------- */ 


.modal {
    display: flex; 
    align-items: center; 
    justify-content: center;

}

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

.modal-content ul {

    list-style: none;
    padding: 0;
    margin: 0 auto 20px auto; 
    max-width: 90%;
}

.modal-content ul li {
    text-align: left; 
}
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        padding: 20px;

    }
    .modal-content h2 {
        font-size: 1.6rem;

    }
    .modal-content h3 {
        font-size: 1.1rem;
    
    }
    .modal-content p, .modal-content ul li {
        font-size: 0.95em;
    }
    .modal-contact-btn {
        padding: 12px 20px;
        font-size: 1em;
        width: 80%; 
        max-width: 300px; 
        margin: 0 auto; 
    }
    .modal-content ul {
        margin-left: auto; 
        margin-right: auto;

    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 15px;
    }
    .close-button {
        font-size: 25px;
        top: 5px;
        right: 15px;
    }
    .modal-content h2 {
        font-size: 1.4rem;
    }
    .modal-content h3 {
        font-size: 1rem;
    }
    .modal-contact-btn {
        width: 90%; 
    }
}