/* General Body & Typography */
body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

/* Navbar & Logo */
.navbar-brand .logo-img {
    height: 40px;
}

/* Hero Carousel */
.hero-carousel {
    height: 500px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.hero-carousel .carousel-item {
    height: 70vh; /* 70% of the viewport height */
    min-height: 400px;
}

@media (max-width: 768px) {
    .hero-carousel .carousel-item {
        height: 50vh;
        min-height: 300px;
    }
}

/* Product Cards */
.product-card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    height: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #007bff;
}
.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.product-image-placeholder {
    height: 200px;
    background-color: #e9ecef;
}
.category-badge {
    position: absolute;
    top: 10px;
    right: 10px;
}
.quantity-input {
    width: 60px !important;
    text-align: center;
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
    height: auto;
    min-height: 32px;
}

/* Social Icons */
.social-icons .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.2s ease-in-out;
}
.social-icons .nav-link:hover {
    color: #ffffff;
}

/* Cart Page */
.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}
.cart-item-img-placeholder {
    width: 80px;
    height: 80px;
    background-color: #e9ecef;
}

/* Admin Styles */
.admin-login {
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
}
.admin-login .logo-img-modal {
    height: 50px;
}
.admin-login .modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

/* Admin Dashboard */
.product-thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
}
.product-thumbnail-placeholder {
    width: 60px;
    height: 60px;
    background-color: #e9ecef;
}

/* Admin Forms */
.image-preview {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
}
.image-preview-placeholder {
    height: 200px;
    background-color: #e9ecef;
}

/* Footer Styles */
.footer {
    background-color: #343a40;
    color: #fff;
    padding: 40px 0;
}

.footer h5 {
    color: #0d6efd; /* Bootstrap primary color */
}

.footer p {
    font-size: 0.9rem;
}

.footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: #0d6efd;
}

.social-icons-footer {
    display: flex;
    gap: 1rem;
}

.social-icons-footer a {
    font-size: 1.5rem;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    min-height: 250px;
    border: 3px solid #0d6efd;
}

.map-container iframe {
    height: 100%;
    width: 100%;
}

.al-designs {
    color: red !important;
    font-weight: bold;
    text-decoration: none;
}

.al-designs:hover {
    color: darkred !important;
}

/* Product Detail Page Styles */
.product-image-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.product-detail-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.product-title {
    color: #333;
    font-weight: 600;
}

.product-description {
    line-height: 1.6;
    color: #666;
}

.add-to-cart-form {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.product-details {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.product-details small {
    font-weight: 600;
    color: #495057;
}

.product-details p {
    margin-bottom: 0;
    color: #6c757d;
}

/* Enhanced Product Card Hover Effects */
.product-card .card-title a:hover {
    color: #007bff !important;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

/* Breadcrumb Styles */
.breadcrumb {
    background: #f8f9fa;
    padding: 12px 16px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #6c757d;
}

/* Related Products Section */
.related-products {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-top: 40px;
}

.related-products h3 {
    color: #333;
    font-weight: 600;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
    margin-bottom: 25px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .product-detail-image {
        height: 300px;
    }
    
    .add-to-cart-form .row {
        flex-direction: column;
    }
    
    .add-to-cart-form .col-md-4,
    .add-to-cart-form .col-md-8 {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .related-products {
        padding: 20px;
    }
} 