/* Global Styles */
:root {
    --color-primary: #2D0A3C;
    --color-accent: #C3F73A;
    --color-secondary: #FF1E56;
    --color-white: #FFFFFF;
    --color-light-gray: #DDDDDD;
    --font-main: 'Arial', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-primary);
    color: var(--color-white);
    line-height: 1.6;
}

section[id] {
    scroll-margin-top: 80px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 15px;
}

h2:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--color-accent);
}

h3 {
    font-size: 1.5rem;
    color: var(--color-accent);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-secondary);
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 80px 0;
}

/* Header Styles */
header {
    background-color: var(--color-primary);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-white);
    position: relative;
    display: block;
}

.logo:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.logo:hover:after {
    transform: scaleX(1);
    transform-origin: left;
}

nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

nav a {
    color: var(--color-white);
    font-weight: bold;
    position: relative;
    padding: 5px 0;
}

nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

nav a:hover:after {
    transform: scaleX(1);
    transform-origin: left;
}

.menu-toggle {
    display: none;
}

.menu-button {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 2;
}

.menu-button span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--color-white);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: var(--transition);
}

.menu-button span:nth-child(1) {
    top: 0px;
}

.menu-button span:nth-child(2) {
    top: 8px;
}

.menu-button span:nth-child(3) {
    top: 16px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    position: relative;
    margin-top: 0;
    padding-top: 60px;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 10, 60, 0.7);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 1s ease-out;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(45deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: var(--color-white);
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(195, 247, 58, 0.3);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(195, 247, 58, 0.5);
    color: var(--color-white);
}

/* About Section */
.about {
    background-color: var(--color-primary);
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Services Section */
.services {
    background-color: #200730;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background-color: var(--color-primary);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(195, 247, 58, 0.3);
}

.service-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.service-content {
    padding: 20px;
    flex: 1;
}

/* Advantages Section */
.advantages {
    background-color: var(--color-primary);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.advantage-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(195, 247, 58, 0.2);
}

.advantage-icon {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 15px;
}

/* Testimonials Section */
.testimonials {
    background-color: #200730;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background-color: var(--color-primary);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(195, 247, 58, 0.2);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 15px;
    position: relative;
    padding: 0 20px;
}

.testimonial-content p:before, .testimonial-content p:after {
    content: '"';
    font-size: 2rem;
    color: var(--color-accent);
    position: absolute;
}

.testimonial-content p:before {
    left: 0;
    top: -10px;
}

.testimonial-content p:after {
    right: 0;
    bottom: -10px;
}

.testimonial-author {
    color: var(--color-accent);
    font-weight: bold;
    text-align: right;
}

/* Steps Section */
.steps {
    background-color: var(--color-primary);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.step-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.step-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(195, 247, 58, 0.2);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--color-accent);
    color: var(--color-primary);
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    margin: 0 auto 20px;
}

/* FAQ Section */
.faq {
    background-color: #200730;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.faq-toggle {
    display: none;
}

.faq-question {
    display: block;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
    font-weight: bold;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.faq-question:after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--color-accent);
    transition: var(--transition);
}

.faq-toggle:checked + .faq-question {
    background-color: var(--color-accent);
    color: var(--color-primary);
}

.faq-toggle:checked + .faq-question:after {
    content: "-";
    color: var(--color-primary);
}

.faq-answer {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 500px;
    padding: 20px;
}

/* Contact Section */
.contact {
    background-color: var(--color-primary);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--color-white);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid transparent;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    transition: var(--transition);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 10px rgba(195, 247, 58, 0.3);
}

.form-group select option {
    background-color: #FFFFFF;
    color: var(--color-primary);
}

.form-check {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.form-check input {
    margin-right: 10px;
}

.submit-btn {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(45deg, var(--color-accent) 0%, var(--color-secondary) 100%);
    color: var(--color-primary);
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(195, 247, 58, 0.3);
}

.contact-info {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
}

.info-item {
    margin-bottom: 20px;
}

.info-item strong {
    color: var(--color-accent);
    display: block;
    margin-bottom: 5px;
}

/* Footer Styles */
footer {
    background-color: #170521;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info {
    max-width: 400px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-white);
    margin-bottom: 20px;
}

.footer-links h3, .footer-contact h3 {
    color: var(--color-white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3:after, .footer-contact h3:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--color-accent);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background-color: rgba(45, 10, 60, 0.95);
    padding: 15px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: bottom 0.5s ease;
    display: none;
}

.cookie-popup.show {
    bottom: 0;
    display: block;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-content p {
    margin-right: 20px;
    margin-bottom: 0;
}

#accept-cookies {
    background-color: var(--color-accent);
    color: var(--color-primary);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

#accept-cookies:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(195, 247, 58, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(195, 247, 58, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(195, 247, 58, 0);
    }
}

/* Media Queries */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        width: 100%;
        order: -1;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .menu-button {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--color-primary);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        z-index: 1;
    }
    
    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }
    
    nav li {
        width: 100%;
        margin-bottom: 15px;
    }
    
    nav a {
        display: block;
        padding: 10px 0;
    }
    
    .menu-toggle:checked ~ nav {
        right: 0;
    }
    
    .menu-toggle:checked + .menu-button span:nth-child(1) {
        transform: rotate(45deg);
        top: 8px;
    }
    
    .menu-toggle:checked + .menu-button span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked + .menu-button span:nth-child(3) {
        transform: rotate(-45deg);
        top: 8px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        margin-right: 0;
        margin-bottom: 15px;
    }
}
