/* *****************************************************

    ** Custom Stylesheet **

    Any custom styling you want to apply should be
    defined here.

***************************************************** */

/* Custom CSS for Nexus Cart
 *
 * This block allows you to customize theme colors and styles for the entire Nexus Cart template.
 *
 * To customize colors:
 * - Replace the var() references with your own hex colors or other CSS values.
 * - For example, instead of --primary: #4b5563; use --primary: #your-color;
 * - You can also override any CSS properties here.
 */

html {
    font-size: 14px;
}

:root {
    --white: #fff;

    /* Neutral shades */
    --neutral-50: #fbf9fa;
    --neutral-100: #f4f5f7;
    --neutral-200: #e4e4e7;
    --neutral-300: #d0d5dd;
    --neutral-400: #9ca3af;
    --neutral-500: #6b7280;
    --neutral-600: #4b5563;
    --neutral-700: #374151;
    --neutral-800: #1f2937;
    --neutral-900: #111827;
    --neutral-950: #030712;

    /* Neutral shades */
    /* define own pallet with brand colors */
    --primary-50: var(--neutral-50);
    --primary-100: var(--neutral-100);
    --primary-200: var(--neutral-200);
    --primary-300: var(--neutral-300);
    --primary-400: var(--neutral-400);
    --primary-500: var(--neutral-500);
    --primary-600: var(--neutral-600);
    --primary-700: var(--neutral-700);
    --primary-800: var(--neutral-800);
    --primary-900: var(--neutral-900);
    --primary-950: var(--neutral-900);

    /* Primary colors */
    /* Use shades from comments if `primary` colors use other colors, then neutral */
    --primary: var(--neutral-900);          /* var(--primary-600) */
    --primary-lifted: var(--neutral-800);   /* var(--primary-700) */
    --primary-accented: var(--neutral-700); /* var(--primary-800) */

    /* Secondary colors */
    --secondary: var(--neutral-500);
    --secondary-lifted: var(--neutral-600);
    --secondary-accented: var(--neutral-700);

    /* Success colors */
    --success: #00a63e;
    --success-lifted: #008236;
    --success-accented: #016630;

    /* Info colors */
    --info: #155dfc;
    --info-lifted: #1447e6;
    --info-accented: #193cb8;

    /* Notice colors */
    --notice: #7f22fe;
    --notice-lifted: #7008e7;
    --notice-accented: #5d0ec0;

    /* Warning colors */
    --warning: #f54a00;
    --warning-lifted: #ca3500;
    --warning-accented: #9f2d00;

    /* Error colors */
    --error: #e7000b;
    --error-lifted: #c10007;
    --error-accented: #9f0712;

    /* Grayscale colors */
    --grayscale: var(--neutral-900);
    --grayscale-lifted: var(--neutral-800);
    --grayscale-accented: var(--neutral-700);

    /* Neutral colors */
    --neutral: var(--neutral-500);
    --neutral-lifted: var(--neutral-600);
    --neutral-accented: var(--neutral-700);

    /* Text neutral colors */
    --text-inverted: var(--white);
    --text-muted: var(--neutral-400);
    --text-lifted: var(--neutral-500);
    --text-accented: var(--neutral-600);
    --text: var(--neutral-900);

    /* Border neutral colors */
    --border-muted: var(--neutral-200);
    --border: var(--neutral-300);
    --border-lifted: var(--neutral-400);
    --border-accented: var(--neutral-600);

    /* Background neutral colors */
    --bg: var(--white);
    --bg-muted: var(--neutral-50);
    --bg-lifted: var(--neutral-100);
    --bg-accented: var(--neutral-200);
    --bg-inverted: var(--neutral-900);

    /* Additional colors */
    --yellow-200: #fff085;
    --yellow-300: #ffdf20;
    --teal-300: #46edd5;
    --teal-400: #00d5be;
    --emerald-300: #5ee9b5;
    --pink-400: #fb64b6;

    /* Additional custom properties */
    /* Font sizes */
    --text-xs: 0.625rem;
    --text-sm: 0.75rem;
    --text-md: 0.875rem;
    --text-lg: 1rem;

    /* Spacing */
    --outline-sm: 1px;
    --outline-md: 2px;
    --outline-lg: 3px;

    /* Rounding */
    --rounding-sm: 0.25rem;
    --rounding-md: 0.5rem;
    --rounding-lg: 0.75rem;

    /* Other */
    --letter-spacing: 0em;
    --disabled-opacity: 25%;
}

/* =====================================================
   OneNetly Custom Branding Styles
   ===================================================== */

/* Primary green color for OneNetly branding */
.text-green {
    color: #10b981 !important;
}

.bg-green {
    background-color: #10b981 !important;
}

.border-green {
    border-color: #10b981 !important;
}

/* Button styles for OneNetly */
.btn-green {
    background-color: #10b981;
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.btn-green:hover {
    background-color: #059669;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

.btn-outline-white {
    background: transparent;
    border: 2px solid white;
    color: white;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background: white;
    color: #10b981;
}

/* Gradient background for CTA sections */
.bg-gradient-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* Feature card hover effects */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12) !important;
    border-color: #10b981;
}

/* Pricing card styles */
.pricing-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #059669);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15) !important;
}

.pricing-card:hover::before {
    transform: scaleX(1);
}

/* Features list styling */
.features-list li {
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
    padding-left: 5px;
}

.features-list li:hover {
    padding-left: 10px;
    background-color: rgba(16, 185, 129, 0.05);
    border-radius: 5px;
}

/* FAQ accordion styling */
.accordion .card {
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.accordion .card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.accordion .btn-link {
    text-decoration: none;
    color: #1a202c;
    font-weight: 500;
    transition: color 0.3s ease;
}

.accordion .btn-link:hover {
    color: #10b981;
}

.accordion .btn-link i {
    transition: transform 0.3s ease;
}

.accordion .btn-link:not(.collapsed) i {
    transform: rotate(180deg);
}

/* Icon wrapper animations */
.icon-wrapper i,
.icon-box i {
    transition: all 0.3s ease;
}

.feature-card:hover .icon-wrapper i,
.text-center:hover .icon-box i {
    transform: scale(1.1) rotate(5deg);
}

/* Trust badge styling */
.trust-badge {
    transition: all 0.3s ease;
    padding: 20px;
    border-radius: 10px;
}

.trust-badge:hover {
    background-color: rgba(16, 185, 129, 0.05);
    transform: translateY(-5px);
}

.trust-badge i {
    transition: all 0.3s ease;
}

.trust-badge:hover i {
    transform: scale(1.15);
}

/* Enhanced badge styles */
.badge-success {
    background-color: #10b981 !important;
}

.badge-warning {
    background-color: #f59e0b !important;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Link hover effects */
a {
    transition: all 0.3s ease;
}

/* Custom spacing for OneNetly sections */
.py-20 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.py-15 {
    padding-top: 3.75rem !important;
    padding-bottom: 3.75rem !important;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .feature-card,
    .pricing-card {
        margin-bottom: 1.5rem;
    }
    
    .py-20 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .py-15 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
}

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

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

/* Improved shadow effects */
.shadow-2 {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

/* ===================================================== */

/* ==========================================================================
   Google AdSense Optimization Styles
   ========================================================================== */

/* AdSense Section Styling */
.adsense-section {
    background: transparent;
    transition: all 0.3s ease;
}

.adsense-section .container {
    max-width: 1200px;
}

/* AdSense Widget Container */
.adsense-widget-container {
    margin: 20px auto;
    padding: 10px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Responsive AdSense */
.adsbygoogle {
    display: block;
    min-height: 100px;
    background: #ffffff;
    border-radius: 6px;
}

/* AdSense Integration with OneNetly Theme */
.adsense-section.bg-default {
    background: #ffffff;
}

.adsense-section.bg-default-2 {
    background: #f9fafb;
}

/* Spacing adjustments */
.adsense-section.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Mobile optimization */
@media (max-width: 768px) {
    .adsense-section {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
    
    .adsense-widget-container {
        margin: 15px auto;
        padding: 8px;
    }
}

/* Desktop optimization */
@media (min-width: 1200px) {
    .adsbygoogle {
        min-height: 250px;
    }
}

/* Blend ads with content */
.adsense-section + section {
    margin-top: 0;
}

/* Ad label (optional - for transparency) */
.adsense-widget-container::before {
    content: 'Advertisement';
    display: block;
    text-align: center;
    font-size: 11px;
    color: #9ca3af;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hover effect for better visibility */
.adsense-widget-container:hover {
    border-color: #10b981;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1);
}
