/*
Theme Name: Azara Play Custom Theme
Theme URI: https://azaraplay.com
Description: Custom modern e-commerce theme for Azara Play garden toys and playground equipment in KSA.
Version: 1.0
Author: Muhammad Hammad Ali
Text Domain: azaraplay
*/

:root {
    --primary: #FF5722;
    --primary-hover: #E64A19;
    --secondary: #00B4D8;
    --dark: #1A1A1A;
    --light: #F4F6F9;
    --white: #FFFFFF;
    --gray: #777777;
}
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Outfit', sans-serif; }
body { background-color: var(--light); color: var(--dark); scroll-behavior: smooth; }

/* Top Announcement */
.announcement-bar { background: var(--dark); color: var(--white); text-align: center; padding: 10px; font-size: 14px; font-weight: 500; }
.announcement-bar span { color: var(--secondary); font-weight: 700; }

/* Navigation */
nav { background: var(--white); box-shadow: 0 4px 20px rgba(0,0,0,0.06); position: sticky; top: 0; z-index: 1000; display: flex; justify-content: space-between; align-items: center; padding: 20px 8%; }
.logo { font-size: 28px; font-weight: 800; color: var(--primary); text-decoration: none; letter-spacing: 0.5px; }
.logo span { color: var(--secondary); }
.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--dark); font-weight: 600; transition: color 0.3s ease; }
.nav-links a:hover { color: var(--primary); }

/* Hero Slider Area */
.hero-slider { position: relative; height: 520px; background: url('https://images.unsplash.com/photo-1588075592446-2651f0b7c793?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(rgba(26,26,26,0.7), rgba(255,87,34,0.5)); }
.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 0 20px; }
.hero-content h1 { font-size: 52px; font-weight: 800; margin-bottom: 15px; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.hero-content p { font-size: 18px; margin-bottom: 30px; opacity: 0.95; font-weight: 400; }
.cta-btn { background: var(--secondary); color: var(--white); padding: 14px 35px; border-radius: 30px; text-decoration: none; font-weight: 700; display: inline-block; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(0,180,216,0.4); }
.cta-btn:hover { background: #0096B4; transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,180,216,0.6); }

/* Container */
.container { max-width: 1400px; margin: 60px auto; padding: 0 5%; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 38px; color: var(--dark); font-weight: 800; margin-bottom: 10px; }
.section-title p { color: var(--gray); font-size: 16px; }

/* Categories Section */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; margin-bottom: 60px; }
.cat-card { background: var(--white); padding: 35px 30px; border-radius: 20px; text-align: center; box-shadow: 0 5px 20px rgba(0,0,0,0.04); border: 2px solid transparent; transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1); }
.cat-card:hover { transform: translateY(-8px); border-color: var(--primary); box-shadow: 0 15px 35px rgba(255,87,34,0.15); }
.cat-card i { font-size: 45px; color: var(--primary); margin-bottom: 20px; transition: transform 0.3s ease; }
.cat-card:hover i { transform: scale(1.15); }
.cat-card h3 { font-size: 22px; margin-bottom: 10px; color: var(--dark); font-weight: 700; }
.cat-card p { font-size: 14px; color: var(--gray); line-height: 1.5; }

/* Horizontal Scrolling Row for Products */
.product-row-wrapper { position: relative; margin-bottom: 50px; }
.product-row { display: flex; gap: 25px; overflow-x: auto; padding: 15px 5px 25px 5px; scroll-snap-type: x mandatory; scroll-behavior: smooth; }
.product-row::-webkit-scrollbar { height: 8px; }
.product-row::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }

.item-card { min-width: 300px; background: var(--white); border-radius: 20px; overflow: hidden; box-shadow: 0 8px 25px rgba(0,0,0,0.05); scroll-snap-align: start; border: 1px solid #eaeaea; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); flex-shrink: 0; }
.item-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(26,26,26,0.12); border-color: var(--primary); }

.item-img { height: 230px; background: #eaeaea; position: relative; overflow: hidden; }
.item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1); }
.item-card:hover .item-img img { transform: scale(1.12); }

.badge { position: absolute; top: 15px; left: 15px; background: var(--primary); color: var(--white); padding: 5px 15px; border-radius: 20px; font-size: 12px; font-weight: 700; box-shadow: 0 2px 8px rgba(255,87,34,0.4); }

.item-details { padding: 22px; }
.item-title { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 8px; transition: color 0.3s ease; }
.item-card:hover .item-title { color: var(--primary); }

.specs { color: var(--gray); font-size: 13px; margin-bottom: 15px; background: var(--light); padding: 8px 12px; border-radius: 10px; display: flex; align-items: center; gap: 8px; }
.specs i { color: var(--secondary); }

.price-row { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #eaeaea; padding-top: 15px; }
.price { font-size: 20px; font-weight: 800; color: var(--primary); }

.order-btn { background: var(--dark); color: var(--white); padding: 10px 18px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 13px; transition: all 0.3s ease; }
.order-btn:hover { background: var(--primary); box-shadow: 0 4px 12px rgba(255,87,34,0.4); }

/* Review Section */
.reviews-section { background: var(--white); padding: 70px 0; margin-top: 60px; border-top: 1px solid #eaeaea; border-bottom: 1px solid #eaeaea; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.review-card { background: var(--light); padding: 30px; border-radius: 18px; border-left: 5px solid var(--primary); transition: transform 0.3s ease; }
.review-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.05); }
.review-card p { font-size: 14px; color: #444; margin-bottom: 15px; font-style: italic; line-height: 1.6; }
.reviewer { font-weight: 700; color: var(--dark); font-size: 15px; }
.stars { color: #FFC107; margin-bottom: 10px; }

/* Floating Action Buttons */
.floating-buttons { position: fixed; left: 20px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 15px; z-index: 999; }
.float-btn { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 20px; text-decoration: none; box-shadow: 0 5px 20px rgba(0,0,0,0.25); transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.float-whatsapp { background: #25D366; }
.float-call { background: #00B4D8; }
.float-mail { background: #FF5722; }
.float-btn:hover { transform: scale(1.15) translateX(5px); box-shadow: 0 8px 25px rgba(0,0,0,0.35); }

/* Modern Footer */
footer { background: var(--dark); color: var(--white); padding: 70px 8% 25px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h3 { font-size: 18px; color: var(--secondary); margin-bottom: 20px; font-weight: 700; }
.footer-col p, .footer-col a { color: #b0b0b0; text-decoration: none; display: block; margin-bottom: 12px; font-size: 14px; transition: color 0.3s ease; }
.footer-col a:hover { color: var(--white); padding-left: 5px; }
.social-icons { display: flex; gap: 12px; margin-top: 20px; }
.social-icons a { background: rgba(255,255,255,0.08); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 16px; transition: all 0.3s ease; }
.social-icons a:hover { background: var(--primary); transform: translateY(-3px); }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 25px; font-size: 13px; color: #888; }