/* 
* OrdningKontor - Swedish Office Organization Solutions
* Main Stylesheet
*/

/* Global Styles */
:root {
    /* Swedish design-inspired color palette */
    --primary-color: #005C97; /* Deep blue */
    --secondary-color: #3A6073; /* Slate blue */
    --accent-color: #E9A654; /* Swedish yellow */
    --light-color: #F5F8FA; /* Off-white */
    --dark-color: #2A3B47; /* Dark blue-gray */
    --text-color: #333333;
    --text-light: #666666;
    --text-lighter: #999999;
    --success-color: #4CAF50;
    --warning-color: #FFC107;
    --error-color: #F44336;
    --border-color: #E5E5E5;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.btn {
    border-radius: 4px;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Section Styles */
.section-padding {
    padding: 5rem 0;
}

.section-divider {
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 1rem auto 2rem;
}

.section-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
}

.section-intro {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 2rem;
}

.bg-light {
    background-color: var(--light-color);
}

/* Header/Navigation Styles */
.header {
    margin-bottom: 70px; /* Account for fixed navbar height */
}

.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.navbar-brand img {
    max-height: 40px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section Styles */
.hero-section {
    padding: 8rem 0 5rem;
    background-color: white;
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.hero-section .lead {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.hero-buttons {
    margin-top: 2rem;
}

.hero-buttons .btn {
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.hero-image {
    max-width: 100%;
    height: auto;
}

/* About Section Styles */
.about-values {
    margin-top: 2rem;
}

.value-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.value-icon {
    flex-shrink: 0;
    margin-right: 1.5rem;
    color: var(--primary-color);
}

.value-icon svg {
    width: 32px;
    height: 32px;
}

.value-content h4 {
    margin-bottom: 0.5rem;
}

/* Services Section Styles */
.service-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    height: 100%;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.service-icon svg {
    width: 40px;
    height: 40px;
}

.service-features {
    list-style-type: none;
    padding-left: 0;
    margin-top: 1rem;
}

.service-features li {
    padding: 5px 0;
    position: relative;
    padding-left: 25px;
}

.service-features li:before {
    content: "\2022";
    color: var(--accent-color);
    font-weight: bold;
    display: inline-block;
    position: absolute;
    left: 5px;
}

/* Products Section Styles */
.product-category {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    height: 100%;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.product-category:hover {
    transform: translateY(-5px);
}

.product-icon {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.product-icon svg {
    width: 40px;
    height: 40px;
}

.featured-products-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Testimonials Section Styles */
.testimonial-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    height: 100%;
    box-shadow: var(--box-shadow);
}

.testimonial-content {
    position: relative;
    margin-bottom: 1.5rem;
}

.testimonial-quote {
    position: absolute;
    top: -15px;
    left: -15px;
    color: var(--accent-color);
    opacity: 0.3;
    width: 40px;
    height: 40px;
}

.testimonial-content p {
    font-style: italic;
}

.testimonial-author h4 {
    margin-bottom: 0.3rem;
}

.testimonial-author p {
    color: var(--text-lighter);
    margin-bottom: 0;
}

/* Subscription Form Styles */
.subscription-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-control {
    padding: 0.75rem;
    border-radius: 4px;
}

.form-check-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Contact Section Styles */
.contact-info-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    height: 100%;
    text-align: center;
    box-shadow: var(--box-shadow);
}

.contact-icon {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.contact-icon svg {
    width: 40px;
    height: 40px;
}

/* Footer Styles */
.site-footer {
    background-color: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-logo {
    max-height: 40px;
    margin-bottom: 1rem;
}

.social-links {
    margin-top: 1.5rem;
}

.social-links a {
    color: white;
    margin-right: 15px;
    font-size: 1.2rem;
}

.social-links a:hover {
    color: var(--accent-color);
}

.social-links svg {
    width: 24px;
    height: 24px;
}

.footer-links {
    list-style-type: none;
    padding-left: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
    color: white;
}

.footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 1rem 0 2rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    text-align: center;
}

/* Thank You Page Styles */
.thank-you-section {
    padding: 8rem 0 5rem;
}

.thank-you-icon {
    margin-bottom: 2rem;
}

.subscription-details {
    background-color: var(--light-color);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
}

.info-item {
    margin-bottom: 0.5rem;
}

.next-step-card {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    height: 100%;
    text-align: center;
    box-shadow: var(--box-shadow);
}

.next-step-card svg {
    width: 30px;
    height: 30px;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.social-links-small {
    margin-top: 1rem;
}

.social-links-small a {
    margin: 0 5px;
    color: var(--primary-color);
}

.social-links-small svg {
    width: 20px;
    height: 20px;
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-color);
    color: white;
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: none;
}

.cookie-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem;
}

.cookie-options {
    margin: 1.5rem 0;
}

.cookie-option {
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.cookie-option input {
    margin-right: 0.5rem;
    margin-top: 0.2rem;
}

.cookie-option label {
    font-weight: 600;
    margin-right: 1rem;
}

.cookie-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-top: 0.3rem;
    width: 100%;
    padding-left: 1.5rem;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cookie-preferences-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--dark-color);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    box-shadow: var(--box-shadow);
    cursor: pointer;
    z-index: 990;
}

.cookie-preferences-button svg {
    margin-right: 8px;
    width: 16px;
    height: 16px;
}

/* Blog Styles */
.blog-header {
    background-color: var(--light-color);
    padding: 5rem 0 3rem;
    text-align: center;
}

.blog-post-card {
    border-radius: 8px;
    background-color: white;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-5px);
}

.blog-post-image {
    height: 200px;
    overflow: hidden;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post-card:hover .blog-post-image img {
    transform: scale(1.05);
}

.blog-post-content {
    padding: 1.5rem;
}

.blog-post-meta {
    font-size: 0.85rem;
    color: var(--text-lighter);
    margin-bottom: 0.5rem;
}

.blog-post-title {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.blog-post-excerpt {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.blog-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.blog-category {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background-color: var(--light-color);
    border-radius: 30px;
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-pagination {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.blog-article {
    max-width: 800px;
    margin: 0 auto;
}

.blog-article-header {
    margin-bottom: 2rem;
}

.article-meta {
    font-size: 0.9rem;
    color: var(--text-lighter);
    margin-bottom: 1rem;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content h2, 
.article-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-image {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: auto;
}

.article-tags {
    margin: 2rem 0;
}

.article-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background-color: var(--light-color);
    border-radius: 30px;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.article-share {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.article-share-text {
    display: inline-block;
    margin-right: 1rem;
    color: var(--text-light);
}

.article-share-links a {
    display: inline-block;
    margin-right: 1rem;
    color: var(--text-light);
}

.article-share-links a:hover {
    color: var(--primary-color);
}

.article-share-links svg {
    width: 20px;
    height: 20px;
}

.related-articles {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.related-articles h3 {
    margin-bottom: 2rem;
}

/* Legal Pages Styles */
.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 8rem 0 5rem;
}

.legal-content {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content p {
    margin-bottom: 1rem;
}

.legal-content ul {
    margin-bottom: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .section-padding {
        padding: 4rem 0;
    }
    
    .hero-section {
        padding: 7rem 0 4rem;
        text-align: center;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-buttons button {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 3rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .cookie-option {
        flex-direction: column;
    }
    
    .cookie-description {
        padding-left: 0;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-right: 0;
    }
    
    .value-item {
        flex-direction: column;
    }
    
    .value-icon {
        margin-bottom: 1rem;
    }
    
    .cookie-preferences-button {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .section-padding {
        padding: 2.5rem 0;
    }
    
    .hero-section {
        padding: 6rem 0 3rem;
    }
}
