/* Variables CSS */
:root {
    --primary-color: #e67e22;
    --secondary-color: #d35400;
    --accent-color: #f39c12;
    --warm-orange: #ff6b35;
    --deep-brown: #8b4513;
    --cream: #fdf6e3;
    --warm-white: #faf8f5;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 15px rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--warm-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--cream) 0%, var(--warm-white) 100%);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23e67e22" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23d35400" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23f39c12" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-title {
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    position: relative;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.image-placeholder:hover {
    transform: scale(1.05);
}

.image-placeholder i {
    font-size: 4rem;
    color: white;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(135deg, var(--secondary-color), var(--deep-brown));
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Articles Section */
.articles-section {
    background: white;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.article-item {
    padding: 2rem;
    border-radius: 15px;
    background: var(--warm-white);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    margin-bottom: 3rem;
}

.article-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.article-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 250px;
}

.article-image .image-placeholder {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--accent-color), var(--warm-orange));
}

.article-content {
    padding: 1rem 0;
}

.article-title {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-excerpt {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, var(--cream) 0%, var(--warm-white) 100%);
    position: relative;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.author-signature {
    border-top: 2px solid var(--primary-color);
    padding-top: 1rem;
    display: inline-block;
}

.author-signature p {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 700;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
}

/* Modal */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: var(--shadow-hover);
}

.modal-header {
    border-bottom: 2px solid var(--cream);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 15px 15px 0 0;
}

.modal-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.modal-body {
    padding: 2rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.modal-footer {
    border-top: 2px solid var(--cream);
    background: var(--warm-white);
    border-radius: 0 0 15px 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .article-title {
        font-size: 1.3rem;
    }
    
    .image-placeholder {
        width: 200px;
        height: 200px;
    }
    
    .image-placeholder i {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .article-item {
        padding: 1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--warm-white);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--deep-brown));
} 