/* GameMart Style Theme - Bloomnex */

/* Fonts - Modern E-commerce Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Orbitron:wght@400;700;900&family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary-color: #00d4ff;
    --secondary-color: #ff6b35;
    --accent-color: #f7931e;
    --dark-bg: #1a1a2e;
    --darker-bg: #0f0f1e;
    --text-light: #ffffff;
    --text-dark: #333333;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --border-color: #2d2d44;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Montserrat', sans-serif;
    background-color: #f5f5f5;
    color: var(--text-dark);
    line-height: 1.7;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
}

/* Top Bar */
.top-bar {
    background: #2a2a3e;
    color: var(--text-light);
    font-size: 0.85rem;
    padding: 10px 0;
}

.top-bar-left {
    display: flex;
    gap: 20px;
}

.top-bar-left a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.top-bar-left a:hover {
    color: var(--primary-color);
}

.top-bar-left span {
    margin-right: 20px;
}

.top-bar-left i,
.top-bar-right i {
    margin-right: 5px;
    color: var(--primary-color);
}

.top-bar-right a,
.top-bar-right .btn-link {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 15px;
    transition: color 0.3s;
    background: none;
    border: none;
    padding: 0;
}

.top-bar-right a:hover,
.top-bar-right .btn-link:hover {
    color: var(--primary-color);
}

/* Main Header */
.main-header {
    background: var(--text-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.main-header .navbar {
    padding: 0;
}

.navbar-main {
    background: var(--text-light);
}

.navbar-brand {
    font-family: 'Montserrat', 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: #1a1a2e !important;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.brand-text {
    color: #1a1a2e;
    letter-spacing: 3px;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
}

.navbar-main .navbar-nav .nav-link {
    color: #333 !important;
    font-weight: 500;
    margin: 0 5px;
    padding: 15px 15px !important;
    transition: all 0.3s;
    position: relative;
    font-family: 'Poppins', 'Montserrat', sans-serif;
}

/* Hide Bootstrap dropdown arrow */
.navbar-main .dropdown-toggle::after {
    display: none !important;
}

.main-header .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s;
}

.main-header .navbar-nav .nav-link:hover::after,
.main-header .navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar-main .navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-main .dropdown-menu {
    background: var(--text-light);
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navbar-main .dropdown-item {
    color: #333;
    transition: all 0.3s;
}

.navbar-main .dropdown-item:hover {
    background: #f5f5f5;
    color: var(--primary-color);
    padding-left: 25px;
}

/* Header Search */
.header-search {
    width: 100%;
}

.search-form {
    display: flex;
    width: 100%;
}

.search-input {
    flex: 1;
    border: 2px solid #ddd;
    border-radius: 30px 0 0 30px;
    padding: 12px 20px;
    font-size: 1rem;
}

.search-input:focus {
    border-color: var(--primary-color);
    box-shadow: none;
    outline: none;
}

.btn-search-main {
    border-radius: 0 30px 30px 0;
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: var(--text-light);
    padding: 12px 25px;
    transition: all 0.3s;
}

.btn-search-main:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--text-light);
}

.header-actions-top {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: flex-end;
}

.header-action-link {
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
    position: relative;
}

.header-action-link:hover {
    color: var(--primary-color);
}

.action-badge {
    position: absolute;
    top: -8px;
    right: -12px;
    background: var(--secondary-color);
    color: var(--text-light);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-social {
    display: flex;
    gap: 10px;
}

.header-social a {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 50%;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid #ddd;
}

.header-social a:hover {
    background: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

/* Top Bar Icons */
.cart-icon-top,
.wishlist-icon {
    position: relative;
    color: var(--text-light);
    text-decoration: none;
    margin-left: 15px;
    transition: all 0.3s;
}

.cart-icon-top:hover,
.wishlist-icon:hover {
    color: var(--primary-color);
}

.cart-badge-top,
.wishlist-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--secondary-color);
    color: var(--text-light);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle {
    color: var(--text-light);
    text-decoration: none;
    margin-right: 15px;
    transition: all 0.3s;
}

.theme-toggle:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: #dc3545;
    color: var(--text-light);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: #333;
    color: var(--text-light);
    padding: 6px 15px;
    border-radius: 3px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-family: 'Montserrat', 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 4rem;
    margin-bottom: 10px;
    color: var(--text-light);
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-family: 'Montserrat', 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-description {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 30px;
    line-height: 1.8;
}

.btn-hero {
    background: var(--text-light);
    color: #dc3545;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 0;
    border: none;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
}

.btn-hero:hover {
    background: #333;
    color: var(--text-light);
    transform: translateY(-3px);
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-product-image {
    text-align: center;
    color: var(--text-light);
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    opacity: 0.15;
    pointer-events: none;
}

.pattern-circle {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.pattern-circle:nth-child(1) {
    width: 120px;
    height: 120px;
    top: 15%;
    right: 15%;
    animation: float 6s ease-in-out infinite;
}

.pattern-circle:nth-child(2) {
    width: 80px;
    height: 80px;
    top: 55%;
    right: 25%;
    animation: float 8s ease-in-out infinite;
}

.pattern-circle:nth-child(3) {
    width: 100px;
    height: 100px;
    top: 75%;
    right: 10%;
    animation: float 7s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        opacity: 0.15;
    }
    50% { 
        transform: translateY(-15px) scale(1.05);
        opacity: 0.25;
    }
}

/* Product Cards */
.product-card {
    background: var(--text-light);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.2);
}

.product-card-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: var(--darker-bg);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-card-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.product-card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card-title {
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
    min-height: 50px;
    font-family: 'Poppins', 'Montserrat', sans-serif;
}

.product-card-price {
    margin-bottom: 15px;
}

.price-current {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    font-family: 'Montserrat', 'Poppins', sans-serif;
    letter-spacing: -0.5px;
}

.price-old {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
    margin-left: 10px;
}

.product-card-badges {
    margin-bottom: 15px;
}

.product-card-badges .badge {
    margin-right: 5px;
    padding: 5px 10px;
    border-radius: 5px;
}

.product-card-btn {
    margin-top: auto;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: var(--text-light);
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    width: 100%;
}

.product-card-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
    color: var(--text-light);
}

/* Service Benefits */
.service-benefits {
    background: var(--text-light);
    padding: 60px 0;
    margin-top: -50px;
    position: relative;
    z-index: 2;
}

.service-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--text-light);
}

.service-icon-1 {
    background: #ff6b9d;
}

.service-icon-2 {
    background: #ffc107;
}

.service-icon-3 {
    background: #6c757d;
}

.service-icon-4 {
    background: #dc3545;
}

.service-card h5 {
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    font-family: 'Poppins', 'Montserrat', sans-serif;
}

.service-card p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Section Headers */
.section-header {
    margin-bottom: 40px;
    position: relative;
}

.section-header h2 {
    font-family: 'Montserrat', 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--dark-bg);
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    letter-spacing: -0.5px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.product-filters {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.filter-link {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 5px 15px;
    border-radius: 20px;
    transition: all 0.3s;
}

.filter-link:hover,
.filter-link.active {
    background: var(--primary-color);
    color: var(--text-light);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 25px;
    padding: 10px 25px;
    transition: all 0.3s;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* Footer */
.main-footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 60px 0 20px;
    margin-top: 80px;
}

.main-footer h5 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.main-footer p {
    color: #ccc;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 15px;
    color: #ccc;
}

.footer-contact i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: var(--darker-bg);
    color: var(--text-light);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-divider {
    border-color: var(--border-color);
    margin: 30px 0 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .search-box {
        margin: 10px 0;
        width: 100%;
    }
    
    .search-box .form-control {
        width: 100%;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Product Detail Page */
.product-detail-image {
    background: var(--text-light);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-detail-image img {
    width: 100%;
    border-radius: 10px;
}

.product-detail-info {
    background: var(--text-light);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-detail-title {
    font-family: 'Montserrat', 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--dark-bg);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.product-detail-badges .badge {
    margin-right: 10px;
    padding: 8px 15px;
    font-size: 0.9rem;
}

.price-current-large {
    font-family: 'Montserrat', 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: -1px;
}

.price-old-large {
    font-size: 1.5rem;
    color: #999;
    text-decoration: line-through;
}

.product-stock {
    font-size: 1.1rem;
}

.product-description h4,
.product-specifications h5 {
    font-family: 'Montserrat', 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--dark-bg);
    margin-bottom: 15px;
}

.specs-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.product-order-btn {
    padding: 15px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 10px;
    transition: all 0.3s;
}

.product-order-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.4);
}

/* Filter Sidebar */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    border-radius: 15px 15px 0 0 !important;
    font-weight: 700;
    padding: 15px 20px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}
