/*
Theme Name: Bodyboard Theme
Theme URI: https://example.com/bodyboard-theme
Author: Antigravity
Author URI: https://google.com
Description: Un thème WordPress moderne rapide et responsive pour présenter les marques et produits de bodyboard. Design premium inspiré des meilleurs sites modernes.
Version: 2.9
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bodyboard-theme
*/

@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Inter:wght@400;500;600;700&family=Outfit:wght@500;700;800&display=swap');

:root {
    --primary-color: #0d9488;
    --primary-light: #14b8a6;
    --primary-dark: #0f766e;
    --accent-color: #fb923c;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-alt: #f9fafb;
    --card-bg: #ffffff;
    --font-main: 'Inter', -apple-system, sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --font-display: 'Pacifico', cursive;
    --container-width: 1280px;
    --border-radius: 16px;
    --border-radius-sm: 12px;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.7;
    font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.875rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.grid {
    display: grid;
    gap: 2.5rem;
}

.grid-cols-1 {
    grid-template-columns: 1fr;
}

.section {
    padding: 6rem 0;
}

.section-alt {
    background-color: var(--bg-alt);
}

/* Header */
.site-header {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.site-title {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 400;
}

.site-title a {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.logo-bodyboards {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-domain {
    color: var(--accent-color);
    font-size: 1.75rem;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu,
.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu li,
.main-navigation ul li {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-menu li:not(:last-child)::after,
.main-navigation ul li:not(:last-child)::after {
    content: '';
    width: 1px;
    height: 20px;
    background: linear-gradient(to bottom, transparent, var(--primary-light), transparent);
    margin: 0 1rem;
}

.nav-menu a,
.main-navigation ul a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.625rem 1.25rem;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu a:hover,
.main-navigation ul a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 4px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

/* Cards - Enhanced Visibility */
.card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    /* Stronger shadow for better contrast */
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    /* Subtle border */
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    /* Even stronger shadow on hover */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-color: rgba(13, 148, 136, 0.3);
    /* Teal border on hover */
}

.card-image {
    width: 100%;
    height: 280px;
    object-fit: contain;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    padding: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background-color: white;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.3;
}

.card-title a {
    color: inherit;
}

.card-title a:hover {
    color: var(--primary-color);
}

.card-excerpt {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.7;
}

.card-link {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: white;
    color: var(--primary-dark);
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 6rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-branding h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--primary-light);
}

.footer-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-nav a:hover {
    color: var(--primary-light);
}

.footer-credits {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* WordPress Core */
.aligncenter {
    margin: 0 auto;
}

.alignleft {
    float: left;
    margin-right: 1.5rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
}

/* Responsive */
@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .main-navigation {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, rgba(15, 118, 110, 0.98) 0%, rgba(20, 184, 166, 0.98) 100%);
        backdrop-filter: blur(10px);
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 9999;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .main-navigation.active {
        display: flex;
        opacity: 1;
    }

    .main-navigation ul {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
        text-align: center;
        background: none;
        box-shadow: none;
        border-radius: 0;
        position: static;
        min-width: auto;
        width: 100%;
    }

    .main-navigation ul li:not(:last-child)::after {
        display: none;
    }

    .main-navigation ul a {
        display: block;
        width: 100%;
        color: white;
        font-size: 1.5rem;
        font-weight: 700;
        padding: 1rem;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(5px);
    }

    .main-navigation ul a:hover {
        background: rgba(255, 255, 255, 0.25);
        transform: scale(1.05);
    }

    .menu-toggle {
        display: flex !important;
        z-index: 10000;
        position: relative;
    }

    .menu-toggle.active span:first-child {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:last-child {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .site-title {
        font-size: 1.75rem;
    }

    .logo-domain {
        font-size: 1.5rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .section {
        padding: 4rem 0;
    }

    .container {
        padding: 0 1.25rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.text-5xl {
    font-size: 3rem;
}

.font-bold {
    font-weight: 700;
}

.text-gray-500 {
    color: var(--text-light);
}

.text-gray-600 {
    color: #4b5563;
}

.rounded-xl {
    border-radius: var(--border-radius);
}

.rounded-2xl {
    border-radius: 1.5rem;
}

.shadow-xl {
    box-shadow: var(--shadow-xl);
}

.inline-block {
    display: inline-block;
}

.prose {
    max-width: 65ch;
    line-height: 1.8;
}

.max-w-none {
    max-width: none;
}

.max-w-3xl {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}