/* 
   Main Stylesheet for domain.com
   Color palette:
   - Main: #3C1874
   - Accent: #F7941D
   - Background: #FAFAFA
   - Text: #333333
   - UI Elements: #E3E3E3
*/

/* Base styles and reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

section[id] {
    scroll-margin-top: 40px;
}

body {
    font-family: 'Arial', sans-serif;
    color: #333333;
    background-color: #FAFAFA;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #3C1874;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #F7941D;
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: #3C1874;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.4rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

/* Button styles */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: #F7941D;
    color: #fff;
    box-shadow: 0 4px 10px rgba(247, 148, 29, 0.3);
}

.btn-primary:hover {
    background-color: #e8870c;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(247, 148, 29, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #3C1874;
    border: 2px solid #3C1874;
}

.btn-secondary:hover {
    background-color: #3C1874;
    color: #fff;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #3C1874;
    text-transform: lowercase;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 25px;
}

.menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #3C1874;
    transition: all 0.3s ease;
}

/* Hero section */
.hero {
    background-image: url('../img/3P7AJ.jpg');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    color: #fff;
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Section styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #F7941D;
    margin: 20px auto 0;
}

/* About section */
.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
}

.about-text {
    flex: 1;
}

/* Services section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: #3C1874;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

/* Advantages section */
.advantages-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.advantage-item {
    flex: 1;
    min-width: 250px;
    padding: 20px;
    text-align: center;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: scale(1.03);
}

.advantage-icon {
    font-size: 2.5rem;
    color: #F7941D;
    margin-bottom: 15px;
}

/* Testimonials section */
.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonial {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
    color: #3C1874;
}

/* FAQ section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    position: relative;
    padding: 15px 20px;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-question::after {
    content: '+';
    font-size: 20px;
    color: #3C1874;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #f5f5f5;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.faq-item input {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.faq-item input:checked ~ .faq-answer {
    max-height: 500px;
    padding: 20px;
}

.faq-item input:checked ~ .faq-question {
    background: #3C1874;
    color: #fff;
}

.faq-item input:checked ~ .faq-question::after {
    content: '−';
    color: #fff;
}

/* Contact section */
.contact-section {
    background: linear-gradient(135deg, #3C1874, #6134b4);
    color: #fff;
}

.contact-section .section-title {
    color: #fff;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: formPulse 2s infinite alternate;
}

@keyframes formPulse {
    from {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }
    to {
        box-shadow: 0 15px 40px rgba(247, 148, 29, 0.4);
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333333;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #E3E3E3;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #3C1874;
    outline: none;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-right: 10px;
}

.checkbox-group label {
    margin-bottom: 0;
    cursor: pointer;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

/* Map section */
.map-container {
    height: 400px;
    overflow: hidden;
    position: relative;
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-content {
    background: #fff;
    padding: 20px 30px;
    border-radius: 5px;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background-color: #3C1874;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-info {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-info .logo {
    color: #fff;
    margin-bottom: 15px;
    display: inline-block;
}

.footer-links, .footer-policies {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-links h3, .footer-policies h3 {
    color: #F7941D;
    margin-bottom: 15px;
}

.footer-links ul li, .footer-policies ul li {
    margin-bottom: 10px;
}

.footer-links a, .footer-policies a {
    color: #fff;
    opacity: 0.8;
}

.footer-links a:hover, .footer-policies a:hover {
    opacity: 1;
    color: #F7941D;
}

.contact-details p {
    margin-bottom: 10px;
}

.contact-details a {
    color: #fff;
    opacity: 0.8;
}

.contact-details a:hover {
    opacity: 1;
    color: #F7941D;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
}

.cookie-content {
    text-align: center;
}

.cookie-content p {
    margin-bottom: 15px;
}

/* Policy pages */
.policy-container {
    max-width: 800px;
    margin: 40px auto;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* Thank you page */
.merci-container {
    max-width: 600px;
    margin: 80px auto;
    text-align: center;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.merci-container h1 {
    color: #3C1874;
    margin-bottom: 20px;
}

.merci-container .icon {
    font-size: 4rem;
    color: #F7941D;
    margin-bottom: 20px;
}

/* Media queries for responsiveness */
@media (max-width: 991px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: none;
    }
    
    .hamburger {
        display: flex;
        z-index: 1001;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 20px 30px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links li {
        margin: 15px 0;
        width: 100%;
    }
    
    .menu-toggle:checked ~ .nav-links {
        right: 0;
    }
    
    .menu-toggle:checked ~ .hamburger span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle:checked ~ .hamburger span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked ~ .hamburger span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-info, .footer-links, .footer-policies {
        margin-bottom: 30px;
        width: 100%;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
} 