/* ============================================================
   Türkiye.fr — Design System v2 (fidèle à l'original)
   Palette: Rouge #C41E3A | Or #FFD700 | Dark #1a1a1a
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --primary: #C41E3A;
    --secondary: #1a472a;
    --accent: #FFD700;
    --light: #f8f4f0;
    --dark: #1a1a1a;
    --dark2: #0f0f0f;
    --dark3: #252525;
    --text: #2c2c2c;
}
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: var(--dark); color: white; line-height: 1.6; overflow-x: hidden; }

/* ── NAVIGATION ── */
nav { position: fixed; top: 0; width: 100%; background: rgba(26,26,26,0.95); backdrop-filter: blur(10px); z-index: 1000; padding: 1rem 0; box-shadow: 0 2px 20px rgba(0,0,0,0.1); }
nav .container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.8rem; font-weight: 700; color: white; text-decoration: none; letter-spacing: 2px; transition: all 0.3s ease; }
.logo:hover { text-shadow: 0 0 20px rgba(255,255,255,0.8), 0 0 40px rgba(255,255,255,0.3); transform: scale(1.05); }
nav ul { display: flex; list-style: none; gap: 1.5rem; flex-wrap: wrap; }
nav a { color: white; text-decoration: none; font-size: 0.9rem; transition: all 0.3s ease; position: relative; white-space: nowrap; }
nav a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; background: var(--accent); transition: width 0.3s cubic-bezier(0.34,1.56,0.64,1); }
nav a:hover, nav a.active { color: var(--accent); }
nav a:hover::after, nav a.active::after { width: 100%; }

/* ── UTILITIES ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
section { padding: 6rem 0; animation: fadeInUp 0.8s ease-out; }
section h2 { font-size: 2.5rem; margin-bottom: 1rem; color: white; position: relative; display: inline-block; }
section h2::after { content: ''; display: block; width: 60px; height: 4px; background: var(--primary); margin-top: 0.5rem; border-radius: 2px; }

/* ── HERO ── */
.hero { height: 100vh; position: relative; overflow: hidden; margin-top: 60px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%); }
.hero-background { position: absolute; width: 100%; height: 100%; top: 0; left: 0; z-index: 1; }
.hero-background img { width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.hero-overlay { position: absolute; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(196,30,58,0.4) 0%, rgba(26,71,42,0.4) 100%); z-index: 2; }
.hero-content { position: relative; z-index: 3; text-align: center; color: white; max-width: 850px; padding: 2rem; animation: fadeInUp 1s ease-out; }
.hero-content h1 { font-size: 3.8rem; margin-bottom: 1rem; font-weight: 800; letter-spacing: -2px; animation: slideDown 0.8s ease-out; }
.hero-content .subtitle { font-size: 1.4rem; margin-bottom: 1rem; color: var(--accent); font-weight: 300; animation: slideUp 0.8s ease-out 0.2s both; }
.hero-content .hero-lead { font-size: 1.1rem; color: rgba(255,255,255,0.8); max-width: 650px; margin: 0 auto 2rem; animation: slideUp 0.8s ease-out 0.3s both; }
.hero-eyebrow { display: inline-block; background: var(--primary); color: white; padding: 0.3rem 1.2rem; border-radius: 50px; font-size: 0.8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 1.2rem; animation: slideDown 0.6s ease-out; }
.cta-button { display: inline-block; padding: 1.1rem 2.8rem; background: var(--primary); color: white; text-decoration: none; border-radius: 50px; font-weight: 600; font-size: 1rem; transition: all 0.4s ease; border: 2px solid var(--primary); cursor: pointer; box-shadow: 0 10px 30px rgba(196,30,58,0.3); position: relative; overflow: hidden; animation: slideUp 0.8s ease-out 0.4s both; }
.cta-button::before { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; border-radius: 50%; background: rgba(255,255,255,0.25); transform: translate(-50%,-50%); transition: width 0.6s, height 0.6s; }
.cta-button:hover::before { width: 300px; height: 300px; }
.cta-button:hover { background: transparent; color: var(--primary); transform: translateY(-3px); box-shadow: 0 15px 40px rgba(196,30,58,0.5); }

/* ── BREADCRUMB ── */
.breadcrumb { background: rgba(255,255,255,0.03); border-bottom: 1px solid rgba(255,255,255,0.07); padding: 12px 0; }
.breadcrumb-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; font-size: 13px; color: #666; }
.breadcrumb-inner a { color: #888; text-decoration: none; transition: color 0.2s; }
.breadcrumb-inner a:hover { color: var(--accent); }
.breadcrumb-inner span { margin: 0 8px; }

/* ── STATS BAR ── */
.stats-bar { background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); padding: 3rem 0; }
.stats-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; text-align: center; }
.stat-item h3 { font-size: 2.4rem; font-weight: 700; color: white; margin-bottom: 0.3rem; }
.stat-item p { font-size: 0.95rem; color: rgba(255,255,255,0.85); }

/* ── ARTICLE LAYOUT ── */
.layout-main { display: grid; grid-template-columns: 1fr 300px; gap: 4rem; max-width: 1200px; margin: 0 auto; padding: 4rem 2rem 6rem; }
.article-body h2 { font-size: 1.85rem; color: white; margin: 3rem 0 1rem; padding-bottom: 0.6rem; border-bottom: 2px solid var(--primary); display: block; }
.article-body h2::after { display: none; }
.article-body h3 { font-size: 1.3rem; color: var(--accent); margin: 2rem 0 0.8rem; }
.article-body p { color: #ccc; margin-bottom: 1.2rem; line-height: 1.85; font-size: 1rem; }
.article-body strong { color: white; }
.article-body ul, .article-body ol { margin: 1rem 0 1.5rem 1.5rem; color: #bbb; }
.article-body li { margin-bottom: 7px; line-height: 1.7; }
.article-img { width: 100%; border-radius: 10px; margin: 2.5rem 0; aspect-ratio: 16/9; object-fit: cover; box-shadow: 0 20px 60px rgba(0,0,0,0.5); transition: transform 0.5s ease; }
.article-img:hover { transform: scale(1.01); }

/* ── FACT GRID ── */
.fact-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(140px,1fr)); gap: 1rem; margin: 0 0 2.5rem; }
.fact-card { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 1.2rem 1rem; text-align: center; backdrop-filter: blur(10px); transition: all 0.3s ease; }
.fact-card:hover { background: rgba(196,30,58,0.15); border-color: rgba(196,30,58,0.4); transform: translateY(-3px); }
.fact-num { font-size: 1.9rem; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 4px; }
.fact-label { font-size: 11px; font-weight: 600; color: #888; text-transform: uppercase; letter-spacing: 0.05em; }

/* ── INFOBOX ── */
.infobox { background: rgba(255,255,255,0.04); border-left: 4px solid #4a8fc7; border-radius: 0 8px 8px 0; padding: 1.3rem 1.6rem; margin: 2rem 0; }
.infobox-title { font-weight: 700; color: white; font-size: 12px; letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 8px; }
.infobox p { margin: 0; font-size: 0.9rem; color: #aaa; }

/* ── HIGHLIGHT BOX ── */
.highlight-box { background: linear-gradient(135deg, rgba(196,30,58,0.9) 0%, rgba(100,0,20,0.9) 100%); border: 1px solid rgba(196,30,58,0.5); color: white; padding: 1.8rem 2rem; border-radius: 10px; margin: 2.5rem 0; backdrop-filter: blur(10px); }
.highlight-box h3 { color: var(--accent); margin: 0 0 0.8rem; font-size: 1.1rem; }
.highlight-box p { color: rgba(255,255,255,0.9); margin: 0; font-size: 0.97rem; }

/* ── SIDEBAR ── */
.sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.sidebar-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09); border-radius: 10px; overflow: hidden; }
.sidebar-card-header { background: rgba(196,30,58,0.85); color: white; padding: 11px 16px; font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; }
.sidebar-card-body { padding: 1.1rem; }
.sidebar-card-body ul { list-style: none; }
.sidebar-card-body ul li { padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.06); color: #bbb; font-size: 13.5px; }
.sidebar-card-body ul li:last-child { border-bottom: none; }
.sidebar-card-body a { color: #aaa; text-decoration: none; font-size: 13.5px; transition: color 0.2s; }
.sidebar-card-body a:hover { color: var(--accent); }
.sidebar-tip { background: linear-gradient(135deg, rgba(196,30,58,0.15) 0%, rgba(26,71,42,0.15) 100%); border: 1px solid rgba(196,30,58,0.35); border-radius: 10px; padding: 1.4rem; }
.sidebar-tip h4 { color: var(--accent); font-size: 14px; margin-bottom: 8px; }
.sidebar-tip p { font-size: 13px; color: #aaa; margin: 0; line-height: 1.65; }

/* ── FEATURE CARDS ── */
.features-section { background: linear-gradient(135deg, var(--dark2) 0%, var(--dark) 100%); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 2rem; margin-top: 2.5rem; }
.feature-card { padding: 2rem; background: rgba(255,255,255,0.07); border-radius: 10px; border-left: 4px solid var(--primary); transition: all 0.3s ease; box-shadow: 0 5px 15px rgba(0,0,0,0.3); backdrop-filter: blur(10px); animation: fadeInUp 0.6s ease-out backwards; }
.feature-card:hover { transform: translateY(-14px) scale(1.02); box-shadow: 0 25px 50px rgba(196,30,58,0.25); background: rgba(255,255,255,0.11); border-left-color: var(--accent); }
.feature-icon { font-size: 2.3rem; margin-bottom: 0.9rem; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 0.7rem; color: white; }
.feature-card p { color: #bbb; line-height: 1.7; font-size: 0.95rem; }

/* ── GALLERY ── */
.gallery { background: var(--dark); }
.gallery h2 { color: white; }
.gallery h2::after { background: var(--accent); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.gallery-item { position: relative; height: 280px; border-radius: 10px; overflow: hidden; cursor: pointer; animation: zoomIn 0.6s ease-out backwards; }
.gallery-item:nth-child(1){animation-delay:0s} .gallery-item:nth-child(2){animation-delay:0.1s} .gallery-item:nth-child(3){animation-delay:0.2s}
.gallery-item:nth-child(4){animation-delay:0.3s} .gallery-item:nth-child(5){animation-delay:0.4s} .gallery-item:nth-child(6){animation-delay:0.5s}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.34,1.56,0.64,1); }
.gallery-item:hover img { transform: scale(1.15) rotate(2deg); }
.gallery-item-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0,0,0,0.95),transparent); padding: 1.5rem 1.2rem; color: white; transform: translateY(60px); transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1); }
.gallery-item:hover .gallery-item-overlay { transform: translateY(0); }
.gallery-item-title { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.4rem; }
.gallery-item-desc { font-size: 0.88rem; opacity: 0.88; }

/* ── TESTIMONIALS ── */
.testimonials { background: linear-gradient(135deg, var(--dark) 0%, var(--dark3) 100%); }
.testimonials h2 { color: white; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 2rem; margin-top: 2.5rem; }
.testimonial { padding: 2rem; background: rgba(255,255,255,0.07); border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.3); border-top: 3px solid var(--primary); backdrop-filter: blur(10px); animation: slideInLeft 0.6s ease-out backwards; transition: all 0.4s ease; }
.testimonial:nth-child(1){animation-delay:0s} .testimonial:nth-child(2){animation-delay:0.15s} .testimonial:nth-child(3){animation-delay:0.3s}
.testimonial:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 20px 50px rgba(196,30,58,0.3); border-top-color: var(--accent); }
.testimonial-text { font-size: 0.97rem; color: #ddd; margin-bottom: 1.5rem; font-style: italic; line-height: 1.8; }
.testimonial-author { font-weight: 600; color: white; margin-bottom: 0.3rem; }
.testimonial-role { font-size: 0.88rem; color: var(--primary); }
.stars { color: var(--accent); margin-bottom: 1rem; font-size: 1.1rem; }

/* ── STATS SECTION ── */
.stats { background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); }
.stats h2 { color: white; }
.stats h2::after { background: var(--accent); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 2rem; margin-top: 2.5rem; text-align: center; }
.stats-grid .stat-item h3 { font-size: 2.5rem; font-weight: 700; color: white; margin-bottom: 0.4rem; }
.stats-grid .stat-item p { font-size: 1rem; opacity: 0.9; }

/* ── RELATED PAGES ── */
.related-pages { background: linear-gradient(135deg, var(--dark2) 0%, var(--dark) 100%); border-top: 1px solid rgba(255,255,255,0.07); }
.related-pages h2 { text-align: center; margin-bottom: 2.5rem; }
.related-pages h2::after { margin: 0.5rem auto 0; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); gap: 1.5rem; }
.page-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.09); border-radius: 10px; overflow: hidden; text-decoration: none; display: block; transition: all 0.3s ease; }
.page-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(196,30,58,0.2); border-color: rgba(196,30,58,0.5); }
.page-card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.page-card-body { padding: 1.2rem; }
.page-card-label { font-size: 11px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 5px; }
.page-card-title { font-size: 1rem; font-weight: 700; color: white; line-height: 1.3; }

/* ── ABOUT CONTENT ── */
.about { background: linear-gradient(135deg, var(--dark2) 0%, var(--dark) 100%); }
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-top: 3rem; }
.about-text h3 { font-size: 1.6rem; margin: 1.5rem 0 0.8rem; color: white; }
.about-text p { font-size: 1rem; margin-bottom: 1.3rem; color: #ccc; line-height: 1.8; }
.about-image { position: relative; height: 420px; border-radius: 10px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.about-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.about-image:hover img { transform: scale(1.06); }

/* ── FOOTER ── */
footer { background: #111; color: rgba(255,255,255,0.7); padding: 4rem 0 2rem; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-grid { max-width: 1200px; margin: 0 auto; padding: 0 2rem 3rem; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; }
.footer-logo { font-size: 1.8rem; font-weight: 700; color: white; letter-spacing: 2px; margin-bottom: 1rem; }
.footer-logo span { color: var(--accent); }
.footer-desc { font-size: 14px; line-height: 1.7; color: #777; }
.footer-col h4 { color: var(--accent); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col a { color: #666; text-decoration: none; font-size: 14px; transition: color 0.3s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 1.5rem 2rem 0; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; font-size: 13px; color: #444; flex-wrap: wrap; gap: 8px; }
.footer-bottom a { color: var(--primary); text-decoration: none; }

/* ── ANIMATIONS ── */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes zoomIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-50px); } to { opacity: 1; transform: translateX(0); } }
@keyframes pulse-scale { 0%,100%{transform:scale(1)} 50%{transform:scale(1.05)} }
@keyframes float { 0%,100%{transform:translateY(0px)} 50%{transform:translateY(-20px)} }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .layout-main { grid-template-columns: 1fr; }
    .about-content { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    nav ul { gap: 0.8rem; }
}
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.4rem; }
    .hero-content .subtitle { font-size: 1.2rem; }
    section h2 { font-size: 2rem; }
    .stats-inner { grid-template-columns: 1fr 1fr; }
    nav ul { display: none; }
}
