/* Base Styles */
:root {
    --primary-color: #28BDBE;
    --accent-color: #FF6B6B;
    --background-color: #FDF6EC;
    --text-color: #1C1C1C;
    --accent-purple: #6A0572;
    --header-bg: #f0e8da;
    --footer-bg: #e6decf;
    --card-bg: #ffffff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* When menu is open, prevent scrolling */
body:has(#menu-toggle:checked) {
    overflow: hidden;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    text-align: center;
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Header styles */
.header {
    background-color: var(--header-bg);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 1px;
}

/* Navigation */
.nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

.nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav ul li a:hover {
    color: var(--accent-color);
}

/* Mobile Menu */
.menu-checkbox {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 22px;
    position: relative;
}

.menu-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    position: absolute;
    transition: all 0.3s;
}

.menu-icon span:nth-child(1) {
    top: 0;
}

.menu-icon span:nth-child(2) {
    top: 9px;
}

.menu-icon span:nth-child(3) {
    top: 18px;
}

/* Hero section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/zA3IL.jpg');
    background-size: cover;
    background-position: center;
    height: 90vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero .container {
    z-index: 2;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(to bottom, var(--accent-color), var(--accent-purple));
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(106, 5, 114, 0.2);
    margin: auto;
    max-width: max-content;
    display: block;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(106, 5, 114, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background: rgba(255, 107, 107, 0.1);
}

/* Section styles */
section {
    padding: 5rem 0;
}

section .container > h2,
section .container > p {
    text-align: center;
}

section .container > p {
    margin-bottom: 2rem;
}

/* About section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.about-text {
    order: 1;
}

.about-image {
    order: 2;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Services section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-rows: 200px 1fr;
}

.card-image {
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    color: var(--primary-color);
}

.card-content p {
    flex-grow: 1;
    margin-bottom: 20px;
}

/* Advantages section */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-item {
    background-color: var(--card-bg);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.advantage-item:hover {
    transform: translateY(-10px);
}

.advantage-icon {
    margin-bottom: 15px;
}

.advantage-item h3 {
    color: var(--primary-color);
}

/* Testimonials section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-rows: 150px 1fr;
}

.testimonial-image {
    overflow: hidden;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    padding: 20px;
}

.stars {
    color: var(--accent-color);
    margin-bottom: 10px;
}

/* FAQ section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.faq-checkbox {
    display: none;
}

.faq-question {
    display: block;
    padding: 15px 20px;
    background-color: var(--card-bg);
    font-weight: 600;
    cursor: pointer;
    position: relative;
    border-radius: 8px;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s;
}

.faq-checkbox:checked + .faq-question::after {
    content: '-';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #f9f9f9;
    padding: 0 20px;
}

.faq-checkbox:checked + .faq-question + .faq-answer {
    max-height: 500px;
    padding: 15px 20px;
}

/* Steps section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.step-item {
    background-color: var(--card-bg);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
}

.step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(to bottom, var(--accent-color), var(--accent-purple));
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 15px;
}

.step-item h3 {
    color: var(--primary-color);
}

/* Form section */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group select {
    appearance: none;
    background: white url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23131313%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E") no-repeat right 15px top 50%;
    background-size: 12px auto;
    color: black;
}

.checkbox-group {
    margin-top: 30px;
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.checkbox-wrapper input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-wrapper label {
    margin-bottom: 0;
    font-weight: normal;
}

.checkbox-wrapper a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-wrapper a:hover {
    text-decoration: underline;
}

/* Footer styles */
.footer {
    background-color: var(--footer-bg);
    padding: 4rem 0 2rem;
    color: var(--text-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-about {
    grid-column: 1 / span 2;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.footer h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer ul li a:hover {
    color: var(--accent-color);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Cookie popup styles */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 0;
    transform: translateX(-50%);
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    z-index: 1000;
    max-width: 400px;
    min-width: 300px;
    display: none;
}

.cookie-popup.show {
    display: block;
    animation: fadeInUp 0.5s forwards;
}

.cookie-content p {
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* Thanks section */
.thanks-section {
    min-height: 100vh;
    display: grid;
    align-items: center;
}

.thanks-box {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    margin: 5rem auto;
    max-width: 600px;
}

.thanks-box h1 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Policy pages */
.policy-container {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin: 3rem auto;
    max-width: 800px;
}

.policy-container h1 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.policy-container h2 {
    color: var(--accent-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.policy-container p,
.policy-container ul {
    margin-bottom: 15px;
}

.policy-container ul {
    padding-left: 20px;
}

.policy-container ul li {
    margin-bottom: 10px;
}

/* Blog page */
.blog-container {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.blog-image {
    height: 300px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 30px;
}

.blog-date {
    color: #888;
    margin-bottom: 10px;
}

.blog-content h2 {
    color: var(--primary-color);
}

/* Media Queries */
@media (max-width: 768px) {
    /* Typography */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    /* Mobile Navigation */
    .menu-icon {
        display: block;
        z-index: 102;
    }
    
    .menu-checkbox:checked ~ .menu-icon span:nth-child(1) {
        transform: rotate(45deg);
        top: 9px;
    }
    
    .menu-checkbox:checked ~ .menu-icon span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-checkbox:checked ~ .menu-icon span:nth-child(3) {
        transform: rotate(-45deg);
        top: 9px;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--header-bg);
        padding-top: 70px;
        transition: right 0.3s ease;
        z-index: 101;
        overflow-y: auto;
    }
    
    .menu-checkbox:checked ~ .nav {
        right: 0;
        max-height: 100vh;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 5px;
    }
    
    .nav ul li {
        width: 100%;
    }
    
    .nav ul li a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: 1;
    }
    
    .about-text {
        order: 2;
    }
    
    /* Cookie Buttons */
    .cookie-buttons {
        flex-direction: column;
    }
    
    /* Thanks Section */
    .thanks-section {
        height: auto;
    }
    
    /* Footer */
    .footer-about {
        grid-column: auto;
    }
}
