/* ========================================
   MOOREA MARINA - Modern Nature Design 2026
   ======================================== */

/* CSS Variables */
:root {
    /* Nature-inspired color palette */
    --ocean-deep: #0a4d5c;
    --ocean-mid: #0e6b7a;
    --ocean-light: #2d9cad;
    --lagoon: #5ec4c4;
    --lagoon-light: #a8e6e6;
    
    --jungle-deep: #1a3d2e;
    --jungle-mid: #2d5a45;
    --jungle-light: #4a8b6f;
    --palm: #6bb38a;
    
    --sand: #f4ede4;
    --sand-light: #faf8f5;
    --coral: #e07b5a;
    --coral-soft: #f0a58e;
    --sunset: #f5c16c;
    
    --text-dark: #1a2f2a;
    --text-mid: #3d5a52;
    --text-light: #6b8a80;
    
    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    
    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    
    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 40px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--sand-light);
    overflow-x: hidden;
}

/* Cursor glow effect */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(93, 196, 196, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

body:hover .cursor-glow {
    opacity: 1;
}

/* Selection */
::selection {
    background: var(--lagoon);
    color: white;
}

/* Links & Buttons */
a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-sm) 0;
    transition: all 0.4s var(--ease-out);
}

.nav.scrolled {
    background: rgba(250, 248, 245, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--ocean-deep);
}

.logo-icon {
    width: 40px;
    height: 40px;
    color: var(--ocean-mid);
}

.logo-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    transition: transform 0.3s var(--ease-out);
}

.nav-logo:hover .logo-img {
    transform: scale(1.05);
}

.footer-logo-img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-link {
    position: relative;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-mid);
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--ocean-light);
    transition: width 0.3s var(--ease-out);
}

.nav-link:hover {
    color: var(--ocean-deep);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link-cta {
    padding: 0.75rem 1.5rem;
    background: var(--ocean-deep);
    color: white !important;
    border-radius: var(--radius-xl);
    transition: all 0.3s var(--ease-out);
}

.nav-link-cta::after {
    display: none;
}

.nav-link-cta:hover {
    background: var(--ocean-mid);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 77, 92, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 30px;
    padding: 5px 0;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--ocean-deep);
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--sand-light);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: var(--space-md);
}

.mobile-link {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--ocean-deep);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-out);
}

.mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-link:nth-child(5) { transition-delay: 0.3s; }

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--space-xl) 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(93, 196, 196, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(45, 156, 173, 0.15) 0%, transparent 40%),
        radial-gradient(ellipse at 90% 30%, rgba(107, 179, 138, 0.1) 0%, transparent 35%),
        linear-gradient(180deg, var(--sand-light) 0%, var(--sand) 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 Q35 15 30 25 Q25 15 30 5' fill='none' stroke='%232d9cad' stroke-width='0.5' opacity='0.1'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    flex: 1;
    max-width: 700px;
    padding-left: var(--space-md);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(45, 156, 173, 0.2);
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    color: var(--ocean-mid);
    margin-bottom: var(--space-md);
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--lagoon);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: var(--space-md);
}

.title-line {
    display: block;
}

.title-accent {
    color: var(--ocean-deep);
    font-style: italic;
}

.hero-text {
    font-size: 1.15rem;
    color: var(--text-mid);
    max-width: 500px;
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-xl);
    transition: all 0.3s var(--ease-out);
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s var(--ease-out);
}

.btn-primary {
    background: var(--ocean-deep);
    color: white;
}

.btn-primary:hover {
    background: var(--ocean-mid);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(10, 77, 92, 0.35);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    background: transparent;
    color: var(--ocean-deep);
    border: 2px solid var(--ocean-deep);
}

.btn-secondary:hover {
    background: var(--ocean-deep);
    color: white;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Visual */
.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 500px;
}

.hero-card {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--lagoon-light) 0%, var(--ocean-light) 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 
        0 25px 80px rgba(10, 77, 92, 0.15),
        0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.card-image {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--lagoon-light) 0%, var(--ocean-light) 100%);
    color: white;
}

.image-placeholder svg {
    width: 60%;
    height: 60%;
    opacity: 0.6;
}

.image-placeholder.nature {
    background: linear-gradient(135deg, var(--palm) 0%, var(--jungle-mid) 100%);
}

.image-placeholder.water {
    background: linear-gradient(135deg, var(--lagoon) 0%, var(--ocean-mid) 100%);
}

/* Real images styling */
.card-img,
.visual-img,
.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out);
}

.card-image {
    height: 100%;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    background: linear-gradient(transparent, rgba(10, 77, 92, 0.8));
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.card-tag {
    font-size: 0.8rem;
    color: var(--lagoon-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.card-location {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: white;
}

/* Hero Scroll */
.hero-scroll {
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    color: var(--text-light);
    font-size: 0.85rem;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--ocean-light), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; height: 60px; }
    50% { opacity: 0.5; height: 40px; }
}

/* Floating leaves */
.floating-leaf {
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--palm);
    border-radius: 50% 0 50% 0;
    opacity: 0.15;
    animation: float 20s infinite ease-in-out;
}

.leaf-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.leaf-2 {
    top: 60%;
    right: 15%;
    width: 20px;
    height: 20px;
    animation-delay: -5s;
}

.leaf-3 {
    bottom: 20%;
    left: 25%;
    width: 25px;
    height: 25px;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -30px) rotate(10deg); }
    50% { transform: translate(-10px, -50px) rotate(-5deg); }
    75% { transform: translate(15px, -20px) rotate(8deg); }
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
    position: relative;
    padding: var(--space-xl) 0;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ocean-mid);
    margin-bottom: var(--space-sm);
}

.section-tag.light {
    color: var(--lagoon-light);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: var(--space-md);
}

.section-title.centered {
    text-align: center;
}

.section-title.light {
    color: white;
}

.section-title em {
    font-style: italic;
    color: var(--ocean-deep);
}

.section-title.light em {
    color: var(--lagoon-light);
}

.section-text {
    font-size: 1.1rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: var(--space-sm);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    background: var(--sand);
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.about-stats {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(45, 156, 173, 0.2);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--ocean-deep);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.about-visual {
    position: relative;
    height: 500px;
}

.visual-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.visual-card {
    position: absolute;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(10, 77, 92, 0.15);
    background: linear-gradient(135deg, var(--lagoon-light) 0%, var(--ocean-light) 100%);
}

.visual-card-1 {
    width: 70%;
    height: 70%;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, var(--palm) 0%, var(--jungle-mid) 100%);
}

.visual-card-2 {
    width: 50%;
    height: 50%;
    bottom: 0;
    left: 0;
    z-index: 2;
    background: linear-gradient(135deg, var(--lagoon) 0%, var(--ocean-mid) 100%);
}

.visual-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    color: var(--sand-light);
    line-height: 0;
}

.section-wave svg {
    width: 100%;
    height: 80px;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services {
    background: var(--sand-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(45, 156, 173, 0.1);
    transition: all 0.4s var(--ease-out);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(10, 77, 92, 0.12);
    border-color: var(--lagoon);
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--lagoon-light) 0%, var(--lagoon) 100%);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
    color: var(--ocean-deep);
    transition: transform 0.3s var(--ease-out);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: var(--space-xs);
}

.service-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================
   ACTIVITÉS / PRESTATAIRES SECTION
   ======================================== */
.activites {
    background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--jungle-deep) 100%);
    position: relative;
    overflow: hidden;
}

.activites::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(93, 196, 196, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(107, 179, 138, 0.15) 0%, transparent 40%);
}

.activites .section-tag {
    color: var(--lagoon-light);
}

.activites .section-title {
    color: white;
}

.activites .section-title em {
    color: var(--lagoon);
}

.section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

.activites-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    position: relative;
    z-index: 1;
}

.activite-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    text-align: center;
    transition: all 0.4s var(--ease-out);
}

.activite-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
    border-color: var(--lagoon);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.activite-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--space-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--lagoon) 0%, var(--ocean-light) 100%);
    border-radius: 50%;
    color: white;
    transition: transform 0.3s var(--ease-out);
}

.activite-card:hover .activite-icon {
    transform: scale(1.1) rotate(10deg);
}

.activite-icon svg {
    width: 36px;
    height: 36px;
}

.activite-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
    color: white;
    margin-bottom: var(--space-xs);
}

.activite-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* ========================================
   HISTOIRE SECTION
   ======================================== */
.histoire {
    background: var(--ocean-deep);
    overflow: hidden;
}

.histoire-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(45, 156, 173, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(93, 196, 196, 0.2) 0%, transparent 40%);
}

.histoire-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.timeline {
    margin-top: var(--space-lg);
    text-align: left;
}

.timeline-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-year {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 300;
    color: var(--lagoon);
    min-width: 100px;
}

.timeline-content h4 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: white;
    margin-bottom: var(--space-xs);
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========================================
   GALLERY SECTION
   ======================================== */
.galerie {
    background: var(--sand);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: var(--space-sm);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    background: linear-gradient(135deg, var(--lagoon-light) 0%, var(--ocean-light) 100%);
}

.gallery-item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item-wide {
    grid-column: span 2;
}

.gallery-img {
    width: 100%;
    height: 100%;
    transition: transform 0.5s var(--ease-out);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-label {
    position: absolute;
    bottom: var(--space-sm);
    left: var(--space-sm);
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-dark);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s var(--ease-out);
}

.gallery-item:hover .gallery-label {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
    background: var(--sand-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.contact-details {
    margin-top: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lagoon-light);
    border-radius: var(--radius-sm);
    color: var(--ocean-deep);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-item strong {
    display: block;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.contact-item p {
    font-size: 0.95rem;
    color: var(--text-mid);
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(10, 77, 92, 0.08);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    font-family: inherit;
    font-size: 1rem;
    border: 2px solid var(--sand);
    border-radius: var(--radius-sm);
    background: var(--sand-light);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--lagoon);
    background: white;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    position: relative;
    background: var(--jungle-deep);
    color: white;
    padding: var(--space-xl) 0 var(--space-md);
}

.footer-wave {
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    color: var(--sand-light);
    line-height: 0;
    transform: rotate(180deg);
}

.footer-wave svg {
    width: 100%;
    height: 80px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: white;
    margin-bottom: var(--space-sm);
}

.footer-logo .logo-icon {
    color: var(--lagoon);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: var(--space-xl);
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: var(--space-sm);
    color: white;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: var(--space-xs);
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--lagoon);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-md);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-coords {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--lagoon);
}

/* ========================================
   ANIMATIONS
   ======================================== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1200px) {
    .hero-visual {
        width: 350px;
        height: 450px;
        right: 3%;
    }
}

@media (max-width: 1024px) {
    .section-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .about-visual {
        order: -1;
        height: 400px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }
    
    .activites-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 200px);
    }
    
    .gallery-item-large {
        grid-column: span 2;
        grid-row: span 2;
    }
    
    .gallery-item-wide {
        grid-column: span 2;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding-top: 120px;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
        padding: 0 var(--space-sm);
    }
    
    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-scroll {
        display: none;
    }
    
    .services-grid,
    .activites-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: var(--space-md);
    }
    
    .timeline-item {
        flex-direction: column;
        gap: var(--space-xs);
    }
    
    .timeline-year {
        font-size: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-item,
    .gallery-item-large,
    .gallery-item-wide {
        grid-column: span 1;
        grid-row: span 1;
        height: 250px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: var(--space-lg);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    :root {
        --space-md: 1.5rem;
        --space-lg: 3rem;
        --space-xl: 5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .contact-form-wrapper {
        padding: var(--space-md);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

