Files
Websites/Profice WebSite/style/design.css
2026-01-28 16:04:48 +01:00

1042 lines
20 KiB
CSS

:root {
--primary-dark: #4F4747;
--primary-light: #EBEBDE;
--primary-mid: #777764;
--accent-orange: #F57C00;
--accent-teal: #26A69A;
--accent-green: #66BB6A;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
background-color: var(--primary-light);
color: var(--primary-dark);
min-height: 100vh;
}
/* Top Banner */
.top-banner {
background-color: var(--primary-light);
color: var(--primary-dark);
padding: 5px 40px;
display: flex;
align-items: center;
justify-content: space-between;
position: sticky;
top: 0;
z-index: 1001;
border-bottom: 1px solid #4f47471a;
height: 110px;
transition: height 0.25s cubic-bezier(0.4, 0, 0.2, 1),
padding 0.25s cubic-bezier(0.4, 0, 0.2, 1);
will-change: height, padding;
transform: translateZ(0);
backface-visibility: hidden;
contain: layout style paint;
}
.top-banner-left {
display: flex;
align-items: center;
flex: 1;
}
.top-banner-center {
display: flex;
justify-content: center;
flex: 2;
}
.top-banner-right {
display: flex;
justify-content: flex-end;
flex: 1;
}
.top-banner.scrolled {
padding: 2px 30px;
height: 80px;
}
.top-banner.scrolled .menu-toggle,
.top-banner.scrolled #cursorToggle {
width: 35px;
height: 35px;
}
.top-banner.scrolled .opening-hours {
font-size: 12px;
padding: 8px 15px;
}
.banner-left {
display: flex;
align-items: center;
gap: 15px;
}
.banner-left #cursorToggle {
margin-right: 15px;
}
.search-container {
display: flex;
align-items: center;
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 25px;
padding: 8px 8px 8px 15px;
transition: all 0.3s ease;
order: 1;
width: 250px;
}
.search-container:hover {
background: rgba(255, 255, 255, 0.15);
border-color: rgba(255, 255, 255, 0.3);
}
.search-container form {
display: flex;
align-items: center;
width: 100%;
}
.search-field {
background: transparent;
border: none;
color: white;
font-size: 14px;
width: 100%;
outline: none;
padding: 0;
margin-right: 8px;
}
.search-field::placeholder {
color: rgba(255, 255, 255, 0.7);
}
.search-field:focus::placeholder {
color: rgba(255, 255, 255, 0.5);
}
.search-btn {
background: rgba(255, 255, 255, 0.2);
border: none;
color: white;
cursor: pointer;
padding: 6px;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.3s ease;
border-radius: 50%;
flex-shrink: 0;
}
.search-btn:hover {
background: rgba(255, 255, 255, 0.3);
}
.search-container {
display: flex;
align-items: center;
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 25px;
padding: 8px 8px 8px 15px;
transition: all 0.3s ease;
order: 1;
width: 250px;
}
.search-container:hover {
background: rgba(255, 255, 255, 0.15);
border-color: rgba(255, 255, 255, 0.3);
}
.search-container form {
display: flex;
align-items: center;
width: 100%;
}
.search-field {
background: transparent;
border: none;
color: white;
font-size: 14px;
width: 100%;
outline: none;
padding: 0;
margin-right: 8px;
}
.search-field::placeholder {
color: rgba(255, 255, 255, 0.7);
}
.search-field:focus::placeholder {
color: rgba(255, 255, 255, 0.5);
}
.search-btn {
background: rgba(255, 255, 255, 0.2);
border: none;
color: white;
cursor: pointer;
padding: 6px;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.3s ease;
border-radius: 50%;
flex-shrink: 0;
}
.search-btn:hover {
background: rgba(255, 255, 255, 0.3);
}
.main-nav {
display: flex;
align-items: center;
gap: 25px;
}
.nav-link {
text-decoration: none;
color: white;
font-weight: 500;
font-size: 18px;
padding: 8px 12px;
border-radius: 8px;
transition: color 0.3s ease, transform 0.2s ease, background 0.3s ease;
position: relative;
}
.nav-link:hover {
color: white;
transform: translateY(-2px);
background: rgba(255, 255, 255, 0.1);
}
.nav-link::after {
content: '';
position: absolute;
bottom: -5px;
left: 0;
width: 0;
height: 2px;
background: var(--accent-teal);
transition: width 0.3s ease;
}
.nav-link:hover::after {
width: 100%;
}
.logo-link {
text-decoration: none;
display: flex;
align-items: center;
gap: 0;
margin-left: 0;
margin-right: 15px;
}
.logo {
height: 50px;
width: auto;
transition: height 0.25s cubic-bezier(0.4, 0, 0.2, 1);
will-change: height;
}
.top-banner.scrolled .logo {
height: 35px;
}
.opening-hours {
font-size: 14px;
color: var(--primary-mid);
background: rgba(79, 71, 71, 0.08);
padding: 10px 20px;
border-radius: 25px;
transition: font-size 0.25s cubic-bezier(0.4, 0, 0.2, 1), padding 0.25s cubic-bezier(0.4, 0, 0.2, 1);
will-change: font-size, padding;
}
.menu-toggle {
background: transparent;
border: 2px solid var(--primary-dark);
color: var(--primary-dark);
width: 45px;
height: 45px;
border-radius: 12px;
cursor: pointer;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 5px;
transition: background 0.3s ease, color 0.3s ease, width 0.25s cubic-bezier(0.4, 0, 0.2, 1), height 0.25s cubic-bezier(0.4, 0, 0.2, 1);
will-change: width, height;
}
#cursorToggle {
background: transparent;
border: 2px solid var(--primary-dark);
color: var(--primary-dark);
width: 60px;
height: 60px;
border-radius: 12px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
padding: 0;
transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1), height 0.25s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease, border-color 0.3s ease;
will-change: width, height;
}
.cursor-icon {
width: 60px;
height: 60px;
object-fit: contain;
transition: opacity 0.3s ease;
opacity: 1 !important;
filter: none !important;
}
#cursorToggle:hover {
background: var(--primary-dark);
}
#cursorToggle:hover .cursor-icon {
filter: brightness(0) invert(1) !important;
opacity: 1 !important;
}
.menu-toggle:hover {
background: var(--primary-dark);
}
.menu-toggle:hover span {
background: var(--primary-light);
}
.menu-toggle span {
display: block;
width: 20px;
height: 2px;
background: var(--primary-dark);
border-radius: 2px;
transition: all 0.3s ease;
}
.menu-toggle.active {
background: var(--primary-dark);
}
.menu-toggle.active span {
background: var(--primary-light);
}
.menu-toggle.active span:nth-child(1) {
transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
transform: rotate(-45deg) translate(5px, -5px);
}
/* Slide Menu */
.slide-menu {
position: fixed;
top: 110px;
left: -280px;
width: 280px;
background: white;
box-shadow: 4px 0 25px rgba(79, 71, 71, 0.15);
border-radius: 0 20px 20px 0;
padding: 30px 0;
transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), top 0.3s ease;
z-index: 1000;
}
.top-banner.scrolled ~ .slide-menu,
.top-banner.scrolled + .overlay + .slide-menu {
top: 80px;
}
.slide-menu.active {
left: 0;
}
.slide-menu a {
display: block;
padding: 18px 30px;
color: var(--primary-dark);
text-decoration: none;
font-size: 17px;
font-weight: 500;
transition: all 0.3s ease;
border-left: 4px solid transparent;
}
.slide-menu a:hover {
background: var(--primary-light);
border-left-color: var(--accent-teal);
padding-left: 40px;
color: var(--accent-teal);
}
.slide-menu a.active {
background: var(--primary-light);
border-left-color: var(--accent-teal);
color: var(--accent-teal);
}
/* Main Content */
.main-content {
max-width: 700px;
margin: 50px auto;
padding: 110px 20px 20px 20px;
transition: padding-top 0.2s ease-out;
}
.form-container {
background: white;
padding: 45px;
border-radius: 24px;
box-shadow: 0 15px 50px rgba(79, 71, 71, 0.1);
}
.form-title {
color: var(--primary-dark);
font-size: 28px;
margin-bottom: 35px;
text-align: center;
font-weight: 600;
}
.form-group {
margin-bottom: 24px;
}
.form-group label {
display: block;
margin-bottom: 8px;
color: var(--primary-mid);
font-weight: 500;
font-size: 14px;
}
.form-group input,
.form-group textarea,
.form-group select {
width: 100%;
padding: 14px 18px;
border: 2px solid rgba(119, 119, 100, 0.2);
border-radius: 14px;
font-size: 16px;
transition: all 0.3s ease;
background: var(--primary-light);
color: var(--primary-dark);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
outline: none;
border-color: var(--accent-teal);
background: white;
box-shadow: 0 0 0 4px rgba(38, 166, 154, 0.15);
}
.form-group textarea {
min-height: 120px;
resize: vertical;
}
.form-group select {
cursor: pointer;
appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%234F4747' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 14px center;
background-size: 18px;
}
.submit-btn {
width: 100%;
padding: 16px;
background: var(--accent-teal);
color: white;
border: none;
border-radius: 25px;
font-size: 17px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
text-transform: uppercase;
letter-spacing: 1px;
}
.submit-btn:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(38, 166, 154, 0.35);
background: #1e8e82;
}
.submit-btn:active {
transform: translateY(0);
}
/* Login Button Styles */
.login-btn {
background: transparent;
border: 2px solid white;
color: white;
padding: 8px 16px;
border-radius: 8px;
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
display: inline-flex;
align-items: center;
gap: 8px;
text-decoration: none;
position: relative;
z-index: 10;
pointer-events: auto;
}
.login-btn:hover {
background: white;
color: var(--primary-dark);
transform: translateY(-2px);
}
.register-btn {
background: transparent;
border: 2px solid var(--primary-dark);
color: var(--primary-dark);
padding: 8px 16px;
border-radius: 8px;
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
display: inline-flex;
align-items: center;
gap: 8px;
}
.register-btn:hover {
background: var(--primary-dark);
color: white;
transform: translateY(-2px);
}
/* Top Banner Right Layout */
.top-banner-right {
display: flex;
justify-content: flex-end;
align-items: center;
gap: 15px;
flex: 1;
position: relative;
z-index: 10;
}
/* Service Details Buttons */
.service-details {
display: flex;
gap: 15px;
margin-top: 15px;
flex-wrap: wrap;
justify-content: center;
}
.service-btn {
padding: 12px 24px;
background: var(--accent-teal);
color: white;
text-decoration: none;
border-radius: 25px;
font-size: 14px;
font-weight: 500;
transition: all 0.3s ease;
display: inline-block;
}
.service-btn:hover {
background: white;
color: var(--accent-teal);
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(38, 166, 154, 0.3);
}
/* Success Message */
.success-message {
display: none;
text-align: center;
padding: 30px;
color: var(--accent-teal);
}
.success-message.show {
display: block;
}
.success-message h3 {
font-size: 24px;
margin-bottom: 10px;
}
/* Overlay */
.overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(79, 71, 71, 0.3);
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
z-index: 999;
}
.overlay.active {
opacity: 1;
visibility: visible;
}
@media (max-width: 600px) {
.top-banner {
flex-direction: column;
gap: 15px;
text-align: center;
padding: 15px 20px;
}
.banner-left {
width: 100%;
justify-content: center;
}
.form-container {
padding: 25px;
}
.logo {
height: 100px;
width: auto;
}
}
/* ADDITIONS FOR HOME PAGE & DARK HEADER */
/* 1. Dark Header Theme */
.top-banner.dark-theme {
background-color: var(--primary-dark);
color: var(--primary-light);
border-bottom: 1px solid rgba(235, 235, 222, 0.1);
}
.top-banner.dark-theme .company-name {
color: var(--primary-light);
}
.top-banner.dark-theme .opening-hours {
background: rgba(235, 235, 222, 0.1);
color: var(--primary-light);
}
.top-banner.dark-theme .menu-toggle {
border-color: var(--primary-light);
}
.top-banner.dark-theme .menu-toggle span {
background: var(--primary-light);
}
.top-banner.dark-theme .menu-toggle:hover {
background: var(--primary-light);
}
.top-banner.dark-theme .menu-toggle:hover span {
background: var(--primary-dark);
}
/* 2. Home Page Layout */
.home-content {
max-width: 1200px;
margin: 0 auto;
padding: 110px 20px 20px 20px;
transition: padding-top 0.2s ease-out;
}
/* Hero Section */
.hero-section {
display: flex;
align-items: center;
justify-content: space-between;
padding: 80px 20px;
gap: 40px;
min-height: 80vh;
}
.hero-text {
flex: 1;
max-width: 600px;
}
.hero-text h1 {
font-size: 48px;
line-height: 1.2;
margin-bottom: 24px;
color: var(--primary-dark);
font-weight: 700;
}
.hero-text p {
font-size: 18px;
line-height: 1.6;
margin-bottom: 35px;
color: var(--primary-mid);
}
.hero-buttons {
display: flex;
gap: 15px;
}
.cta-btn {
padding: 15px 30px;
border-radius: 30px;
font-size: 16px;
font-weight: 600;
text-decoration: none;
transition: all 0.3s ease;
}
.cta-btn.primary {
background-color: var(--accent-teal);
color: white;
border: 2px solid var(--accent-teal);
}
.cta-btn.primary:hover {
background-color: #1e8e82;
border-color: #1e8e82;
transform: translateY(-2px);
box-shadow: 0 10px 20px rgba(38, 166, 154, 0.2);
}
.cta-btn.secondary {
background-color: transparent;
color: var(--primary-dark);
border: 2px solid var(--primary-dark);
}
.cta-btn.secondary:hover {
background-color: var(--primary-dark);
color: var(--primary-light);
}
.hero-image-placeholder {
flex: 1;
height: 400px;
background-color: rgba(119, 119, 100, 0.1);
border-radius: 24px;
display: flex;
align-items: center;
justify-content: center;
border: 2px dashed var(--primary-mid);
color: var(--primary-mid);
}
/* Services Section */
.services-section {
padding: 60px 20px;
margin-bottom: 60px;
}
.section-title {
text-align: center;
font-size: 32px;
color: var(--primary-dark);
margin-bottom: 50px;
}
.services-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
}
.service-card {
background: white;
padding: 40px;
border-radius: 24px;
box-shadow: 0 15px 50px rgba(79, 71, 71, 0.05);
transition: transform 0.3s ease;
text-align: center;
}
.service-card:hover {
transform: translateY(-10px);
}
.service-icon {
font-size: 48px;
margin-bottom: 20px;
color: var(--accent-teal);
}
.service-card h3 {
font-size: 22px;
color: var(--primary-dark);
margin-bottom: 15px;
}
.service-card p {
color: var(--primary-mid);
line-height: 1.6;
}
/* Info Section */
.info-section {
background-color: white;
padding: 80px 40px;
border-radius: 24px;
margin-bottom: 80px;
box-shadow: 0 15px 50px rgba(79, 71, 71, 0.05);
}
.info-container {
display: flex;
align-items: center;
gap: 50px;
}
.info-content {
flex: 1;
}
.info-content h2 {
font-size: 32px;
color: var(--primary-dark);
margin-bottom: 20px;
}
.info-content p {
color: var(--primary-mid);
font-size: 17px;
line-height: 1.6;
margin-bottom: 30px;
}
.info-list {
list-style: none;
}
.info-list li {
margin-bottom: 15px;
padding-left: 30px;
position: relative;
color: var(--primary-dark);
font-weight: 500;
}
.info-list li::before {
content: "✓";
position: absolute;
left: 0;
color: var(--accent-green);
font-weight: bold;
}
.info-image-placeholder {
flex: 1;
height: 300px;
background-color: var(--primary-light);
border-radius: 16px;
display: flex;
align-items: center;
justify-content: center;
border: 2px dashed var(--primary-mid);
color: var(--primary-mid);
}
/* Enterprise Section */
.enterprise-section {
padding: 80px 20px;
background: white;
text-align: center;
}
.enterprise-content {
max-width: 800px;
margin: 0 auto;
}
.enterprise-features {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 30px;
margin-top: 50px;
}
.feature-item {
background: var(--primary-light);
padding: 30px;
border-radius: 16px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-item:hover {
transform: translateY(-5px);
box-shadow: 0 10px 30px rgba(79, 71, 71, 0.1);
}
.feature-item h3 {
color: var(--accent-teal);
margin-bottom: 15px;
font-size: 20px;
}
.feature-item p {
color: var(--primary-mid);
line-height: 1.6;
}
/* Pricing Section */
.pricing-section {
padding: 80px 20px;
background: var(--primary-light);
text-align: center;
}
.pricing-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
max-width: 1000px;
margin: 50px auto 0;
}
.pricing-card {
background: white;
padding: 40px 30px;
border-radius: 16px;
box-shadow: 0 5px 20px rgba(79, 71, 71, 0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pricing-card:hover {
transform: translateY(-5px);
box-shadow: 0 15px 40px rgba(79, 71, 71, 0.15);
}
.pricing-card.featured {
border: 2px solid var(--accent-teal);
transform: scale(1.05);
}
.pricing-card h3 {
color: var(--primary-dark);
font-size: 24px;
margin-bottom: 20px;
}
.price {
font-size: 36px;
font-weight: bold;
color: var(--accent-teal);
margin-bottom: 15px;
}
.pricing-card p {
color: var(--primary-mid);
margin-bottom: 25px;
}
.pricing-card ul {
list-style: none;
text-align: left;
}
.pricing-card li {
padding: 8px 0;
border-bottom: 1px solid rgba(119, 119, 100, 0.1);
color: var(--primary-dark);
}
.pricing-card li:before {
content: "✓ ";
color: var(--accent-teal);
font-weight: bold;
margin-right: 8px;
}
/* Responsive Home */
@media (max-width: 900px) {
.hero-section {
flex-direction: column;
text-align: center;
padding-top: 40px;
}
.hero-text h1 {
font-size: 36px;
}
.hero-buttons {
justify-content: center;
}
.info-container {
flex-direction: column-reverse;
}
.hero-image-placeholder,
.info-image-placeholder {
width: 100%;
}
}
/* Navigation responsive */
@media (max-width: 768px) {
.main-nav {
display: none;
}
.top-banner {
justify-content: space-between;
}
.banner-left {
flex: 1;
}
.opening-hours {
display: none;
}
}