/* ===== Global Styles ===== */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --hero-gradient: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

/* RTL Arabic font */
[dir="rtl"] body,
[dir="rtl"] {
    font-family: 'Segoe UI', 'Arabic Typesetting', 'Noto Sans Arabic', Tahoma, sans-serif;
}

/* ===== Hero Section ===== */
.hero-section {
    background: linear-gradient(135deg, #0c0c1d 0%, #1a1a3e 30%, #0d2137 60%, #0a1628 100%);
    min-height: 450px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(0, 150, 255, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(0, 200, 255, 0.05) 0%, transparent 40%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-5%, 3%); }
}

.hero-drone-icon {
    font-size: 4rem;
    filter: drop-shadow(0 0 20px rgba(0, 150, 255, 0.4));
}

/* ===== Category Cards ===== */
.category-card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
}

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

.feature-icon {
    font-size: 3.5rem;
}

/* ===== Product Cards ===== */
.product-card {
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

.product-card .card-img-top {
    transition: transform 0.3s;
}

.product-card:hover .card-img-top {
    transform: scale(1.05);
}

/* ===== WhatsApp Float Button ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.2s;
}

[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 30px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

/* ===== Product Detail ===== */
.main-image img {
    transition: transform 0.3s;
}

.thumbnail-img {
    transition: all 0.2s;
}

.thumbnail-img:hover {
    opacity: 0.8;
}

/* ===== Language Switcher ===== */
.dropdown-menu-end {
    min-width: 160px;
}

.dropdown-item {
    cursor: pointer;
}

/* ===== About Content ===== */
.about-content p {
    line-height: 1.8;
    font-size: 1.1rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero-section {
        min-height: 350px;
    }
    .hero-section h1 {
        font-size: 1.8rem;
    }
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
}

/* ===== Section Spacing ===== */
section {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
    background: transparent;
    padding: 0;
}

/* ===== Card Link hover ===== */
.card-title a:hover {
    color: var(--primary-color);
}

/* ===== Specs Table ===== */
.table-bordered th {
    font-weight: 500;
}
