/*
Theme Name: Agence
Theme URI: https://agencecitadelle.com
Author: Agence Citadelle
Author URI: https://agencecitadelle.com
Description: A custom WordPress theme for Agence Citadelle
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: agence
Tags: custom-theme, responsive, modern
*/

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

body {
    font-family: 'Poppins', sans-serif;
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 38px;
}

h3 {
    font-size: 32px;
}

h4 {
    font-size: 28px;
}

h5 {
    font-size: 24px;
}

h6 {
    font-size: 20px;
}


 h1, h2 {
    font-family: 'Merriweather' !important;
 }

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

/* Content */
.entry-title {
    font-size: 32px;
    margin-bottom: 20px;
}

.entry-content {
    margin-top: 20px;
}

.entry-content p {
    margin-bottom: 15px;
}

/* Home Page Styles */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #0079A8 0%, #005f85 100%);
    color: #fff;
    padding: 120px 0 100px;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 30px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge svg {
    width: 20px;
    height: 20px;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.95;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.btn-primary {
    background: #ED6C05;
    color: #fff;
    border: 2px solid #ED6C05;
}

.btn-primary:hover {
    background: #d45f04;
    border-color: #d45f04;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(237, 108, 5, 0.3);
}

.btn-primary svg {
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.hero-features {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    opacity: 0.9;
}

.hero-feature svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Decorative Shapes */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: float 20s infinite ease-in-out;
}

.hero-shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -100px;
    animation-delay: 0s;
}

.hero-shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: 10%;
    animation-delay: 5s;
}

.hero-shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: -75px;
    animation-delay: 10s;
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-20px) translateX(10px);
    }
    50% {
        transform: translateY(0) translateX(20px);
    }
    75% {
        transform: translateY(20px) translateX(10px);
    }
}

.home-content {
    padding: 60px 0;
}

.home-content .entry-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: #fff;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: -30px auto 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: #ED6C05;
    box-shadow: 0 8px 24px rgba(237, 108, 5, 0.15);
    transform: translateY(-5px);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #0079A8 0%, #ED6C05 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-title {
    font-size: 22px;
    font-weight: 700;
    color: #0079A8;
    margin-bottom: 15px;
}

.service-description {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* Latest Posts Section */
.latest-posts-section {
    background-color: #f9fafb;
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #0079A8;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.post-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.post-card .post-thumbnail {
    overflow: hidden;
    height: 200px;
}

.post-card .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-card-content {
    padding: 25px;
}

.post-card-title {
    font-size: 22px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.post-card-title a {
    color: #0079A8;
    text-decoration: none;
    transition: color 0.3s;
}

.post-card-title a:hover {
    color: #ED6C05;
}

.post-card-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.post-card-excerpt {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

.read-more-link {
    color: #ED6C05;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.read-more-link:hover {
    color: #0079A8;
}

/* Responsive */
@media (max-width: 768px) {
    .entry-title {
        font-size: 24px;
    }
    
    .hero-section {
        padding: 80px 0 60px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        margin-bottom: 40px;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-badge {
        font-size: 13px;
        padding: 8px 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .home-content {
        padding: 40px 0;
    }
    
    .latest-posts-section {
        padding: 50px 0;
    }
    
    .services-section {
        padding: 50px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
    }
    
    .service-icon svg {
        width: 40px;
        height: 40px;
    }
}