/* Domain - Financial Audit Company in Poland */
/* Main Styles */

:root {
    --primary: #24305E;
    --accent: #F76C6C;
    --background: #F8F9FA;
    --text: #1B1B1E;
    --highlight: #FFE066;
    --white: #FFFFFF;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5em;
    color: var(--primary);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    margin-bottom: 1.5rem;
    text-align: center;
}

h2:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 60px;
    height: 3px;
    background-color: var(--accent);
    transform: translateX(-50%);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent);
}

section {
    padding: 80px 0;
}

section p {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), #374785);
    color: var(--white);
}

.btn-primary:hover {
    background: linear-gradient(45deg, #374785, var(--primary));
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    color: var(--white);
}

.btn-accent {
    background: linear-gradient(45deg, var(--accent), #f88c8c);
    color: var(--white);
}

.btn-accent:hover {
    background: linear-gradient(45deg, #f88c8c, var(--accent));
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    color: var(--white);
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: var(--shadow);
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.logo span {
    color: var(--accent);
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    list-style: none;
    margin-left: 30px;
}

.nav-menu a {
    font-weight: 600;
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(rgba(36, 48, 94, 0.8), rgba(36, 48, 94, 0.9)), url('img/Fdnws1.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--white);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.about-image img:hover {
    transform: scale(1.05);
}

/* Services Section */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-card-content {
    padding: 25px;
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--highlight);
    margin-bottom: 20px;
}

/* Benefits Section */
.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.benefit-item {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-item h3 {
    margin: 15px 0;
}

/* Trust Section */
.trust {
    background-color: var(--white);
}

.trust-container {
    text-align: center;
}

.certificates {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.certificate {
    width: 150px;
    height: 150px;
    background-color: var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    background-color: var(--white);
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    background-color: var(--background);
    padding: 20px;
    display: none;
}

.faq-active .faq-answer {
    display: block;
}

/* Cases Section */
.cases-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.case-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.case-image {
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.case-image img:hover {
    transform: scale(1.05);
}

.case-content {
    padding: 25px;
}

/* Form Section */
.form-section {
    background-color: var(--white);
}

.form-card {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: linear-gradient(135deg, #ffffff, #f3f3f3);
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(36, 48, 94, 0.2);
}

.form-check {
    margin-top: 5px;
    display: flex;
    align-items: flex-start;
}

.form-check-input {
    margin-top: 5px;
    margin-right: 10px;
}

.form-check-label {
    font-size: 0.9rem;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-links li {
    list-style: none;
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--highlight);
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact span {
    margin-left: 10px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    border-radius: 10px;
    z-index: 9999;
    display: none;
}

.cookie-popup.show {
    display: block;
}

.cookie-popup-content {
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* Policy Pages */
.policy-container {
    max-width: 800px;
    margin: 120px auto 60px;
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.policy-content h2 {
    margin-top: 40px;
}

.policy-content h3 {
    margin-top: 25px;
}

.policy-content ul, .policy-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.policy-content li {
    margin-bottom: 10px;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100%;
    background-color: var(--primary);
    z-index: 1001;
    transition: left 0.3s ease;
    padding: 60px 20px;
}

.mobile-menu.active {
    left: 0;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    color: var(--white);
    font-size: 1.5rem;
}

.mobile-nav {
    margin-top: 30px;
}

.mobile-nav li {
    list-style: none;
    margin-bottom: 20px;
}

.mobile-nav a {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
    padding: 10px 0;
}

/* Thank You Page */
.thank-you {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background-color: var(--white);
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    box-shadow: var(--shadow);
}

.thank-you h1 {
    color: var(--primary);
    margin-bottom: 20px;
}

/* Media Queries */
@media screen and (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .form-card {
        padding: 30px 20px;
    }
}

@media screen and (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .btn {
        padding: 10px 25px;
    }
}
