/* ESPRIT IVOIRE - STYLES PRINCIPAUX */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    background: #ffffff;
    color: #333333;
    scroll-behavior: smooth;
}

/* ========== LIQUID GLASS EFFECT ========== */
.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-radius: 40px 10px 40px 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 130, 0, 0.4);
    box-shadow: 0 30px 50px rgba(255, 130, 0, 0.15), 0 0 0 2px rgba(255, 130, 0, 0.1) inset;
    transform: translateY(-8px) scale(1.02);
}

/* ========== LIQUID OVERLAY ========== */
.liquid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: multiply;
    opacity: 0.15;
    background: radial-gradient(circle at 30% 50%, rgba(255, 130, 0, 0.4) 0%, transparent 30%),
                radial-gradient(circle at 80% 70%, rgba(0, 158, 96, 0.4) 0%, transparent 35%),
                repeating-linear-gradient(45deg, rgba(0,0,0,0.02) 0px, rgba(0,0,0,0.02) 2px, transparent 2px, transparent 10px);
    animation: liquidWave 15s infinite alternate;
}

@keyframes liquidWave {
    0% { filter: hue-rotate(0deg) blur(0px); }
    50% { filter: hue-rotate(5deg) blur(1px); }
    100% { filter: hue-rotate(0deg) blur(0px); }
}

/* ========== HERO SECTION ========== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(rgba(0, 20, 30, 0.6), rgba(0, 40, 30, 0.6)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-content {
    max-width: 900px;
    padding: 3rem 4rem;
    animation: floatHero 6s infinite alternate;
}

@keyframes floatHero {
    0% { transform: translateY(0); }
    100% { transform: translateY(-20px); }
}

.hero h1 {
    font-size: 5.5rem;
    font-weight: 800;
    letter-spacing: 6px;
    background: linear-gradient(135deg, #FF8200, #FFFFFF, #009E60, #FF8200);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-images {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.glass-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    /* Effet glassmorphism */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37), inset 0 0 20px rgba(255, 255, 255, 0.2);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-circle:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 45px 0 rgba(255, 130, 0, 0.5), inset 0 0 30px rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.8);
}

.glass-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    /* Accentuer la qualité (HD 8K feel) */
    filter: contrast(1.1) saturate(1.2);
    transition: transform 0.5s ease;
}

.glass-circle:hover img {
    transform: scale(1.1);
}

/* ========== GLASS SQUARE ========== */
.glass-square {
    display: block;
    width: 280px;
    height: 280px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37), inset 0 0 20px rgba(255, 255, 255, 0.2);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s;
    text-decoration: none;
}

.glass-square:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 45px 0 rgba(255, 130, 0, 0.5), inset 0 0 30px rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
}

.glass-square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.1) saturate(1.2);
    transition: transform 0.5s ease;
}

.glass-square:hover img {
    transform: scale(1.1);
}

/* ========== SECTIONS ========== */
.tour-section {
    min-height: 100vh;
    padding: 6rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.tour-section:nth-child(odd) {
    background: linear-gradient(135deg, #f5f7fa, #eef2f5);
}
.tour-section:nth-child(even) {
    background: linear-gradient(225deg, #ffffff, #f0f4f8);
}

.section-title {
    font-size: 3rem;
    margin-bottom: 4rem;
    text-align: center;
    display: inline-block;
    padding: 1rem 3rem;
    border-left: 6px solid #FF8200;
    border-right: 6px solid #009E60;
    display: flex;
    align-items: center;
    gap: 20px;
}

.color-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-block;
}

.color-dot.orange { background: #FF8200; }
.color-dot.green { background: #009E60; }
.color-dot.blue { background: #4169E1; }
.color-dot.brown { background: #8B4513; }
.color-dot.gold { background: #FFD700; }
.color-dot.multicolor { background: linear-gradient(45deg, #FF8200, #FFFFFF, #009E60); border: 1px solid #ccc; }

/* ========== CARD GRID ========== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.tour-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    animation: cardFloatIn 0.8s ease backwards;
}

@keyframes cardFloatIn {
    from { opacity: 0; transform: translateY(50px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.tour-card:nth-child(1) { animation-delay: 0.1s; }
.tour-card:nth-child(2) { animation-delay: 0.3s; }
.tour-card:nth-child(3) { animation-delay: 0.5s; }

.card-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.8s ease;
}

.tour-card:hover .card-image {
    transform: scale(1.1);
}

.card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.color-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0,0,0,0.7);
    color: #ffffff;
    backdrop-filter: blur(5px);
    padding: 5px 15px;
    border-radius: 30px 5px 30px 5px;
    font-family: monospace;
    font-weight: bold;
    border: 1px solid rgba(255, 130, 0, 0.5);
    z-index: 2;
}

.card-content {
    padding: 2rem 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #FF8200;
    border-left: 4px solid #009E60;
    padding-left: 1rem;
}

.card-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #444444;
    flex-grow: 1;
}

.location-tag {
    display: inline-block;
    background: rgba(0, 158, 96, 0.15);
    color: #009E60;
    font-weight: 600;
    backdrop-filter: blur(5px);
    padding: 0.5rem 1.2rem;
    border-radius: 30px 5px 30px 5px;
    font-size: 0.9rem;
    align-self: flex-start;
}

/* ========== PALETTE SECTION ========== */
.palette-section {
    background: linear-gradient(135deg, #f5f7fa, #eef2f5) !important;
}

.palette-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem;
}

.palette-container h2 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    color: #FF8200;
}

.palette-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 3rem 0;
}

.palette-item {
    height: 120px;
    border-radius: 30px 5px 30px 5px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 15px;
    font-weight: bold;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
    border: 2px solid rgba(255,255,255,0.3);
    transition: transform 0.3s;
}

.palette-item:hover {
    transform: scale(1.05);
}

.palette-text {
    font-size: 1.3rem;
    font-style: italic;
    color: #333333;
}

/* ========== FOOTER ========== */
.footer {
    background: #ffffff;
    padding: 4rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.footer-colors {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 2rem;
}

.color-strip {
    width: 60px;
    height: 20px;
    border-radius: 30px 5px 30px 5px;
}

.color-strip.orange { background: #FF8200; }
.color-strip.white { background: #E6E6E6; border: 1px solid #ccc; }
.color-strip.green { background: #009E60; }

.footer p {
    font-size: 1.2rem;
    margin: 0.5rem 0;
    color: #444444;
}

.footer-credit {
    font-size: 0.9rem;
    color: #707070;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: #1a232f; }
::-webkit-scrollbar-thumb { 
    background: linear-gradient(135deg, #FFD700, #00843D);
    border-radius: 20px;
    border: 3px solid #1a232f;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .hero { height: auto; min-height: 100vh; padding-top: 2rem; padding-bottom: 2rem; }
    .hero-content { padding: 1rem 1.5rem; }
    .hero h1 { font-size: 2.5rem; letter-spacing: 2px; margin-bottom: 1rem; margin-top: 1rem; line-height: 1.2; }
    .hero p { font-size: 1.1rem !important; margin-bottom: 1.5rem; }
    .section-title { font-size: 2rem; }
    .card-grid { grid-template-columns: 1fr; }
    .palette-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-images { gap: 15px; }
    .glass-circle { width: 100px; height: 100px; }
    .glass-square { width: 200px; height: 200px; }
}