/* SoberVitam - Retro Cleaning Services CSS */
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Retro Color Palette */
    --primary-color: #ff6b35;
    --primary-dark: #e55a2e;
    --secondary-color: #f7b801;
    --accent-color: #004e89;
    --accent-light: #0066b3;
    --retro-mint: #8ecae6;
    --retro-cream: #fef9e7;
    --retro-coral: #ffb3c6;
    --retro-orange: #fb8500;
    
    /* Neutral Colors */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --gray: #6c757d;
    --dark-gray: #343a40;
    --black: #212529;
    
    /* Typography */
    --font-primary: 'Arial', 'Helvetica', sans-serif;
    --font-secondary: 'Georgia', 'Times New Roman', serif;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px 0;
    --border-radius: 12px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --retro-shadow: 4px 4px 0px rgba(0, 0, 0, 0.2);
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--retro-cream);
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.3;
}

h3 {
    font-size: 2rem;
    line-height: 1.4;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border: 3px solid transparent;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--retro-shadow);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.2);
}

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

.btn-secondary:hover {
    background-color: #e5a500;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent-color);
    border-color: var(--accent-color);
}

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

.btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: var(--white);
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    text-align: center;
}

.cookie-buttons {
    margin-top: 15px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cookie-buttons .btn {
    margin: 5px;
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.3);
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--retro-cream), var(--white));
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 4px solid var(--primary-color);
}

.navbar {
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 50px;
    height: 50px;
}

.brand-name {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-color);
    text-shadow: 2px 2px 0px var(--retro-mint);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 107, 53, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-gray);
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--retro-mint), var(--retro-cream));
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-content .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    color: var(--accent-color);
    text-shadow: 3px 3px 0px var(--white);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--gray);
    margin-bottom: 30px;
    font-style: italic;
}

.hero-image {
    text-align: center;
}

.hero-banner {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(var(--retro-shadow));
}

/* Section Styles */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
    font-style: italic;
}

/* About Section */
.about {
    background: linear-gradient(135deg, var(--white), var(--light-gray));
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
}

.about-features {
    list-style: none;
    margin-top: 30px;
}

.about-features li {
    padding: 10px 0;
    font-size: 1.1rem;
    color: var(--accent-color);
    font-weight: 600;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--retro-orange));
    border-radius: var(--border-radius);
    color: var(--white);
    box-shadow: var(--retro-shadow);
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: rotate(0deg) scale(1.05);
}

.stat:nth-child(even) {
    transform: rotate(2deg);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    font-family: var(--font-secondary);
}

.stat-label {
    font-size: 1.1rem;
    margin-top: 10px;
}

/* Services Section */
.services {
    background: linear-gradient(135deg, var(--retro-cream), var(--retro-mint));
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--retro-shadow);
    border: 3px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.service-features {
    list-style: none;
    margin-top: 20px;
    text-align: left;
}

.service-features li {
    padding: 8px 0;
    color: var(--gray);
    position: relative;
    padding-left: 20px;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, var(--white), var(--retro-coral));
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--retro-shadow);
    border-left: 6px solid var(--primary-color);
    position: relative;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: scale(1.02) rotate(-1deg);
}

.testimonial-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.testimonial-author strong {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.testimonial-author span {
    color: var(--gray);
    display: block;
    margin-top: 5px;
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: var(--white);
    text-align: center;
}

.newsletter h2 {
    color: var(--white);
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.3);
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.newsletter-form input {
    padding: 15px 20px;
    border: 3px solid var(--white);
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    box-shadow: var(--retro-shadow);
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.newsletter-form .btn {
    align-self: center;
    min-width: 200px;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--retro-cream), var(--white));
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.contact-icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.contact-item p {
    margin: 0;
    color: var(--dark-gray);
    font-size: 1.1rem;
}

.social-links {
    text-align: center;
}

.social-links h4 {
    margin-bottom: 20px;
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icons a {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--retro-orange));
    color: var(--white);
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: var(--retro-shadow);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 15px rgba(255, 107, 53, 0.4);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-gray), var(--black));
    color: var(--white);
    padding: 60px 0 30px;
}

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

.footer-section h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

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

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 2px solid var(--gray);
    color: var(--light-gray);
}

/* Blog Styles */
.blog-header {
    background: linear-gradient(135deg, var(--retro-mint), var(--retro-cream));
    padding: 60px 0;
    text-align: center;
}

.blog-header-content {
    max-width: 600px;
    margin: 0 auto;
}

.blog-header-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.blog-articles {
    padding: var(--section-padding);
    background: var(--white);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.article-card {
    background: var(--light-gray);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--retro-shadow);
    border: 3px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px) rotate(1deg);
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.2);
}

.article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    padding: 20px;
}

.article-content {
    padding: 30px;
}

.article-date {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-content h2 {
    margin: 15px 0;
    font-size: 1.5rem;
}

.article-content h2 a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-content h2 a:hover {
    color: var(--primary-color);
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

/* Article Page */
.article-page {
    padding: var(--section-padding);
    background: var(--white);
}

.article-header {
    text-align: center;
    margin-bottom: 50px;
}

.article-hero-image {
    width: 150px;
    height: 150px;
    margin: 30px auto;
    display: block;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-intro {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--gray);
    margin-bottom: 40px;
    padding: 20px;
    background: var(--light-gray);
    border-left: 6px solid var(--primary-color);
    border-radius: var(--border-radius);
}

.article-content h2 {
    margin-top: 50px;
    margin-bottom: 20px;
    color: var(--accent-color);
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 10px;
}

.article-content h3 {
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-cta {
    text-align: center;
    margin: 50px 0;
    padding: 40px;
    background: linear-gradient(135deg, var(--retro-cream), var(--retro-mint));
    border-radius: var(--border-radius);
    border: 3px solid var(--secondary-color);
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--light-gray);
}

/* Thank You Page */
.thank-you {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--retro-mint), var(--retro-cream));
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-content h1 {
    color: var(--accent-color);
    margin-bottom: 30px;
    text-shadow: 3px 3px 0px var(--white);
}

.thank-you-actions {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Legal Pages */
.legal-page {
    padding: var(--section-padding);
    background: var(--white);
}

.legal-page .container {
    max-width: 900px;
}

.last-updated {
    color: var(--gray);
    font-style: italic;
    margin-bottom: 40px;
}

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

.legal-content h2 {
    margin-top: 50px;
    margin-bottom: 20px;
    color: var(--accent-color);
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 10px;
}

.legal-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.legal-content ul {
    margin: 15px 0;
    padding-left: 25px;
}

.legal-content li {
    margin-bottom: 8px;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.cookie-table th,
.cookie-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

.cookie-table th {
    background: var(--accent-color);
    color: var(--white);
    font-weight: bold;
}

.cookie-table tr:nth-child(even) {
    background: var(--light-gray);
}

.cookie-settings {
    margin: 30px 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-content .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .article-navigation {
        flex-direction: column;
    }
    
    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter-form {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .service-card,
    .testimonial-card {
        padding: 25px;
    }
    
    .about-stats {
        gap: 20px;
    }
    
    .stat {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
button:focus,
input:focus,
a:focus {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .cookie-banner,
    .footer {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero {
        background: white;
    }
}
