/* ===== CSS Variables ===== */
:root {
    --primary: #0ea5e9;
    --secondary: #22c55e;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(0,0,0,.08);
}

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

body {
    font-family: Tahoma, Arial, sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.8;
}

/* ===== Utilities ===== */
.container {
    width: min(1200px, 92%);
    margin: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== Header ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: white;
    box-shadow: var(--shadow);
}

.header.glass {
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(10px);
}

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

.logo {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--primary);
}

.nav a {
    margin-right: 18px;
    font-size: .95rem;
    color: var(--gray);
    transition: .3s;
}

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

/* ===== Hero ===== */
.hero {
    background: linear-gradient(135deg, #e0f2fe, #f0fdf4);
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.hero .highlight {
    color: var(--primary);
    font-weight: bold;
}

.hero p {
    color: var(--gray);
    margin-bottom: 25px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: .95rem;
    transition: .3s;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: var(--secondary);
    color: white;
    font-size: .85rem;
}

/* ===== Categories ===== */
.categories {
    padding: 70px 0;
}

.main-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 40px;
}

.categories-subtitle {
    margin: 50px 0 20px;
    color: var(--primary);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.category-card {
    background: white;
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: .3s;
}

.category-card:hover {
    transform: translateY(-6px);
}

.category-icon {
    font-size: 2rem;
}

.category-card h3 {
    margin: 10px 0;
}

.category-card p {
    color: var(--gray);
    font-size: .9rem;
}

.category-card.highlight {
    border: 2px solid var(--primary);
}

/* ===== Products ===== */
.products {
    background: #f1f5f9;
    padding: 70px 0;
}

.products h2 {
    text-align: center;
    margin-bottom: 40px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.product-card {
    background: white;
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.product-img {
    height: 160px;
    background: linear-gradient(135deg, #e5e7eb, #cbd5f5);
    border-radius: var(--radius);
    margin-bottom: 15px;
}

.price {
    display: block;
    margin: 10px 0;
    font-weight: bold;
    color: var(--primary);
}

/* ===== Trust ===== */
.trust {
    padding: 50px 0;
}

.trust-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    color: var(--gray);
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 20px;
    font-size: .85rem;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 56px;
    height: 56px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    z-index: 9999;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}

.whatsapp-float svg {
    width: 26px;
    height: 26px;
}

/* ===== Category Top Accent ===== */
.category-card {
    position: relative;
    overflow: hidden;
}

/* الشريط العلوي */
.category-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    height: 6px;
    width: 100%;
    background: #e5e7eb;
}

/* ===== Color Variants ===== */
.category-card[data-color="blue"]::before {
    background: linear-gradient(90deg, #38bdf8, #0ea5e9);
}

.category-card[data-color="green"]::before {
    background: linear-gradient(90deg, #4ade80, #22c55e);
}

.category-card[data-color="orange"]::before {
    background: linear-gradient(90deg, #fb923c, #f97316);
}

.category-card[data-color="red"]::before {
    background: linear-gradient(90deg, #f87171, #ef4444);
}

/* Party Colors */
.category-card[data-color="pink"]::before {
    background: linear-gradient(90deg, #f9a8d4, #ec4899);
}

.category-card[data-color="purple"]::before {
    background: linear-gradient(90deg, #c4b5fd, #8b5cf6);
}

.category-card[data-color="teal"]::before {
    background: linear-gradient(90deg, #5eead4, #14b8a6);
}

.category-card[data-color="yellow"]::before {
    background: linear-gradient(90deg, #fde68a, #facc15);
}

.pages {
    padding: 70px 0;
}

.pages h1 {
    margin-bottom: 20px;
    color: var(--primary);
}

.pages h2 {
    margin: 30px 0 10px;
}

.pages p {
    color: var(--gray);
    max-width: 900px;
}

/* ===== Pages Layout ===== */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

.pages {
    padding: 70px 0;
}

.pages h1 {
    color: var(--primary);
    margin-bottom: 25px;
}

.pages h2 {
    margin: 35px 0 10px;
    color: var(--dark);
}

.pages p {
    color: var(--gray);
    margin-bottom: 15px;
    max-width: 900px;
}

footer {
    margin-top: auto;
}

/* ===== End of CSS ===== */