/* אתר המועדון - עיצוב מותאם אישית */

/* RTL Support */
body {
    direction: rtl;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Header Styles */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .navbar {
    background-image: url('../images/logo.png');
    background-position: right;
    background-repeat: no-repeat;
    padding: 0px !important;
    background-color: #fd8a17 !important;
}

.main-header .navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000 !important;
    display: flex;
    align-items: center;
    padding: 0;
}

.navbar-logo {
    height: 300px;
    width: auto;
    align-items: left;
    margin-left: 0px;
/*     object-fit: contain;
 */}

.main-header .nav-link {
    color: #000 !important;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.main-header .nav-link:hover {
    opacity: 0.7;
    color: #000 !important;
}

.main-header .nav-link.active {
    color: #000 !important;
    font-weight: 700;
}

.main-header .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.3);
}

.main-header .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.header-image {
    flex-shrink: 0;
}

.header-image img,
.header-banner-img {
    max-height: 80px;
    height: auto;
    width: auto;
    object-fit: contain;
    display: block;
}

.main-header .form-control {
    border-color: rgba(0, 0, 0, 0.2);
}

.main-header .btn-dark {
    background-color: #000;
    border-color: #000;
}

.main-header .btn-dark:hover {
    background-color: #333;
    border-color: #333;
}

/* Responsive header image */
@media (max-width: 991px) {
    .header-image {
        display: none !important;
    }
}

/* Categories Section */
.categories-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.category-card {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
    border-radius: 15px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.category-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

/* Category Background Colors */
.tourism-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.entertainment-bg {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.electronics-bg {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.pets-bg {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.category-card h4 {
    margin-top: 15px;
    color: #333;
    font-weight: 600;
}

/* קישור קטגוריה */
a .category-card {
    text-decoration: none;
    color: inherit;
}

a:hover .category-card {
    text-decoration: none;
}

a:hover .category-card h4 {
    color: #333;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin: 40px 0;
}

.hero-content h1 {
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content .btn {
    padding: 12px 40px;
    font-size: 1.2rem;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* About Section */
.about-section {
    background-color: #ffffff;
}

.about-content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.about-content p {
    color: #333;
    margin-bottom: 1.5rem;
}

/* Products Section */
.products-section {
    background-color: #f8f9fa;
}

.product-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.product-card img {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-card .badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 0.9rem;
    padding: 8px 12px;
}

.price-section {
    font-size: 1.1rem;
}

.product-card .btn {
    border-radius: 25px;
    padding: 10px 20px;
}

.product-card .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Footer */
.footer {
    margin-top: auto;
}

.footer a {
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #fff !important;
    text-decoration: underline !important;
}

/* Modal Styles */
.modal-content {
    border-radius: 15px;
}

.modal-header {
    border-bottom: 2px solid #f0f0f0;
}

.modal-body .form-label {
    font-weight: 600;
    color: #333;
}

.modal-body .form-control,
.modal-body .form-select {
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    transition: border-color 0.3s ease;
}

.modal-body .form-control:focus,
.modal-body .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Responsive Design */
@media (max-width: 768px) {
    .category-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .category-card {
        padding: 15px;
    }
    
    .category-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card,
.category-card {
    animation: fadeIn 0.5s ease-out;
}

