/* 
 * MobiShop - Irish Green Theme
 * Beautiful Irish green color scheme throughout
 */

:root {
    --irish-green: #169B62;
    --irish-green-dark: #0d7045;
    --irish-green-light: #1eb76a;
    --irish-green-lighter: #d4f4e3;
    --gold: #FFB612;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #2c3e50;
    --text-dark: #212529;
}

/* Primary Colors - Irish Green */
.bg-primary,
.btn-primary,
.badge-primary,
.alert-primary {
    background-color: var(--irish-green) !important;
    border-color: var(--irish-green) !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--irish-green-dark) !important;
    border-color: var(--irish-green-dark) !important;
}

.text-primary {
    color: var(--irish-green) !important;
}

.border-primary {
    border-color: var(--irish-green) !important;
}

/* Navigation - Irish Green */
.navbar-dark,
.bg-dark {
    background-color: var(--irish-green) !important;
}

.navbar-dark .navbar-brand {
    color: var(--white) !important;
    font-weight: bold;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: var(--gold) !important;
}

.navbar-dark .navbar-nav .nav-link.active {
    color: var(--gold) !important;
    font-weight: 600;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--irish-green) 0%, var(--irish-green-light) 100%);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--irish-green-dark) 0%, var(--irish-green) 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(22, 155, 98, 0.4);
}

.btn-outline-primary {
    color: var(--irish-green);
    border-color: var(--irish-green);
}

.btn-outline-primary:hover {
    background-color: var(--irish-green);
    border-color: var(--irish-green);
    color: white;
}

/* Links */
a {
    color: var(--irish-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--irish-green-dark);
}

/* Cards */
.card-header.bg-primary {
    background: linear-gradient(135deg, var(--irish-green) 0%, var(--irish-green-light) 100%) !important;
}

.card {
    border: 1px solid rgba(22, 155, 98, 0.2);
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--irish-green);
    box-shadow: 0 5px 15px rgba(22, 155, 98, 0.2);
}

/* Product Cards */
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.product-card:hover {
    border-color: var(--irish-green);
    box-shadow: 0 8px 25px rgba(22, 155, 98, 0.3);
    transform: translateY(-5px);
}

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

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

/* Badges */
.badge {
    font-weight: 600;
    padding: 0.5em 0.8em;
}

.badge-success,
.bg-success {
    background-color: var(--irish-green) !important;
}

.badge-danger {
    background-color: #dc3545 !important;
}

.badge-warning {
    background-color: var(--gold) !important;
    color: var(--dark-gray) !important;
}

/* Forms */
.form-control:focus {
    border-color: var(--irish-green);
    box-shadow: 0 0 0 0.2rem rgba(22, 155, 98, 0.25);
}

.form-check-input:checked {
    background-color: var(--irish-green);
    border-color: var(--irish-green);
}

/* Hero Section */
.hero-banner {
    position: relative;
    overflow: hidden;
}

.hero-banner .carousel-caption {
    background: linear-gradient(135deg, rgba(22, 155, 98, 0.9) 0%, rgba(13, 112, 69, 0.9) 100%);
    backdrop-filter: blur(10px);
}

.carousel-indicators button.active {
    background-color: var(--irish-green);
}

/* Trust Badges */
.feature-box {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--irish-green-lighter);
}

.feature-box:hover {
    border-color: var(--irish-green);
    box-shadow: 0 8px 20px rgba(22, 155, 98, 0.2);
    transform: translateY(-5px);
}

.feature-box i {
    color: var(--irish-green);
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Section Titles */
.section-title {
    color: var(--irish-green);
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--irish-green) 0%, var(--gold) 100%);
    border-radius: 2px;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--irish-green) 0%, var(--irish-green-dark) 100%);
    color: white;
}

.newsletter-section .btn-light {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--dark-gray);
    font-weight: 600;
}

.newsletter-section .btn-light:hover {
    background-color: #ffc933;
    border-color: #ffc933;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 182, 18, 0.4);
}

/* Footer */
footer.bg-dark {
    background: linear-gradient(135deg, var(--irish-green-dark) 0%, #0a5233 100%) !important;
}

footer a:hover {
    color: var(--gold) !important;
}

/* Category Cards */
.category-card {
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-card .card {
    border: 2px solid var(--irish-green-lighter);
    background: white;
}

.category-card:hover .card {
    border-color: var(--irish-green);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(22, 155, 98, 0.3);
}

.category-card h6 {
    color: var(--irish-green);
    font-weight: 600;
}

/* Pagination */
.pagination .page-link {
    color: var(--irish-green);
    border-color: var(--irish-green-lighter);
}

.pagination .page-link:hover {
    background-color: var(--irish-green-lighter);
    border-color: var(--irish-green);
}

.pagination .page-item.active .page-link {
    background-color: var(--irish-green);
    border-color: var(--irish-green);
}

/* Dropdown Menu */
.dropdown-menu {
    border: 2px solid var(--irish-green-lighter);
    box-shadow: 0 5px 15px rgba(22, 155, 98, 0.2);
}

.dropdown-item:hover {
    background-color: var(--irish-green-lighter);
    color: var(--irish-green);
}

/* Alerts */
.alert-success {
    background-color: var(--irish-green-lighter);
    border-color: var(--irish-green);
    color: var(--irish-green-dark);
}

/* Tables */
.table thead th {
    background-color: var(--irish-green);
    color: white;
    border-color: var(--irish-green-dark);
}

/* Progress Bars */
.progress-bar {
    background-color: var(--irish-green);
}

/* Breadcrumb */
.breadcrumb-item.active {
    color: var(--irish-green);
}

.breadcrumb-item a {
    color: var(--irish-green);
}

/* Tabs */
.nav-tabs .nav-link.active {
    color: var(--irish-green);
    border-color: var(--irish-green) var(--irish-green) #fff;
}

.nav-tabs .nav-link:hover {
    border-color: var(--irish-green-lighter);
    color: var(--irish-green);
}

/* Spinners */
.spinner-border {
    color: var(--irish-green);
}

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

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--irish-green);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--irish-green-dark);
}

/* Price Display */
.price {
    color: var(--irish-green);
    font-size: 1.5rem;
    font-weight: 700;
}

/* Discount Badge */
.discount-badge {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
}

/* Special Offers */
.hot-deal {
    background: linear-gradient(135deg, var(--irish-green-lighter) 0%, #fff 100%);
    border: 2px solid var(--irish-green);
    border-radius: 12px;
}

/* Search Bar */
.navbar .form-control {
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.9);
}

.navbar .form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(255, 182, 18, 0.25);
}

/* Cart Badge */
.badge.bg-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .feature-box {
        padding: 1.5rem 1rem;
    }
    
    .feature-box i {
        font-size: 2rem;
    }
}

/* Hover Effects */
.hover-shadow:hover {
    box-shadow: 0 8px 25px rgba(22, 155, 98, 0.3) !important;
}

/* Loading State */
.btn-primary:disabled {
    background-color: var(--irish-green);
    opacity: 0.7;
}

/* Success States */
.text-success {
    color: var(--irish-green) !important;
}

/* Icons */
.bi-check-circle {
    color: var(--irish-green);
}

.bi-fire {
    color: #dc3545;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--irish-green) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Irish Flag Colors Accent */
.irish-flag-accent {
    border-top: 3px solid #169B62;
    border-bottom: 3px solid #FFB612;
}

/* Special Irish Theme Elements */
.shamrock-icon::before {
    content: "☘️";
    margin-right: 0.5rem;
}

/* Gold Accents */
.gold-accent {
    color: var(--gold);
}

.bg-gold {
    background-color: var(--gold);
    color: var(--dark-gray);
}
