/* Variables and Reset */ :root { --primary-color: #FF6B35; --secondary-color: #FF8A50; --accent-color: #FFA726; --text-color: #E0E0E0; --bg-dark: #1a1a1a; --bg-darker: #0f0f0f; --light-bg: #2a2a2a; --white: #FFFFFF; --shadow: 0 2px 10px rgba(255,107,53,0.2); --transition: all 0.3s ease; } * { margin: 0; padding: 0; box-sizing: border-box; } html { scroll-behavior: smooth; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif; line-height: 1.6; color: var(--text-color); background-color: var(--bg-dark); } .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; } /* Typography */ h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; margin-bottom: 1rem; color: var(--white); } h1 { font-size: 2.5rem; } h2 { font-size: 2rem; } h3 { font-size: 1.5rem; } p { margin-bottom: 1rem; } a { color: var(--primary-color); text-decoration: none; transition: var(--transition); } a:hover { color: var(--secondary-color); } /* Article content links - ensure visibility */ .article-content a { color: var(--primary-color); text-decoration: underline; text-decoration-color: rgba(255, 107, 53, 0.4); text-underline-offset: 2px; transition: var(--transition); } .article-content a:hover { color: #FFB74D; text-decoration-color: #FFB74D; } .article-content a[target="_blank"]::after { content: " ↗"; font-size: 0.8em; vertical-align: super; color: var(--primary-color); transition: color 0.3s ease; } .article-content a[target="_blank"]:hover::after { color: #FFB74D; } /* Header Styles */ .site-header { background-color: var(--bg-darker); box-shadow: var(--shadow); position: sticky; top: 0; z-index: 1000; border-bottom: 2px solid var(--primary-color); } .navbar { padding: 1rem 0; } .navbar .container { display: flex; justify-content: space-between; align-items: center; } .logo { font-size: 1.8rem; font-weight: 700; color: var(--primary-color); } .logo-text { background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; filter: brightness(1.2); } .nav-toggle { display: none; flex-direction: column; background: none; border: none; cursor: pointer; padding: 0.5rem; } .nav-toggle span { width: 25px; height: 3px; background-color: var(--primary-color); margin: 3px 0; transition: var(--transition); } .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); } .nav-toggle.active span:nth-child(2) { opacity: 0; } .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); } .nav-list { display: flex; list-style: none; gap: 2rem; } .nav-list a { font-weight: 500; padding: 0.5rem 1rem; border-radius: 5px; transition: var(--transition); color: var(--text-color); } .nav-list a:hover { background-color: var(--primary-color); color: var(--white); } /* Hero Section */ .hero { background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 50%, var(--light-bg) 100%); color: var(--white); padding: 4rem 0; position: relative; overflow: hidden; border-bottom: 3px solid var(--primary-color); } .hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; position: relative; z-index: 2; } .hero h1 { font-size: 3rem; margin-bottom: 1.5rem; } .hero p { font-size: 1.2rem; margin-bottom: 2rem; opacity: 0.9; } .hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: flex-start; } @media (max-width: 768px) { .hero-buttons { justify-content: center; } } .hero-animation { height: 400px; position: relative; overflow: hidden; contain: layout style paint; } #d3-animation { width: 100%; height: 100%; overflow: hidden; position: relative; } /* Buttons */ .btn { display: inline-block; padding: 0.8rem 2rem; border-radius: 5px; font-weight: 600; transition: var(--transition); cursor: pointer; border: none; text-align: center; } .btn-primary { background-color: var(--primary-color); color: var(--white); } .btn-primary:hover { background-color: var(--secondary-color); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255,107,53,0.4); } .btn-secondary { background-color: transparent; color: var(--primary-color); border: 2px solid var(--primary-color); } .btn-secondary:hover { background-color: var(--primary-color); color: var(--white); } /* Sections */ .section { padding: 4rem 0; background-color: var(--bg-dark); } .section-title { text-align: center; margin-bottom: 3rem; } .section-title h2 { color: var(--primary-color); margin-bottom: 1rem; } .section-title p { font-size: 1.1rem; color: var(--text-color); max-width: 600px; margin: 0 auto; } /* Cards */ .cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; } .card { background-color: var(--light-bg); border-radius: 10px; box-shadow: var(--shadow); padding: 2rem; transition: var(--transition); border: 1px solid rgba(255,107,53,0.2); } .card:hover { transform: translateY(-5px); box-shadow: 0 5px 20px rgba(255,107,53,0.3); border-color: var(--primary-color); } /* Article Cards - Fix for directory pages */ .article-card { background: var(--light-bg); border: 2px solid rgba(255,107,53,0.3); border-radius: 12px; overflow: hidden; transition: all 0.3s ease; text-decoration: none; display: flex !important; flex-direction: column !important; position: relative; color: var(--text-color) !important; min-height: 420px; height: 100%; box-sizing: border-box; } .article-card:hover { transform: translateY(-8px); border-color: var(--primary-color); box-shadow: 0 15px 40px rgba(255,107,53,0.4); color: inherit; text-decoration: none; } .article-card:visited { color: inherit; } .article-card-image { width: 100%; height: 200px; background: linear-gradient(135deg, #FF6B35 0%, #FF8A50 100%); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; } .article-card-image::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%); animation: cardPulse 4s ease-in-out infinite; } @keyframes cardPulse { 0%, 100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.1); opacity: 0.8; } } .article-card-icon { font-size: 3.5rem; color: white; z-index: 1; text-shadow: 0 2px 10px rgba(0,0,0,0.3); } .article-card-content { padding: 1.8rem; flex: 1; display: flex; flex-direction: column; } .article-card-category { color: var(--primary-color); font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.5rem; } .article-card h3 { color: var(--white); font-size: 1.35rem; margin-bottom: 1rem; line-height: 1.4; font-weight: 600; } .article-card-excerpt { color: var(--text-color); font-size: 0.95rem; line-height: 1.6; margin-bottom: 1.5rem; flex: 1; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; } .article-card-meta { display: flex; justify-content: space-between; align-items: center; color: var(--text-color); font-size: 0.875rem; border-top: 1px solid rgba(255,107,53,0.2); padding-top: 1rem; margin-top: auto; flex-shrink: 0; } .article-card-date { opacity: 0.8; } .article-card-readtime { display: flex; align-items: center; gap: 0.5rem; opacity: 0.8; } .article-card-readmore { color: var(--primary-color); font-weight: 600; display: flex; align-items: center; gap: 0.5rem; transition: all 0.3s ease; } .article-card-readmore::after { content: '→'; transition: transform 0.3s ease; } .article-card:hover .article-card-readmore::after { transform: translateX(5px); } /* Category badges for IA directory */ .category-badge { background: rgba(255,107,53,0.2); padding: 0.25rem 0.75rem; border-radius: 15px; font-size: 0.75rem; border: 1px solid rgba(255,107,53,0.3); } .card-icon { width: 60px; height: 60px; background-color: rgba(255,107,53,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; font-size: 1.5rem; color: var(--primary-color); border: 2px solid var(--primary-color); } .card h3 { color: var(--primary-color); margin-bottom: 1rem; } .card p { margin-bottom: 1rem; color: var(--text-color); } .card ul { color: var(--text-color); } .card ul li { color: var(--text-color); } /* Course Cards Specific Styles */ .course-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,107,53,0.2); } .course-meta span { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--primary-color); font-weight: 600; font-size: 0.9rem; } .duration { color: var(--accent-color); } .level { color: var(--secondary-color); } /* Features */ .features { background-color: var(--bg-darker); } .feature-item { display: flex; align-items: start; gap: 1.5rem; margin-bottom: 2rem; } .feature-item p { color: var(--text-color); } .feature-icon { flex-shrink: 0; width: 50px; height: 50px; background-color: var(--primary-color); color: var(--white); border-radius: 10px; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(255,107,53,0.3); } /* Footer */ .site-footer { background-color: var(--bg-darker); color: var(--white); padding: 3rem 0 1rem; margin-top: 0; border-top: 3px solid var(--primary-color); } .footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-bottom: 2rem; } .footer-section h3 { margin-bottom: 1rem; } .footer-links { list-style: none; } .footer-links li { margin-bottom: 0.5rem; } .footer-links a { color: var(--text-color); } .footer-links a:hover { color: var(--primary-color); } .footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,107,53,0.2); color: var(--text-color); } /* Legal Pages */ .legal-page { padding: 3rem 0; } .legal-content { max-width: 800px; margin: 0 auto; background-color: var(--white); padding: 3rem; border-radius: 10px; box-shadow: var(--shadow); } .legal-content h1 { color: var(--primary-color); margin-bottom: 2rem; } .legal-content h2 { color: var(--secondary-color); margin-top: 2rem; margin-bottom: 1rem; } .legal-content ul { margin-left: 2rem; margin-bottom: 1rem; } /* Responsive Design */ @media (max-width: 768px) { .nav-toggle { display: flex; } .nav-menu { position: fixed; top: 70px; right: -100%; width: 100%; background-color: var(--bg-darker); box-shadow: var(--shadow); transition: var(--transition); border-left: 3px solid var(--primary-color); } .nav-menu.active { right: 0; } .nav-list { flex-direction: column; padding: 2rem; gap: 0; } .nav-list li { margin: 0.5rem 0; } .hero-content { grid-template-columns: 1fr; text-align: center; } .hero h1 { font-size: 2rem; } .hero-animation { height: 300px; } .cards-grid { grid-template-columns: 1fr; } } /* Animations */ @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .fade-in { animation: fadeIn 0.6s ease-out; } /* Cookie Banner */ .cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background-color: var(--bg-darker); border-top: 3px solid var(--primary-color); box-shadow: 0 -5px 20px rgba(255,107,53,0.3); transform: translateY(100%); transition: transform 0.4s ease-out; z-index: 9999; padding: 2rem; } .cookie-banner.active { transform: translateY(0); } .cookie-banner-content { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; } .cookie-text { flex: 1; color: var(--text-color); min-width: 300px; } .cookie-text h3 { color: var(--primary-color); margin-bottom: 0.5rem; } .cookie-buttons { display: flex; gap: 1rem; flex-wrap: wrap; } .cookie-btn { padding: 0.8rem 1.5rem; border: none; border-radius: 5px; font-weight: 600; cursor: pointer; transition: var(--transition); white-space: nowrap; } .cookie-btn-accept { background-color: var(--primary-color); color: var(--white); } .cookie-btn-accept:hover { background-color: var(--secondary-color); transform: translateY(-2px); } .cookie-btn-reject { background-color: transparent; color: var(--text-color); border: 2px solid var(--text-color); } .cookie-btn-reject:hover { background-color: var(--text-color); color: var(--bg-darker); } .cookie-btn-configure { background-color: var(--light-bg); color: var(--primary-color); border: 2px solid var(--primary-color); } .cookie-btn-configure:hover { background-color: var(--primary-color); color: var(--white); } @media (max-width: 768px) { .cookie-banner-content { flex-direction: column; text-align: center; } .cookie-buttons { justify-content: center; width: 100%; } } /* Enhanced Article Styling for Odoo-IA Pages */ .feature-box { background: rgba(255,107,53,0.1); border: 2px solid rgba(255,107,53,0.3); border-radius: 12px; padding: 1.5rem; margin: 1.5rem 0; transition: all 0.3s ease; } .feature-box:hover { border-color: var(--primary-color); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255,107,53,0.2); } .feature-box h3 { color: var(--primary-color); font-size: 1.3rem; margin-bottom: 1rem; } .highlight-stat { background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); color: var(--white); padding: 0.2rem 0.6rem; border-radius: 4px; font-weight: 600; font-size: 0.9em; white-space: nowrap; } .highlight-metric { background: rgba(255,107,53,0.2); color: var(--primary-color); padding: 0.2rem 0.6rem; border-radius: 4px; font-weight: 600; border: 1px solid rgba(255,107,53,0.3); } /* Enhanced Breadcrumbs for Article Pages */ .breadcrumbs { background: var(--light-bg); padding: 1rem; border-radius: 8px; margin-bottom: 2rem; border: 1px solid rgba(255,107,53,0.2); } .breadcrumb-list { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; } .breadcrumb-item { display: inline; } .breadcrumb-item a { color: #b0b0b0; text-decoration: none; transition: color 0.3s ease; } .breadcrumb-item a:hover { color: var(--primary-color); } .breadcrumb-separator { margin: 0 0.5rem; color: #666; } .breadcrumb-item.active { color: var(--text-color); } /* Article Content Enhancements */ .article-content { background: var(--light-bg); border-radius: 12px; padding: 2rem; margin: 2rem auto; max-width: 1200px; border: 2px solid rgba(255,107,53,0.3); box-shadow: 0 4px 20px rgba(0,0,0,0.1); } .article-content h1 { color: var(--primary-color); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin-bottom: 1.5rem; line-height: 1.2; } .article-content h2 { color: var(--primary-color); font-size: 1.8rem; margin: 2rem 0 1rem 0; border-left: 4px solid var(--primary-color); padding-left: 1rem; } .article-content h3 { color: var(--secondary-color); font-size: 1.3rem; margin: 1.5rem 0 0.5rem 0; } .article-content p { line-height: 1.7; margin-bottom: 1rem; font-size: 1.1rem; } .article-content ul, .article-content ol { margin: 1rem 0; padding-left: 2rem; } .article-content li { margin-bottom: 0.5rem; line-height: 1.6; } .article-content strong { color: #FFB74D; } .article-content blockquote { background: rgba(255,107,53,0.1); border-left: 4px solid var(--primary-color); padding: 1rem 1.5rem; margin: 2rem 0; font-style: italic; border-radius: 0 8px 8px 0; } /* Case Study and Highlight Boxes */ .case-study-box { background: linear-gradient(135deg, rgba(255,107,53,0.1) 0%, rgba(255,138,80,0.05) 100%); border: 2px solid rgba(255,107,53,0.3); border-radius: 12px; padding: 2rem; margin: 2rem 0; position: relative; overflow: hidden; } .case-study-box::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary-color), var(--secondary-color)); } .case-study-title { color: var(--primary-color); font-size: 1.3rem; font-weight: 700; margin-bottom: 1rem; } /* Responsive Design Improvements */ @media (max-width: 768px) { .article-content { margin: 1rem; padding: 1.5rem; border-radius: 8px; } .article-content h1 { font-size: 2rem; } .article-content h2 { font-size: 1.5rem; } .breadcrumbs { margin: 1rem; padding: 0.75rem; } .breadcrumb-list { font-size: 0.875rem; } .feature-box { padding: 1rem; margin: 1rem 0; } .case-study-box { padding: 1.5rem; margin: 1.5rem 0; } } @media (max-width: 480px) { .article-content { padding: 1rem; } .article-content h1 { font-size: 1.8rem; } .article-content h2 { font-size: 1.3rem; } .highlight-stat, .highlight-metric { font-size: 0.8em; padding: 0.15rem 0.4rem; } } /* Utility Classes */ .text-center { text-align: center; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; } .mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; } .mb-3 { margin-bottom: 3rem; } /* Language Switcher Styles */ .language-switcher { position: relative; margin-left: 1.5rem; } .lang-toggle { display: flex; align-items: center; gap: 0.5rem; background: rgba(255, 107, 53, 0.1); border: 1px solid rgba(255, 107, 53, 0.3); border-radius: 8px; padding: 0.5rem 0.75rem; cursor: pointer; transition: var(--transition); color: var(--text-color); font-size: 0.9rem; } .lang-toggle:hover { background: rgba(255, 107, 53, 0.2); border-color: var(--primary-color); } .lang-flag { font-size: 1.1rem; line-height: 1; } .lang-code { font-weight: 600; letter-spacing: 0.5px; } .lang-arrow { transition: transform 0.3s ease; } .language-switcher.open .lang-arrow { transform: rotate(180deg); } .lang-dropdown { position: absolute; top: calc(100% + 8px); right: 0; background: var(--bg-darker); border: 1px solid rgba(255, 107, 53, 0.3); border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.3s ease; min-width: 160px; z-index: 1001; overflow: hidden; } .language-switcher.open .lang-dropdown { opacity: 1; visibility: visible; transform: translateY(0); } .lang-option { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; color: var(--text-color); text-decoration: none; transition: var(--transition); } .lang-option:hover { background: rgba(255, 107, 53, 0.15); color: var(--white); } .lang-option.active { background: rgba(255, 107, 53, 0.25); color: var(--primary-color); } .lang-option .lang-flag { font-size: 1.2rem; } .lang-option .lang-name { font-size: 0.95rem; } /* Mobile responsive for language switcher */ @media (max-width: 768px) { .nav-menu { position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-darker); padding: 1rem; display: none; flex-direction: column; border-top: 1px solid rgba(255, 107, 53, 0.2); } .nav-menu.active { display: flex; } .nav-list { flex-direction: column; gap: 0; } .nav-list li { border-bottom: 1px solid rgba(255, 107, 53, 0.1); } .nav-list a { display: block; padding: 1rem; } .nav-toggle { display: flex; } .language-switcher { margin: 1rem 0 0 0; border-top: 1px solid rgba(255, 107, 53, 0.2); padding-top: 1rem; } .lang-toggle { width: 100%; justify-content: center; } .lang-dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; border-radius: 0; display: none; background: transparent; } .language-switcher.open .lang-dropdown { display: block; } .lang-option { justify-content: center; border-bottom: 1px solid rgba(255, 107, 53, 0.1); } }