/*
Theme Name: Portfolio Photo
Theme URI: http://votre-site.com
Author: Aymeric DREMIERE
Description: Template pour portfolio de photographie
Version: 1.0
License: GNU General Public License v2 or later
*/

/* Reset et styles de base */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Arial', sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 56px;
}

/* Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: bold;
    color: #333;
}

.navbar-nav {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.navbar-nav li {
    margin: 0 15px;
}

.navbar-nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.navbar-nav a:hover {
    color: #666;
}

/* Icônes sociales */
.social-icons {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.social-icons a {
    color: #333;
    font-size: 1.2rem;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #666;
}

/* Galerie */
.gallery {
    padding: 20px 0;
    background-color: #f8f9fa;
}

.img-container {
    position: relative;
    overflow: hidden;
    padding-bottom: 100%;
}

.img-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.img-container a {
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
}

.img-container:hover img {
    transform: scale(1.05);
}

/* Footer */
.footer {
    background-color: #f8f9fa;
    padding: 20px 0;
    margin-top: auto;
}

.footer p {
    margin: 0;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-nav {
        margin-top: 10px;
    }

    .social-icons {
        margin-top: 10px;
        justify-content: center;
    }

    .social-icons a {
        margin: 0 10px;
    }
}

/* Classes WordPress */
.wp-post-image {
    max-width: 100%;
    height: auto;
}

.current-menu-item a {
    color: #666 !important;
}

/* Utilitaires */
.flex-grow-1 {
    flex-grow: 1;
}

/* Style pour les articles individuels */
.single-post {
    padding: 40px 20px;
}

.post-header {
    text-align: center;
    margin-bottom: 30px;
}

.post-title {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.post-meta {
    color: #666;
    font-style: italic;
}

.featured-image {
    margin-bottom: 30px;
}

.featured-image img {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.content {
    line-height: 1.8;
    font-size: 1.1em;
}

.img-container {
    position: relative;
    overflow: hidden;
    padding-bottom: 100%;
}

.img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.img-container:hover .img-overlay {
    opacity: 1;
}

.img-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.img-overlay p {
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}