/*
Theme Name: LTSOA - Latino Tire Shop Owners Association
Theme URI: https://latinotireshopowners.org
Author: LTSOA
Author URI: https://latinotireshopowners.org
Description: A modern, bilingual WordPress theme for the Latino Tire Shop Owners Association. Features a bold, clean design inspired by modern SaaS aesthetics with full English/Spanish language toggle.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ltsoa
Tags: one-column, custom-menu, featured-images, translation-ready, bilingual
*/

/* ============================================
   CSS RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors - Bold Red & Dark */
    --primary: #C41E3A;
    --primary-dark: #9B1830;
    --primary-light: #E8425A;

    /* Secondary - Gold/Amber (association prestige) */
    --secondary: #D4A843;
    --secondary-dark: #B8912E;
    --secondary-light: #E8C767;

    /* Neutrals */
    --dark: #1A1A2E;
    --dark-mid: #2D2D44;
    --gray-900: #1a1a1a;
    --gray-800: #2d2d2d;
    --gray-700: #404040;
    --gray-600: #555555;
    --gray-500: #777777;
    --gray-400: #999999;
    --gray-300: #bbbbbb;
    --gray-200: #e0e0e0;
    --gray-100: #f5f5f5;
    --white: #ffffff;

    /* Accent */
    --green: #2ECC71;
    --green-dark: #27AE60;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;

    /* Transitions */
    --transition: all 0.3s ease;
    --transition-slow: all 0.6s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--gray-800);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.15;
    color: var(--dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

.site-nav.scrolled {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--white);
}

.nav-logo img {
    height: 42px;
    width: auto;
}

.nav-logo .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.nav-logo .logo-text .logo-main {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--white);
}

.nav-logo .logo-text .logo-sub {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--secondary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    position: relative;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary) !important;
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: 8px;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
}

.nav-cta:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-1px);
}

.nav-cta::after {
    display: none !important;
}

/* Language Toggle */
.lang-toggle {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3px;
    gap: 2px;
}

.lang-toggle button {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    padding: 5px 12px;
    border-radius: 18px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-primary);
}

.lang-toggle button.active {
    background: var(--secondary);
    color: var(--dark);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--dark);
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(26,26,46,0.7) 50%, rgba(155,24,48,0.6) 100%);
    z-index: 1;
}

/* ============================================
   PHOTO STRIP (between hero and about)
   ============================================ */
.photo-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    overflow: hidden;
    height: 200px;
}

.photo-strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.photo-strip img:hover {
    transform: scale(1.05);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 168, 67, 0.15);
    border: 1px solid rgba(212, 168, 67, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 32px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(2.5rem, 5.5vw, 4.2rem);
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero h1 .highlight {
    color: var(--secondary);
    display: block;
}

.hero-sub {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 36px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-primary);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-gold {
    background: var(--secondary);
    color: var(--dark);
}

.btn-gold:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 168, 67, 0.3);
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.hero-stat .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    font-family: var(--font-heading);
}

.hero-stat .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section {
    padding: var(--section-padding);
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 650px;
    line-height: 1.7;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-header.center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* Dark Section */
.section-dark {
    background: var(--dark);
    color: var(--white);
}

.section-dark .section-label {
    color: var(--secondary);
}

.section-dark .section-title {
    color: var(--white);
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.65);
}

/* Light Gray Section */
.section-light {
    background: var(--gray-100);
}

/* ============================================
   ABOUT / MISSION SECTION
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.about-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, var(--primary-dark), var(--dark));
}

.about-content .section-subtitle {
    margin-bottom: 32px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.value-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.value-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: rgba(196, 30, 58, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.value-text h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.value-text p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ============================================
   BENEFITS / MEMBERSHIP SECTION
   ============================================ */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.benefit-card {
    background: var(--white);
    border-radius: 16px;
    padding: 0;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.benefit-card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.benefit-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.benefit-card:hover .benefit-card-image img {
    transform: scale(1.08);
}

.benefit-card-body {
    padding: 28px 28px 32px;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-slow);
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.1), rgba(212, 168, 67, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.benefit-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.benefit-card p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ============================================
   COMPARISON TABLE (Before/After Style)
   ============================================ */
.comparison-wrapper {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--gray-200);
}

.comparison-header {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    background: var(--dark);
    padding: 20px 32px;
    color: var(--white);
    font-weight: 700;
    font-size: 0.95rem;
}

.comparison-header .col-with {
    color: var(--secondary);
}

.comparison-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    padding: 20px 32px;
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row:hover {
    background: var(--gray-100);
}

.comparison-row .row-label {
    font-weight: 700;
    color: var(--dark);
}

.comparison-row .row-without {
    color: var(--gray-500);
    font-size: 0.95rem;
}

.comparison-row .row-with {
    color: var(--green-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

/* ============================================
   EVENTS SECTION
   ============================================ */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.event-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.event-card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover .event-card-image img {
    transform: scale(1.08);
}

.event-date-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary);
    color: var(--white);
    padding: 8px 14px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 2;
    line-height: 1.2;
}

.event-date-badge .event-month {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.event-date-badge .event-day {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.event-date-banner {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 20px;
    text-align: center;
}

.event-date-banner .event-month {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    opacity: 0.9;
}

.event-date-banner .event-day {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    font-family: var(--font-heading);
}

.event-date-banner .event-year {
    font-size: 0.85rem;
    opacity: 0.8;
}

.event-content {
    padding: 24px;
}

.event-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.event-content p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 16px;
}

.event-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--gray-500);
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ============================================
   STATS / NUMBERS SECTION
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

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

.stat-card .stat-number {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-card .stat-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
}

/* ============================================
   RESOURCES SECTION
   ============================================ */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.resource-card {
    display: flex;
    gap: 24px;
    padding: 32px;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    align-items: flex-start;
}

.resource-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.resource-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    background: rgba(196, 30, 58, 0.08);
}

.resource-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.resource-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ============================================
   CTA / CONTACT SECTION
   ============================================ */
.cta-section {
    background: var(--dark);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26,26,46,0.8) 0%, rgba(155,24,48,0.6) 100%);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-stat .cta-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
    font-family: var(--font-heading);
}

.cta-stat .cta-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Contact Form */
.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    font-size: 0.95rem;
    font-family: var(--font-primary);
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.1);
}

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

.form-group select option {
    background: var(--dark);
    color: var(--white);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--gray-900);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .footer-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand .footer-logo span {
    color: var(--secondary);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--secondary);
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links a:hover {
    color: var(--secondary);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .about-grid {
        gap: 48px;
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 70px 0;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .photo-strip {
        grid-template-columns: repeat(2, 1fr);
        height: 150px;
    }

    .photo-strip img:nth-child(3),
    .photo-strip img:nth-child(4) {
        display: none;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

    .benefits-grid,
    .events-grid {
        grid-template-columns: 1fr;
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }

    .comparison-header,
    .comparison-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 16px 20px;
    }

    .comparison-header .col-without,
    .comparison-header .col-with {
        display: none;
    }

    .comparison-row .row-without::before {
        content: 'Without LTSOA: ';
        font-weight: 700;
        color: var(--gray-700);
    }

    .comparison-row .row-with::before {
        content: 'With LTSOA: ';
        font-weight: 700;
        color: var(--green-dark);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .cta-stats {
        flex-direction: column;
        gap: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }
}

/* ============================================
   WORDPRESS DEFAULTS
   ============================================ */
.alignnone { margin: 5px 20px 20px 0; }
.aligncenter { display: block; margin: 5px auto; }
.alignright { float: right; margin: 5px 0 20px 20px; }
.alignleft { float: left; margin: 5px 20px 20px 0; }
.wp-caption { max-width: 100%; }
.wp-caption-text { text-align: center; }
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* ============================================
   BLOG STYLES - Enzeti-Inspired Design
   ============================================ */

/* Blog Hero */
.blog-page { padding-top: 80px; }

.blog-hero {
    padding: 80px 0 60px;
    text-align: center;
    background: linear-gradient(135deg, #fafbff 0%, #f0f2f8 100%);
    border-bottom: 1px solid #e8eaf0;
}

.blog-hero-tag {
    display: inline-block;
    background: rgba(196, 30, 58, 0.08);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    border: 1px solid rgba(196, 30, 58, 0.15);
}

.blog-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
}

.blog-hero-subtitle {
    font-size: 1.05rem;
    color: var(--gray-600);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Blog Container */
.blog-container {
    padding-top: 50px;
    padding-bottom: 80px;
}

/* Featured Post Card */
.blog-featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e8eaf0;
    margin-bottom: 60px;
    transition: box-shadow 0.3s ease;
}

.blog-featured-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.blog-featured-image {
    overflow: hidden;
    aspect-ratio: 4/3;
}

.blog-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-featured-card:hover .blog-featured-image img {
    transform: scale(1.03);
}

.blog-featured-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-featured-title {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 16px;
    color: var(--dark);
}

.blog-featured-title a {
    color: inherit;
    text-decoration: none;
}

.blog-featured-title a:hover {
    color: var(--primary);
}

.blog-read-btn {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 16px;
    transition: background 0.3s ease;
    width: fit-content;
}

.blog-read-btn:hover {
    background: var(--primary-dark);
    color: var(--white);
}

/* Blog Card Tag */
.blog-card-tag {
    display: inline-block;
    background: rgba(196, 30, 58, 0.08);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
    border: 1px solid rgba(196, 30, 58, 0.15);
}

/* Blog Card Excerpt */
.blog-card-excerpt {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 8px;
}

/* Blog Card Meta */
.blog-card-meta time,
.blog-card-date {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 12px;
    display: block;
}

/* More Articles Section */
.blog-more-heading {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--dark);
    margin-bottom: 30px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e8eaf0;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* Blog Card */
.blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e8eaf0;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.blog-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.07);
    transform: translateY(-3px);
}

.blog-card-image {
    overflow: hidden;
    aspect-ratio: 16/10;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 24px;
}

.blog-card-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
    color: var(--dark);
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
}

.blog-card-title a:hover {
    color: var(--primary);
}

.blog-card-link {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 8px;
    transition: color 0.3s ease;
}

.blog-card-link:hover {
    color: var(--primary-dark);
}

/* Placeholder Image */
.blog-placeholder-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e, #2d2d44);
    color: rgba(255,255,255,0.3);
}

.placeholder-inner {
    text-align: center;
}

/* Nav Active State for Blog */
.nav-links a.nav-active {
    color: var(--primary) !important;
    font-weight: 600;
}

/* Blog Pagination */
.blog-pagination {
    text-align: center;
    padding-top: 30px;
}

.blog-pagination .nav-links a {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.blog-pagination .nav-links a:hover {
    background: var(--primary-dark);
}

/* Blog Empty */
.blog-empty {
    text-align: center;
    padding: 80px 0;
    color: var(--gray-500);
    font-size: 1.1rem;
}

/* Single Post Improvements */
.single .site-main {
    padding-top: 100px;
    padding-bottom: 60px;
}

/* Responsive Blog */
@media (max-width: 900px) {
    .blog-featured-card {
        grid-template-columns: 1fr;
    }
    .blog-featured-image {
        aspect-ratio: 16/9;
    }
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .blog-hero {
        padding: 60px 0 40px;
    }
    .blog-hero-title {
        font-size: 1.8rem;
    }
    .blog-featured-content {
        padding: 24px;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .blog-card-body {
        padding: 18px;
    }
}


/* ============================================
   MOBILE LANGUAGE TOGGLE - Always visible
   ============================================ */
.lang-toggle-mobile {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    margin-right: 12px;
    order: 2;
}

.lang-toggle-mobile button {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
}

.lang-toggle-mobile button:hover {
    border-color: #00D4AA;
    color: #00D4AA;
}

.lang-toggle-mobile button.active {
    background: #00D4AA;
    border-color: #00D4AA;
    color: #0a0a2e;
}

/* Hide the old lang-toggle inside nav-links */
.nav-links .lang-toggle {
    display: none !important;
}

/* Mobile: ensure lang toggle and hamburger are visible */
@media (max-width: 768px) {
    .lang-toggle-mobile {
        display: flex;
        position: relative;
        z-index: 1001;
        margin-right: 8px;
    }

    .nav-inner {
        display: flex;
        align-items: center;
    }

    .mobile-menu-btn {
        order: 3;
    }

    .nav-logo {
        order: 1;
    }
}

/* Desktop: keep it in normal flow */
@media (min-width: 769px) {
    .lang-toggle-mobile {
        margin-left: 16px;
        margin-right: 0;
    }
}
