/* MASTER STYLESHEET - Bead Bliss Boutique */

/* --- Color Palette & Variables --- */
:root {
    --barbie-pink: #e0218a;
    --soft-pink: #fce4ec;
    --hot-pink: #d81b60;
    --white: #ffffff;
    --text-dark: #4a4a4a;
    --bg-gray: #f4f7f6;
    --shadow: 2px 2px 0px rgba(0,0,0,0.1);
    --success-green: #2ecc71;
    --pending-orange: #f1c40f;
}

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

body {
    font-family: 'Quicksand', sans-serif;
    background-color: var(--soft-pink);
    color: var(--text-dark);
    line-height: 1.6;
}

/* --- Typography --- */
h1, h2, h3, .logo, .page-title, .category-header {
    font-family: 'Pacifico', cursive;
    color: var(--barbie-pink);
}

a { text-decoration: none; }

/* --- Navigation --- */
header {
    background-color: var(--white);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--barbie-pink);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    text-shadow: 2px 2px 0px #ffb7d5;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    color: var(--hot-pink);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--barbie-pink);
    text-decoration: underline wavy var(--barbie-pink);
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 99%, #fecfef 100%);
    text-align: center;
    padding: 5rem 1rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 3px 3px 0px var(--barbie-pink);
}

.hero p {
    font-size: 1.2rem;
    color: var(--hot-pink);
    margin-bottom: 2rem;
    font-weight: 600;
}

.btn {
    display: inline-block;
    background-color: var(--barbie-pink);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(224, 33, 138, 0.4);
    transition: transform 0.2s, background 0.2s;
}

.btn:hover {
    transform: scale(1.05);
    background-color: var(--hot-pink);
}

/* --- Content Layout --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.section-title, .page-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* --- Cards & Grid --- */
.grid, .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.card, .product-card, .info-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid #ffebf2;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.card:hover, .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(224, 33, 138, 0.1);
    border: 2px solid var(--barbie-pink);
}

.card-img-placeholder, .img-placeholder {
    background-color: #ffd1e3;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hot-pink);
    font-weight: bold;
}

.card-content, .product-details { padding: 1.5rem; }
.card-title, .product-name { font-size: 1.3rem; margin-bottom: 0.5rem; color: var(--hot-pink); font-weight: bold;}
.product-price { color: var(--barbie-pink); font-family: 'Pacifico', cursive; font-size: 1.3rem; }

/* --- Buttons --- */
.add-to-cart {
    display: block; width: 100%; padding: 10px;
    background: var(--hot-pink); color: white; border: none;
    font-weight: bold; cursor: pointer;
}
.add-to-cart:hover { background: var(--barbie-pink); }

/* --- Filter Buttons --- */
.filter-bar { text-align: center; margin-bottom: 3rem; }
.filter-btn {
    background: white; border: 2px solid var(--barbie-pink);
    color: var(--barbie-pink); padding: 10px 20px; border-radius: 30px;
    font-weight: bold; cursor: pointer; margin: 0 5px;
    display: inline-block; transition: all 0.2s;
}
.filter-btn:hover { background: var(--barbie-pink); color: white; }

/* --- Admin Specifics --- */
.sidebar {
    width: 250px; background-color: var(--barbie-pink); color: white;
    padding: 2rem 1rem; position: fixed; height: 100%; left: 0; top: 0;
}
.menu-item {
    display: block; padding: 15px; color: white; font-weight: bold;
    border-radius: 10px; margin-bottom: 0.5rem;
}
.menu-item:hover, .menu-item.active { background-color: var(--hot-pink); }
.main-content { margin-left: 250px; padding: 2rem; width: 100%; }

/* Admin Forms */
input[type="text"], input[type="number"], select, textarea {
    width: 100%; padding: 10px; border: 2px solid #ffd1e3;
    border-radius: 8px; font-family: inherit; margin-bottom: 15px;
}

/* --- Footer --- */
footer {
    background-color: var(--barbie-pink);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    .nav-container { flex-direction: column; }
    nav ul { margin-top: 15px; gap: 15px; font-size: 0.9rem; }
    .hero h1 { font-size: 2.5rem; }
    .sidebar { position: relative; width: 100%; height: auto; }
    .main-content { margin-left: 0; }
}