/*
Theme Name: Fitdiez
Theme URI: http://fitdiez.com/
Author: Tu Nombre
Author URI: http://fitdiez.com/
Description: Tema FitDiez
Version: 1.0
License URI: http:/temujin.es
Text Domain: fitdiez
*/

/* ===== GLOBAL STYLES ===== */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #fff;
    background: #222;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

.wrap {
    margin: 0 auto;
    max-width: 1290px;
    padding: 20px;
    box-sizing: border-box;
}

/* ===== HEADER STYLES ===== */
header {
    background: linear-gradient(0deg, #111 0%, #333 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid #c0ca46;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header .wrap {
    text-align: center;
}

header .wrap h1 {
    display: none;
}

/* Logo Styles */
.logo {
    height: 90px;
    width: auto;
    transition: transform 0.3s ease;
}

/* Title Styles */
header h1 {
    color: #343a40;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    letter-spacing: 1px;
    font-family: 'Arial', 'Helvetica', sans-serif;
}

/* Navigation Styles */
nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.menu ul {
    display: flex;
    list-style: none;
    list-style-type: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.menu li {
    position: relative;
    list-style: none;
    list-style-type: none;
    display: inline-block;
}

.menu a {
    display: block;
    padding: 12px 20px;
    color: #ccc;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    border-radius: 25px;
    margin: 0 5px;
    position: relative;
    overflow: hidden;
}

.menu a:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(108, 117, 125, 0.1), transparent);
    transition: left 0.5s;
}

.menu a:hover:before {
    left: 100%;
}

.menu a:hover {
    background: rgba(192, 202, 70, 0.08);
    color: #c0ca46;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Current page active state */
.menu .current_page_item a {
    background: rgba(192, 202, 70, 0.15);
    color: #fff;
    box-shadow: 0 3px 10px rgba(192, 202, 70, 0.2);
    border: 1px solid rgba(192, 202, 70, 0.3);
    font-weight: 600;
}

/* ===== MAIN CONTENT ===== */
main {
    min-height: calc(100vh - 200px);
    padding: 40px 0;
    margin: 20px 0;
    border-radius: 12px;
}

/* Enlaces dentro del contenido principal */
main a {
    color: #c0ca46;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

main a:hover {
    color: #c0ca46;
    border-bottom: 1px solid #c0ca46;
    text-decoration: none;
}

/* ===== FOOTER STYLES ===== */
footer {
    color: #ffffff;
    padding: 0;
    margin-top: 0;
    text-align: center;
    background: linear-gradient(0deg, #111 0%, #333 100%);
}

footer .wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    header .wrap {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .menu ul {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .menu a {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    header h1 {
        font-size: 24px;
    }
    
    .wrap {
        padding: 6px;
    }
}

@media (max-width: 480px) {
    header .wrap {
        padding: 10px 15px;
    }
    
    .logo {
        height: 70px;
    }
    
    header h1 {
        font-size: 20px;
    }
    
    .menu a {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    main {
        margin: 10px 0;
        padding: 20px 0;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.p-20 {
    padding: 20px;
}


.botones_principal{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 20px;
    font-family: "SF Pro Display", "SF Pro Text", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    margin-top: 46px;
}

.botones_principal a{
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 16px;
    text-decoration: none;
    padding: 22px 24px;
    border-radius: 18px;
    background:
        radial-gradient(120% 140% at 0% 0%, rgba(192, 202, 70, 0.12) 0%, rgba(192, 202, 70, 0) 50%),
        linear-gradient(160deg, #111, #333);
    color: #ffffff;
    border: 1px solid rgba(192, 202, 70, 0.25);
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
    position: relative;
    overflow: hidden;
    border: 3px solid #c0ca46;
}

.botones_principal a::after{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(192, 202, 70, 0.22), rgba(192, 202, 70, 0));
    opacity: 0;
    transition: opacity 180ms ease;
    pointer-events: none;
}

.botones_principal a:hover{
    transform: translateY(-3px);
    border-color: rgba(192, 202, 70, 0.45);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.45),
        0 0 22px rgba(192, 202, 70, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.botones_principal a:hover::after{
    opacity: 1;
}

.botones_principal h2{
    margin: 0 0 6px 0;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.botones_principal h3{
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #ccc;
}

@media (max-width: 900px){
    .botones_principal{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px){
    .botones_principal{
        grid-template-columns: 1fr 1fr 1fr;
        font-size:16px;
        padding: 4px;
        margin-top: 0;
        gap: 18px;
        margin-bottom: 120px;
        a{
            border:2px solid #c0ca46;
            text-align:center;
            grid-template-columns:1fr;
            grid-template-rows: 60px auto;
            gap: 0;
            padding: 0 6px;
            h2{
                font-size:16px;
                line-height: 1.2rem;
            }
            h3{
                font-size:12px;
                margin-bottom: 6px;
            }
            img{
                height:50px;
                float:none;
                margin:0 auto;
            }
        }
    }
    .boton_tel{
        a{
            margin-bottom: -8px !important;
            font-size: 14px;
            img{
                height:36px;
            }
        }
    }
    .wp-block-columns{
        max-width:calc(100dvw - 42px);
        margin: 0 auto;
    }
    figure{
        max-width:calc(100dvw - 42px);
        margin: 0 auto;
    }
    h2{
        text-align:center;
    }
}
.boton_tel{
    a{
        margin-top: 20px;
        border: 3px solid #c0ca46;
        border-radius: 40px;
        margin-bottom:20px;
    }
}
.boton_insta{
    a{
        display:flex;
        padding-top: 4px;
        padding-bottom: 4px;
        align-items: center;
        gap: 6px;
    }
}
.menu-corporativo-container{
    ul{
        margin:0;
    }
}
.eslogan{
    font-size:20px;
}