@charset "utf-8";

/* CSS Document */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 根变量调整为米白/深灰配色 */
:root {
    --background-color: #fdfaf0;
    /* 米白色背景 */
    --text-color: #1a1a1a;
    /* 深灰文字 */
    --section-bg: rgba(255, 255, 255, 0.85);
    /* 模块背景稍微透明 */
    --cardbg: rgba(255, 255, 255, 0.9);
    --border-color: rgba(0, 0, 0, 0.1);
    --hover-color: rgba(0, 0, 0, 0.05);
    --accent-color: #0077cc;
    /* 按钮/小高亮色 */
}

/* Body 样式修改背景和文字颜色 */
body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--background-color);
    color: var(--text-color);
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

/* inscription button 按钮背景改为深蓝或米白配色可辨认 */
.inscrirebutton {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(135deg, #e6a57b, #df8f5e, #c97848);     
    color: #fdfaf0; /* 米白文字，高可读 */
    font-weight: 700;
    font-size: 16px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.1);
    text-decoration: none;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

.inscrirebutton:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.25);
}

.inscrirebutton:hover::before {
    opacity: 1;
    top: -20%;
    left: -20%;
}

#acceuil {
    padding-bottom: 0px; /* 比原来的 120px 小 */
}

/* ----- Modal 样式 ----- */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.3);
    /* 半透明背景降低对比 */
    backdrop-filter: blur(3px);
}

.modal-content {
    background-color: var(--cardbg);
    /* 模块背景稍微偏米白 */
    margin: 10% auto;
    padding: 30px;
    border-radius: 10px;
    width: 400px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.modal-content h2 {
    color: var(--accent-color);
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.close {
    color: #888;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

.modal-content input,
.modal-content select,
.modal-content button {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background-color: #fff;
    color: var(--text-color);
}

.modal-content button {
    background: var(--accent-color);
    color: #fff;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.modal-content button:hover {
    background: #005fa3;
}

/* Underwater Background */
#underwater-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    background: linear-gradient(135deg, rgba(245, 240, 220, 0.95), rgba(250, 237, 230, 0.95));
    /* 浅米色渐变 */
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

nav.scrolled {
    padding: 15px 50px;
    background: linear-gradient(135deg, rgba(245, 240, 220, 0.95), rgba(250, 237, 230, 0.95));
    /* 浅米色渐变 */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}



.logo-svg {
    width: 45px;
    height: 45px;
    position: relative;
}

.textlogo {
    font-family: 'Playfair Display', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    /* Logo文字改深灰 */
}

/* Navigation Menu */
nav ul {
    list-style: none;
    display: flex;
    gap: 45px;
    align-items: center;
}

nav a {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.8px;
    padding: 12px 0;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* nav menu 下划线 */
nav ul a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #b9845f; /* 深焦糖 */
    transition: width 0.4s ease;
    border-radius: 1px;
}

nav ul a:hover::after,
nav ul a.active::after {
    width: 100%;
    background: #b9845f;
}

nav ul a:hover,
nav ul a.active {
    color: #5c4033; /* 深米色文字，与下划线呼应 */
}

/* Mobile Menu */
.mobileswitchmenu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.mobileswitchmenu span {
    width: 30px;
    height: 3px;
    background: #c15827;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobileswitchmenu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobileswitchmenu.active span:nth-child(2) {
    opacity: 0;
}

.mobileswitchmenu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.acceuilimages {
    display: flex;
    gap: 15px;
    margin: 30px 0;
}

.acceuilimages img {
    flex: 1;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.acceuilimages img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Main Section */
.mainsection {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 105px;
    background: radial-gradient(ellipse at center, rgba(253, 250, 240, 0.3) 0%, transparent 70%);
}


/* 高级水墨标题 */
.inkstyle {
    font-family: "Noto Serif SC", sans-serif;
    font-size: 5.5rem;
    font-weight: 900;
    letter-spacing: 6px;
    color: #2b251f;

    text-shadow:
        /* 内部墨色浓淡层次 */
        0px 1px 1px rgba(255, 255, 255, 0.05),
        /* 外部低调墨晕 */
        0px 6px 18px rgba(0, 0, 0, 0.25),
        0px -4px 10px rgba(0, 0, 0, 0.12);

    position: relative;
    
}

.mainsectioncontent {
    text-align: center;
    z-index: 10;
    position: relative;
}

.ocean-title {
    font-family: 'Playfair Display', sans-serif;
    font-size: 4.8rem;
    font-weight: 800;
    position: relative;
    color: var(--text-color);
    /* 改为深灰文字 */
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    /* 调整发光效果，避免太亮 */
}

@keyframes waveGlow {
    0% {
        text-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    }

    100% {
        text-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
    }
}

.subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-color);
    /* 改为深灰 */
    opacity: 0.9;
    letter-spacing: 2px;
    text-transform: uppercase;
}



/* Sections */
section {
    padding: 120px 50px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.sectiontitre {
    font-family: 'Playfair Display', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
    letter-spacing: 2px;
    color: var(--text-color);
    /* 深灰文字 */
}


/* About Hero */
.aboutmainsection {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.aboutmainsection h3 {
    font-family: 'Playfair Display', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-color);
    /* 深灰文字 */
    letter-spacing: 1px;
}

/* 容器整体间距 */
.about-section {
    text-align: center;
    padding: 80px 60px;
    margin: 0 auto;
    max-width: 1400px;
    background-color: rgba(253, 250, 240, 0.85);
}

/* 文字样式优化 */
.aboutdescription {
    max-width: 800px;
    margin: 0 auto 50px auto;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
    font-family: "Georgia", serif; /* 类似图中的衬线字体 */
    margin-bottom: 50px;
}

/* 图片容器布局 */
.acceuilimages {
    display: flex;
    justify-content: center;
    gap: 30px; /* 图片之间的间距 */
    flex-wrap: wrap;
    margin-top: 50px;
}

/* 八角形核心样式 */
.octagon-wrapper {
    position: relative;
    width: 280px;  /* 调整图片大小 */
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 关键：创建八角形形状 */
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

.octagon-wrapper img {
    width: 100%; /* 留出一点点空间显示背景金色作为边框 */
    height: 100%;
    /* 内部图片也要应用同样的裁切 */
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

/* 适配移动端 */
@media (max-width: 768px) {
    .octagon-wrapper {
        width: 200px;
        height: 200px;
    }
}

/* About Grid Cards */
.aboutgrid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.aproposcard {
    background: rgba(253, 250, 240, 0.85);
    /* 米白半透明背景 */
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 40px 30px;
    border: 1px solid rgba(222, 184, 135, 0.8);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.aproposcardicon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    display: block;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.1));
    /* 光影浅灰 */
}

.about-page-container {
    background-color: rgba(253, 250, 240, 0.85);
    
    /* 💡 核心修改：将顶部的内边距从 60px 加大到 120px，把被遮挡的大标题强制推下来 */
    padding: 120px 20px 60px 20px; 
    
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}



/* 统一限制两部分内容的最大宽度并居中，使其完美对齐 */
.about-width-ctrl {
    max-width: 1140px; 
    margin: 0 auto;
}

/* ================= 2. 精准控制的最上方大框 ================= */
#about {
    background-color: rgba(253, 250, 240, 0.85);
    border: 1px solid #E6D2B8; /* 你的橙金色细边框 */
    border-radius: 20px;       /* 圆角效果 */
    padding: 45px 50px;        /* 框内文字的留白间距 */
    margin-bottom: 50px;       /* 与下方跳出框外的三个卡片保持间距 */
    box-sizing: border-box;
}

/* 主卡片内的标语 */
.aboutmaincard h2 {
    font-size: 1.6rem;
    color: #000000;
    margin-bottom: 25px;
    font-weight: bold;
    letter-spacing: 0.5px;
    text-align: center;
}

/* 主卡片内的段落文本 */
.aboutmaincard .aboutdescription p {
    font-size: 1rem;
    color: #111111;
    line-height: 1.65;
    text-align: left; 
    margin-bottom: 20px;
    text-indent: 0 !important; 
}
.aboutmaincard .aboutdescription p:last-child {
    margin-bottom: 0;
}

/* ================= 3. 下方流式卡片（已彻底脱离大框，在外面自由排版） ================= */
.aboutflow {
    display: flex;
    flex-direction: column;
    gap: 35px; 
}

/* 基础行：默认左图右书 */
.flowrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    width: 100%;
}

/* 当卡片在左，图片在右时使用（第二行） */
.flowrow.row-reverse {
    flex-direction: row-reverse;
}

/* 三个小特点卡片的独立边框样式 */
.aproposcard {
    flex: 1; 
    background-color: rgba(253, 250, 240, 0.85); 
    border: 1px solid #ECDCC9;     
    border-radius: 20px;
    padding: 25px 30px;
    box-sizing: border-box;
}

/* 小卡片标题 */
.aproposcard h4 {
    font-size: 1.25rem;
    color: #000000;
    margin-bottom: 15px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 小卡片描述文本 */
.aproposcard p {
    font-size: 0.95rem;
    color: #222222;
    line-height: 1.5;
    text-align: left;
    text-indent: 0 !important;
}

/* 图片容器 */
.flowimg {
    width: 260px; 
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 图片自身圆角 */
.flowimg img {
    width: 100%;
    height: auto;
    border-radius: 18px; 
    object-fit: cover;
}

@media (max-width: 768px) {
    .flowrow, .flowrow.row-reverse {
        flex-direction: column; 
        gap: 20px;
    }
    .flowimg {
        width: 100%; 
        max-width: 280px; 
    }
    #about {
        padding: 30px 20px;
    }
}

/* Achievements Grid */
.achievementsgrid {
    display: grid;
    grid-template-columns: repeat(4, 160px); /* 固定每个框宽度 */
    gap: 65px; /* 框间距 */
    justify-content: center; /* 网格整体居中 */
    position: relative;
    z-index: 1;
}

.achievementitem {
    width: 160px;           /* 固定宽度 */
    height: 160px;          /* 固定高度 → 正方形 */
    text-align: center;
    padding: 20px;
    background: rgba(253, 250, 240, 0.85);
    /* 米白半透明背景 */
    border-radius: 20px;
    border: 1px solid rgba(222, 184, 135, 0.8);
    /* 小卡片边框 */
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.achievementitem:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 15px rgba(251, 175, 104, 0.5),
        0 0 20px rgba(251, 175, 104, 0.3);
    background: rgba(253, 250, 240, 0.9);
}

.achievementnumber {
    font-family: 'Playfair Display', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-color);
    /* 深灰文字 */
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.achievementlabel {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    color: var(--text-color);
    /* 深灰文字 */
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* activites Section - Sidebar Layout */
.sectionactivites {
    padding: 120px 0;
    background: rgba(253, 250, 240, 0.1);
    /* 米白淡背景 */
}

.activites-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
}

/* À VENIR 模块 */
.avenir-section {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 50px;
}

/* 标题行 */
.avenir-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.avenir-header h3 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

/* 小标签 badge */
.badge {
    padding: 5px 12px;
    border: 1px solid #d4a373;
    border-radius: 20px;
    font-size: 13px;
    color: #333;
    background-color: #d8ffac;
    white-space: nowrap;
}

/* 文化活动 */
.badge.culture {
    background-color: #d8ffac; 
}

/* 体育活动 */
.badge.sport {
    background-color: #f7ad90; 
}

.badge.sante {
    background-color: #8df5f2; 
}


/* 卡片容器 */
.avenir-card {
    display: flex;
    justify-content: space-between;
    align-items: center;

    border: 1px solid rgba(222, 184, 135, 0.8);
    border-radius: 18px;

    padding: 20px 25px;
    background-color: #fdfaf0;

    gap: 25px;
    transition: all 0.3s ease;
}

/* 左侧文字 */
.avenir-text {
    flex: 1;
}

.avenir-text h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.avenir-text p {
    margin: 6px 0;
    line-height: 1.6;
    font-size: 14px;
}

/* 右侧图片 */
.avenir-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.avenir-image img {
    width: 100%;
    max-width: 360px;
    height: 140px; /* 根据设计图调整 */
    object-fit: cover;

    border-radius: 14px;
}

.sidebaractivites {
    background: rgba(253, 250, 240, 0.85);
    /* 米白半透明背景 */
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 30px;
    border: 1px solid rgba(222, 184, 135, 0.8);
    /* 可见边框 */
    position: sticky;
    top: 120px;
}

.tabactivites {
    width: 100%;
    padding: 20px 25px;
    background: transparent;
    border: none;
    color: var(--text-color);
    /* 深灰文字 */
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s ease;
    border-radius: 15px;
    position: relative;
    margin-bottom: 15px;
    text-align: left;
    border: 1px solid transparent;
}

.tabactivites:last-child {
    margin-bottom: 0;
}

/* 激活状态的标签（当前选中） */
.tabactivites.active {
    background: linear-gradient(135deg, #eed186, #f8c284);
    /* 金黄到焦糖橙的渐变 */
    color: #3F2E06;
    /* 深棕文字，与亮背景形成对比 */
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.35);
    /* 柔和的橙色阴影 */
    border-color: #D97706;
    /* 焦糖橙边框 */
    transform: translateY(-2px);
    /* 稍微上浮，突出选中状态 */
    transition: all 0.3s ease;
    /* 平滑过渡 */
}

/* 悬停状态但未选中时 */
.tabactivites:hover:not(.active) {
    background: rgba(217, 119, 6, 0.15);
    /* 浅橙色半透明背景 */
    color: var(--text-color);
    /* 深灰文字 */
    border-color: rgba(217, 119, 6, 0.4);
    /* 边框浅橙 */
    transform: translateX(4px);
    /* 鼠标悬停时微微向右 */
    box-shadow: 0 5px 15px rgba(251, 191, 36, 0.3);
    /* 柔和金黄阴影 */
    transition: all 0.3s ease;
    /* 平滑的悬停过渡效果 */
}

.contentactivites-area {
    background: rgba(253, 250, 240, 0.85);
    /* 米白半透明 */
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 50px;
    border: 1px solid rgba(222, 184, 135, 0.8);
    /* 可见边框 */
    min-height: 600px;
}

.contentactivites {
    display: none;
}

.contentactivites.active {
    display: block;
}

@keyframes surfaceUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contentactivites h3 {
    font-family: 'Playfair Display', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-color);
    /* 深灰文字 */
    letter-spacing: 1px;
}

.contentactivites p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    /* 深灰文字 */
    margin-bottom: 30px;
}

.detailsactivites {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.detailcard {
    background: rgba(253, 250, 240, 0.85);
    /* 米白半透明 */
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(222, 184, 135, 0.8);
    /* 小卡片边框 */
    transition: all 0.3s ease;
}

.detailcard:hover {
    transform: translateY(-5px);
    border-color: rgba(220, 170, 106, 0.8);
    /* 悬停时更明显 */
    box-shadow: 0 4px 10px rgba(251, 175, 104, 0.5),
        0 0 20px rgba(251, 175, 104, 0.3);
}

.detailcard h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
    /* 深灰文字 */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detailcard p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color);
    /* 深灰文字 */
    margin: 0;
}

/* activites Stats */
.statsactivites {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* 简约米色按钮 */
.statsactivites .statinformation a {
    display: inline-block;
    padding: 8px 16px;
    /* 内边距，像按钮 */
    background-color: #f9f3d2;
    /* 柔和米黄色，比原来偏黄 */
    color: #5a4d3b;
    /* 深咖色文字，柔和可读 */
    font-weight: 500;
    border-radius: 6px;
    /* 圆角 */
    text-decoration: none;
    /* 去掉下划线 */
    border: 1px solid #e0d8c5;
    /* 淡边框 */
    transition: all 0.25s ease;
    /* 平滑过渡 */
}

/* 悬停状态 */
.statsactivites .statinformation a:hover {
    background: linear-gradient(135deg, #ecd8a8, #e9b376);
    /* 稍微加深米色 */
    transform: translateY(-1px);
    /* 微上浮 */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    /* 轻微阴影 */
}

/* 卡片（关键：去掉复杂布局） */
.activitesante {
    width: 100%;
}

.activitesante img {
    width: 100%;
    display: block;
}



.statinformation {
    text-align: center;
}

.statinformation .number {
    font-family: 'Playfair Display', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-color);
    /* 深灰文字 */
    display: block;
}

.statinformation .label {
    font-size: 0.8rem;
    color: var(--text-color);
    /* 深灰文字 */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* forums Section - Organized Categories */
.sectionforums {
    background: rgba(253, 250, 240, 0.4);
    /* 提高透明度，让米白更柔和 */
    border-radius: 30px;
    padding: 80px 60px;
    margin: 0 auto;
    max-width: 1400px;
    border: 1px solid rgba(222, 184, 135, 0.8);
    /* 可见边框 */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    /* 柔和阴影，让整体浮起 */
    position: relative;
    overflow: hidden;
}


.forumscategories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.forumscategorie {
    background: #fdfaf0;
    ;
    /* 稍亮一点，与外层区分 */
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 35px;
    border: 1px solid rgba(222, 184, 135, 0.8);
    /* 可见边框 */
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    /* 柔和阴影 */
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* 顶部浅分割线 */
.forumscategorie::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.02));
}

.forumscategorie:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(222, 184, 135, 0.3);
    border-color: rgba(220, 170, 106, 0.8);
    /* 悬停时更明显 */
    background: #f9f5ee;
}

.categoriedeicon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.15));
}

.forumscategorie h3 {
    font-family: 'Playfair Display', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
    /* 深灰文字 */
    letter-spacing: 0.5px;
}

.forumscategorie p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    /* 深灰文字 */
    margin-bottom: 25px;
}

.forumslist {
    list-style: none;
}

.forumslist li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: var(--text-color);
    /* 深灰文字 */
    transition: all 0.3s ease;
}

.forumslist li:last-child {
    border-bottom: none;
}

.forumslist li:hover {
    color: rgba(0, 0, 0, 0.6);
    /* hover 深灰 */
    transform: translateX(5px);
}

.forumsdetails {
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.6);
    font-style: italic;
}

.categoriestats {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.categoriestat {
    text-align: center;
    flex: 1;
}

.categoriestat .number {
    font-family: 'Playfair Display', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-color);
    /* 深灰文字 */
    display: block;
}

.categoriestat .label {
    font-size: 0.75rem;
    color: var(--text-color);
    /* 深灰文字 */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}


/* Contact Container - Equal Width Columns */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.contactinformation {
    background: rgba(245, 245, 220, 0.15);
    /* 浅米色背景 */
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 50px;
    border: 1px solid rgba(222, 184, 135, 0.8);
    /* 可见边框 */
    position: relative;
    overflow: hidden;
}


.contactinformation h2 {
    font-family: 'Playfair Display', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #5c4033;
    /* 深米色标题文字 */
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.contactdetails {
    position: relative;
    z-index: 1;
}

.contactdetailsinfo {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(245, 245, 220, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(222, 184, 135, 0.6);
    transition: all 0.3s ease;
}

.contactdetailsinfo:hover {
    transform: translateY(-3px);
    border-color: rgba(205, 133, 63, 0.8);
    box-shadow: 0 10px 25px rgba(222, 184, 135, 0.3);
}

.contactdetailsicon {
    font-size: 1.5rem;
    margin-right: 15px;
    color: #a0522d;
    /* 图标深米色 */
    filter: drop-shadow(0 0 10px rgba(160, 82, 45, 0.4));
}

.contactdetailstext {
    flex: 1;
}

.contactdetailsmoyen {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #7a4924;
    /* 标签深米色 */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.contactusefulinfo {
    font-size: 1rem;
    color: #5c4033;
    /* 内容文字深米色 */
    line-height: 1.5;
}

.locationmap {
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.map-header {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #5c4033;
    /* 深米色 */
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.map-placeholder {
    background: linear-gradient(135deg, rgba(222, 184, 135, 0.3), rgba(245, 245, 220, 0.2));
    border: 2px dashed rgba(222, 184, 135, 0.5);
    border-radius: 15px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.map-text {
    text-align: center;
    color: #5c4033;
    /* 深米色 */
    font-weight: 500;
    line-height: 1.4;
}

.station-coordinates {
    font-size: 0.9rem;
    color: #5c4033;
    line-height: 1.5;
}

/* Contact Form - Wider with Better Spacing */
.contactform {
    background: rgba(245, 245, 220, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 60px 50px;
    border: 1px solid rgba(222, 184, 135, 0.8);
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* Form styling */
.infoform {
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
}

.infoform input,
.infoform textarea,
.infoform select {
    width: 100%;
    padding: 20px;
    background: rgba(245, 245, 220, 0.12);
    border: 2px solid rgba(222, 184, 135, 0.7);
    border-radius: 15px;
    color: #5c4033;
    /* 输入文字深米色 */
    font-size: 16px;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
}

.infoform input:focus,
.infoform textarea:focus,
.infoform select:focus {
    outline: none;
    border-color: rgba(205, 133, 63, 0.8);
    box-shadow: 0 0 30px rgba(222, 184, 135, 0.4);
    background: rgba(245, 245, 220, 0.2);
}

.infoform input::placeholder,
.infoform textarea::placeholder,
.infoform select::placeholder {
    color: #8b5e3c;
    /* 占位符深米色 */
    opacity: 1;
}

.contactform select {
    color: #5c4033;
    /* 下拉文字深米色 */
}

.dive-button {
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(135deg, #deb887, #f5f5dc);
    color: #5c4033;
    /* 按钮文字深米色 */
    padding: 20px 50px;
    border: 1px solid rgba(222, 184, 135, 0.7);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    z-index: 1;
}

.dive-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(248, 248, 220, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.dive-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(222, 184, 135, 0.5);
}

.dive-button:hover::before {
    width: 400px;
    height: 400px;
}

/* Footer - Clean and Fixed Design */
footer {
    background: linear-gradient(135deg, rgba(245, 240, 220, 0.95), rgba(250, 237, 230, 0.95));
    /* 浅米色渐变 */
    border-top: 2px solid rgba(222, 184, 135, 0.8);
    padding: 80px 50px 60px;
    margin-top: 120px;
    position: relative;
    z-index: 2;
    overflow: hidden;
}


.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2.5fr 1fr 1.5fr;
    gap: 80px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-main {
    padding-right: 20px;
}

.footer-main .logo-footer {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.footer-main .logo-footer svg {
    width: 50px;
    height: 50px;
}

.footer-main .logo-footer .textlogo {
    font-family: 'Playfair Display', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: #ac6a4c;
    /* 深棕到米色 */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}


.footer-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #5c4033;
    /* 深米色 */
    margin-bottom: 30px;
    font-weight: 400;
}

.footer-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-stat {
    text-align: center;
}

.footer-stat .number {
    font-family: 'Playfair Display', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #a0522d;
    /* 深棕色 */
    display: block;
    margin-bottom: 5px;
}

.footer-stat .label {
    font-size: 0.8rem;
    color: #8b5e3c;
    /* 棕色标签 */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sectionfooter {
    position: relative;
}

.sectionfooter h2 {
    font-family: 'Playfair Display', sans-serif;
    color: #5c4033;
    /* 深米色标题 */
    margin-bottom: 25px;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 10px;
}

.sectionfooter ul {
    list-style: none;
}

.sectionfooter ul li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
}

.sectionfooter ul li::before {
    content: '〉';
    position: absolute;
    left: 0;
    color: #deb887;
    /* 浅棕色 */
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.sectionfooter ul li:hover::before {
    transform: translateX(3px);
    color: #5c4033;
    /* 深米色 */
}

.sectionfooter a {
    color: #5c4033;
    /* 深米色链接 */
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
}

.sectionfooter a:hover {
    color: #a0522d;
    /* 深棕色 hover */
    transform: translateX(5px);
    display: inline-block;
}

/* 外层大卡片 */
.newsletter {
    border: 1px solid #D2B48C;
    border-radius: 40px;
    padding: 40px;          /* 增加留白，显得更有高级感 */
    max-width: 800px;       /* 适当加宽以容纳横向布局 */
    background-color: transparent;
}

/* 标题：独占一行 */
.newslettertitle {
    font-size: 22px;
    font-weight: bold;
    color: #4A3E37;
    text-transform: uppercase;
    margin-bottom: 25px;    /* 标题与下方内容之间的间距 */
    white-space: nowrap;    /* 确保标题不换行 */
}

/* 下方并排区域的容器 */
.newsletter-content {
    display: flex;          /* 开启弹性布局 */
    align-items: flex-start;/* 顶部对齐 */
    justify-content: space-between;
    gap: 40px;              /* 文字和二维码之间的间距 */
}

/* 左侧文字占 2/3 */
.newslettertext {
    flex: 2;                /* 占据 2 份空间 */
    font-size: 15px;
    color: #4A3E37;
    line-height: 1.6;
    margin: 0;              /* 移除默认边距 */
}

/* 右侧二维码占 1/3 */
.qr-code {
    flex: 1;                /* 占据 1 份空间 */
    max-width: 100px;       /* 限制二维码最大宽度 */
    height: auto;           /* 高度自适应 */
    background-color: #fff;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); /* 淡淡的阴影 */
}

.newsletterform {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.newsletterinput {
    flex: 1;
    padding: 12px 15px;
    background: rgba(245, 245, 220, 0.12);
    border: 1px solid rgba(222, 184, 135, 0.7);
    border-radius: 10px;
    color: #5c4033;
    font-size: 0.9rem;
    font-family: 'Outfit', sans-serif;
}

.newsletterinput::placeholder {
    color: #8b5e3c;
}

.sociallinks {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.sociallinks a {
    width: 45px;
    height: 45px;
    border: 2px solid #deb887;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    background: rgba(245, 245, 220, 0.1);
}

.sociallinks a:hover {
    background: #deb887;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 30px rgba(222, 184, 135, 0.4);
    border-radius: 50%;
}

.bottom {
    font-family: 'Outfit', sans-serif;
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(222, 184, 135, 0.7);
    color: #5c4033;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

.bottom a {
    color: #5c4033;
}



/* Responsive */
@media (max-width: 768px) {
    nav {
        padding: 15px 20px;
    }

    .textlogo {
        font-size: 1.3rem;
    }

    .logo-svg {
        width: 35px;
        height: 35px;
    }

    .nav-container {
        position: relative;
    }

    .mobileswitchmenu {
        display: flex;
    }

    .navigationmenu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(240, 228, 210, 0.95); /* 高级暖米色半透明 */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        margin-top: 15px;
    }

    .navigationmenu.active {
        max-height: 400px;
        border-top: 1px solid rgba(220, 200, 180, 0.6); /* 暖米色分割线 */
        box-shadow: 0 10px 25px rgba(200, 180, 160, 0.25); /* 柔和阴影，增加浮层感 */
    }

    

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 25px;
    }

    nav ul li {
        padding: 15px 0;
        border-bottom: 1px solid rgba(220, 200, 180, 0.3); /* 温暖细分割线 */
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    .ocean-title {
        font-size: 3.2rem;
        letter-spacing: 2px;
    }

    .mainsection {
        margin-top: 70px;
    }

    .subtitle {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }
    
    .acceuilimages {
        grid-template-columns: repeat(2, 1fr);
    }

    section {
        padding: 70px 20px;
    }

    .aboutgrid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .achievementsgrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .activites-container {
        padding: 0 20px;
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .avenir-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .avenir-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .avenir-image {
        width: 100%;
        justify-content: center;
    }

    .avenir-image img {
        max-width: 100%;
        height: auto;
    }

    .sidebaractivites {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 20px;
    }

    .contentactivites-area {
        padding: 30px;
        min-height: auto;
    }

    .contentactivites h3 {
        font-size: 1.8rem;
    }

    .detailsactivites {
        grid-template-columns: 1fr;
    }

    .statsactivites {
        justify-content: center;
    }

    .sectionforums {
        padding: 40px 20px;
    }

    .forumscategories {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contactinformation {
        padding: 30px;
    }

    .contactform {
        padding: 40px;
    }

    .contactdetailsinfo {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }

    .contactdetailsicon {
        margin-right: 0;
        margin-bottom: 10px;
        font-size: 2rem;
    }

    .map-placeholder {
        height: 150px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-main {
        text-align: center;
        padding-right: 0;
    }

    .footer-stats {
        justify-content: center;
    }

    .newsletterform {
        flex-direction: column;
        gap: 15px;
    }

    .newsletterbutton {
        align-self: stretch;
        padding: 15px 20px;
    }

    .sociallinks {
        justify-content: center;
    }

    .sectiontitre {
        font-size: 2.8rem;
        letter-spacing: 1px;
    }

    .contactform {
        padding: 40px;
    }

    .infoform input,
    .infoform textarea {
        font-size: 14px;
        padding: 16px;
    }

    .dive-button {
        font-size: 14px;
        padding: 16px 40px;
    }

    .sociallinks a {
        width: 45px;
        height: 45px;
    }

    .bottom {
        font-size: 0.85rem;
    }
}

.imglogo {
    height: 50px;
    /* 可以根据需要调整，比如 40px / 60px */
    width: auto;
    border-radius: 50%;
    /* 如果你想要圆形头像效果 */
    margin-right: 10px;
    /* 图片和文字之间留点间距 */
}

/* ins颜色 */
.fa-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 微信颜色 */
.sociallinks a .fa-weixin {
    color: #07C160;
}

/* Email 浅蓝渐变 */
.sociallinks a .fa-envelope {
    background: linear-gradient(135deg, #6ec1e4, #a2d5f2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sociallinks a {
    text-decoration: none;
}