/* 
* Easycity-eu.com - Main Stylesheet
* Version: 1.0
*/

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4e54c8;
    --primary-light: #7a80ea;
    --primary-dark: #3a3f9e;
    --secondary-color: #ff7e5f;
    --secondary-color-rgb: 255, 126, 95; /* Ajout pour les effets de texte et d'ombre */
    --secondary-light: #ffb199;
    --secondary-dark: #e55a3c;
    --accent-color: #00c9a7;
    --text-color: #333333;
    --text-light: #777777;
    --bg-color: #ffffff;
    --bg-light: #f5f8ff;
    --bg-dark: #e9ecef;
    --border-color: #dee2e6;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html {
    font-size: 62.5%; /* 10px = 1rem */
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    padding-top: 8rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 5px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title h2 {
    font-size: 3.6rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 8rem;
    height: 0.3rem;
    background-color: var(--secondary-color);
}

.section-title p {
    font-size: 1.8rem;
    color: var(--text-light);
    max-width: 60rem;
    margin: 0 auto;
}

/* ===== HEADER & NAVIGATION ===== */
header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 99999 !important;
    padding: 1rem 0;
    transition: var(--transition);
    transform: none !important;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    padding: 0.8rem 0;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo span {
    color: var(--secondary-color);
}

nav ul {
    display: flex;
    gap: 3rem;
}

nav ul li a {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-color);
    padding: 0.5rem 0;
    position: relative;
}

nav ul li a.active,
nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a.active::after,
nav ul li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 2.4rem;
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../Images/Index/Index.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    max-width: 80rem;
    margin: 0 auto;
    text-align: center;
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 2rem;
    margin-bottom: 4rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.search-container {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 3rem;
    max-width: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.search-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 1rem 2rem;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-light);
    background-color: transparent;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.search-box {
    width: 100%;
}

.search-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: flex-end;
}

.search-item {
    flex: 1;
    min-width: 15rem;
}

.search-item label {
    display: block;
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
    color: var(--text-color);
}

.search-item input,
.search-item select {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1.4rem;
}

.search-btn {
    padding: 1.2rem 3rem;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.6rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* Plan Trip Button */
.plan-trip-container {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 3rem;
    max-width: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    text-align: center;
    margin-top: 2rem;
}

.plan-trip-btn {
    display: inline-block;
    padding: 1.5rem 3rem;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 0.5rem;
    font-size: 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.plan-trip-btn:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.plan-trip-btn i {
    margin-right: 1rem;
}

.plan-trip-desc {
    color: var(--text-color);
    font-size: 1.6rem;
    max-width: 80%;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    .plan-trip-btn {
        font-size: 1.6rem;
        padding: 1.2rem 2.4rem;
    }
    
    .plan-trip-desc {
        max-width: 100%;
        font-size: 1.4rem;
    }
}

/* ===== PACKAGES SECTION ===== */
.packages {
    padding: 10rem 0;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.packages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(122, 157, 233, 0.1) 0%, rgba(196, 214, 255, 0.1) 100%);
    z-index: -1;
}

.packages-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
    gap: 3rem;
}

.package-card {
    background-color: transparent;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.package-image {
    position: relative;
    height: 20rem;
}

.package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.package-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 0.3rem;
    z-index: 1;
}

.package-content {
    padding: 2.5rem;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
}

.package-content h3 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.package-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.package-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.package-details span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.4rem;
    color: var(--text-light);
}

.package-details i {
    color: var(--primary-color);
}

/* ===== EXPERIENCES SECTION ===== */
.experiences {
    padding: 12rem 0;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 50%, #f5f8ff 100%);
    position: relative;
    overflow: hidden;
}

.experiences::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(231, 76, 60, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(78, 84, 200, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(255, 126, 95, 0.02) 0%, transparent 50%);
    z-index: 0;
}

.experiences .container {
    position: relative;
    z-index: 1;
}

.experiences-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5rem 7rem;
    max-width: 110rem;
    margin: 0 auto;
    position: relative;
    padding: 4rem 0;
}

.experience-item {
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
}

.experience-item::before {
    content: '';
    position: absolute;
    top: -2rem;
    left: -2rem;
    right: -2rem;
    bottom: -2rem;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1) 0%, rgba(255, 126, 95, 0.05) 100%);
    border-radius: 2rem;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: -1;
}

.experience-item:hover::before {
    opacity: 1;
    transform: scale(1.02);
}

.experience-item:hover {
    transform: translateY(-15px);
}

.experience-circle {
    width: 12rem;
    height: 12rem;
    border: 4px solid #e74c3c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.15);
}

.experience-circle::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(135deg, #e74c3c 0%, #ff6b6b 100%);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: -1;
}

.experience-item:hover .experience-circle {
    background: linear-gradient(135deg, #e74c3c 0%, #ff4757 100%);
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 15px 40px rgba(231, 76, 60, 0.3);
    border-color: transparent;
}

.experience-item:hover .experience-circle::before {
    opacity: 1;
}

.experience-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #e74c3c;
    transition: all 0.4s ease;
    text-shadow: 0 2px 10px rgba(231, 76, 60, 0.2);
}

.experience-item:hover .experience-number {
    color: white;
    transform: scale(1.1);
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.experience-item h3 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--primary-dark);
    transition: all 0.3s ease;
    letter-spacing: -0.5px;
}

.experience-item:hover h3 {
    color: #e74c3c;
    transform: translateY(-3px);
}

.experience-item p {
    color: var(--text-light);
    font-size: 1.5rem;
    line-height: 1.7;
    font-weight: 400;
    transition: all 0.3s ease;
    max-width: 90%;
    margin: 0 auto;
}

.experience-item:hover p {
    color: var(--text-color);
    transform: translateY(-2px);
}

.experiences-connections {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.connections-svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.connections-svg line {
    opacity: 0.15;
    stroke-width: 2;
    stroke-dasharray: 5,5;
    animation: dash 20s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: -10;
    }
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 10rem 0;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(122, 157, 233, 0.1) 0%, rgba(196, 214, 255, 0.1) 100%);
    z-index: -1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 3rem;
}

.feature-card {
    background-color: transparent;
    padding: 3rem 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 8rem;
    height: 8rem;
    background-color: var(--primary-light);
    color: white;
    font-size: 3.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 2.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-card:nth-child(2n) .feature-icon {
    background-color: var(--secondary-color);
}

.feature-card:nth-child(3n) .feature-icon {
    background-color: var(--accent-color);
}

.feature-card h3 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.feature-card p {
    color: var(--text-light);
    font-size: 1.5rem;
}

/* ===== DESTINATIONS SECTION ===== */
.destinations {
    padding: 10rem 0;
    background-color: white;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 3rem;
}

.destination-card {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    background-color: transparent;
}

.destination-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.destination-img {
    position: relative;
    height: 25rem;
    overflow: hidden;
}

.destination-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.destination-card:hover .destination-img img {
    transform: scale(1.1);
}

.destination-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.destination-card:hover .destination-overlay {
    opacity: 1;
}

.destination-overlay a {
    padding: 1rem 2.5rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 5px;
    font-weight: 500;
    transform: translateY(20px);
    transition: var(--transition);
}

.destination-card:hover .destination-overlay a {
    transform: translateY(0);
}

.destination-info {
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
}

.destination-info h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--primary-dark);
}

.destination-info p {
    color: var(--text-light);
    font-size: 1.4rem;
}

.view-more {
    text-align: center;
    margin-top: 5rem;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    padding: 10rem 0;
    background-color: white;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 3rem;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    position: relative;
    padding: 0 2rem;
    margin-bottom: 3rem;
}

.testimonial-content::before {
    content: '\201C';
    font-size: 8rem;
    font-family: sans-serif;
    color: var(--primary-light);
    opacity: 0.2;
    position: absolute;
    top: -3.5rem;
    left: -1rem;
}

.testimonial-content p {
    font-size: 1.6rem;
    line-height: 1.8;
    color: var(--text-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.testimonial-author img {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--primary-dark);
}

.testimonial-author span {
    font-size: 1.4rem;
    color: var(--text-light);
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter {
    padding: 8rem 0;
    background-color: var(--primary-color);
    background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('../Images/Index/Index.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.newsletter-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 65rem;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 3.6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.newsletter-content p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 55rem;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1.5rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.6rem;
}

.newsletter-form .btn {
    background-color: var(--secondary-color);
    padding: 1.5rem 3rem;
}

.newsletter-form .btn:hover {
    background-color: var(--secondary-dark);
}

/* ===== FOOTER ===== */
footer {
    background-color: #222;
    color: #aaa;
    padding: 6rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 5rem;
    margin-bottom: 5rem;
}

.footer-about {
    grid-column: 1 / 3;
}

.footer-logo {
    font-size: 2.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2rem;
}

.footer-logo span {
    color: var(--secondary-color);
}

.footer-about p {
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.social-links {
    display: none;
    gap: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.6rem;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 2rem;
    color: white;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 5rem;
    height: 0.2rem;
    background-color: var(--secondary-color);
}

.footer-links ul li {
    margin-bottom: 1.2rem;
}

.footer-links ul li a {
    color: #aaa;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: white;
    padding-left: 0.5rem;
}

.footer-contact ul li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-contact ul li i {
    color: var(--secondary-color);
    font-size: 1.8rem;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: #aaa;
    font-size: 1.4rem;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: white;
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav ul {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-content p {
        font-size: 1.6rem;
    }
    
    .search-row {
        flex-direction: column;
    }
    
    .experiences-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-about {
        grid-column: 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
