/* Base Styles */
:root {
    --background: #faf8f2;
    --primary: #1e3d59;
    --secondary: #ff6f61;
    --accent: #b2f7ef;
    --text: #2e2e2e;
    --gradient: linear-gradient(135deg, #ff6f61, #1e3d59);
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --radius: 8px;
    --glass-bg: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text);
    background-color: var(--background);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

h2:after {
    content: '';
    display: block;
    width: 70%;
    height: 4px;
    background: var(--gradient);
    position: absolute;
    bottom: -10px;
    left: 15%;
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 5rem 0;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    text-align: center;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 10px 25px;
    display: inline-block;
    border-radius: var(--radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

ul {
    list-style-position: inside;
    margin-bottom: 1.5rem;
}

/* Header Styles */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
}

.main-nav li {
    margin-left: 1.5rem;
}

.main-nav a {
    color: var(--text);
    font-weight: 500;
    position: relative;
}

.main-nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--gradient);
    bottom: -4px;
    left: 0;
    transition: width 0.3s ease;
}

.main-nav a:hover:after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient);
    color: white !important;
    padding: 8px 15px;
    border-radius: var(--radius);
}

.nav-cta:hover {
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.menu-toggle span {
    height: 3px;
    width: 100%;
    background-color: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: var(--primary);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('./img/jx8DcC.jpg') center/cover no-repeat;
    opacity: 0.2;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-content {
    flex: 0 0 100%;
    text-align: center;
}

.hero-content h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s 0.2s ease both;
}

.hero-content .btn {
    animation: fadeInUp 0.8s 0.4s ease both;
}

.hero-logo {
    flex: 0 0 35%;
    text-align: center;
}

.hero-logo .logo-text {
    font-size: 4rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeIn 1s ease;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 0 0 50%;
}

.about-image {
    flex: 0 0 45%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-facts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    list-style: none;
}

.about-facts li {
    padding: 1rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-facts span {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

/* Services Section */
.services {
    background-color: #f0eee6;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-image {
    margin: -2rem -2rem 1.5rem;
    border-radius: var(--radius) var(--radius) 0 0;
    overflow: hidden;
    height: 200px;
}

.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-card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-card p {
    margin-bottom: 1.5rem;
}

.service-card ul {
    margin-bottom: 2rem;
    list-style-type: none;
}

.service-card ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.service-card ul li:before {
    content: "✓";
    color: var(--secondary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.service-card .btn-secondary {
    margin-top: auto;
}

/* Why Us Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.feature-certificate:before {
    content: "★";
    font-size: 2.5rem;
    color: var(--primary);
}

.feature-privacy:before {
    content: "🔒";
    font-size: 2.5rem;
}

.feature-solution:before {
    content: "⚙️";
    font-size: 2.5rem;
}

.feature-report:before {
    content: "📊";
    font-size: 2.5rem;
}

/* Process Section */
.steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 3rem 0;
}

.steps:before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    z-index: 1;
}

.step {
    flex: 0 0 30%;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

/* Testimonials Section */
.testimonials {
    background-color: #f0eee6;
}

.testimonials-container {
    position: relative;
}

.testimonials-container input[type="radio"] {
    display: none;
}

.testimonials-content {
    display: flex;
    overflow: hidden;
    width: 100%;
    position: relative;
}

.testimonial {
    width: 100%;
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(50%);
    transition: all 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    padding: 3rem 0;
}

.testimonial blockquote {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial blockquote:before {
    content: '"';
    font-size: 4rem;
    color: var(--accent);
    position: absolute;
    top: 10px;
    left: 15px;
    opacity: 0.3;
}

.testimonial cite {
    display: block;
    margin-top: 1rem;
    text-align: right;
    font-style: normal;
    font-weight: 600;
}

.testimonial-labels {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.testimonial-labels label {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin: 0 5px;
    background: #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-labels label:hover {
    background: var(--secondary);
}

#testimonial-1:checked ~ .testimonials-content .testimonial:nth-child(1),
#testimonial-2:checked ~ .testimonials-content .testimonial:nth-child(2),
#testimonial-3:checked ~ .testimonials-content .testimonial:nth-child(3) {
    opacity: 1;
    position: relative;
    transform: translateX(0);
}

#testimonial-1:checked ~ .testimonial-labels label:nth-child(1),
#testimonial-2:checked ~ .testimonial-labels label:nth-child(2),
#testimonial-3:checked ~ .testimonial-labels label:nth-child(3) {
    background: var(--secondary);
}

/* Order Form Section */
.form-container {
    max-width: 700px;
    margin: 0 auto;
}

.glass-form {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius);
    box-shadow: var(--glass-shadow);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    position: relative;
    overflow: hidden;
}

.glass-form:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.2));
    z-index: -1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius);
    background-color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(30, 61, 89, 0.2);
    background-color: white;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    margin-right: 1.5rem;
}

.checkbox-wrapper input[type="checkbox"] {
    margin-right: 0.5rem;
    width: auto;
}

.btn-submit {
    display: inline-block;
    padding: 12px 30px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    width: 100%;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-toggle {
    display: none;
}

.faq-question {
    background: white;
    padding: 1.5rem;
    display: block;
    cursor: pointer;
    font-weight: 600;
    position: relative;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--accent);
}

.faq-question:after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: var(--transition);
}

.faq-toggle:checked + .faq-question {
    border-radius: var(--radius) var(--radius) 0 0;
}

.faq-toggle:checked + .faq-question:after {
    content: '-';
}

.faq-answer {
    background: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
    border-radius: 0 0 var(--radius) var(--radius);
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 500px;
    padding: 1.5rem;
}

/* Footer Styles */
footer {
    background-color: var(--primary);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-info,
.footer-contact,
.footer-links {
    flex: 1;
    min-width: 250px;
    margin-bottom: 2rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo .logo-text {
    color: white;
}

.footer-tagline {
    font-style: italic;
    opacity: 0.8;
}

.footer-contact address {
    font-style: normal;
}

.footer-contact a {
    color: var(--accent);
}

.footer-contact a:hover {
    color: white;
}

.footer-links h3,
.footer-contact h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--accent);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    padding: 1rem;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin: 0;
    padding-right: 2rem;
}

#cookie-accept {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

#cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text, .about-image {
        flex: 0 0 100%;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-info, .footer-contact, .footer-links {
        width: 100%;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.active {
        height: auto;
        padding: 1rem 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 0 2rem;
    }
    
    .main-nav li {
        margin: 1rem 0;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content, .hero-logo {
        flex: 0 0 100%;
        text-align: center;
    }
    
    .hero-logo {
        margin-top: 2rem;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .steps:before {
        display: none;
    }
    
    .step {
        margin-bottom: 2rem;
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .cookie-content p {
        padding-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .services-grid, .features-grid {
        grid-template-columns: 1fr;
    }
    
    .about-facts {
        grid-template-columns: 1fr;
    }
}
