/* Custom CSS for LUNOVA CRAFT LLC */

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Navigation */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #007bff !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #007bff !important;
}

.navbar-nav .nav-link.active {
    color: #007bff !important;
    font-weight: 600;
}

.cart-count {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.05);
}

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
}

/* Product Cards */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.product-image-container {
    position: relative;
    overflow: hidden;
}

.product-image {
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-image-container:hover .product-overlay {
    opacity: 1;
}

/* Product Gallery */
.main-image-container img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 0.75rem;
}

.thumbnail-images {
    gap: 0.5rem;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    border-radius: 0.5rem;
}

.thumbnail:hover {
    border-color: #007bff;
    transform: scale(1.05);
}

.thumbnail.border-primary {
    border-color: #007bff !important;
}

/* Product Variants */
.color-option,
.size-option {
    min-width: 60px;
    transition: all 0.3s ease;
}

.color-option.active,
.size-option.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
    transform: scale(1.05);
}

.color-option:hover,
.size-option:hover {
    border-color: #007bff;
    transform: scale(1.05);
}

/* Quantity Selector */
.quantity-selector .input-group {
    max-width: 150px;
}

.quantity-selector .btn {
    border-radius: 0;
}

.quantity-selector .form-control {
    text-align: center;
    font-weight: 600;
}

/* Shopping Cart */
.cart-item {
    transition: background-color 0.3s ease;
}

.cart-item:hover {
    background-color: #f8f9fa;
}

.cart-item img {
    max-width: 80px;
    height: auto;
    border-radius: 0.5rem;
}

/* Order Summary */
.order-summary .d-flex {
    padding: 0.5rem 0;
}

.order-summary hr {
    border-color: #dee2e6;
    margin: 1rem 0;
}

/* Features Section */
.feature-box {
    text-align: center;
    padding: 2rem;
    border-radius: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-box i {
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.feature-box:hover i {
    transform: scale(1.1);
}

/* About Us Page */
.value-card {
    text-align: center;
    padding: 2rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.value-card:hover {
    background-color: #f8f9fa;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.value-card i {
    color: #007bff;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.value-card:hover i {
    transform: scale(1.1);
}

.team-member {
    padding: 2rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.team-member:hover {
    background-color: #f8f9fa;
    transform: translateY(-5px);
}

.member-image img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 4px solid #007bff;
    transition: transform 0.3s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.stat-item {
    text-align: center;
    padding: 2rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background-color: #f8f9fa;
    transform: translateY(-5px);
}

/* Contact Page */
.contact-item {
    padding: 1rem 0;
    border-bottom: 1px solid #dee2e6;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    color: #007bff;
    font-size: 1.2rem;
}

.map-container {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.accordion-button:not(.collapsed) {
    background-color: #007bff;
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #007bff;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

footer .list-unstyled a {
    color: #adb5bd;
    transition: color 0.3s ease;
}

footer .list-unstyled a:hover {
    color: white;
}

.social-links a {
    color: #adb5bd;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: white;
    transform: scale(1.1);
}

.subscribe-form .input-group {
    max-width: 100%;
}

.subscribe-form .btn {
    border-radius: 0 0.375rem 0.375rem 0;
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    z-index: 9999;
    animation: slideIn 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.notification.error {
    background: #dc3545;
}

.notification.warning {
    background: #ffc107;
    color: #212529;
}

/* Animations */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 3rem 0;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .product-image {
        height: 250px;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .stat-item {
        margin-bottom: 1rem;
    }
    
    .value-card,
    .team-member {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .product-card .card-title {
        font-size: 1rem;
    }
    
    .cart-item {
        font-size: 0.9rem;
    }
    
    .cart-item img {
        max-width: 60px;
    }
}

/* Loading Spinner */
.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

/* Print Styles */
@media print {
    .navbar,
    .page-header,
    footer {
        display: none;
    }
    
    .product-card,
    .cart-item {
        break-inside: avoid;
    }
}
