/*
Theme Name: APROLAC Theme
Theme URI: https://aprolac.org
Author: APROLAC
Author URI: https://aprolac.org
Description: Thème WordPress personnalisé pour l'Académie des Professionnels de Langues et Cultures Camerounaises. Design moderne avec palette bleue et or. Installation automatique des pages et menus à l'activation !
Version: 3.1.1
Requires at least: 5.0
Tested up to: 6.8.3
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: aprolac
Tags: education, custom-logo, custom-menu, featured-images, theme-options, translation-ready, auto-install
*/

/* =====================================================
   VARIABLES CSS
   ===================================================== */
:root {
    --primary: #2D5A7B;
    --primary-dark: #1E3A52;
    --primary-light: #4A7FA8;
    --secondary: #E8A838;
    --secondary-dark: #C48920;
    --accent: #E85D4C;
    --accent-light: #FF7A6B;
    --white: #FFFFFF;
    --black: #1A1A2E;
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-400: #CED4DA;
    --gray-500: #ADB5BD;
    --gray-600: #6C757D;
    --gray-700: #495057;
    --gray-800: #343A40;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    --gradient-hero: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 5rem;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.15);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 30px;
    --radius-full: 50%;
}

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-primary); font-size: 1rem; line-height: 1.7; color: var(--gray-700); background-color: var(--white); overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.3; color: var(--black); margin-bottom: var(--spacing-sm); }
h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }
p { margin-bottom: var(--spacing-sm); }
a { text-decoration: none; color: inherit; transition: var(--transition-normal); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* UTILITIES */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--spacing-md); }
.text-gradient { background: var(--gradient-secondary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-badge { display: inline-block; background: rgba(232, 168, 56, 0.15); color: var(--secondary-dark); padding: 0.5rem 1.25rem; border-radius: var(--radius-xl); font-size: 0.875rem; font-weight: 600; margin-bottom: var(--spacing-sm); text-transform: uppercase; letter-spacing: 1px; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto var(--spacing-xl); }
.section-title { margin-bottom: var(--spacing-sm); }
.section-description { color: var(--gray-600); font-size: 1.1rem; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.875rem 1.75rem; font-family: var(--font-primary); font-size: 1rem; font-weight: 600; border-radius: var(--radius-md); border: none; cursor: pointer; transition: var(--transition-normal); }
.btn-primary { background: var(--gradient-primary); color: var(--white); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-secondary { background: var(--gradient-secondary); color: var(--white); }
.btn-secondary:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: var(--gray-100); transform: translateY(-3px); }
.btn-outline-white { background: transparent; border: 2px solid var(--white); color: var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--primary); }
.btn-lg { padding: 1rem 2rem; font-size: 1.1rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }

/* PRELOADER */
.preloader { position: fixed; inset: 0; background: var(--gradient-hero); display: flex; align-items: center; justify-content: center; z-index: 9999; transition: opacity 0.5s ease, visibility 0.5s ease; }
.preloader.hidden { opacity: 0; visibility: hidden; }
.loader { text-align: center; }
.loader-inner { display: flex; gap: 8px; margin-bottom: var(--spacing-md); justify-content: center; }
.loader-circle { width: 15px; height: 15px; background: var(--secondary); border-radius: var(--radius-full); animation: loaderPulse 1.2s ease-in-out infinite; }
.loader-circle:nth-child(2) { animation-delay: 0.2s; }
.loader-circle:nth-child(3) { animation-delay: 0.4s; }
.loader-text { color: var(--white); font-family: var(--font-heading); font-size: 1.5rem; letter-spacing: 3px; }
@keyframes loaderPulse { 0%, 100% { transform: scale(0.6); opacity: 0.5; } 50% { transform: scale(1); opacity: 1; } }

/* HEADER */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: var(--spacing-sm) 0; transition: var(--transition-normal); }
.header.scrolled { background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px); box-shadow: var(--shadow-md); }
.header.header-dark { background: var(--gradient-hero); }
.header.header-dark.scrolled { background: rgba(255, 255, 255, 0.98); }
.navbar { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo img { width: 50px; height: 50px; border-radius: var(--radius-md); object-fit: cover; }
.logo span { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--white); }
.header.scrolled .logo span { color: var(--primary); }
.nav-menu { display: flex; align-items: center; gap: var(--spacing-lg); }
.nav-link { font-weight: 500; color: rgba(255, 255, 255, 0.9); position: relative; padding: 0.5rem 0; }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--secondary); transition: var(--transition-normal); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.header.scrolled .nav-link { color: var(--gray-700); }
.header.scrolled .nav-link:hover { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: var(--spacing-sm); }
.btn-nav { padding: 0.625rem 1.25rem; font-size: 0.9rem; }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.mobile-toggle span { display: block; width: 25px; height: 2px; background: var(--white); transition: var(--transition-normal); }
.header.scrolled .mobile-toggle span { background: var(--primary); }

/* HERO SECTION */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: 100px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: var(--gradient-hero); z-index: -1; }
.hero-bg::before { content: ''; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-2xl); align-items: center; }
.hero-text { color: var(--white); }
.hero-badge { display: inline-block; background: rgba(232, 168, 56, 0.2); color: var(--secondary); padding: 0.5rem 1rem; border-radius: var(--radius-xl); font-size: 0.875rem; font-weight: 600; margin-bottom: var(--spacing-md); }
.hero-title { color: var(--white); font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.2; margin-bottom: var(--spacing-md); }
.hero-description { font-size: 1.125rem; color: rgba(255, 255, 255, 0.9); margin-bottom: var(--spacing-lg); line-height: 1.8; }
.hero-buttons { display: flex; gap: var(--spacing-sm); flex-wrap: wrap; }
.video-btn { display: inline-flex; align-items: center; gap: 0.75rem; padding: 0.875rem 1.75rem; background: rgba(255, 255, 255, 0.1); border: 2px solid rgba(255, 255, 255, 0.3); border-radius: var(--radius-md); color: var(--white); font-weight: 600; transition: var(--transition-normal); }
.video-btn:hover { background: rgba(255, 255, 255, 0.2); border-color: var(--white); }
.play-icon { width: 40px; height: 40px; background: var(--secondary); border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; }
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-image-container { position: relative; width: 400px; height: 400px; }
.hero-main-image { width: 280px; height: 280px; border-radius: var(--radius-full); object-fit: cover; border: 6px solid rgba(255, 255, 255, 0.2); position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); animation: pulse 3s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(-50%, -50%) scale(1.05); } }
.floating-card { position: absolute; background: var(--white); padding: var(--spacing-sm) var(--spacing-md); border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); display: flex; align-items: center; gap: 0.75rem; animation: float 3s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
.floating-card:nth-child(1) { top: 20px; right: 0; }
.floating-card:nth-child(2) { bottom: 60px; left: 0; animation-delay: 1s; }
.floating-card:nth-child(3) { bottom: 20px; right: 40px; animation-delay: 2s; }
.floating-icon { width: 45px; height: 45px; background: var(--gradient-primary); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: var(--white); }
.floating-content strong { display: block; font-family: var(--font-heading); font-size: 1.25rem; color: var(--primary); }
.floating-content span { font-size: 0.8rem; color: var(--gray-600); }
.scroll-indicator { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); text-align: center; color: var(--white); animation: bounce 2s infinite; }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(10px); } }

/* PAGE BANNER */
.page-banner { position: relative; padding: 180px 0 100px; overflow: hidden; }
.page-banner-bg { position: absolute; inset: 0; background: var(--gradient-hero); z-index: -1; }
.page-banner-bg::before { content: ''; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.page-banner-content { text-align: center; color: var(--white); }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: var(--spacing-md); font-size: 0.95rem; }
.breadcrumb a { color: rgba(255, 255, 255, 0.8); }
.breadcrumb a:hover { color: var(--secondary); }
.breadcrumb i { font-size: 0.75rem; color: rgba(255, 255, 255, 0.5); }
.breadcrumb span { color: var(--secondary); }
.page-banner h1 { color: var(--white); font-size: clamp(2.5rem, 5vw, 3.5rem); margin-bottom: var(--spacing-sm); }
.page-banner p { color: rgba(255, 255, 255, 0.85); font-size: 1.125rem; max-width: 600px; margin: 0 auto; }

/* QUICK ACTIONS */
.quick-actions { margin-top: -60px; position: relative; z-index: 10; padding-bottom: var(--spacing-2xl); }
.actions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--spacing-md); }
.action-card { background: var(--white); padding: var(--spacing-lg); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); text-align: center; transition: var(--transition-normal); position: relative; overflow: hidden; }
.action-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--gradient-secondary); transform: scaleX(0); transition: var(--transition-normal); }
.action-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-xl); }
.action-card:hover::before { transform: scaleX(1); }
.action-icon { width: 70px; height: 70px; margin: 0 auto var(--spacing-md); background: var(--gray-100); border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; transition: var(--transition-normal); }
.action-icon i { font-size: 1.75rem; color: var(--primary); transition: var(--transition-normal); }
.action-card:hover .action-icon { background: var(--gradient-primary); }
.action-card:hover .action-icon i { color: var(--white); }
.action-card h3 { font-family: var(--font-primary); font-size: 1.1rem; margin-bottom: 0.5rem; }
.action-card p { color: var(--gray-600); font-size: 0.9rem; margin-bottom: var(--spacing-sm); }
.action-link { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--primary); }
.action-link:hover { color: var(--secondary); gap: 0.75rem; }

/* SERVICES SECTION */
.services { padding: var(--spacing-2xl) 0; background: var(--gray-100); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-lg); }
.service-card { background: var(--white); padding: var(--spacing-xl); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); transition: var(--transition-normal); position: relative; overflow: hidden; }
.service-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: var(--gradient-secondary); transform: scaleX(0); transition: var(--transition-normal); }
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-xl); }
.service-card:hover::after { transform: scaleX(1); }
.service-card.featured { background: var(--gradient-primary); color: var(--white); }
.service-card.featured h3, .service-card.featured p { color: var(--white); }
.service-card.featured .service-icon { background: rgba(255, 255, 255, 0.2); }
.service-card.featured .service-icon i { color: var(--white); }
.service-icon { width: 70px; height: 70px; background: rgba(45, 90, 123, 0.1); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; margin-bottom: var(--spacing-md); }
.service-icon i { font-size: 1.75rem; color: var(--primary); }
.service-card h3 { font-family: var(--font-primary); font-size: 1.25rem; margin-bottom: var(--spacing-sm); }
.service-card p { color: var(--gray-600); margin-bottom: var(--spacing-md); }
.service-link { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--secondary); }
.service-card.featured .service-link { color: var(--white); }

/* MISSIONS SECTION */
.missions { padding: var(--spacing-2xl) 0; }
.missions-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-2xl); align-items: center; }
.missions-list { margin: var(--spacing-lg) 0; }
.mission-item { display: flex; align-items: flex-start; gap: var(--spacing-sm); margin-bottom: var(--spacing-md); }
.mission-check { width: 28px; height: 28px; background: var(--gradient-secondary); border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.mission-check i { font-size: 0.75rem; color: var(--white); }
.mission-item p { color: var(--gray-700); margin: 0; }
.missions-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-md); padding-top: var(--spacing-lg); border-top: 1px solid var(--gray-200); }
.stat-item { text-align: center; }
.stat-number { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 700; color: var(--primary); line-height: 1; }
.stat-label { font-size: 0.9rem; color: var(--gray-600); }
.missions-image { position: relative; }
.image-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xl); }
.image-frame img { width: 100%; height: 500px; object-fit: cover; }
.experience-badge { position: absolute; bottom: -30px; left: -30px; width: 140px; height: 140px; background: var(--gradient-secondary); border-radius: var(--radius-full); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--white); box-shadow: var(--shadow-xl); }
.experience-badge strong { font-family: var(--font-heading); font-size: 2.5rem; line-height: 1; }
.experience-badge span { font-size: 0.875rem; text-align: center; }

/* PRODUCTS SECTION */
.products-section { padding: var(--spacing-2xl) 0; background: var(--gray-100); }
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--spacing-lg); }
.product-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); transition: var(--transition-normal); }
.product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-xl); }
.product-image { position: relative; height: 250px; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-slow); }
.product-card:hover .product-image img { transform: scale(1.1); }
.product-badge { position: absolute; top: 15px; left: 15px; background: var(--accent); color: var(--white); padding: 0.25rem 0.75rem; border-radius: var(--radius-sm); font-size: 0.75rem; font-weight: 600; }
.product-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7), transparent); opacity: 0; transition: var(--transition-normal); display: flex; align-items: flex-end; justify-content: center; padding: var(--spacing-md); }
.product-card:hover .product-overlay { opacity: 1; }
.product-price-tag { position: absolute; top: 15px; right: 15px; background: var(--secondary); color: var(--white); padding: 0.5rem 1rem; border-radius: var(--radius-sm); font-weight: 700; font-size: 0.95rem; box-shadow: var(--shadow-md); }
.product-content { padding: var(--spacing-md); }
.product-lang { display: inline-block; background: rgba(45, 90, 123, 0.1); color: var(--primary); padding: 0.25rem 0.75rem; border-radius: var(--radius-sm); font-size: 0.8rem; font-weight: 600; margin-bottom: 0.5rem; }
.product-card h3 { font-family: var(--font-primary); font-size: 1rem; margin-bottom: 0.5rem; }
.product-card .price { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; color: var(--secondary); }

/* GALLERY SECTION */
.gallery-section { padding: var(--spacing-2xl) 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--spacing-md); }
.gallery-item { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-slow); }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(45, 90, 123, 0.9), transparent); opacity: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: var(--spacing-md); transition: var(--transition-normal); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h4 { color: var(--white); font-family: var(--font-primary); font-size: 1rem; margin-bottom: 0.25rem; }
.gallery-overlay span { color: rgba(255, 255, 255, 0.8); font-size: 0.875rem; }
.gallery-zoom { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0); width: 50px; height: 50px; background: var(--secondary); border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; color: var(--white); transition: var(--transition-normal); }
.gallery-item:hover .gallery-zoom { transform: translate(-50%, -50%) scale(1); }
.gallery-filters { display: flex; justify-content: center; gap: var(--spacing-sm); margin-bottom: var(--spacing-xl); flex-wrap: wrap; }
.filter-btn { padding: 0.75rem 1.5rem; background: var(--white); border: 2px solid var(--gray-200); border-radius: var(--radius-xl); font-weight: 500; color: var(--gray-600); cursor: pointer; transition: var(--transition-normal); }
.filter-btn:hover, .filter-btn.active { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* EVENTS SECTION */
.events-section { padding: var(--spacing-2xl) 0; background: var(--gray-100); }
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-lg); }
.event-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); transition: var(--transition-normal); }
.event-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-xl); }
.event-image { position: relative; height: 200px; overflow: hidden; }
.event-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-slow); }
.event-card:hover .event-image img { transform: scale(1.05); }
.event-date { position: absolute; top: 15px; left: 15px; background: var(--white); padding: 0.75rem; border-radius: var(--radius-md); text-align: center; box-shadow: var(--shadow-md); min-width: 60px; }
.event-date .day { display: block; font-family: var(--font-heading); font-size: 1.75rem; font-weight: 700; color: var(--primary); line-height: 1; }
.event-date .month { display: block; font-size: 0.75rem; text-transform: uppercase; color: var(--gray-600); font-weight: 600; }
.event-status { position: absolute; top: 15px; right: 15px; padding: 0.5rem 1rem; border-radius: var(--radius-xl); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; }
.event-status.upcoming { background: var(--secondary); color: var(--white); }
.event-status.past { background: var(--gray-300); color: var(--gray-700); }
.event-content { padding: var(--spacing-md); }
.event-meta { display: flex; gap: var(--spacing-md); margin-bottom: var(--spacing-sm); }
.event-meta span { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--gray-600); }
.event-meta i { color: var(--primary); }
.event-card h3 { font-family: var(--font-primary); font-size: 1.1rem; margin-bottom: 0.5rem; }
.event-card p { color: var(--gray-600); font-size: 0.9rem; margin-bottom: var(--spacing-sm); }
.event-link { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--primary); }
.event-link:hover { color: var(--secondary); gap: 0.75rem; }

/* CTA SECTION */
.cta-section { position: relative; padding: var(--spacing-2xl) 0; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; background: var(--gradient-hero); z-index: -1; }
.cta-bg::before { content: ''; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='50' cy='50' r='40'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.cta-content { text-align: center; color: var(--white); max-width: 700px; margin: 0 auto; }
.cta-content h2 { color: var(--white); margin-bottom: var(--spacing-sm); }
.cta-content p { color: rgba(255, 255, 255, 0.9); font-size: 1.125rem; margin-bottom: var(--spacing-lg); }
.cta-buttons { display: flex; gap: var(--spacing-sm); justify-content: center; flex-wrap: wrap; }

/* FOOTER */
.footer { background: var(--black); color: rgba(255, 255, 255, 0.8); }
.footer-top { padding: var(--spacing-2xl) 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: var(--spacing-xl); }
.footer-logo { display: flex; align-items: center; gap: 0.75rem; margin-bottom: var(--spacing-md); }
.footer-logo img { width: 50px; height: 50px; border-radius: var(--radius-md); }
.footer-logo span { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--white); }
.footer-about p { margin-bottom: var(--spacing-md); line-height: 1.8; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a { width: 40px; height: 40px; background: rgba(255, 255, 255, 0.1); border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; color: var(--white); transition: var(--transition-normal); }
.footer-social a:hover { background: var(--secondary); transform: translateY(-3px); }
.footer-links h4, .footer-contact h4 { color: var(--white); font-family: var(--font-primary); font-size: 1.1rem; margin-bottom: var(--spacing-md); position: relative; padding-bottom: 0.75rem; }
.footer-links h4::after, .footer-contact h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 2px; background: var(--secondary); }
.footer-links ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a { color: rgba(255, 255, 255, 0.7); transition: var(--transition-normal); }
.footer-links a:hover { color: var(--secondary); padding-left: 5px; }
.footer-contact ul { display: flex; flex-direction: column; gap: var(--spacing-sm); }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.75rem; }
.footer-contact i { color: var(--secondary); margin-top: 4px; }
.footer-contact a { color: rgba(255, 255, 255, 0.7); }
.footer-contact a:hover { color: var(--secondary); }
.footer-bottom { padding: var(--spacing-md) 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-bottom-content { display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { margin: 0; font-size: 0.9rem; }
.footer-bottom-links { display: flex; gap: var(--spacing-md); }
.footer-bottom-links a { font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); }
.footer-bottom-links a:hover { color: var(--secondary); }

/* BACK TO TOP */
.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background: var(--gradient-primary); border: none; border-radius: var(--radius-full); color: var(--white); font-size: 1.25rem; cursor: pointer; opacity: 0; visibility: hidden; transition: var(--transition-normal); z-index: 999; box-shadow: var(--shadow-lg); }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(45, 90, 123, 0.4); }

/* RESPONSIVE */
@media (max-width: 1200px) {
    .hero-image-container { width: 350px; height: 350px; }
    .hero-main-image { width: 240px; height: 240px; }
    .products-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
    .nav-menu { position: fixed; top: 0; left: -100%; width: 100%; height: 100vh; background: var(--gradient-hero); flex-direction: column; justify-content: center; align-items: center; gap: var(--spacing-lg); transition: var(--transition-normal); z-index: 998; }
    .nav-menu.active { left: 0; }
    .nav-link { font-size: 1.25rem; color: var(--white); }
    .mobile-toggle { display: flex; z-index: 999; }
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-visual { display: none; }
    .hero-buttons { justify-content: center; }
    .actions-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: 1fr; }
    .missions-wrapper { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .events-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    html { font-size: 15px; }
    .actions-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .events-grid { grid-template-columns: 1fr; }
    .missions-stats { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-links h4::after, .footer-contact h4::after { left: 50%; transform: translateX(-50%); }
    .footer-social { justify-content: center; }
    .footer-bottom-content { flex-direction: column; gap: var(--spacing-sm); }
    .page-banner { padding: 150px 0 80px; }
}

@media (max-width: 480px) {
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn, .hero-buttons .video-btn { width: 100%; }
    .experience-badge { width: 100px; height: 100px; bottom: -20px; left: -10px; }
    .experience-badge strong { font-size: 1.75rem; }
    .cta-buttons { flex-direction: column; }
    .gallery-grid { grid-template-columns: 1fr; }
}

/* WordPress Specific */
.wp-block-image img { max-width: 100%; height: auto; }
.alignleft { float: left; margin-right: var(--spacing-md); margin-bottom: var(--spacing-sm); }
.alignright { float: right; margin-left: var(--spacing-md); margin-bottom: var(--spacing-sm); }
.aligncenter { display: block; margin: 0 auto var(--spacing-md); }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.875rem; color: var(--gray-600); text-align: center; padding: var(--spacing-xs); }
body.admin-bar .header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .header { top: 46px; } }
