/*
Theme Name: GT Ecom
Theme URI: 
Author: AI Assistant
Author URI: 
Description: Custom WordPress theme for Bike & Parts Shop and Driving School.
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gt-ecom
*/

/* Custom Fonts & Styling */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    background-color: #f8f9fa;
}

/* Navbar */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #2c3e50 !important;
}

.nav-link {
    font-weight: 600;
    margin-left: 15px;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero-split {
    min-height: 80vh;
    display: flex;
    flex-wrap: wrap;
}

.hero-half {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    color: white;
    text-align: center;
    transition: transform 0.4s ease;
    position: relative;
    overflow: hidden;
}

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

.hero-half:hover::before {
    background: rgba(0,0,0,0.3);
}

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

.bg-shop {
    background: url('https://images.unsplash.com/photo-1558981806-ec527fa84c39?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80') center/cover;
}

.bg-school {
    background: url('https://images.unsplash.com/photo-1449965408869-eaa3f722e40d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80') center/cover;
}

/* Cards */
.custom-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
}

/* Shop Filters */
.filter-btn {
    border-radius: 20px;
    margin: 5px;
}

/* GT Brand Colors */
:root {
    --gt-blue: #032b5f;
    --gt-red: #e60000;
}

.btn-primary {
    background-color: var(--gt-blue) !important;
    border-color: var(--gt-blue) !important;
    color: white !important;
}

.btn-primary:hover {
    background-color: #021a3b !important;
    border-color: #021a3b !important;
}

.text-primary {
    color: var(--gt-blue) !important;
}

.bg-primary {
    background-color: var(--gt-blue) !important;
}

/* Badge colors */
.bg-danger {
    background-color: var(--gt-red) !important;
}


/* ECOM Logo Text Animation */
.ecom-animated-text {
    background: linear-gradient(
        110deg,
        var(--gt-blue) 0%,
        var(--gt-blue) 40%,
        var(--gt-red) 50%,
        var(--gt-blue) 60%,
        var(--gt-blue) 100%
    );
    background-size: 200% auto;
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shine-text 3s linear infinite;
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.25));
    display: inline-block;
}

@keyframes shine-text {
    0% {
        background-position: 200% center;
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
    100% {
        background-position: -200% center;
        transform: scale(1);
    }
}

