﻿/* Modern Workspace Theme - Digital Workspace Website */

:root {
    --primary-blue: #2C5F8D;
    --light-blue: #5B9BD5;
    --accent-blue: #7CB9E8;
    --dark-gray: #2D2D2D;
    --medium-gray: #5A5A5A;
    --light-gray: #F5F5F5;
    --border-gray: #E0E0E0;
    --white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-light: #6C6C6C;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    font-size: 16px;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 8px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 3rem;
    justify-content: space-between;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
}

.logo:hover {
    color: var(--light-blue);
    text-decoration: none;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: width 0.3s;
}

.logo:hover::after {
    width: 100%;
}

nav {
    flex: 1;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

nav a:hover {
    color: var(--primary-blue);
    text-decoration: none;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

nav a.active {
    color: var(--primary-blue);
}

nav a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-blue);
    margin-left: auto;
    margin-right: 20px;
    width: 32px;
    height: 32px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 20px;
    min-height: calc(100vh - 400px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--accent-blue) 100%);
    color: var(--white);
    padding: 4rem 20px;
    text-align: center;
    margin: -2rem -20px 3rem -20px;
    border-radius: 0 0 20px 20px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
}

/* Cards */
.card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px var(--shadow-hover);
}

.card h2 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.card h3 {
    color: var(--primary-blue);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
}

.card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* Info Boxes */
.info-box {
    background: var(--light-gray);
    border-left: 4px solid var(--primary-blue);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
}

.info-box h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

/* Lists */
ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

ul li, ol li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

/* Links */
a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--light-blue);
}

/* Remove underline for header and logo links */
header a:hover,
.logo:hover {
    text-decoration: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    text-decoration: none;
}

.btn:hover {
    background-color: var(--light-blue);
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-secondary {
    background-color: var(--medium-gray);
}

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

/* Images */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

/* Footer */
footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 3rem 20px 1rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--accent-blue);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
    margin-left: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--accent-blue);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: var(--light-gray);
    font-size: 0.9rem;
}

/* Forms */
form {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

form input,
form textarea,
form select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

form input:focus,
form textarea:focus,
form select:focus {
    outline: none;
    border-color: var(--primary-blue);
}

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

form input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
    cursor: pointer;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: normal;
    margin-bottom: 0;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.checkbox-group .checkbox-label-text {
    line-height: 1.6;
    color: var(--text-dark);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 1.5rem 20px;
    box-shadow: 0 -2px 10px var(--shadow);
    z-index: 10000;
    display: none;
}

.cookie-banner.active {
    display: block;
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-banner p {
    margin: 0;
    flex: 1;
    min-width: 250px;
}

.cookie-banner-actions {
    display: flex;
    gap: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        gap: 1rem;
        position: relative;
        justify-content: space-between;
    }

    .mobile-menu-toggle {
        display: block;
        margin-left: auto;
        margin-right: 20px;
        order: 2;
    }

    nav {
        order: 3;
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 4px 8px var(--shadow);
        padding: 1rem 20px;
        opacity: 0;
        transform: translateY(-10px);
    }

    nav.active {
        display: block;
        animation: slideDownNav 0.4s ease-out forwards;
    }

    @keyframes slideDownNav {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .card {
        padding: 1.5rem;
    }

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

    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-banner-actions {
        width: 100%;
        justify-content: center;
    }
}

/* Image Styles */
.image-container {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-left {
    float: left;
    margin: 0 2rem 1rem 0;
    max-width: 45%;
}

.image-right {
    float: right;
    margin: 0 0 1rem 2rem;
    max-width: 45%;
}

.image-center {
    display: block;
    margin: 2rem auto;
    max-width: 70%;
}

.image-inline {
    display: inline-block;
    margin: 1rem;
    max-width: 50%;
    vertical-align: middle;
}

.card-image {
    width: 100%;
    max-width: 600px;
    margin: 2rem auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow);
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow);
    transition: transform 0.3s;
}

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

.card-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.card-with-image .card-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-with-image .card-text h2 {
    margin-top: 0;
}

.card-with-image .card-image-wrapper {
    position: relative;
}

.card-with-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card-with-image img:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--shadow-hover);
}

@media (max-width: 968px) {
    .card-with-image {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .card-with-image .card-image-wrapper {
        order: -1;
    }
    
    .card-with-image .card-text h2 {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .image-left,
    .image-right {
        float: none;
        max-width: 100%;
        margin: 1rem 0;
    }
    
    .card-with-image {
        grid-template-columns: 1fr;
    }
    
    .card-with-image .card-image-wrapper {
        flex: 1;
    }
}

/* Push Notification (Manual, not browser API) */
.push-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 300px;
    max-width: 90%;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    z-index: 10002;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
}

.push-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.push-notification-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
}

.push-notification-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.push-notification-success {
    border-left: 4px solid #52c41a;
}

.push-notification-success .push-notification-icon {
    background: #52c41a;
    color: white;
}

.push-notification-error {
    border-left: 4px solid #ff4d4f;
}

.push-notification-error .push-notification-icon {
    background: #ff4d4f;
    color: white;
}

.push-notification-message {
    flex: 1;
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.5;
}

.push-notification-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    flex-shrink: 0;
}

.push-notification-close:hover {
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .push-notification {
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: calc(100% - 20px);
    }
}

/* Additional utility classes for replacing inline styles */
.btn-inline {
    display: inline-block;
    width: auto;
    margin-top: 2rem;
}

.btn-contact {
    display: inline-block;
    width: auto;
    margin-top: 1rem;
}

.required-field {
    color: var(--accent-color);
}

.form-hint {
    color: var(--text-secondary);
    display: block;
    margin-top: 0.25rem;
}

.policy-link {
    color: var(--accent-color);
}

.section-spacing {
    margin-top: 3rem;
}

.card-grid-spacing {
    margin-top: 2rem;
}

.content-image-spacing {
    margin-top: 2rem;
}

.contact-link {
    color: var(--accent-color);
}

.info-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.info-box h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

