/var/www/coeditor.org/users/drasio.gr/assets/css
NameSizeModeActions
base.css177980644editdlrm
theme.css12880644editdlrm
Edit: /var/www/coeditor.org/users/drasio.gr/assets/css/base.css (17798B)
/* ============================ Base CSS — shared styles only Block-specific CSS lives in each block's scss field and is assembled by the builder at compile time. ============================ */ /* CSS Custom Properties */ :root { /* Brand */ --primaryColor: #007bff; --secondaryColor: #6610f2; --fontFamily: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; /* Surfaces */ --bg: #ffffff; --bg-alt: #f8f9fa; --bg-hover: #f5f5f5; /* Text */ --text: #111111; --text-body: #333333; --text-muted: #666666; --color-on-primary: #ffffff; /* Borders */ --border: #e0e0e0; --border-light: #f0f0f0; /* Shadows */ --shadow-sm: 0 2px 4px rgba(0,0,0,0.1); --shadow-md: 0 4px 12px rgba(0,0,0,0.12); --shadow-lg: 0 8px 24px rgba(0,0,0,0.1); --shadow-xl: 0 12px 32px rgba(0,0,0,0.12); /* Border Radius */ --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px; /* Accent */ --rating-color: #ffc107; --overlay-bg: rgba(0,0,0,0.7); /* Footer */ --footer-bg: var(--text); --footer-text: var(--bg); --footer-muted: var(--text-muted); --footer-border: rgba(255,255,255,0.1); --header-anchor-offset: 64px; } * { box-sizing: border-box; } html { scroll-behavior: smooth; } body { margin: 0; font-family: var(--fontFamily); background: var(--bg); color: var(--text); line-height: 1.6; } .container { max-width: 1140px; margin: 0 auto; padding: 0 20px; } .block { padding: 60px 0; } /* ===== Button Styles ===== */ .btn { display: inline-block; padding: 14px 28px; border-radius: var(--radius-sm); background: var(--primaryColor); color: var(--color-on-primary); text-decoration: none; font-weight: 600; font-size: 16px; transition: all 0.3s ease; border: none; cursor: pointer; } .btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); } .btn-primary { background: var(--primaryColor); color: var(--color-on-primary); } .btn-secondary { background: var(--bg); color: var(--primaryColor); border: 2px solid var(--primaryColor); } .btn-secondary:hover { background: var(--primaryColor); color: var(--color-on-primary); } .btn-primary-outline { background: transparent; color: var(--primaryColor); border: 2px solid var(--primaryColor); } .btn-primary-outline:hover { background: var(--primaryColor); color: var(--color-on-primary); transform: translateY(0); } /* ===== Section Common Styles ===== */ .section-title { font-size: 40px; font-weight: 700; text-align: center; margin: 0 0 16px 0; line-height: 1.2; } .section-subtitle { font-size: 18px; color: var(--text-muted); text-align: center; margin: 0 0 48px 0; max-width: 700px; margin-left: auto; margin-right: auto; } @media (max-width: 768px) { .section-title { font-size: 32px; } .section-subtitle { font-size: 16px; } } /* ===== Scroll to Top Button ===== */ .scroll-to-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; border-radius: 50%; background: var(--primaryColor); color: var(--color-on-primary); border: none; font-size: 24px; cursor: pointer; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 1000; display: flex; align-items: center; justify-content: center; line-height: 1; } .scroll-to-top.visible { opacity: 1; visibility: visible; } .scroll-to-top:hover { background: var(--secondaryColor); transform: translateY(-5px); box-shadow: var(--shadow-lg); } .scroll-to-top:active { transform: translateY(-2px); } @media (max-width: 768px) { .scroll-to-top { bottom: 20px; right: 20px; width: 45px; height: 45px; font-size: 20px; } } /* ===== Cookie Consent Banner ===== */ .cookie-consent { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(0, 0, 0, 0.95); color: var(--color-on-primary); padding: 20px; box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3); z-index: 9999; transform: translateY(100%); transition: transform 0.4s ease; } .cookie-consent.show { transform: translateY(0); } .cookie-consent-content { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; } .cookie-consent-text { margin: 0; font-size: 15px; line-height: 1.6; flex: 1; } .cookie-consent-btn { background: var(--primaryColor); color: var(--color-on-primary); border: none; padding: 12px 32px; font-size: 15px; font-weight: 600; border-radius: var(--radius-sm); cursor: pointer; white-space: nowrap; transition: all 0.3s ease; } .cookie-consent-btn:hover { background: var(--secondaryColor); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3); } .cookie-consent-btn:active { transform: translateY(0); } @media (max-width: 768px) { .cookie-consent { padding: 16px; } .cookie-consent-content { flex-direction: column; gap: 16px; text-align: center; } .cookie-consent-text { font-size: 14px; } .cookie-consent-btn { width: 100%; padding: 14px 24px; } } /* header */ /* Header Styles */ .block-header { padding: 0; box-shadow: var(--shadow-sm); transition: all 0.3s ease; background: var(--bg); } .header-sticky { position: sticky; top: 0; z-index: 100; background: var(--bg); } .header-sticky .container { transition: padding 0.25s ease, gap 0.25s ease; } .header-sticky .logo, .header-sticky .logo-image, .header-sticky .menu > a, .header-sticky .menu-item-has-children, .header-sticky .btn-header { transition: all 0.25s ease; } .header-sticky.header-scrolled .container { padding-top: 8px; padding-bottom: 8px; gap: 20px; } .header-sticky.header-scrolled .logo { font-size: 20px; } .header-sticky.header-scrolled .logo-image { height: 48px; } .header-sticky.header-scrolled .menu > a, .header-sticky.header-scrolled .menu-item-has-children { font-size: 15px; padding-top: 6px; padding-bottom: 6px; } .header-sticky.header-scrolled .btn-header { padding: 8px 18px; font-size: 14px; } [id] { scroll-margin-top: var(--header-anchor-offset); } .block-header .container { display: flex; justify-content: space-between; align-items: center; padding: 8px 16px; position: relative; gap: 32px; } .block-header .logo { font-size: 24px; font-weight: 700; text-decoration: none; color: inherit; margin: 0; display: flex; align-items: center; } .block-header .logo:hover { opacity: 0.8; } .logo-image { height: 64px; width: auto; object-fit: contain; } .block-header .menu { display: flex; gap: 32px; align-items: center; margin: 0; } .block-header .menu > a, .menu-item-has-children { color: inherit; text-decoration: none; font-weight: 500; font-size: 16px; transition: opacity 0.2s ease; position: relative; padding: 8px 0; } .block-header .menu > a:hover, .menu-item-has-children:hover { opacity: 0.8; } .block-header .menu > a::after { content: ''; position: absolute; bottom: 4px; left: 0; right: 0; height: 2px; background: currentColor; transform: scaleX(0); transition: transform 0.2s ease; } .block-header .menu > a:hover::after { transform: scaleX(1); } /* Dropdown Menu */ .menu-item-dropdown { position: relative; } .menu-item-has-children { display: flex; align-items: center; gap: 4px; cursor: pointer; } .dropdown-arrow { font-size: 10px; transition: transform 0.3s ease; } .menu-item-dropdown:hover .dropdown-arrow { transform: rotate(180deg); } .submenu { position: absolute; top: 100%; left: 0; min-width: 200px; background: var(--bg); box-shadow: var(--shadow-md); border-radius: var(--radius-sm); padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.3s ease; z-index: 50; } .menu-item-dropdown:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); } .submenu a { display: block; padding: 10px 20px; color: var(--text-body); text-decoration: none; font-size: 15px; transition: background 0.2s ease; } .submenu a:hover { background: var(--bg-hover); } .block-header .header-nav { display: flex; align-items: center; gap: 24px; flex: 1; } .block-header .header-buttons { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-shrink: 0; } .header-buttons-mobile { display: none; } /* Menu alignment */ .block-header.menu-left .header-nav { justify-content: flex-start; } .block-header.menu-center .header-nav { justify-content: center; } .block-header.menu-right .header-nav { justify-content: flex-end; } .btn-header { padding: 10px 24px; font-size: 15px; font-weight: 600; white-space: nowrap; } .btn-header.btn-primary { background: var(--primaryColor); color: var(--color-on-primary); border: 2px solid var(--primaryColor); } .btn-header.btn-primary:hover { background: var(--secondaryColor); color: var(--color-on-primary); border-color: var(--secondaryColor); } .btn-header.btn-outline { background: var(--primaryColor); color: var(--color-on-primary); border: 2px solid var(--primaryColor); } .btn-header.btn-outline:hover { background: var(--secondaryColor); color: var(--color-on-primary); border-color: var(--secondaryColor); } /* Mobile Menu Toggle Button */ .mobile-menu-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 101; order: -1; } .mobile-menu-toggle span { display: block; width: 25px; height: 3px; background: var(--text); transition: all 0.3s ease; border-radius: 2px; } .mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); } .mobile-menu-toggle.active span:nth-child(2) { opacity: 0; } .mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); } /* Responsive */ @media (max-width: 768px) { .block-header .container { flex-wrap: nowrap; } .block-header .mobile-menu-toggle { display: flex !important; } .block-header .header-buttons .btn-header:not(:first-child) { display: none; } .block-header .header-buttons .btn-header { padding: 8px 16px; font-size: 13px; } .block-header .header-nav { position: fixed; top: 0; left: -100%; width: 280px; height: 100vh; background: var(--bg); color: var(--text); flex-direction: column; justify-content: flex-start; gap: 0; padding: 80px 0 20px; box-shadow: 4px 0 20px rgba(0,0,0,0.1); transition: left 0.3s ease; overflow-y: auto; z-index: 100; } .header-buttons-mobile { display: flex; flex-direction: column; gap: 10px; padding: 24px; margin-top: auto; border-top: 1px solid var(--border-light); } .header-buttons-mobile .btn-header { width: 100%; text-align: center; justify-content: center; } .block-header .header-nav.active { left: 0; } .block-header .menu { gap: 0; flex-direction: column; width: 100%; align-items: stretch; } .block-header .menu > a, .menu-item-has-children { padding: 16px 24px; font-size: 16px; border-bottom: 1px solid var(--border-light); color: var(--text-body) !important; } .block-header .menu > a::after { display: none; } .menu-item-dropdown { width: 100%; } .menu-item-has-children { justify-content: space-between; } .submenu { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0; background: var(--bg-alt); max-height: 0; overflow: hidden; transition: max-height 0.3s ease; } .menu-item-dropdown.active .submenu { max-height: 300px; } .menu-item-dropdown.active .dropdown-arrow { transform: rotate(180deg); } .submenu a { padding: 12px 24px 12px 40px; font-size: 15px; color: var(--text-muted); border-bottom: 1px solid var(--border-light); display: block; } .submenu a:hover { background: var(--bg-hover); } .dropdown-arrow { display: inline-block; font-size: 10px; transition: transform 0.3s ease; } } /* hero */ /* Hero Styles */ .block-hero { text-align: center; position: relative; display: flex; align-items: center; justify-content: center; } /* Hero with background */ .block-hero.hero-with-background { background-size: cover; background-position: center; background-repeat: no-repeat; color: var(--color-on-primary); } .block-hero.hero-with-background h1, .block-hero.hero-with-background p { color: var(--color-on-primary); text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); } /* Video Background */ .hero-video-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; z-index: 0; } .hero-video-background video { min-width: 100%; min-height: 100%; width: auto; height: auto; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); object-fit: cover; } /* Overlay */ .hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #000; z-index: 1; } /* Content */ .hero-content { position: relative; z-index: 2; } /* Text Alignment */ .block-hero[data-text-align="left"] { text-align: left; } .block-hero[data-text-align="left"] p { margin-left: 0; margin-right: 0; } .block-hero[data-text-align="right"] { text-align: right; } .block-hero[data-text-align="right"] p { margin-left: auto; margin-right: 0; } /* Hero Split Layout */ .hero-split { text-align: left; } .hero-content-split { display: flex; align-items: center; gap: 60px; } .hero-content-split .hero-text { flex: 1; min-width: 0; } .hero-content-split .hero-text p { margin-left: 0; margin-right: 0; } .hero-content-split .hero-widget { flex: 0 0 420px; display: flex; flex-direction: column; align-items: center; } .block-hero h1 { font-size: 48px; font-weight: 700; margin: 0 0 20px 0; line-height: 1.2; } .block-hero p { font-size: 20px; color: var(--text-muted); margin: 0 0 32px 0; max-width: 700px; margin-left: auto; margin-right: auto; } /* Responsive */ @media (max-width: 768px) { .block-hero h1 { font-size: 32px; } .block-hero p { font-size: 18px; } /* Hero Split - stack on mobile */ .hero-content-split { flex-direction: column; gap: 32px; text-align: center; } .hero-content-split .hero-text p { margin-left: auto; margin-right: auto; } .hero-content-split .hero-widget { flex: none; width: 100%; max-width: 320px; margin: 0 auto; } } /* footer */ /* Footer Styles */ .block-footer { text-align: center; padding: 40px 0; background: var(--footer-bg); color: var(--footer-text); } .block-footer p { margin: 0; opacity: 0.8; } /* Extended Footer v2 Styles */ .block-footer-extended { padding: 60px 0 30px 0; text-align: left; } .footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--footer-border); } .footer-column { display: flex; flex-direction: column; } .footer-company { max-width: 300px; } .footer-logo { max-width: 150px; height: auto; margin-bottom: 16px; } .footer-company-name { font-size: 24px; font-weight: 700; margin: 0 0 12px 0; color: inherit; } .footer-description { font-size: 14px; line-height: 1.6; margin: 0; opacity: 0.8; } .footer-column-title { font-size: 16px; font-weight: 600; margin: 0 0 16px 0; color: inherit; text-transform: uppercase; letter-spacing: 0.5px; } .footer-links, .footer-contacts { list-style: none; padding: 0; margin: 0; } .footer-links li, .footer-contacts li { margin-bottom: 10px; } .footer-links a, .footer-contacts a { color: inherit; text-decoration: none; font-size: 14px; opacity: 0.8; transition: opacity 0.2s ease; } .footer-links a:hover, .footer-contacts a:hover { opacity: 1; text-decoration: underline; } .footer-contacts li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; } .footer-contact-icon { display: flex; align-items: center; flex-shrink: 0; opacity: 0.8; width: 18px; height: 18px; margin-top: 1px; } .footer-contact-icon svg { width: 18px; height: 18px; } .footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; padding-top: 20px; } .footer-social { display: flex; gap: 16px; align-items: center; } .footer-social-link { width: 40px; height: 40px; border-radius: 50%; background: var(--footer-border); display: flex; align-items: center; justify-content: center; color: inherit; text-decoration: none; font-size: 20px; transition: all 0.3s ease; position: relative; } .footer-social-link svg { width: 20px; height: 20px; fill: currentColor; transition: all 0.3s ease; } .footer-social-link:hover { background: rgba(255,255,255,0.2); transform: translateY(-3px); } .footer-social-link:hover svg { transform: scale(1.1); } .footer-copyright { font-size: 14px; opacity: 0.7; } /* Responsive */ @media (max-width: 768px) { .footer-content { grid-template-columns: 1fr; gap: 30px; } .footer-bottom { flex-direction: column; text-align: center; } .footer-social { order: -1; } }