/*
    ========================================================
    Configuração da Fonte Local
    ========================================================
    Substitua 'NomeDaSuaFonte.ttf' pelo nome do seu arquivo
    e 'Nome da Sua Fonte' pelo nome que você quer usar no CSS.
*/
@font-face {
    font-family: 'Nome da Sua Fonte';
    src: url('Montserrat-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/*
    ========================================================
    Variáveis e Configurações Globais
    ========================================================
*/
:root {
    --color-background: #0a0e17; /* Azul escuro da sua logo */
    --color-text: #e5e5e5;
    --color-highlight: #ffd700;
    --color-dark-card: #000000;
    --color-light-text: #b3b3b3;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-background);
    color: var(--color-text);
    /* Fonte principal do site (Google Fonts) */
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
}

/*
    ========================================================
    Header
    ========================================================
*/
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 50px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 70px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--color-highlight);
    margin: 0;
    /* Aplicação da fonte local apenas para o título "Thoth Media" */
    font-family: 'Nome da Sua Fonte', sans-serif;
}

.navbar {
    margin-left: auto;
    margin-right: 100px;
}

.navbar a {
    color: var(--color-text);
    text-decoration: none;
    margin-right: 30px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: var(--color-highlight);
}

.contact-button a {
    background-color: var(--color-highlight);
    color: var(--color-background);
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease;
}

.contact-button a:hover {
    background-color: #ffc200;
}

section {
    padding: 80px 50px;
}

.highlight {
    color: var(--color-highlight);
}

/*
    =======================================================
    Hero Section
    ========================================================
*/
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    min-height: 80vh;
}

.hero-content {
    max-width: 600px;
}

.hero-content h2 {
    font-size: 3em;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content h2 br {
    display: none;
}

@media (min-width: 768px) {
    .hero-content h2 br {
        display: block;
    }
}

.hero-content p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--color-light-text);
}

.cta-button {
    background-color: var(--color-highlight);
    color: var(--color-background);
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #ffc200;
}

.hero-image-container {
    position: relative;
    width: 300px;
    height: 300px;
}

.hero-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-highlight);
    border-radius: 15px;
    transform: rotate(-10deg);
}

.hero-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

/*
    ========================================================
    Specialties Section
    ========================================================
*/
.specialties h2, .portfolio h2 {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
}

.specialties-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.specialty-card {
    background-color: var(--color-dark-card);
    padding: 40px;
    border-radius: 10px;
    width: 280px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.specialty-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.specialty-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.specialty-card h3 {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-highlight);
}

.specialty-card p {
    font-size: 0.9em;
    line-height: 1.6;
    color: var(--color-light-text);
}

/*
    ========================================================
    Portfolio Section
    ========================================================
*/
.portfolio-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.portfolio-tab {
    background-color: transparent;
    border: none;
    color: var(--color-light-text);
    font-size: 1.2em;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.portfolio-tab:hover {
    color: var(--color-highlight);
}

.portfolio-tab.active {
    background-color: var(--color-dark-card);
    color: var(--color-highlight);
}

.portfolio-content {
    display: none;
}

.portfolio-content.active {
    display: block;
}

.portfolio-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.portfolio-item {
    position: relative;
    width: 300px;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .project-overlay {
    transform: translateY(0);
}

.project-overlay h4 {
    margin: 0;
    font-size: 1.2em;
    font-weight: 700;
}

/*
    ========================================================
    Footer
    ========================================================
*/
.footer {
    background-color: var(--color-dark-card);
    text-align: center;
    padding: 50px 20px;
}

.footer h3 {
    font-size: 2em;
    margin-bottom: 10px;
}

.footer p {
    color: var(--color-light-text);
    max-width: 600px;
    margin: 0 auto 30px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.contact-link {
    display: flex;
    align-items: center;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--color-highlight);
}

.contact-link img {
    height: 48px;
    margin-right: 8px;
    /*filter: invert(1);*/
}

.copyright {
    margin-top: 30px;
    font-size: 0.8em;
    color: #555;
}

/*
    ========================================================
    Responsividade
    ========================================================
*/
@media (max-width: 768px) {
    /* Ajustes globais para mobile */
    body {
        padding: 0 15px;
    }

    /* Cabeçalho */
    .header {
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }

    .logo {
        justify-content: center;
        margin-bottom: 20px;
    }

    .navbar {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .navbar a {
        margin: 0 10px;
    }
    
    .contact-button a {
        padding: 10px 20px;
    }
    
    /* Seção Hero */
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 50px 20px;
    }

    .hero-content {
        margin-bottom: 30px;
    }

    .hero-image-container {
        margin-top: 30px;
        width: 250px;
        height: 250px;
    }

    .hero-content h2 {
        font-size: 2em;
    }

    /* Seções de Especialidades e Portfólio */
    section {
        padding: 50px 20px;
    }

    .specialties h2, .portfolio h2 {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .specialties-container, .portfolio-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .specialty-card, .portfolio-item {
        width: 100%;
        max-width: 350px;
    }

    .portfolio-nav {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .portfolio-tab {
        width: 100%;
        text-align: center;
    }
}