/*
Theme Name: Sérgio Machado Portfolio
Theme URI: https://smachado.pt
Author: Sérgio Machado
Author URI: https://smachado.pt
Description: Tema Premium Light, focado em Alta Performance e desenhado para o Block Editor.
Version: 1.0.0
Text Domain: smachado
*/

:root {
    --sm-bg: #F8F9FA;
    --sm-text: #1a1a1a;
    --sm-text-muted: #555555;
    --sm-accent-blue: #0A2540;
    --sm-accent-yellow: #FFD166;
    --sm-accent-orange: #F77F00;
    
    --wp--preset--font-family--heading: 'Outfit', sans-serif;
    --wp--preset--font-family--body: 'Inter', sans-serif;
}

body {
    background-color: var(--sm-bg);
    color: var(--sm-text);
    font-family: var(--wp--preset--font-family--body);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    margin: 0;
}

h1, h2, h3, h4, h5, h6,
.wp-block-heading {
    font-family: var(--wp--preset--font-family--heading);
    color: var(--sm-accent-blue);
    font-weight: 800;
    letter-spacing: -0.02em;
}

a {
    color: var(--sm-accent-orange);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--sm-accent-blue);
}

/* Custom Block Styles to Make it Premium & Seductive */

/* Group/Section Wrapper */
.sm-premium-section {
    padding: 6rem 1rem;
}

/* Buttons */
.wp-block-button__link {
    background: linear-gradient(135deg, var(--sm-accent-orange), #FF9F1C) !important;
    color: #fff !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    padding: 1rem 2rem !important;
    border: none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    font-family: var(--wp--preset--font-family--heading);
}

.wp-block-button__link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(247, 127, 0, 0.3) !important;
}

/* Card Style for Experiences/Projects */
.sm-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0,0,0,0.03);
    height: 100%;
}

.sm-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(10, 37, 64, 0.1);
    border-color: rgba(247, 127, 0, 0.2);
}

.sm-card-role {
    display: inline-block;
    background: rgba(255, 209, 102, 0.2);
    color: var(--sm-accent-orange);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

/* Gradient Text for emphasis */
.has-gradient-text {
    background: linear-gradient(135deg, var(--sm-accent-blue), var(--sm-accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Footer / Header styling */
.sm-glass-header {
    background: rgba(248, 249, 250, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 999;
}
