/*
Theme Name: Arnaud Vibert Creation
Theme URI: https://www.arnaudvibertcreation.com
Author: Arnaud Vibert
Author URI: https://www.arnaudvibertcreation.com
Description: Mobile décoratif à suspendre au plafond design fabriqué et assemblé à la main. Estampillé par l'artiste. "Accrochez un mobile dans votre vie" Un mobile suspendu est un objet unique qui attirera votre regard en permanence.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: arnaud-vibert-creation
Tags: custom-menu, custom-logo, featured-images, footer-widgets, theme-options, one-column, e-commerce
*/

/* ==========================================================================
   Variables CSS - Couleurs archive décembre 2021
   ========================================================================== */
:root {
    --black: #202122;
    --white: #ffffff;
    --gray-light: #fafafa;
    --gray: #9a9a9b;
    --yellow: #e3da19;
    --yellow-hover: #d4cb10;
    --text-color: #333333;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

ul, ol {
    list-style: none;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-content {
    flex: 1;
}

/* ==========================================================================
   Header & Navigation - Style 2021 (barre noire)
   ========================================================================== */
.site-header {
    width: 100%;
    background: var(--black);
}

.main-nav {
    background: var(--black);
}

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

.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 15px 20px;
    color: var(--white);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-menu > li > a:hover {
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

/* Submenu */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 300px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.has-submenu:hover .submenu {
    display: block;
}

.submenu li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    font-size: 0.85rem;
    border-bottom: 1px solid #eee;
}

.submenu li a:hover {
    background: var(--gray-light);
    text-decoration: none;
}

.submenu li:last-child a {
    border-bottom: none;
}

/* Mobile menu */
.menu-toggle {
    display: none;
    width: 100%;
    padding: 15px;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
}

@media (max-width: 900px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu > li > a {
        text-align: center;
        padding: 12px 15px;
    }

    .submenu {
        position: static;
        box-shadow: none;
        background: #333;
    }

    .submenu li a {
        color: var(--white);
        border-bottom-color: #444;
        padding-left: 30px;
    }

    .has-submenu .submenu {
        display: block;
    }
}

/* ==========================================================================
   Buttons - Style 2021
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 0;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-align: center;
    text-transform: uppercase;
}

.btn:hover {
    text-decoration: none;
}

.btn-yellow {
    background: var(--yellow);
    color: var(--black);
}

.btn-yellow:hover {
    background: var(--yellow-hover);
    color: var(--black);
}

.btn-dark {
    background: var(--black);
    color: var(--white);
}

.btn-dark:hover {
    background: #333;
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--black);
    color: var(--black);
}

.btn-outline:hover {
    background: var(--black);
    color: var(--white);
}

/* ==========================================================================
   Hero Banner - Style 2021
   ========================================================================== */
.hero-banner {
    display: flex;
    align-items: center;
    min-height: 500px;
    background: var(--gray-light);
    overflow: hidden;
}

.hero-banner-content {
    flex: 1;
    padding: 60px;
}

.hero-banner-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero-banner-title span {
    display: block;
}

.hero-banner-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 300px;
}

.hero-banner-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-banner-image img {
    max-height: 450px;
    width: auto;
}

@media (max-width: 900px) {
    .hero-banner {
        flex-direction: column;
        text-align: center;
    }

    .hero-banner-content {
        padding: 40px 20px;
    }

    .hero-banner-title {
        font-size: 2rem;
    }

    .hero-banner-buttons {
        margin: 0 auto;
    }
}

/* ==========================================================================
   Introduction Section
   ========================================================================== */
.intro-section {
    padding: 60px 0;
}

.intro-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.intro-image {
    flex: 0 0 200px;
}

.intro-image img {
    border-radius: 50%;
}

.intro-text {
    flex: 1;
}

.intro-text p {
    margin-bottom: 1rem;
    text-align: justify;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .intro-content {
        flex-direction: column;
        text-align: center;
    }

    .intro-image {
        flex: none;
        margin: 0 auto;
    }

    .intro-text p {
        text-align: left;
    }
}

/* ==========================================================================
   Products Grid - Style 2021
   ========================================================================== */
.products-section {
    padding: 60px 0;
    background: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.product-card {
    text-align: center;
}

.product-card-image {
    margin-bottom: 20px;
}

.product-card-image img {
    max-height: 250px;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.product-card-image:hover img {
    transform: scale(1.05);
}

.product-card-info h3 {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 10px;
}

.product-card-info h3 em {
    font-style: italic;
}

.product-card-price {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.product-card-shipping {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 15px;
}

.product-card .btn {
    margin-bottom: 20px;
}

.product-card-description {
    text-align: justify;
    font-size: 0.9rem;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Info Section Home
   ========================================================================== */
.info-section-home {
    padding: 60px 0;
    background: var(--gray-light);
}

.info-section-home h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.info-section-home p {
    margin-bottom: 1rem;
    text-align: justify;
    line-height: 1.8;
}

/* ==========================================================================
   Gallery Page
   ========================================================================== */
.page-content {
    padding: 60px 0;
}

.page-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 40px;
}

.gallery-intro {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.gallery-item {
    background: var(--white);
    border: 1px solid #eee;
    transition: box-shadow 0.3s ease;
}

.gallery-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.gallery-item-image {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-light);
    overflow: hidden;
}

.gallery-item-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item-image img {
    transform: scale(1.05);
}

.gallery-item-content {
    padding: 20px;
    text-align: center;
}

.gallery-item-title {
    font-size: 1rem;
    margin-bottom: 10px;
    font-weight: 400;
}

.gallery-item-title a {
    color: var(--text-color);
}

.gallery-item-price {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.gallery-item-shipping {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 15px;
}

/* ==========================================================================
   Single Mobile Page
   ========================================================================== */
.single-mobile-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.single-mobile-image {
    flex: 1;
    min-width: 300px;
}

.single-mobile-details {
    flex: 1;
    min-width: 300px;
}

.single-mobile-details h1 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 20px;
}

.single-mobile-price {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.single-mobile-shipping {
    color: #666;
    margin-bottom: 25px;
}

.mobile-navigation {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
}

/* ==========================================================================
   Info Sections
   ========================================================================== */
.info-section {
    margin-bottom: 40px;
}

.info-section h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.info-box {
    background: var(--gray-light);
    padding: 25px;
}

.info-box p {
    margin-bottom: 15px;
}

.info-box h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 20px;
}

.info-box h3:first-child {
    margin-top: 0;
}

.info-box ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.info-box li {
    margin-bottom: 8px;
    list-style: disc;
}

/* ==========================================================================
   Footer - Style 2021
   ========================================================================== */
.site-footer {
    background: var(--black);
    color: var(--white);
    padding: 40px 0;
    margin-top: 40px;
    text-align: center;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    max-width: 200px;
    margin: 0 auto;
}

.footer-text {
    font-size: 0.85rem;
    color: var(--gray);
}

.footer-text p {
    margin-bottom: 5px;
}

.footer-text a {
    color: var(--white);
}

/* ==========================================================================
   404 Page
   ========================================================================== */
.error-404 {
    text-align: center;
    padding: 80px 20px;
}

.error-404 h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.error-404 p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    text-align: center;
}

/* ==========================================================================
   Forms
   ========================================================================== */
.search-form {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.search-field {
    padding: 12px 20px;
    border: 2px solid var(--black);
    font-size: 1rem;
    min-width: 250px;
    outline: none;
}

.search-field:focus {
    border-color: var(--yellow);
}

/* ==========================================================================
   WordPress Specific
   ========================================================================== */
.alignleft {
    float: left;
    margin-right: 20px;
    margin-bottom: 15px;
}

.alignright {
    float: right;
    margin-left: 20px;
    margin-bottom: 15px;
}

.aligncenter {
    display: block;
    margin: 0 auto 15px;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 600px) {
    .page-title {
        font-size: 1.5rem;
    }

    .single-mobile-content {
        flex-direction: column;
    }

    .btn {
        display: block;
        text-align: center;
    }
}
