/*
Theme Name: Royal Miaou
Theme URI: http://www.royalmiaou.com
Description: Un thème WordPress premium pour accessoires de chats.
Version: 1.0.0
Author: Antigravity
Text Domain: royalmiaou
*/

:root {
    --color-gold-light: #F7D488;
    --color-gold: #D4AF37;
    --color-gold-dark: #AA8B1F;
    --color-white: #FFFFFF;
    --color-beige-light: #FDFBF7;
    --color-beige: #F5F1E9;
    --color-black: #1A1A1A;
    --color-black-soft: #2D2D2D;
    --font-main: 'Outfit', sans-serif;
    --font-heading: 'Marcellus', serif;
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-beige-light);
    color: var(--color-black);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--color-black);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

/* Header */
.site-header {
    background: var(--color-white);
    padding: 20px 0;
    border-bottom: 2px solid var(--color-gold);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--color-gold-dark);
    font-weight: bold;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a:hover {
    color: var(--color-gold);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--color-black);
    color: var(--color-white);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

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

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

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

/* Hero */
.hero {
    height: 80vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 60px;
    color: var(--color-white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* Category Grid */
.categories {
    padding: 80px 0;
    text-align: center;
}

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

.cat-item {
    background: var(--color-white);
    padding: 40px 20px;
    border: 1px solid var(--color-beige);
    transition: var(--transition);
}

.cat-item:hover {
    border-color: var(--color-gold);
    transform: translateY(-5px);
}

.cat-item i {
    font-size: 40px;
    color: var(--color-gold);
    margin-bottom: 15px;
}

/* Product Cards */
.products {
    padding: 80px 0;
    background: var(--color-beige);
}

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

.product-card {
    background: var(--color-white);
    padding: 15px;
    text-align: center;
    transition: var(--transition);
}

.product-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-image {
    width: 100%;
    aspect-ratio: 1;
    background: #eee;
    margin-bottom: 15px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-title {
    font-size: 16px;
    margin-bottom: 10px;
}

.product-price {
    font-weight: bold;
    color: var(--color-gold-dark);
}

/* Footer */
.site-footer {
    background: var(--color-black);
    color: var(--color-beige);
    padding: 60px 0;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 30px;
    color: var(--color-gold);
    margin-bottom: 20px;
}
