/*
Theme Name: Dyrbal
Author: j{AI}son
Description: Tema personalizado Dyrbal para WordPress
Version: 1.0.0
*/

/* ==========================================================================
   Fuentes personalizadas
   ========================================================================== */

@font-face {
    font-family: 'Utile Display';
    src: url('fonts/UtileDisplay-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Variables CSS */
:root {
	font-size: clamp(4px, 1.05vw, 20px);
	--max-width: 1920px;
}

/* Estilos base */
html {
	background: #B28E66;
}

body {
	font-family: "Utile Display";
	max-width: var(--max-width);
	margin: 0 auto;
	background: #B28E66;
}

h1 {
	color: #F6F3E8;
	font-family: "Utile Display";
	font-size: 3.44rem;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
}

p {
	color: #F6F3E8;
	font-family: "Utile Display";
	font-size: 1.25;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
}

@media (max-width: 767px) {
	h1 {
		font-size: 25px;
	}
	p {
		font-size: 18px;
	}
}


/* ==========================================================================
   Front Page (Home)
   ========================================================================== */

.home-container {
    height: 100vh;
    padding: 1.875rem;
    display: flex;
    align-items: stretch;
    box-sizing: border-box;
}

.home-content {
    width: 100%;
    max-width: var(--max-width);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    gap: 2rem;
}

/* Columna Izquierda */
.home-left {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.home-logo {
    display: flex;
    align-items: flex-start;
}

.home-logo .logo {
    width: 5.29vw;
    max-width: 80px;
    height: auto;
}

.home-left h1 {
    flex: 1;
    display: flex;
    align-items: center;
}

.home-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.home-contact p {
    margin: 0;
}

.home-contact a {
    color: #F6F3E8;
    text-decoration: none;
}

/* Columna Derecha Desktop */
.home-right-desktop {
    width: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.home-right-mobile {
    display: none;
}

.home-gif {
    width: auto;
    height: 100%;
	max-height: calc(100vh - 3.75rem);
	object-fit: contain;
}

/* ==========================================================================
   Mobile (< 768px)
   ========================================================================== */

@media (max-width: 767px) {
    .home-container {
        height: 100vh;
        padding: 32px 16px;
    }
    
    .home-content {
        flex-direction: column;
        height: 100%;
    }
    
    .home-left {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .home-logo {
        flex: 0;
    }
    
    .home-logo .logo {
        width: 78px;
        max-width: 78px;
    }
    
    .home-left h1 {
        flex: 0;
        align-items: flex-start;
        text-align: left;
    }
    
    .home-right-desktop {
        display: none;
    }
    
    .home-right-mobile {
        display: flex;
        justify-content: center;
        flex: 0;
    }
    
    .home-right-mobile .home-gif {
        width: 294px;
        height: auto;
        max-width: 294px;
    }
    
    .home-contact {
        gap: 8px;
        flex: 0;
    }
}