/* ---
* Globals & Setup
--- */
:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --text-color: #34495e;
    --white-color: #ffffff;
    --border-radius: 8px;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    direction: rtl;
    text-align: right;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--light-color);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    padding: 4rem 0;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

/* ---
* Buttons & Badges
--- */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    font-weight: bold;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--dark-color);
    border-color: var(--dark-color);
}
.btn-secondary:hover {
    background-color: var(--dark-color);
    color: var(--white-color);
}

.btn-special {
    background-color: var(--secondary-color);
    color: var(--white-color);
    border-color: var(--secondary-color);
}
.btn-special:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    font-size: 0.8rem;
    font-weight: bold;
    background-color: var(--secondary-color);
    color: var(--white-color);
    border-radius: 5px;
    margin-inline-end: 0.5rem;
}

/* ---
* Accessibility
--- */
.skip-link {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark-color);
    color: white;
    padding: 8px;
    z-index: 10000;
    transition: top 0.3s;
}
.skip-link:focus {
    top: 10px;
}

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

.header-top-notice {
    background-color: var(--dark-color);
    color: var(--light-color);
    text-align: center;
    padding: 0.5rem;
    font-size: 0.9rem;
}
.header-top-notice a {
    color: var(--secondary-color);
    font-weight: bold;
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--dark-color);
}
.logo .logo-icon svg {
    color: var(--primary-color);
}
.logo a:hover {
    color: var(--primary-color);
}

.main-nav {
    display: none; /* Hidden on mobile */
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}
.nav-links a {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s;
}
.nav-links a:hover::after {
    width: 100%;
}

.header-actions {
    display: none; /* Hidden on mobile */
}

.whatsapp-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #25d366;
    color: var(--white-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
}
.whatsapp-cta:hover {
    background-color: #128c7e;
    color: var(--white-color);
}

.hamburger-menu {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}
.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Mobile Nav Styles */
.main-nav.is-open {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 70%;
    height: 100vh;
    background: var(--white-color);
    box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    padding-top: 100px;
    animation: slideIn 0.3s ease-in-out;
}
.main-nav.is-open .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}
.main-nav.is-open .nav-links a {
    font-size: 1.2rem;
}

@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

/* Hamburger animation */
.is-open ~ .hamburger-menu .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.is-open ~ .hamburger-menu .hamburger-line:nth-child(2) {
    opacity: 0;
}
.hamburger-menu[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ---
* Sections Styling
--- */

/* Hero */
.hero {
    background: linear-gradient(to top, var(--light-color) 0%, #fdf6f6 100%);
    padding: 4rem 0;
    overflow: hidden;
}
.hero-container {
    display: grid;
    align-items: center;
    gap: 2rem;
}
.hero h1 {
    color: var(--dark-color);
}
.hero p {
    font-size: 1.2rem;
    margin: 1rem 0 2rem 0;
}
.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Demo Notice */
.demo-notice {
    background-color: var(--dark-color);
    color: var(--white-color);
    text-align: center;
    padding: 2.5rem 0;
}
.demo-notice h2 {
    color: var(--white-color);
}
.demo-notice p {
    color: var(--light-color);
    max-width: 600px;
    margin: 0 auto 1.5rem auto;
}

.demo-notice.demo-notice-footer {
    background-color: var(--primary-color);
}

/* Categories */
.categories-section .grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.card {
    background: var(--white-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.card svg {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* New Arrivals Section */
.new-arrivals-section {
    background-color: var(--white-color);
}
.new-arrivals-section .grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.product-card {
    background: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.product-card h3 {
    font-size: 1.2rem;
    margin: 1rem 1rem 0.5rem;
}
.product-card .price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.product-card .btn {
    margin: 0 1.5rem 1.5rem;
}

/* Text Brands Section */
.text-brands-section {
    padding: 3rem 0;
    background-color: var(--light-color);
    text-align: center;
}
.text-brands-section p {
    max-width: 600px;
    margin: 0 auto 2rem auto;
}
.brands-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
.brand-item {
    background-color: var(--white-color);
    color: var(--text-color);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    border: 1px solid #e0e0e0;
    font-weight: 500;
    transition: var(--transition);
}

/* About Section */
.about-section {
    background-color: var(--white-color);
}
.about-content {
    display: grid;
    gap: 3rem;
    align-items: center;
}
.brand-name {
    color: var(--primary-color);
}
.about-text ul {
    margin-top: 1.5rem;
}
.about-text li {
    margin-bottom: 1rem;
    line-height: 1.5;
}
.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}
.gallery-grid figure {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}
.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-grid figure:hover img {
    transform: scale(1.1);
}
.gallery-grid figcaption {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background: rgba(0,0,0,0.6);
    color: var(--white-color);
    padding: 0.75rem;
    text-align: center;
    transform: translateY(100%);
    transition: var(--transition);
}
.gallery-grid figure:hover figcaption {
    transform: translateY(0);
}

/* Testimonials */
.testimonials-section {
    background-color: var(--white-color);
}
.testimonials-section .grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.testimonial-card {
    background-color: var(--light-color);
    padding: 2rem;
    border-inline-start: 5px solid var(--primary-color);
    border-radius: var(--border-radius);
}
.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
}
.testimonial-card cite {
    font-weight: bold;
    color: var(--dark-color);
}

/* FAQ Section */
.faq-content .faq-item {
    background: var(--white-color);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Contact Form */
.contact-section {
    background-color: var(--white-color);
}
#contact-form {
    max-width: 700px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}
.form-group {
    display: flex;
    flex-direction: column;
}
.form-group label {
    margin-bottom: 0.5rem;
    font-weight: bold;
}
.form-group input, .form-group textarea {
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    width: 100%;
    font-family: inherit;
    font-size: 1rem;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
}
.error-message {
    color: #e74c3c;
    font-size: 0.8rem;
    min-height: 1rem;
    margin-top: 0.2rem;
}
.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
    text-align: center;
    display: none;
}

/* ---
* Footer
--- */
.site-footer {
    background-color: var(--dark-color);
    color: #bdc3c7;
    padding-top: 3rem;
}
.footer-container {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.footer-column h4 {
    color: var(--white-color);
    margin-bottom: 1rem;
}
.footer-column a {
    color: #bdc3c7;
}
.footer-column a:hover {
    color: var(--white-color);
}
.quick-links li, .opening-hours li {
    margin-bottom: 0.5rem;
}
.social-icons {
    display: flex;
    gap: 1rem;
}
.social-icons a {
    font-size: 1.5rem;
}
.footer-bottom {
    border-top: 1px solid #34495e;
    margin-top: 2rem;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
}
.weblite-credit a {
    font-weight: bold;
    color: var(--secondary-color);
}

/* ---
* Animations
--- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---
* Media Queries (Desktop)
--- */
@media (min-width: 768px) {
    .grid {
        gap: 2rem;
    }
    .hamburger-menu {
        display: none;
    }
    .main-nav {
        display: block;
    }
    .header-actions {
        display: flex;
        align-items: center;
    }
    .about-content {
        grid-template-columns: 2fr 1fr;
    }
    .faq-content {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2rem;
    }
    .hero {
        padding: 6rem 0;
    }
    .hero-container {
        grid-template-columns: 1.2fr 1fr; /* Give more space to text */
        text-align: right;
    }
}
