/**
 * MODERN VIBRANT THEME
 * Gradient: Royal Blue to Purple
 * Style: Glassmorphism & Compact
 */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* Vibrant Gradient Palette */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #00cdac;

    /* Backgrounds */
    --bg-body: #f4f7f6;
    --bg-card: #ffffff;

    /* Text */
    --text-main: #2d3748;
    --text-muted: #718096;

    /* UI Elements */
    --border-radius: 12px;
    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.15);

    /* Sizes */
    --font-base: 15px;
}

/* GLOBAL STYLES */
body {
    background-color: var(--bg-body) !important;
    color: var(--text-main) !important;
    font-family: 'Inter', sans-serif;
    font-size: var(--font-base);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-text {
    font-family: 'Poppins', sans-serif;
    color: #1a202c;
    font-weight: 600;
    letter-spacing: -0.5px;
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease-out both;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

/* NAVBAR (Glassmorphism) */
.navbar-light {
    background-color: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar-brand strong {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.2s;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(102, 126, 234, 0.08);
}

/* BUTTONS */
.btn-primary {
    background: var(--primary-gradient) !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(118, 75, 162, 0.3);
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.3s transform;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(118, 75, 162, 0.4);
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    padding: 0.4rem 1.4rem;
    font-weight: 600;
}

.btn-outline-primary:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 15px rgba(118, 75, 162, 0.2);
}

/* CARDS */
.card {
    background-color: var(--bg-card) !important;
    border: none !important;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

/* SECTIONS */
.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* PRODUCT CARDS */
.product-card .card-img-top {
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .card-img-top {
    transform: scale(1.05);
    /* Zoom effect */
}

.product-overlay {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 15px;
    right: 15px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.product-card:hover .product-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* HERO CAROUSEL */
/* HERO CAROUSEL */
.carousel-item {
    /* Background redundant with cover */
}

.carousel-item img {
    height: 480px;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.carousel-indicators li {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
}

.carousel-indicators .active {
    background-color: #fff;
    transform: scale(1.2);
}

/* FOOTER */
.main-footer-area {
    background: linear-gradient(to right, #2b3244, #181c26);
    /* Sleek Dark */
    color: #e2e8f0;
    padding: 70px 0 30px;
    font-size: 0.95rem;
}

.footer-widget h4 {
    color: #fff;
    font-size: 1.2rem;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 15px;
    margin-bottom: 25px;
    display: inline-block;
}

.footer-widget p {
    color: #a0aec0;
    line-height: 1.7;
}

.footer-widget .text-muted {
    color: #a0aec0 !important;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    transform: translateY(-3px) rotate(5deg);
}

/* UTILITIES */
.text-primary {
    color: var(--primary-color) !important;
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-light {
    background-color: #f8fafc !important;
}

.shadow-sm {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-item img {
        height: 320px;
    }

    h2 {
        font-size: 1.75rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }
}

/* CTA SECTION */
.cta-section {
    background: var(--primary-gradient);
    color: #fff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Animated Background Shapes */
.cta-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    animation: float 6s infinite ease-in-out;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    left: -50px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    right: -50px;
    animation-delay: 2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 40%;
    right: 15%;
    background: rgba(255, 255, 255, 0.05);
    animation-delay: 4s;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* CTA Content Styling */
.cta-section h2 {
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cta-section .lead {
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.cta-section .btn-light {
    background: #ffffff;
    color: var(--secondary-color);
    /* Matches gradient start/end */
    font-weight: 700;
    padding: 15px 45px;
    border-radius: 50px;
    font-size: 1.1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    z-index: 10;
}

.cta-section .btn-light:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    color: var(--primary-color);
}