/* Main stylesheet for domain - Polish accounting services */

:root {
    /* Color palette */
    --ultramarine: #3B60E4;
    --coral: #FF6B6B;
    --lavender: #B4A7FF;
    --white: #FFFFFF;
    --steel-gray: #2E2E38;
    
    /* Typography */
    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
}

/* Base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    background: linear-gradient(135deg, var(--lavender) 0%, var(--ultramarine) 100%);
    background-attachment: fixed;
    color: var(--steel-gray);
    min-height: 100vh;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    margin-bottom: 1rem;
    color: var(--steel-gray);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1rem;
    font-size: clamp(1rem, 2vw, 1.1rem);
}

a {
    color: var(--ultramarine);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--coral);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--ultramarine);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(59, 96, 228, 0.2);
}

.btn:hover {
    background-color: var(--coral);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
    color: var(--white);
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--ultramarine);
    display: flex;
    align-items: center;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: var(--steel-gray);
    font-weight: 500;
}

nav ul li a:hover {
    color: var(--coral);
}

/* Mobile menu toggle - PHP-based */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--steel-gray);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Responsive navigation */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 20px;
    }
}

/* Hero section */
.hero {
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--white);
    max-width: 700px;
    margin: 0 auto 30px;
}

/* About section */
.about {
    padding: 100px 0;
    background-color: var(--white);
}

.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

/* Benefits section */
.benefits {
    padding: 100px 0;
    background-color: #f9f9ff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card h3 {
    color: var(--ultramarine);
    margin-bottom: 15px;
}

/* Services section */
.services {
    padding: 100px 0;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #f9f9ff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: var(--ultramarine);
    margin-bottom: 15px;
}

/* Service details section */
.service-details {
    padding: 100px 0;
    background-color: #f9f9ff;
}

.service-detail {
    margin-bottom: 80px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

.service-detail:last-child {
    margin-bottom: 0;
}

.service-detail-content {
    flex: 1;
    min-width: 300px;
}

.service-detail-image {
    flex: 1;
    min-width: 300px;
}

.service-detail-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Form section */
.contact-form {
    padding: 100px 0;
    background-color: var(--white);
}
.form-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    background-color: #f9f9ff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

label {
    font-weight: 600;
}

input,
select,
textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 16px;
}

.form-group.checkbox-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.form-group.checkbox-group input[type="checkbox"] {
    margin: 0;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.form-group.checkbox-group label {
    line-height: 1.4;
    margin-top: 0;
}

.form-submit {
    text-align: center;
    margin-top: 20px;
}

/* Testimonials section */
.testimonials {
    padding: 100px 0;
    background-color: #f9f9ff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
}

/* FAQ section */
.faq {
    padding: 100px 0;
    background-color: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background-color: #f9f9ff;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background-color: #f0f0ff;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    padding: 20px;
    max-height: 500px;
}

/* Footer */
footer {
    background-color: var(--steel-gray);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
}

.footer-links a:hover {
    color: var(--coral);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Policy pages */
.policy-container {
    max-width: 900px;
    margin: 120px auto 50px;
    padding: 40px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.policy-heading {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.policy-section {
    margin-bottom: 30px;
}

.policy-section h2 {
    margin-bottom: 15px;
}

/* Thank you page */
.thank-you {
    text-align: center;
    padding: 150px 0 100px;
}

.thank-you h1 {
    margin-bottom: 20px;
    color: var(--ultramarine);
}

.thank-you p {
    margin-bottom: 30px;
}

/* Cookie consent popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    background-color: var(--white);
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    z-index: 9999;
    display: none;
}

.cookie-popup.active {
    display: block;
}

.cookie-popup p {
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}
