/*
Theme Name: EliteBrain
Description: Tema personalizado para EliteBrain - Academia de Tecnología en Estepona. Diseño moderno y elegante con sistema de colores naranja y azul, optimizado para WordPress Customizer y editor de bloques.
Version: 1.0.0
Author: TopoCoder
Text Domain: elitebrain
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-colors, custom-logo, custom-menu, featured-images, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Reset y Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Remove focus outline from all links */
a:focus {
    outline: none;
    box-shadow: none;
}

a:active {
    outline: none;
    box-shadow: none;
}

:root {
    /* Fonts */
    --font-sans: 'Inter', system-ui, sans-serif;
    --font-display: 'Poppins', 'Inter', system-ui, sans-serif;
    
    /* Core Colors - Naranja elegante y moderno */
    --background: 0 0% 100%;
    --foreground: 215 28% 17%;

    /* Brand Colors - Naranja sofisticado */
    --primary: 24 90% 58%;
    --primary-light: 24 90% 68%;
    --primary-foreground: 0 0% 98%;

    /* Secondary - Azul complementario */
    --secondary: 217 91% 60%;
    --secondary-light: 217 91% 70%;
    --secondary-foreground: 0 0% 98%;

    /* Surface Colors */
    --card: 0 0% 100%;
    --card-foreground: 215 28% 17%;

    --popover: 0 0% 100%;
    --popover-foreground: 215 28% 17%;

    /* Neutral Grays */
    --muted: 214 32% 95%;
    --muted-foreground: 215 16% 47%;

    --accent: 24 90% 97%;
    --accent-foreground: 24 90% 58%;

    /* Status Colors */
    --destructive: 0 84% 60%;
    --destructive-foreground: 0 0% 98%;

    --success: 142 71% 45%;
    --success-foreground: 0 0% 98%;

    /* UI Elements */
    --border: 214 32% 91%;
    --input: 214 32% 91%;
    --ring: 24 90% 58%;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, hsl(24 90% 58%) 0%, hsl(24 90% 68%) 100%);
    --gradient-secondary: linear-gradient(135deg, hsl(217 91% 60%) 0%, hsl(217 91% 70%) 100%);
    --gradient-hero: linear-gradient(135deg, hsl(24 90% 58%) 0%, hsl(217 91% 60%) 50%, hsl(190 95% 53%) 100%);
    
    /* Shadows */
    --shadow-primary: 0 10px 30px -5px hsl(24 90% 58% / 0.15);
    --shadow-card: 0 4px 20px -2px hsl(215 28% 17% / 0.08);
    --shadow-glow: 0 0 40px hsl(24 90% 58% / 0.25);

    --radius: 12px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Inter', system-ui, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.75rem; }
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero-gradient {
    background: var(--gradient-hero);
}

.primary-gradient {
    background: var(--gradient-primary);
}

.secondary-gradient {
    background: var(--gradient-secondary);
}

.shadow-primary {
    box-shadow: var(--shadow-primary);
}

.shadow-card {
    box-shadow: var(--shadow-card);
}

.shadow-glow {
    box-shadow: var(--shadow-glow);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 20px hsl(24 90% 58% / 0.25); }
    100% { box-shadow: 0 0 40px hsl(24 90% 58% / 0.5); }
}

@keyframes fade-in-up {
    0% { 
        opacity: 0;
        transform: translateY(30px);
    }
    100% { 
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite alternate;
}

.animate-fade-in-up {
    animation: fade-in-up 0.6s ease-out;
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: hsl(var(--background) / 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid hsl(var(--border));
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    padding: 0.5rem;
    background: var(--gradient-primary);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-primary);
}

.logo-icon svg {
    width: 2rem;
    height: 2rem;
    color: hsl(var(--primary-foreground));
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(var(--primary));
    margin: 0;
    font-family: var(--font-display);
}

.site-title a {
    color: hsl(var(--primary));
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-display);
    transition: color 0.3s ease;
}

.site-title a:hover {
    color: hsl(var(--primary));
    text-decoration: none;
}

.site-tagline {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin: 0;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: hsl(var(--foreground));
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: hsl(var(--primary));
}

.social-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.social-links a {
    color: hsl(var(--muted-foreground));
    transition: color 0.3s ease;
    outline: none;
    box-shadow: none;
}

.social-links a:hover {
    color: hsl(24 90% 58%);
}

.social-links a:focus {
    outline: none;
    box-shadow: none;
}

.social-links a:active {
    outline: none;
    box-shadow: none;
}

.social-links svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Mobile social links - larger size */
@media (max-width: 768px) {
    .social-links svg {
        width: 1.5rem;
        height: 1.5rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    border-radius: 0.375rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    line-height: 1.25rem;
    padding: 0.5rem 1rem;
    height: 2.5rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: hsl(var(--primary-foreground));
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    box-shadow: var(--shadow-glow);
    transform: scale(1.05);
    filter: brightness(1.1);
}

.btn-outline {
    border: 1px solid hsl(var(--border));
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
}

.btn-outline:hover {
    background-color: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
}

.btn-lg {
    height: 2.75rem;
    border-radius: 0.375rem;
    padding: 0 2rem;
    font-size: 1.125rem;
}

/* Hero Button Styles (exactos del original) */
.hero-actions .btn-primary {
    background: white;
    color: hsl(var(--primary));
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    font-size: 1.125rem;
    padding: 1rem 2rem;
    height: auto;
}

.hero-actions .btn-primary:hover {
    background: #eff6ff;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
    filter: none;
}

.hero-actions .btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
    padding: 1rem 2rem;
    height: auto;
}

.hero-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
    color: white;
}

/* Header Button Styles (exactos del original) */
.header-content .btn-primary {
    background: var(--gradient-primary);
    color: hsl(var(--primary-foreground));
    box-shadow: var(--shadow-primary);
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    height: auto;
}

.header-content .btn-primary:hover {
    box-shadow: var(--shadow-glow);
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Contact Form Button Styles (exactos del original) */
.contact-form .btn-primary {
    background: var(--gradient-primary);
    color: hsl(var(--primary-foreground));
    box-shadow: var(--shadow-primary);
    font-size: 1.125rem;
    padding: 1.5rem;
    height: auto;
    width: 100%;
}

.contact-form .btn-primary:hover {
    box-shadow: var(--shadow-glow);
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    opacity: 0.95;
}

.hero-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.2;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 64rem;
    margin: 0 auto;
    padding: 6rem 1.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
    animation: fade-in-up 0.6s ease-out;
}

.hero-badge svg {
    width: 1rem;
    height: 1rem;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: fade-in-up 0.6s ease-out 0.2s both;
}

.hero-title .gradient-text {
    background: linear-gradient(to right, white, #bfdbfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #bfdbfe;
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    animation: fade-in-up 0.6s ease-out 0.3s both;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    animation: fade-in-up 0.6s ease-out 0.5s both;
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
    }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 48rem;
    margin: 0 auto;
    animation: fade-in-up 0.6s ease-out 0.7s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero-stat-label {
    color: #bfdbfe;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(2) {
    animation-delay: 1s;
}

.floating-element:nth-child(3) {
    animation-delay: 2s;
}

/* Cards */
.card {
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border) / 0.5);
    border-radius: 1rem;
    box-shadow: var(--shadow-card);
    transition: all 0.5s ease;
}

.card:hover {
    box-shadow: var(--shadow-primary);
    border-color: hsl(var(--primary) / 0.2);
}

.card-content {
    padding: 2rem;
}

/* Sections */
.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: hsl(var(--primary));
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
    max-width: 48rem;
    margin: 0 auto;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }

@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Course Cards */
.course-card {
    text-align: left;
    animation: fade-in-up 0.6s ease-out;
}

.course-icon {
    width: 4rem;
    height: 4rem;
    background: var(--gradient-primary);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.course-card:hover .course-icon {
    animation: pulse-glow 2s ease-in-out infinite alternate;
}

.course-icon svg {
    width: 2rem;
    height: 2rem;
    color: hsl(var(--primary-foreground));
}

.course-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.course-card:hover .course-title {
    color: hsl(var(--primary));
}

.course-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.course-age,
.course-duration {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.course-age {
    background-color: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
}

.course-duration {
    background-color: hsl(var(--secondary) / 0.1);
    color: hsl(var(--secondary));
}

.course-description {
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.course-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.course-features li {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 0.5rem;
}

.course-features li::before {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    background-color: hsl(var(--primary));
    border-radius: 50%;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
}

.about-text {
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
    margin-bottom: 2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.about-stat {
    text-align: center;
    padding: 1.5rem;
    background-color: hsl(var(--accent));
    border-radius: 1rem;
}

.about-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: hsl(var(--primary));
    margin-bottom: 0.5rem;
}

.about-stat-label {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-card);
}

.about-overlay {
    position: absolute;
    bottom: -2rem;
    left: -2rem;
    background-color: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-card);
    border: 1px solid hsl(var(--border) / 0.5);
    max-width: 20rem;
}

.about-overlay-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.about-overlay-icon {
    width: 3rem;
    height: 3rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-overlay-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: hsl(var(--primary-foreground));
}

.about-overlay-text {
    font-weight: 600;
    color: hsl(var(--foreground));
}

.about-overlay-subtext {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

/* Values Section */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.value-card {
    text-align: center;
    border: 1px solid hsl(var(--border) / 0.5);
    transition: all 0.3s ease;
    animation: fade-in-up 0.6s ease-out;
}

.value-card:hover {
    border-color: hsl(var(--primary) / 0.2);
}

.value-icon {
    width: 4rem;
    height: 4rem;
    background: var(--gradient-primary);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-icon svg {
    width: 2rem;
    height: 2rem;
    color: hsl(var(--primary-foreground));
}

.value-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 1rem;
}

.value-description {
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr 2fr;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background: var(--gradient-primary);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: hsl(var(--primary-foreground));
}

.contact-details h4 {
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 0.25rem;
}

.contact-details .contact-value {
    color: hsl(var(--primary));
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.contact-details .contact-description {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--foreground));
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid hsl(var(--input));
    border-radius: 0.5rem;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    font-size: 1rem;
    transition: all 0.2s ease;
}

/* Ensure form inputs don't inherit link colors */
.form-input[type="tel"],
.form-input[type="email"],
.form-input[type="text"],
.form-textarea {
    color: hsl(var(--foreground)) !important;
    text-decoration: none !important;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: hsl(var(--ring));
    box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Footer */
.site-footer {
    background-color: hsl(var(--muted));
    border-top: 1px solid hsl(var(--border));
    padding: 1rem 0;
}

.footer-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.footer-social a {
    color: hsl(var(--primary));
    transition: color 0.3s ease;
    outline: none;
    box-shadow: none;
}

.footer-social a:hover {
    color: hsl(24 90% 58% / 0.8);
}

.footer-social a:focus {
    outline: none;
    box-shadow: none;
}

.footer-social a:active {
    outline: none;
    box-shadow: none;
}

.footer-social svg {
    width: 1.5rem;
    height: 1.5rem;
}

.footer-text {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
}

.footer-credit {
    color: hsl(var(--muted-foreground));
    font-size: 0.75rem;
}

.footer-credit a {
    color: hsl(var(--primary));
    text-decoration: none;
}

.footer-credit a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-navigation {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .about-overlay {
        position: static;
        margin-top: 1rem;
    }
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: hsl(var(--foreground));
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle:hover {
    color: hsl(var(--primary));
}

.mobile-menu-toggle svg {
    width: 1.5rem;
    height: 1.5rem;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: hsl(var(--background));
        border-top: 1px solid hsl(var(--border));
        padding: 1rem 1.5rem;
        display: none;
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .social-links {
        justify-content: center;
        margin-bottom: 1rem;
    }
}

/* WordPress Specific */
.alignwide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.wp-block-group {
    margin-bottom: 2rem;
}

.wp-block-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Block Editor Styles */
.wp-block-button__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.wp-block-button.is-style-primary .wp-block-button__link {
    background: var(--gradient-primary);
    color: hsl(var(--primary-foreground));
    box-shadow: var(--shadow-primary);
}

.wp-block-button.is-style-primary .wp-block-button__link:hover {
    box-shadow: var(--shadow-glow);
    transform: scale(1.05);
    filter: brightness(1.1);
}

.wp-block-button.is-style-outline .wp-block-button__link {
    border: 1px solid hsl(var(--border));
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
    background-color: hsl(var(--muted));
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles */
*:focus {
    outline: 2px solid hsl(var(--ring));
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .site-header,
    .site-footer,
    .btn,
    .mobile-menu-toggle {
        display: none;
    }
    
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .section {
        padding: 2rem 0;
    }
}

