/* 
---
Theme: LunaPress
Font: Lobster / Roboto
Tone: Luxury & Elegant
Language: French
---
*/

/* --- Basic Reset & Font Import --- */
@import url('https://fonts.googleapis.com/css2?family=Lobster&family=Roboto:wght@400;700&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.7;
    background-color: #0a192f; /* Deep Navy Blue */
    color: #ccd6f6; /* Light Slate Blue */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- Variables --- */
:root {
    --primary-color: #64ffda; /* Bright Mint Green for accents */
    --secondary-color: #ccd6f6; /* Light Slate Blue */
    --background-color: #0a192f;
    --surface-color: #112240; /* Lighter Navy */
    --text-color: #a8b2d1; /* Slate Blue */
    --light-text-color: #8892b0; /* Darker Slate Blue */
    --border-color: #233554;
    --header-bg: rgba(10, 25, 47, 0.85);
    --footer-bg: var(--surface-color);
    --shadow: 0 10px 30px -15px rgba(2,12,27,0.7);
    --transition: all 0.25s cubic-bezier(0.645,0.045,0.355,1);
}

/* --- General Typography & Links --- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Lobster', cursive;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
    letter-spacing: 1px;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }

p {
    margin-bottom: 1.2rem;
    color: var(--text-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
    text-decoration: underline;
    filter: brightness(1.1);
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* --- Utility Classes --- */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    background-color: transparent;
    color: var(--primary-color);
    border-radius: 4px;
    font-weight: 400;
    text-align: center;
    border: 1px solid var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
}

.btn:hover {
    background-color: rgba(100, 255, 218, 0.1);
    transform: translateY(-3px);
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.1);
}

/* --- Header & Navigation --- */
.site-header {
    background-color: var(--header-bg);
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-family: 'Lobster', cursive;
    font-size: 2rem;
    font-weight: 400;
}

.site-title a {
    color: var(--secondary-color);
}
.site-title a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
}

.main-nav a {
    color: var(--text-color);
    padding-bottom: 5px;
    position: relative;
    font-size: 0.9rem;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
    text-decoration: none;
}


/* --- Main Content & Layout --- */
.main-content {
    flex: 1;
    padding: 3rem 0;
}

.layout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

main {
    padding: 1rem 0;
}

aside {
    padding-top: 1rem;
}

/* --- Hero Section --- */
.hero {
    text-align: center;
    padding: 4rem 1.5rem;
    margin-bottom: 3rem;
    border-radius: 4px;
    background: transparent;
    border: 1px solid var(--border-color);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--light-text-color);
    max-width: 750px;
    margin: 0 auto 2rem auto;
}

/* --- Blog Articles Section --- */
.articles-section {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
}
.articles-section > h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.article-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
}

.article-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 30px -15px rgba(2,12,27,0.7);
}

.article-card-content {
    padding: 1.8rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-card h2 {
    font-size: 1.8rem;
    margin-top: 0;
    color: var(--secondary-color);
}

.article-card p {
    color: var(--light-text-color);
    flex-grow: 1;
}

.article-card .btn {
    align-self: flex-start;
    margin-top: 1.2rem;
}


/* --- Sidebar --- */
.sidebar-widget {
    background: var(--surface-color);
    padding: 1.8rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 0.5rem;
    color: var(--primary-color);
}

.sidebar-widget ul {
    list-style: none;
    padding: 0;
}

.sidebar-widget li {
    margin-bottom: 0.8rem;
}

.sidebar-widget a {
    color: var(--text-color);
    font-weight: 400;
}

.sidebar-widget a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--footer-bg);
    color: var(--light-text-color);
    padding: 2.5rem 0;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.2rem;
}

.footer-links a {
    color: var(--light-text-color);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.copyright {
    font-size: 0.85rem;
}

/* --- Article Page Specifics --- */
.article-header {
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
    text-align: center;
}

.article-header h1 {
    font-size: 3.8rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.article-meta {
    font-size: 0.9rem;
    color: var(--light-text-color);
    font-style: italic;
    text-transform: uppercase;
}

.article-content {
    font-size: 1.1rem;
}

.article-content h2 {
    margin-top: 2.8rem;
    text-align: center;
}

.article-content h3 {
    margin-top: 2.2rem;
    color: var(--primary-color);
    font-size: 1.6rem;
}

.article-content ul, .article-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}
.article-content li {
    margin-bottom: 0.5rem;
}

.article-content blockquote {
    border-left: 3px solid var(--primary-color);
    padding-left: 1.8rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--light-text-color);
}

.cta-section {
    background: var(--surface-color);
    padding: 2.5rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    text-align: center;
    margin: 3rem 0;
}

/* --- Contact Page Specifics --- */
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--surface-color);
    color: var(--secondary-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(100, 255, 218, 0.1);
}

.form-group textarea {
    min-height: 180px;
    resize: vertical;
}

/* --- Responsive Media Queries --- */
@media (min-width: 768px) {
    .layout-grid {
        grid-template-columns: 2.5fr 1fr;
    }

    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
