/*
Theme Name: CasaModa Theme
Theme URI: https://casamoda.com.br
Author: CasaModa
Author URI: https://casamoda.com.br
Description: Tema personalizado para CasaModa - Festival e Salão de Design, Arquitetura e Decoração.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: casamoda-theme
Tags: custom-theme, design, arquitetura, decoracao
*/

/* Neue Montreal - Fonte Base */
@font-face {
    font-family: 'Neue Montreal';
    src: url('/wp-content/themes/casamoda-theme/assets/fonts/NeueMontreal-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Neue Montreal';
    src: url('/wp-content/themes/casamoda-theme/assets/fonts/NeueMontreal-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Neue Montreal';
    src: url('/wp-content/themes/casamoda-theme/assets/fonts/NeueMontreal-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Neue Montreal';
    src: url('/wp-content/themes/casamoda-theme/assets/fonts/NeueMontreal-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Neue Montreal';
    src: url('/wp-content/themes/casamoda-theme/assets/fonts/NeueMontreal-Italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Neue Montreal';
    src: url('/wp-content/themes/casamoda-theme/assets/fonts/NeueMontreal-LightItalic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Neue Montreal';
    src: url('/wp-content/themes/casamoda-theme/assets/fonts/NeueMontreal-MediumItalic.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Neue Montreal';
    src: url('/wp-content/themes/casamoda-theme/assets/fonts/NeueMontreal-BoldItalic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
}

/* 29LT Zarid Display - Fonte Principal do Salão */
@font-face {
    font-family: '29LT Zarid Display';
    src: url('/wp-content/themes/casamoda-theme/assets/fonts/29LT Zarid Display Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

/* Glacial Indifference - Fonte para Títulos */
@font-face {
    font-family: 'Glacial Indifference';
    src: url('/wp-content/themes/casamoda-theme/assets/fonts/GlacialIndifference-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Glacial Indifference';
    src: url('/wp-content/themes/casamoda-theme/assets/fonts/GlacialIndifference-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

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

:root {
    --black: #000000;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Neue Montreal', 'Arial', 'Helvetica', sans-serif;
    background: var(--white);
    color: var(--black);
    min-height: 100vh;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Glacial Indifference', 'Arial', 'Helvetica', sans-serif;
}

.container {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.logo {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--black);
    font-style: normal;
}

.main-content {
    width: 100%;
    height: 100%;
    flex: 1;
    padding-top: 80px;
    box-sizing: border-box;
}

.buttons-grid {
    display: flex;
    flex-direction: row;
    height: 100%;
    width: 100%;
    gap: 0;
}

.button-card {
    display: block;
    text-decoration: none;
    position: relative;
    width: 50%;
    height: 100vh;
    border: none;
    border-right: 2px solid var(--black);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition);
}

.button-card:hover {
    z-index: 10;
}

.button-card:last-child {
    border-right: none;
}

.button-festival {
    background-color: var(--black);
    color: var(--white);
}

.button-salao {
    background-color: var(--white);
    color: var(--black);
}

/* Remover padding do page-content na home page */
.page-content.page-home {
    padding: 0;
    padding-top: 0;
}

.home-button-image {
    width: 100%;
    max-width: 290px;
    object-fit: contain;
    transition: transform 0.3s ease;
    margin-top: 0.5rem;
}

.button-card:hover .home-button-image {
    transform: scale(1.1);
}


.button-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.button-hover-text {
    font-size: clamp(0.875rem, 2vw, 1.25rem);
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0;
    margin-top: 0;
    opacity: 0.8;
    line-height: 1.2;
}

.button-label {
    font-size: clamp(1rem, 3vw, 2rem);
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.button-title {
    font-size: clamp(3rem, 12vw, 8rem);
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.button-subtitle {
    font-size: clamp(1rem, 3vw, 2rem);
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    align-self: flex-end;
    margin-top: auto;
    opacity: 0.9;
}

/* Responsividade */
@media (max-width: 768px) {
    .buttons-grid {
        flex-direction: column;
    }
    
    .button-card {
        width: 100%;
        height: 50vh;
        border-right: none;
        border-bottom: 2px solid var(--black);
    }
    
    .button-card:last-child {
        border-bottom: none;
    }
    
    .button-content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .button-content {
        padding: 1rem;
    }
}

/* ================================
   ESTILOS ADICIONAIS WORDPRESS
   ================================ */

/* Grid de Marcas */
.marcas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.marca-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: var(--white);
}

.marca-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--black);
}

.marca-logo {
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.marca-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.marca-nome {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--black);
    text-align: center;
}

/* Single Marca */
.marca-single-main {
    min-height: 100vh;
    padding-top: 80px;
}

.marca-header {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: flex-end;
    padding: 4rem;
    background: var(--black);
}

.marca-featured-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.marca-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.marca-info {
    position: relative;
    z-index: 2;
}

.marca-title {
    font-family: 'Glacial Indifference', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.marca-categorias {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.marca-categoria {
    padding: 0.5rem 1rem;
    background: var(--white);
    color: var(--black);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.marca-content {
    padding: 4rem;
    background: var(--white);
    color: var(--black);
}

.marca-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.marca-navigation {
    padding: 2rem 4rem 4rem;
    background: var(--white);
}

.back-to-marcas {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--black);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: opacity 0.3s ease;
}

.back-to-marcas:hover {
    opacity: 0.8;
}

/* Archive Eventos */
.eventos-main {
    min-height: 100vh;
    padding-top: 80px;
}

.eventos-header {
    padding: 4rem;
    background: var(--black);
    text-align: center;
}

.eventos-title {
    font-family: 'Glacial Indifference', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    color: var(--white);
    text-transform: uppercase;
}

.eventos-grid {
    display: flex;
    width: 100%;
    min-height: 70vh;
}

.eventos-grid .button-card {
    flex: 1;
    height: auto;
    min-height: 70vh;
}

/* Página Genérica */
.generic-page {
    min-height: 100vh;
    padding: 4rem;
    padding-top: calc(80px + 4rem);
    background: var(--white);
}

.page-header-content {
    margin-bottom: 3rem;
}

.page-main-title {
    font-family: 'Glacial Indifference', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    color: var(--black);
    text-transform: uppercase;
}

.page-entry-content {
    max-width: 800px;
}

.page-entry-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.page-entry-content h2 {
    font-family: 'Glacial Indifference', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    margin: 2rem 0 1rem;
}

.page-entry-content h3 {
    font-family: 'Glacial Indifference', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1.5rem 0 1rem;
}

.page-entry-content ul,
.page-entry-content ol {
    margin: 1rem 0 1.5rem 2rem;
}

.page-entry-content li {
    margin-bottom: 0.5rem;
}

.page-entry-content a {
    color: var(--black);
    text-decoration: underline;
}

.page-entry-content a:hover {
    opacity: 0.7;
}

/* Responsividade adicional */
@media (max-width: 768px) {
    .marcas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .marca-item {
        padding: 1rem;
    }

    .marca-logo {
        width: 100px;
        height: 100px;
    }

    .marca-header {
        padding: 2rem;
        min-height: 40vh;
    }

    .marca-content,
    .marca-navigation {
        padding: 2rem;
    }

    .eventos-grid {
        flex-direction: column;
    }

    .eventos-grid .button-card {
        min-height: 50vh;
    }

    .generic-page {
        padding: 2rem;
        padding-top: calc(80px + 2rem);
    }
}

@media (max-width: 480px) {
    .marcas-grid {
        grid-template-columns: 1fr;
    }
}

