/* Main Stylesheet for domain.com */

/* Variables */
:root {
    --primary-color: #4B0082; /* Deep Purple */
    --accent-color: #C0FF00; /* Lime Green */
    --background-color: #F7F7F7; /* Light Gray */
    --text-color: #1A1A1A; /* Coal Black */
    --white-color: #FFFFFF; /* White */
    --shadow: 0 4px 12px rgba(0,0,0,0.1); /* Soft Shadow */
    --transition: all 0.3s ease;
    --border-radius: 6px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--accent-color);
    color: var(--text-color);
    transform: translateY(-3px);
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--text-color);
}

.btn-accent:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--primary-color);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 20px;
}

.text-center {
    text-align: center;
}

/* Header & Navigation */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.logo:after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.logo:hover:after {
    width: 100%;
}

/* PHP-based Mobile Menu Toggle */
.menu-toggle {
    display: none;
}

.menu-toggle-label {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

.menu-wrap {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

nav ul li a:hover:after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, rgba(75,0,130,0.9), rgba(75,0,130,0.7)), url('./img/BYo7Y4.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    height: 90vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 80px;
}

.hero h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero .btn {
    margin-top: 20px;
}

/* About Section */
.about {
    background-color: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Services Section */
.services {
    background-color: var(--background-color);
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-box {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-box:hover {
    transform: translateY(-10px);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-box:hover .service-image img {
    transform: scale(1.05);
}

/* Benefits Section */
.benefits {
    background-color: white;
}

.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-box {
    text-align: center;
    padding: 20px;
    transition: var(--transition);
}

.benefit-box:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    background-color: var(--accent-color);
    color: var(--primary-color);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

/* Testimonials - CSS Only Slider */
.testimonials {
    background-color: var(--background-color);
    position: relative;
    overflow: hidden;
}

.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slider {
    overflow: hidden;
    margin: 40px auto;
}

.slides {
    display: flex;
    position: relative;
}

.slide {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    opacity: 0;
    transition: opacity 0.3s ease;
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
}

.slide-content {
    text-align: center;
}

.client-info {
    margin-top: 20px;
}

.client-name {
    font-weight: 700;
    color: var(--primary-color);
}

/* Radio buttons for the slider */
.slider-nav {
    text-align: center;
    margin-top: 20px;
}

.slider-nav label {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

input[type="radio"] {
    display: none;
}

#slide1:checked ~ .slides .slide:nth-child(1),
#slide2:checked ~ .slides .slide:nth-child(2),
#slide3:checked ~ .slides .slide:nth-child(3) {
    opacity: 1;
    z-index: 1;
}

#slide1:checked ~ .slider-nav label:nth-child(1),
#slide2:checked ~ .slider-nav label:nth-child(2),
#slide3:checked ~ .slider-nav label:nth-child(3) {
    background-color: var(--primary-color);
}

/* FAQ Section - PHP Based */
.faq {
    background-color: white;
}

.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    width: 100%;
}

.faq-question {
    font-weight: 600;
    padding: 15px;
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-align: left;
    border: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
}

.faq-answer {
    padding: 15px;
    display: none;
    width: 100%;
}

.faq-item.active .faq-question::after {
    content: '-';
}

.faq-item.active .faq-answer {
    display: block;
}

/* Contact Form Section */
.contact-form {
    background-color: var(--background-color);
}

.form-container {
    max-width: 700px;
    margin: 40px auto 0;
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 4px;
}

/* Contact Section */
.contact-info {
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    text-align: center;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    background-color: var(--background-color);
}

.contact-icon {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 15px;
}

.map-container {
    margin-top: 40px;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 25px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    height: 2px;
    width: 50px;
    background-color: var(--accent-color);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ddd;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.9);
    color: white;
    padding: 15px 0;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-text {
    padding: 0 20px;
    flex: 1;
}

.cookie-btn {
    background-color: var(--accent-color);
    color: var(--text-color);
    padding: 8px 20px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    margin-right: 20px;
}

/* Policy Pages */
.policy-page {
    padding: 120px 0 60px;
}

.policy-container {
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid #eee;
    max-width: 900px;
    margin: 0 auto;
}

.policy-title {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

/* CSS-Only Animations */
.fade-in {
    animation: fadeInAnimation 1s ease forwards;
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Merci Page */
.thank-you {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.thank-you-container {
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto;
    border: 2px solid var(--primary-color);
}

.thank-you-icon {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Media Queries */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        margin-top: 30px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.3rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    /* PHP Mobile Menu */
    .menu-toggle {
        display: block;
        position: absolute;
        opacity: 0;
        cursor: pointer;
    }
    
    .menu-toggle-label {
        display: block;
    }
    
    .menu-wrap {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: var(--shadow);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    nav ul {
        flex-direction: column;
        padding: 0;
    }
    
    nav ul li {
        margin: 0;
    }
    
    nav ul li a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
    }
    
    .menu-toggle:checked ~ .menu-wrap {
        max-height: 300px;
    }
    
    .hero {
        height: auto;
        min-height: 80vh;
        padding: 120px 0 60px;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 60px 0;
    }
    
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .form-container {
        padding: 20px;
    }
}
