:root {
    --orangina-blue: #091c6b;
    --orangina-blue-light: #1534b8;
    --orangina-yellow: #ffb800;
    --orangina-orange: #ff7300;
    --text-light: #ffffff;
    --text-dark: #1a1a1a;
    --font-main: 'Fredoka', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--orangina-blue);
    color: var(--text-light);
    overflow-x: hidden;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    z-index: 100;
    background: rgba(9, 28, 107, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.logo {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--text-light);
    text-shadow: 3px 3px 0px var(--orangina-orange);
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 5px;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--orangina-yellow);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* Utility */
.yellow-text { color: var(--orangina-yellow); }
.blue-text { color: var(--orangina-blue); }
.text-center { text-align: center; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 4rem;
    overflow: hidden;
    background: radial-gradient(circle at center, var(--orangina-blue-light) 0%, var(--orangina-blue) 70%);
}

.hero-content {
    flex: 1;
    z-index: 10;
}

.hero h1 {
    font-size: 6rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-weight: 900;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.subtitle {
    font-size: 1.8rem;
    margin-bottom: 3.5rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background-color: var(--orangina-yellow);
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 800;
    font-size: 1.25rem;
    border-radius: 50px;
    text-transform: uppercase;
    box-shadow: 0 10px 25px rgba(255, 184, 0, 0.4);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 35px rgba(255, 184, 0, 0.6);
}

.hero-image-container {
    flex: 1;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.main-canette {
    width: 140%; /* Allowing the splash to go out of bounds */
    max-width: 900px;
    animation: float 6s ease-in-out infinite;
}

/* Animations Variables */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.background-decorations {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
    pointer-events: none;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 184, 0, 0.15);
    filter: blur(10px);
}

.bubble-1 {
    width: 350px; height: 350px;
    top: 5%; right: -5%;
    animation: float 8s infinite reverse;
}

.bubble-2 {
    width: 200px; height: 200px;
    bottom: 25%; left: 8%;
    background: rgba(255, 255, 255, 0.08);
}

.bubble-3 {
    width: 500px; height: 500px;
    bottom: -15%; right: 15%;
    background: rgba(255, 115, 0, 0.1);
}

/* Concept Section */
.concept {
    background-color: var(--orangina-yellow);
    color: var(--text-dark);
    padding: 10rem 0 8rem;
    position: relative;
}

.concept::before { /* Wavy divider top */
    content: '';
    position: absolute;
    top: -50px; left: 0; width: 100%; height: 100px;
    background: var(--orangina-yellow);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.split-layout {
    display: flex;
    align-items: center;
    gap: 6rem;
}

.image-box {
    flex: 1;
    display: flex;
    justify-content: center;
}

.text-box {
    flex: 1.2;
}

.canette-seule {
    width: 100%;
    max-width: 600px;
    filter: drop-shadow(0 30px 40px rgba(0,0,0,0.3));
}

.float-anim {
    animation: float 7s ease-in-out infinite;
}

.text-box h2 {
    font-size: 5rem;
    line-height: 0.95;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    font-weight: 900;
}

.text-box p {
    font-size: 1.35rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-weight: 500;
}

/* Design Section */
.design {
    padding: 10rem 0;
    background-color: var(--orangina-blue);
    position: relative;
}

.design::before { 
    content: '';
    position: absolute;
    top: -50px; left: 0; width: 100%; height: 100px;
    background: var(--orangina-blue);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.design h2 {
    font-size: 5rem;
    margin-bottom: 6rem;
    text-transform: uppercase;
    font-weight: 900;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.card {
    background: rgba(255,255,255,0.03);
    padding: 4rem 2.5rem;
    border-radius: 30px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(5px);
}

.card:hover {
    transform: translateY(-15px);
    background: rgba(255,255,255,0.08);
    border-color: var(--orangina-yellow);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.card .icon {
    font-size: 5rem;
    margin-bottom: 2rem;
    display: inline-block;
}

.card h3 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    color: var(--orangina-yellow);
    font-weight: 800;
}

.card p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
}

/* Footer */
footer {
    text-align: center;
    padding: 4rem;
    background-color: #051040;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.5);
}

/* JS Animations Classes */
.reveal-text, .reveal-left, .reveal-right, .reveal-up {
    opacity: 0;
    visibility: hidden;
    will-change: transform, opacity;
}

.reveal-text.active, .reveal-up.active {
    animation: textFadeUp 1s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
    visibility: visible;
}

.reveal-left.active {
    animation: slideRight 1.2s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
    visibility: visible;
}

.reveal-right.active {
    animation: slideLeft 1.2s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
    visibility: visible;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes textFadeUp {
    0% { opacity: 0; transform: translateY(50px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideRight {
    0% { opacity: 0; transform: translateX(-80px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideLeft {
    0% { opacity: 0; transform: translateX(80px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .split-layout, .grid-layout {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
    .hero {
        flex-direction: column;
        padding: 8rem 2rem 4rem;
        text-align: center;
        justify-content: center;
    }
    .hero h1 { font-size: 4.5rem; }
    .hero-content { margin-bottom: 3rem; }
    .main-canette { width: 120%; max-width: 600px; }
    
    .text-box { order: 1; text-align: center; }
    .image-box { order: 2; margin-top: 3rem; }
    .text-box h2, .design h2 { font-size: 4rem; }
}

@media (max-width: 768px) {
    header { padding: 1rem 2rem; flex-direction: column; gap: 1rem; }
    nav { margin-top: 0.5rem; }
    nav a { margin: 0 1rem; font-size: 0.85rem; }
    .hero h1 { font-size: 3.5rem; }
    .subtitle { font-size: 1.4rem; }
    .concept, .design { padding: 6rem 0; }
    .text-box h2, .design h2 { font-size: 3rem; }
}
