/* 
   Main Stylesheet for Lyzithavexis.com
   Color Palette:
   - Main background: #2E1A47 (dark purple)
   - Accent: #DFFF00 (neon lime)
   - Text: #F7F1E1 (warm light beige)
   - Buttons: Gradient from #00B2FF to #0047AB (turquoise to blue)
   - Forms: Semi-transparent gray-blue background with white shadows
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #2E1A47;
    color: #F7F1E1;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: #DFFF00;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(223, 255, 0, 0.6);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-center .hero-buttons {
    justify-content: center;
    display: flex;
    gap: 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 30px;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #00B2FF, #0047AB);
    border-radius: 2px;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 20px;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(90deg, #00B2FF, #0047AB);
    color: #F7F1E1;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 178, 255, 0.3);
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 178, 255, 0.4);
    color: #F7F1E1;
}

.button.secondary {
    background: transparent;
    border: 2px solid #DFFF00;
    color: #DFFF00;
}

.button.secondary:hover {
    background-color: rgba(223, 255, 0, 0.1);
    box-shadow: 0 0 15px rgba(223, 255, 0, 0.5);
}

/* Header & Navigation */
.site-header {
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(46, 26, 71, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #DFFF00;
}

.logo svg {
    margin-right: 10px;
}

.logo span {
    color: #F7F1E1;
}

.main-navigation {
    position: relative;
}

.menu {
    display: flex;
    list-style: none;
}

.menu li {
    margin-left: 25px;
}

.menu a {
    color: #F7F1E1;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #DFFF00;
    transition: width 0.3s ease;
}

.menu a:hover::after,
.menu a.active::after {
    width: 100%;
}

.menu a.cta-button {
    padding: 10px 20px;
    background: linear-gradient(90deg, #00B2FF, #0047AB);
    border-radius: 30px;
    color: #F7F1E1;
}

.menu a.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 178, 255, 0.4);
}

.menu a.cta-button::after {
    display: none;
}

.menu-toggle {
    display: none;
}

.menu-button {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: radial-gradient(circle at 70% 30%, rgba(223, 255, 0, 0.1), rgba(46, 26, 71, 0) 70%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('img/ZoB4mt.jpg') no-repeat;
    background-size: cover;
    opacity: 0.1;
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title span {
    color: #DFFF00;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
}

/* About Section */
.about {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 100px 0;
}

.section-title-center {
    text-align: center;
    margin-bottom: 50px;
}

.section-title-center h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.6s ease;
}

.about-image:hover {
    transform: perspective(1000px) rotateY(0);
}

/* Services Section */
.services {
    padding: 100px 0;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 178, 255, 0.1), rgba(0, 71, 171, 0.1));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(223, 255, 0, 0.1);
    border-radius: 50%;
    margin-bottom: 20px;
    color: #DFFF00;
    font-size: 1.8rem;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Why Us Section */
.why-us {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature {
    text-align: center;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(223, 255, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #DFFF00;
    font-size: 1.5rem;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    position: relative;
    padding: 20px 0;
}

.testimonial-content::before {
    content: '"';
    font-size: 5rem;
    position: absolute;
    top: -20px;
    left: -10px;
    color: rgba(223, 255, 0, 0.2);
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    position: relative;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.testimonial-info h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.testimonial-info p {
    font-size: 0.9rem;
    color: rgba(247, 241, 225, 0.7);
    margin: 0;
}

/* Contact Form Section */
.contact {
    padding: 100px 0;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/um3btk.jpg') no-repeat center;
    background-size: cover;
    opacity: 0.05;
    z-index: -1;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: rgba(70, 50, 100, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 0 30px rgba(223, 255, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
    animation: formGlow 4s infinite alternate;
}

@keyframes formGlow {
    0% {
        box-shadow: 0 0 30px rgba(223, 255, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.05);
    }
    100% {
        box-shadow: 0 0 40px rgba(223, 255, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.1);
    }
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #F7F1E1;
    font-size: 1rem;
    transition: all 0.3s ease;
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23F7F1E1' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 40px;
}

select.form-control option {
    background-color: #463264;
    color: #F7F1E1;
    padding: 10px;
}

.form-control:focus {
    outline: none;
    border-color: #DFFF00;
    box-shadow: 0 0 0 3px rgba(223, 255, 0, 0.2);
}

.form-check {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.form-check-input {
    margin-right: 10px;
    margin-top: 5px;
}

.form-check-label {
    font-size: 0.9rem;
}

.form-check-label a {
    text-decoration: underline;
}

.form-submit {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background-color: rgba(255, 255, 255, 0.03);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.2rem;
}

.faq-question a {
    color: #F7F1E1;
    display: block;
    width: 100%;
    position: relative;
    padding-right: 30px;
}

.faq-question a::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #DFFF00;
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-question a {
    color: #DFFF00;
}

.faq-item.active .faq-question a::after {
    content: '-';
}

/* Footer */
.site-footer {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 80px 0 20px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column h3 {
    color: #DFFF00;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #00B2FF, #0047AB);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(247, 241, 225, 0.8);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #DFFF00;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(247, 241, 225, 0.7);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: rgba(46, 26, 71, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    transition: bottom 0.5s ease;
}

.cookie-consent.active {
    bottom: 0;
}

.cookie-content {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin: 0;
    padding-right: 20px;
}

#accept-cookies {
    padding: 10px 20px;
    background: linear-gradient(90deg, #00B2FF, #0047AB);
    color: #F7F1E1;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
}

/* Policy Pages */
.policy-content {
    max-width: 800px;
    margin: 150px auto 80px;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
}

.policy-content h1 {
    margin-bottom: 30px;
}

.policy-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.policy-content p {
    margin-bottom: 20px;
}

.policy-content ul,
.policy-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.policy-content li {
    margin-bottom: 10px;
}

/* Thank You Page */
.thank-you {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: 20px;
}

.thank-you-content {
    max-width: 600px;
    padding: 60px 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    animation: pulse 2s infinite alternate;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 20px rgba(223, 255, 0, 0.2);
    }
    100% {
        box-shadow: 0 0 40px rgba(223, 255, 0, 0.4);
    }
}

.thank-you-icon {
    font-size: 5rem;
    color: #DFFF00;
    margin-bottom: 20px;
}

.thank-you h1 {
    margin-bottom: 20px;
}

.back-to-home {
    margin-top: 30px;
}

/* Media Queries */
@media (max-width: 991px) {
    h1 {
        font-size: 3rem;
    }
    h2 {
        font-size: 2.2rem;
    }
    .hero-title {
        font-size: 3.5rem;
    }
    .about-content {
        flex-direction: column;
    }
    .section {
        padding: 70px 0;
    }
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-content p {
        margin-bottom: 15px;
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    section {
        padding: 60px 0;
    }
    .hero {
        padding: 150px 0 80px;
    }
    
    /* Mobile Navigation */
    .menu-button {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }
    
    .menu-button span,
    .menu-button::before,
    .menu-button::after {
        content: '';
        display: block;
        width: 100%;
        height: 3px;
        background-color: #F7F1E1;
        transition: all 0.3s ease;
    }
    
    .menu-button::before {
        transform: translateY(-8px);
    }
    
    .menu-button::after {
        transform: translateY(8px);
    }
    
    .menu-toggle:checked ~ .menu-button span {
        opacity: 0;
    }
    
    .menu-toggle:checked ~ .menu-button::before {
        transform: translateY(0) rotate(45deg);
    }
    
    .menu-toggle:checked ~ .menu-button::after {
        transform: translateY(0) rotate(-45deg);
    }
    
    .menu {
        position: absolute;
        top: 100%;
        right: -20px;
        flex-direction: column;
        background-color: rgba(46, 26, 71, 0.95);
        backdrop-filter: blur(10px);
        width: 250px;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        transform: translateY(20px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 100;
    }
    
    .menu-toggle:checked ~ .menu {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .menu li {
        margin: 15px 0;
    }
    
    .testimonials-container,
    .services-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    .hero-title {
        font-size: 2.3rem;
    }
    .container {
        width: 95%;
        padding: 0 10px;
    }
    .contact-form-container {
        padding: 30px 20px;
    }
    .policy-content {
        padding: 30px 20px;
        margin: 120px auto 60px;
    }
}

/* Erreurs de formulaire */
.form-error {
    background-color: rgba(255, 100, 100, 0.2);
    border-left: 4px solid #ff4b4b;
    color: #fff;
    padding: 12px 15px;
    margin-bottom: 25px;
    border-radius: 5px;
    font-size: 0.95rem;
}

/* Utilisation d'animation pour attirer l'attention */
@keyframes errorPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 75, 75, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 75, 75, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 75, 75, 0); }
}

.form-error {
    animation: errorPulse 2s infinite;
} 