/* English Pathway WordPress Theme - Main CSS */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #0f172a;
    background: linear-gradient(to bottom, #ffffff, #f8fafc, #ffffff);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: #334155;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    padding: 0.75rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    color: #0f172a;
}

.logo svg {
    width: 1.5rem;
    height: 1.5rem;
}

.nav {
    display: none;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.875rem;
}

.nav a {
    text-decoration: none;
    color: #0f172a;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #64748b;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #0f172a;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.cta-button:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.cta-button svg {
    width: 1rem;
    height: 1rem;
}

/* Hero Section */
.hero {
    padding: 4rem 0 6rem;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.hero-text .subtitle {
    color: #64748b;
}

.hero-text p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.hero-features {
    list-style: none;
    margin-bottom: 2rem;
}

.hero-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #334155;
}

.hero-features svg {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.125rem;
    color: #22c55e;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 1rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #0f172a;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.btn-secondary {
    background: white;
    color: #0f172a;
    border: 1px solid #d1d5db;
}

.btn-secondary:hover {
    background: #f9fafb;
}

.hero-info {
    position: relative;
    padding: 1.5rem;
    border-radius: 1.5rem;
    background: white;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.info-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.info-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.info-details {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #334155;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.info-details svg {
    width: 1.25rem;
    height: 1.25rem;
}

.info-highlight {
    padding: 1rem;
    border-radius: 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    margin-top: 1rem;
    font-size: 0.875rem;
}

.info-highlight .title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

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

.section-bordered {
    border-top: 1px solid rgba(226, 232, 240, 0.7);
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

/* Cards */
.card {
    padding: 1.25rem;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.card-icon {
    padding: 0.5rem;
    border-radius: 0.75rem;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.card-title {
    font-weight: 600;
    margin: 0;
}

.card-description {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

/* Grid Layouts */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

/* Curriculum Tags */
.curriculum-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.curriculum-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid #d1d5db;
    background: white;
    color: #374151;
}

/* Level Cards */
.level-card {
    padding: 1.25rem;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.level-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.level-name {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

.level-cefr {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    background: #f1f5f9;
    color: #374151;
}

.level-focus {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.level-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #64748b;
}

.level-tag svg {
    width: 1rem;
    height: 1rem;
}

/* Contact Form */
.contact-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.contact-form input[type="email"] {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid #d1d5db;
    font-size: 0.875rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input[type="email"]:focus {
    outline: none;
    border-color: #64748b;
    box-shadow: 0 0 0 2px rgba(100, 116, 139, 0.1);
}

.contact-info {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: #374151;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.contact-item svg {
    width: 1rem;
    height: 1rem;
    color: #64748b;
}

/* Footer */
.footer {
    padding: 2.5rem 0;
    border-top: 1px solid rgba(226, 232, 240, 0.7);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: center;
}

.footer-copyright {
    font-size: 0.875rem;
    color: #64748b;
}

.footer-links {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    font-size: 0.875rem;
}

.footer-links a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #0f172a;
    text-decoration: underline;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #0f172a;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

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

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 50;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 1rem;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    color: #0f172a;
}

.mobile-menu a:hover {
    background: #f8fafc;
}

/* Responsive */
@media (min-width: 640px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.25rem; }
    
    .nav {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .section-grid {
        grid-template-columns: 2fr 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-links {
        justify-content: flex-end;
    }
}

@media (min-width: 1024px) {
    h1 { font-size: 3.5rem; }
    
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
    
    .section {
        padding: 3rem 0 4rem;
    }
}

@media (max-width: 767px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav {
        display: none;
    }
    
    .hero {
        padding: 2rem 0 4rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        flex-direction: column;
    }
    
    .contact-form input[type="email"] {
        margin-bottom: 0.5rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }

.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.w-full { width: 100%; }
.h-full { height: 100%; }