/* Base styles */
:root {
    --color-background-light: #E0D9FF;
    --color-background-dark: #C2F2E3;
    --color-accent-orange: #FF6F00;
    --color-accent-fuchsia: #D81B60;
    --color-accent-lemon: #FDD835;
    --color-text-dark: #212121;
    --color-text-light: #F5F5F5;
    --header-bg: rgba(224, 217, 255, 0.9);
    --footer-bg: rgba(194, 242, 227, 0.9);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--color-text-dark);
    background: linear-gradient(135deg, var(--color-background-light), var(--color-background-dark));
    background-attachment: fixed;
    min-height: 100vh;
    line-height: 1.6;
}

section[id] {
    scroll-margin-top: 40px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.3;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-accent-orange);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-accent-fuchsia);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Button styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: var(--color-accent-orange);
    color: var(--color-text-light);
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn:hover:before {
    left: 100%;
}

.btn:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
    background: linear-gradient(45deg, var(--color-accent-orange), var(--color-accent-fuchsia));
}

/* Header styles */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: var(--header-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text-dark);
}

#menu-toggle {
    display: none;
}

.menu-toggle-label {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

nav a {
    color: var(--color-text-dark);
    font-weight: 500;
    position: relative;
}

nav a:after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -3px;
    left: 0;
    background: linear-gradient(to right, var(--color-accent-orange), var(--color-accent-fuchsia));
    transition: width 0.3s ease;
}

nav a:hover:after {
    width: 100%;
}

body:has(#menu-toggle:checked) {
    overflow: hidden;
}

/* Hero section */
.hero {
    padding-top: 100px;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.hero-content {
    margin: 0 auto;
    max-width: 800px;
    color: var(--color-text-light);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.hero .btn {
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

/* Section styles */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--color-accent-orange), var(--color-accent-fuchsia));
    margin: 15px auto 0;
}

/* Features grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.8);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.feature-card h3 {
    color: var(--color-accent-fuchsia);
    margin: 1rem 0;
}

/* Services section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 20px;
}

.service-content h3 {
    color: var(--color-accent-orange);
    margin-bottom: 10px;
}

/* Examples section */
.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.example-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.example-image {
    height: 200px;
    overflow: hidden;
}

.example-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.example-card:hover .example-image img {
    transform: scale(1.05);
}

.example-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.example-content h3 {
    color: var(--color-accent-fuchsia);
    margin-bottom: 10px;
}

/* Certificates section */
.certificates {
    background-color: rgba(255, 255, 255, 0.6);
    padding: 4rem 0;
    text-align: center;
}

.certificate-items {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 2rem;
}

.certificate-item {
    flex: 0 0 300px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.certificate-item:hover {
    transform: translateY(-5px);
}

.certificate-icon {
    font-size: 2.5rem;
    color: var(--color-accent-orange);
    margin-bottom: 1rem;
}

/* FAQ section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 15px 20px;
    background: linear-gradient(45deg, var(--color-accent-orange), var(--color-accent-fuchsia));
    color: var(--color-text-light);
    font-weight: 500;
    cursor: pointer;
    position: relative;
    display: block;
}

.faq-checkbox {
    display: none;
}

.faq-question:after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-checkbox:checked + .faq-question:after {
    content: "-";
    transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    padding: 0 20px;
}

.faq-checkbox:checked ~ .faq-answer {
    max-height: 500px;
    padding: 20px;
}

/* Contact form */
.contact-form-container {
    max-width: 600px;
    margin: 8rem auto 5rem;
    padding: 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input[type="text"],
input[type="tel"],
select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    font-size: 1rem;
}

select option {
    background-color: #fff;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.checkbox-group input {
    margin-top: 5px;
    margin-right: 10px;
}

.form-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: linear-gradient(45deg, var(--color-accent-orange), var(--color-accent-fuchsia));
    color: var(--color-text-light);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-btn:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: var(--color-text-dark);
    padding: 3rem 0;
    backdrop-filter: blur(10px);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-column {
    margin-bottom: 1.5rem;
}

.footer-column h3 {
    color: var(--color-accent-fuchsia);
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, var(--color-accent-orange), var(--color-accent-fuchsia));
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--color-text-dark);
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: var(--color-accent-fuchsia);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 1rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-accent-orange);
    color: var(--color-text-light);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-5px);
    background: var(--color-accent-fuchsia);
}

.copyright {
    margin-top: 2rem;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: bottom 0.5s ease-in-out;
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-text {
    flex: 1;
    margin-right: 20px;
}

.cookie-accept {
    padding: 10px 20px;
    background: var(--color-accent-orange);
    color: var(--color-text-light);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-accept:hover {
    background: var(--color-accent-fuchsia);
}

/* Policy pages */
.policy-container {
    max-width: 800px;
    margin: 120px auto 50px;
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.policy-container h1 {
    margin-bottom: 2rem;
    color: var(--color-accent-fuchsia);
}

.policy-container h2 {
    color: var(--color-accent-orange);
    margin: 2rem 0 1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Thanks page */
.thanks-section {
    margin-top: 5rem;
    min-height: 100vh;
    display: grid;
    align-items: center;
}

.thanks-content {
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease;
}

.thanks-icon {
    font-size: 5rem;
    color: var(--color-accent-fuchsia);
    margin-bottom: 1.5rem;
}

/* Media Queries */
@media (max-width: 768px) {
    .menu-toggle-label {
        display: block;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--header-bg);
        max-height: 0;
        overflow: hidden;
        transition: all 0.5s ease;
    }
    
    #menu-toggle:checked ~ nav {
        max-height: 100vh;
        height: 100vh;
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px 0;
    }
    
    nav li {
        width: 100%;
        text-align: center;
    }
    
    nav a {
        display: block;
        padding: 10px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .feature-card, .service-card, .example-card {
        margin-bottom: 20px;
    }
    
    .thanks-section {
        height: auto;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .cookie-popup {
        flex-direction: column;
    }
    
    .cookie-text {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .contact-form-container {
        padding: 15px;
    }
}
