/* Add to your existing style.css */

body {
    font-family: 'Vazirmatn', sans-serif;
    line-height: 1.7;
    font-size: 16px;
}


/* Fix Font Awesome Loading */
.fas, .far, .fab {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
    font-weight: 900;
}

/* Navbar improvements */
.navbar-brand {
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #FFC107 !important;
    transform: translateY(-1px);
}

.navbar-nav .nav-link i {
    font-size: 0.9rem;
}

/* Image fixes */
img {
    max-width: 100%;
    height: auto;
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.product-image:hover {
    transform: scale(1.05);
}

/* Card improvements */
.product-card {
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-title {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.card-text {
    color: #666;
    flex-grow: 1;
    margin-bottom: 1rem;
}

/* Button improvements */
/*.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 10px 20px;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #FFC107 0%, #FF8F00 100%);
    color: #000;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #FF8F00 0%, #F57C00 100%);
    color: #000;
    transform: translateY(-2px);
}

.btn-outline-warning {
    border: 2px solid #FFC107;
    color: #FFC107;
    background: transparent;
}

.btn-outline-warning:hover {
    background-color: #FFC107;
    border-color: #FFC107;
    color: #000;
    transform: translateY(-2px);
}*/

/* Price styling */
.price {
    color: #FFC107;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.old-price {
    color: #999;
    text-decoration: line-through;
    font-size: 1rem;
    margin-left: 0.5rem;
}

/* Hero section improvements */
.hero {
    background: linear-gradient(135deg, #71FFD7 0%, #0A8585 100%);
    color: #000;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(0,0,0,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
    z-index: -1;
}

.hero > * {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

/* Loading animation improvements */
.loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-left: 5px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Toast improvements */
.toast {
    min-width: 300px;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.toast-header {
    border-bottom: none;
    padding: 12px 15px 8px;
}

.toast-body {
    padding: 8px 15px 12px;
    font-weight: 500;
}

/* Form improvements */
.form-control {
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    padding: 12px 15px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.form-control:focus {
    border-color: #FFC107;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
    transform: translateY(-1px);
}

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

/* Terms Modal Styles */
.terms-content {
    font-size: 14px;
    line-height: 1.6;
}

.terms-content h6 {
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 8px;
    margin-bottom: 15px;
}

.terms-content ul li {
    padding: 5px 0;
    border-bottom: 1px dotted #e9ecef;
}

.terms-content ul li:last-child {
    border-bottom: none;
}

.modal-lg {
    max-width: 800px;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .product-image {
        height: 200px;
    }

    .card-body {
        padding: 1rem;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .modal-lg {
        max-width: 95%;
        margin: 10px auto;
    }
    
    .terms-content {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }

    /*.btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }*/
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(-20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes slideUp {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Fix for missing images */
.no-image {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 2rem;
    height: 250px;
    border-radius: 10px;
}

/* Badge improvements */
.badge {
    font-size: 0.75rem;
    padding: 6px 10px;
    border-radius: 20px;
}

/* Social links in footer */
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 193, 7, 0.1);
    margin: 0 5px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #FFC107;
    color: #000 !important;
    transform: translateY(-3px);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.comment-item:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.comment-form textarea {
    resize: vertical;
    min-height: 120px;
}

.comment-avatar {
    flex-shrink: 0;
}

.toast-notification {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
