/* 
 * Feuille de style pour Hjerte Møte
 * Généré automatiquement - Modifiable
 */

:root {
    --primary: rgb(233, 30, 99);
    --primary-dark: rgb(194, 24, 91);
    --accent: rgb(255, 64, 129);
    --accent-hover: rgb(245, 0, 87);
    --bg-light: #FFF0F5;
    --bg-white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-medium: #4A4A4A;
    --text-light: #7A7A7A;
    --border: #FFE0EB;
    --shadow: rgba(233, 30, 99, 0.12);
    --shadow-hover: rgba(233, 30, 99, 0.25);
}

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

body {
    font-family: 'Rubik', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background: var(--bg-white);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-family: 'Rubik', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.logo:hover {
    color: var(--accent);
}

.nav-menu {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    display: block;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.has-dropdown::before {
    content: '▼';
    font-size: 10px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.nav-item:hover .nav-link.has-dropdown::before {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 2px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 10px 40px var(--shadow-hover);
    min-width: 250px;
    max-height: 500px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 15px;
    padding: 10px 0;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu::-webkit-scrollbar {
    width: 8px;
}

.dropdown-menu::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 4px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.dropdown-title {
    padding: 12px 20px;
    font-weight: 600;
    color: var(--primary);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 5px;
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.dropdown-item:hover {
    background: var(--bg-light);
    color: var(--primary);
    padding-left: 25px;
}

/* Hero Section */
.hero {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 240, 245, 0.4) 100%), 
                url('img/wall.jpg') center/cover no-repeat;
    padding: 60px 0;
    position: relative;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.15;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 240, 245, 0.85) 100%);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

h1 {
    font-size: 56px;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 40px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: start;
}

.hero-left h2 {
    font-size: 32px;
    color: var(--primary-dark);
    margin-bottom: 30px;
}

.arguments {
    list-style: none;
}

.arguments li {
    padding: 15px 0;
    padding-left: 30px;
    position: relative;
    font-size: 18px;
}

.arguments li::before {
    content: '♥';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 20px;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px var(--shadow-hover);
    text-align: center;
    color: white;
}

.cta-box h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    background: white;
    color: var(--primary);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Profiles Section */
.profiles-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.profiles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.profile-card {
    background: var(--bg-light);
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--border);
    transition: all 0.4s ease;
}

.profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-hover);
    border-color: var(--accent);
}

.profile-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.profile-info {
    padding: 20px;
}

.profile-name {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 5px;
}

.profile-location {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 15px;
}

.profile-text {
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: center;
}

.profile-cta {
    display: block;
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.profile-cta:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px var(--shadow-hover);
}

/* Links Section */
.links-section {
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.links-section h3 {
    font-size: 28px;
    color: var(--primary-dark);
    margin-bottom: 30px;
    text-align: center;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.internal-link {
    display: block;
    padding: 15px 20px;
    background: white;
    border: 2px solid var(--border);
    border-radius: 12px;
    text-align: center;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.internal-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--shadow);
}

/* Blog */
.blog-header {
    background: linear-gradient(165deg, var(--bg-white) 0%, var(--bg-light) 100%);
    padding: 60px 0 40px;
    text-align: center;
}

.blog-header h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.blog-content {
    padding: 60px 0;
    background: var(--bg-white);
}

.articles-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 60px;
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.article-card {
    display: flex;
    flex-direction: row;
    background: var(--bg-light);
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--border);
    transition: all 0.4s ease;
    height: 350px;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-hover);
    border-color: var(--accent);
}

.article-image {
    width: 350px;
    min-width: 350px;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.article-content {
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    flex: 1;
    overflow: hidden;
}

.article-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-light);
}

.article-title {
    font-size: 26px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-excerpt {
    color: var(--text-medium);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.article-link {
    display: inline-flex;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.article-link:hover {
    color: var(--accent-hover);
    transform: translateX(5px);
}

.article-link::after {
    content: '→';
    margin-left: 8px;
}

/* Article Page */
.article-header {
    background: var(--bg-white);
    padding: 60px 0 40px;
}

.featured-image {
    width: 100%;
    max-width: 900px;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    margin: 0 auto 40px;
    display: block;
}

.article-content {
    background: white;
    padding: 50px;
    border-radius: 16px;
    margin-bottom: 40px;
}

.article-content h2 {
    font-size: 32px;
    color: var(--primary-dark);
    margin-top: 40px;
    margin-bottom: 20px;
}

.article-content p {
    margin-bottom: 20px;
    color: var(--text-medium);
    font-size: 17px;
}

.article-content ul,
.article-content ol {
    margin-left: 30px;
    margin-bottom: 20px;
}

.article-content li {
    margin-bottom: 12px;
    color: var(--text-medium);
    font-size: 17px;
}

.highlight-box {
    background: var(--bg-light);
    padding: 25px;
    border-left: 4px solid var(--primary);
    margin: 30px 0;
    border-radius: 8px;
}

/* Bouton Retour Blog */
.back-to-blog {
    text-align: center;
    margin: 40px 0;
}

.back-link {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--shadow-hover);
}

/* Pagination Blog */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 60px 0;
    flex-wrap: wrap;
}

.page-link {
    display: inline-block;
    padding: 12px 20px;
    background: white;
    border: 2px solid var(--border);
    border-radius: 8px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    min-width: 50px;
    text-align: center;
}

.page-link:hover {
    background: var(--bg-light);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.page-link.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    cursor: default;
}

.page-link.active:hover {
    transform: none;
}

.page-prev,
.page-next {
    padding: 12px 25px;
    font-weight: 600;
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: white;
    padding: 40px 0;
    text-align: center;
    margin-top: 80px;
}

footer a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: white;
}

/* SEO Section */
.seo-section {
    background: var(--bg-white);
    padding: 60px 0;
    border-top: 1px solid var(--border);
}

.seo-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 10px var(--shadow);
}

.seo-content h2 {
    font-size: 32px;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.seo-content p {
    color: var(--text-medium);
    font-size: 17px;
    line-height: 1.8;
}

/* Legal Page */
.legal-content {
    background: white;
    padding: 60px 50px;
    margin: 60px auto;
    border-radius: 16px;
    max-width: 900px;
}

.legal-content h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 40px;
    text-align: left;
}

.legal-content h2 {
    font-size: 28px;
    color: var(--primary-dark);
    margin-top: 40px;
    margin-bottom: 20px;
}

.legal-content p {
    margin-bottom: 20px;
    color: var(--text-medium);
    font-size: 16px;
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .profiles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    h1 {
        font-size: 40px;
    }
    
    .article-card {
        flex-direction: column;
        height: auto;
    }
    
    .article-image {
        width: 100%;
        min-width: 100%;
        height: 250px;
    }
    
    .article-content {
        height: auto;
    }
    
    .article-content {
        padding: 25px;
    }
}

@media (max-width: 640px) {
    .profiles-grid {
        grid-template-columns: 1fr;
    }
    
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    h1 {
        font-size: 32px;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    .dropdown-menu {
        position: fixed;
        left: 0;
        right: 0;
        max-height: 70vh;
    }
    
    .article-content {
        padding: 20px;
    }
    
    .article-title {
        font-size: 22px;
    }
    
    .pagination {
        gap: 5px;
    }
    
    .page-link {
        padding: 10px 15px;
        min-width: 40px;
        font-size: 14px;
    }
    
    .page-prev,
    .page-next {
        padding: 10px 20px;
    }
}
