/*
Theme Name: PickleBugs
Author: Instep Technologies
Version: 1.0
Description: A custom WordPress theme for PickleBugs, strictly following temp_styles.
*/

/* Imports from Fonts.css */
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');
@import url('https://fonts.cdnfonts.com/css/garet');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

/* Theme Variables (Exactly from theme.css) */
:root {
    --font-size: 16px;
    --background: #ffffff;
    --foreground: oklch(0.145 0 0);
    --card: #ffffff;
    --card-foreground: oklch(0.145 0 0);
    --popover: oklch(1 0 0);
    --popover-foreground: oklch(0.145 0 0);
    --primary: #030213;
    --primary-foreground: oklch(1 0 0);
    --secondary: oklch(0.95 0.0058 264.53);
    --secondary-foreground: #030213;
    --muted: #ececf0;
    --muted-foreground: #717182;
    --accent: #e9ebef;
    --accent-foreground: #030213;
    --destructive: #d4183d;
    --destructive-foreground: #ffffff;
    --border: rgba(0, 0, 0, 0.1);
    --input: transparent;
    --input-background: #f3f3f5;
    --switch-background: #cbced4;
    --font-weight-medium: 500;
    --font-weight-normal: 400;
    --ring: oklch(0.708 0 0);
    --chart-1: oklch(0.646 0.222 41.116);
    --chart-2: oklch(0.6 0.118 184.704);
    --chart-3: oklch(0.398 0.07 227.392);
    --chart-4: oklch(0.828 0.189 84.429);
    --chart-5: oklch(0.769 0.188 70.08);
    --radius: 0.625rem;
    --sidebar: oklch(0.985 0 0);
    --sidebar-foreground: oklch(0.145 0 0);
    --sidebar-primary: #030213;
    --sidebar-primary-foreground: oklch(0.985 0 0);
    --sidebar-accent: oklch(0.97 0 0);
    --sidebar-accent-foreground: oklch(0.205 0 0);
    --sidebar-border: oklch(0.922 0 0);
    --sidebar-ring: oklch(0.708 0 0);

    /* PickleBugs Brand Colors */
    --pb-yellow: #FFC107;
    --pb-blue: #1565C0;
    --pb-dark: #0A0A0A;
    --pb-light: #FAFAFA;
    --pb-gray: #666666;
    --pb-gray-light: #E0E0E0;
}

.dark {
    --background: oklch(0.145 0 0);
    --foreground: oklch(0.985 0 0);
    --card: oklch(0.145 0 0);
    --card-foreground: oklch(0.985 0 0);
    --popover: oklch(0.145 0 0);
    --popover-foreground: oklch(0.985 0 0);
    --primary: oklch(0.985 0 0);
    --primary-foreground: oklch(0.205 0 0);
    --secondary: oklch(0.269 0 0);
    --secondary-foreground: oklch(0.985 0 0);
    --muted: oklch(0.269 0 0);
    --muted-foreground: oklch(0.708 0 0);
    --accent: oklch(0.269 0 0);
    --accent-foreground: oklch(0.985 0 0);
    --destructive: oklch(0.396 0.141 25.723);
    --destructive-foreground: oklch(0.637 0.237 25.331);
    --border: oklch(0.269 0 0);
    --input: oklch(0.269 0 0);
    --ring: oklch(0.439 0 0);
    --font-weight-medium: 500;
    --font-weight-normal: 400;
    --chart-1: oklch(0.488 0.243 264.376);
    --chart-2: oklch(0.696 0.17 162.48);
    --chart-3: oklch(0.769 0.188 70.08);
    --chart-4: oklch(0.627 0.265 303.9);
    --chart-5: oklch(0.645 0.246 16.439);
    --sidebar: oklch(0.205 0 0);
    --sidebar-foreground: oklch(0.985 0 0);
    --sidebar-primary: oklch(0.488 0.243 264.376);
    --sidebar-primary-foreground: oklch(0.985 0 0);
    --sidebar-accent: oklch(0.269 0 0);
    --sidebar-accent-foreground: oklch(0.985 0 0);
    --sidebar-border: oklch(0.269 0 0);
    --sidebar-ring: oklch(0.439 0 0);
}

/* @theme inline from theme.css mapped to Root where possible */
:root {
    --radius-sm: calc(var(--radius) - 4px);
    --radius-md: calc(var(--radius) - 2px);
    --radius-lg: var(--radius);
    --radius-xl: calc(var(--radius) + 4px);
}

/* Base Styles from theme.css */
* {
    border-color: var(--border);
    outline-color: oklch(from var(--ring) l c h / 0.5);
}

body {
    background-color: var(--background);
    color: var(--foreground);
    font-family: 'Inter', system-ui, sans-serif;
    /* Updated to match index.html body font */
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    /* Updated to match index.html heading font */
}

/* Bootstrap 5 Overrides */
:root {
    --bs-primary: #1565C0;
    /* pb-blue */
    --bs-secondary: #666666;
    /* pb-gray */
    --bs-success: #28a745;
    --bs-info: #17a2b8;
    --bs-warning: #FFC107;
    /* pb-yellow */
    --bs-danger: #dc3545;
    --bs-light: #FAFAFA;
    /* pb-light */
    --bs-dark: #0A0A0A;
    /* pb-dark */
    --bs-body-font-family: 'Inter', system-ui, sans-serif;
    --bs-heading-font-family: 'Outfit', sans-serif;
}

/* Elementor Global Variable Mapping (To ensure variables work in Elementor) */
:root {
    --e-global-color-primary: var(--bs-primary);
    --e-global-color-secondary: var(--bs-secondary);
    --e-global-color-text: var(--bs-dark);
    --e-global-color-accent: var(--bs-warning);
}

/* Magic Cursor */
#magic-cursor {
    position: absolute;
    width: 10px !important;
    height: 10px !important;
    pointer-events: none;
    z-index: 1000000;
}

#ball {
    position: fixed;
    display: block;
    left: 0;
    top: 0;
    transform: translate(-50%, -50%);
    background: var(--e-global-color-white, #fff);
    box-shadow: 0 0px 0px 4px var(--e-global-color-accent, #000);
    width: 10px !important;
    height: 10px !important;
    border-radius: 50%;
    pointer-events: none;
    border: none;
    opacity: 1 !important;
}

/* Hover State - Optional if we want it to react */
#ball.hover {
    transform: translate(-50%, -50%) scale(1.5);
    background: var(--e-global-color-accent, #000);
    box-shadow: none;
}

/* Ensure default cursor is visible */


.pb-image-hover-effect {
    overflow: hidden !important;
    position: relative;
}

.pb-image-hover-effect::after {
    content: "";
    position: absolute;
    width: 200%;
    height: 0%;
    left: 50%;
    top: 50%;
    background-color: rgba(255, 255, 255, .3);
    transform: translate(-50%, -50%) rotate(-45deg);
    z-index: 1;
}

.pb-image-hover-effect:hover::after {
    height: 250%;
    transition: all 600ms linear !important;
    background-color: transparent;
}


.our-testimonials-sec .elementor-swiper-button-prev svg,
.our-testimonials-sec .elementor-swiper-button-next svg {
    width: 24px !important;
    height: 24px !important;
}



.our-blogs-card-right .right-blog-img {
    overflow: hidden !important;
    position: relative;
}

.our-blogs-card-right .right-blog-img::after {
    content: "";
    position: absolute;
    width: 200%;
    height: 0%;
    left: 50%;
    top: 50%;
    background-color: rgba(255, 255, 255, .3);
    transform: translate(-50%, -50%) rotate(-45deg);
    z-index: 1;
}

.our-blogs-card-right:hover .right-blog-img::after {
    height: 250%;
    transition: all 600ms linear !important;
    background-color: transparent;
}

/* ============================================================
   PICKLEPRO — HEADER STYLES
   ============================================================ */

.pb-navbar {
    background-color: #0d1b2a !important;
    padding: 12px 0;
    z-index: 1050;
    transition: all 0.3s ease;
}

.pb-logo-icon {
    width: 38px;
    height: 38px;
    background-color: #FFC107;
    color: #0d1b2a;
    font-size: 16px;
    transition: transform 0.5s ease;
}

.pb-navbar .navbar-brand:hover .pb-logo-icon {
    transform: rotate(180deg);
}

.pb-brand-name {
    font-family: 'Garet', sans-serif;
    font-weight: 900;
    font-size: 1.4rem;
    color: #fff;
    letter-spacing: -0.5px;
}

/* Theme Logo Images */
.pb-header-logo {
    height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.pb-footer-logo {
    height: auto;
    width: 100%;
    max-width: 180px;
    object-fit: contain;
}

/* Nav Links */
.pb-navbar .navbar-nav .nav-item {
    margin: 0 4px;
}

.pb-navbar .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 18px;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.pb-navbar .navbar-nav .nav-link:hover,
.pb-navbar .navbar-nav .nav-link:focus {
    color: #FFC107 !important;
}

.pb-navbar .navbar-nav .nav-item.active>.nav-link,
.pb-navbar .navbar-nav .nav-link.active {
    color: #0d1b2a !important;
    background-color: #FFC107;
    border-radius: 50px;
}

/* Dropdown */
.pb-navbar .dropdown-menu {
    background-color: #0d1b2a !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 200px;
}

.pb-navbar .dropdown-item {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 14px;
    padding: 8px 20px;
    transition: all 0.2s;
}

.pb-navbar .dropdown-item:hover,
.pb-navbar .dropdown-item:focus {
    color: #FFC107 !important;
    background-color: rgba(255, 193, 7, 0.08);
}

.pb-navbar .dropdown-item.active {
    color: #FFC107 !important;
    background-color: rgba(255, 193, 7, 0.1);
}

/* CTA Button */
.pb-btn-cta {
    background-color: #FFC107 !important;
    color: #0d1b2a !important;
    border: none !important;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.25);
}

.pb-btn-cta:hover {
    background-color: #ffcd39 !important;
    box-shadow: 0 0 30px rgba(255, 193, 7, 0.4);
    color: #0d1b2a !important;
    transform: translateY(-1px);
}

/* Mobile Toggler */
.pb-navbar .navbar-toggler-icon {
    filter: invert(1);
}

/* ============================================================
   PICKLEPRO — NEWSLETTER SECTION
   ============================================================ */

.pb-newsletter-section {
    background-color: #0d1b2a;
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pb-newsletter-heading {
    font-family: 'Garet', sans-serif;
    font-weight: 800;
    font-size: 1.75rem;
    color: #fff;
    line-height: 1.3;
}

.pb-newsletter-subtitle {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin-top: 8px;
}

.pb-newsletter-form {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.pb-newsletter-input-group {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 480px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background-color: rgba(255, 255, 255, 0.05);
}

.pb-newsletter-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    padding: 16px 20px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    outline: none;
    min-width: 0;
}

.pb-newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.pb-newsletter-input:focus {
    background-color: rgba(255, 255, 255, 0.03);
}

.pb-btn-subscribe {
    background-color: #FFC107;
    color: #0d1b2a !important;
    border: none;
    padding: 16px 28px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pb-btn-subscribe:hover {
    background-color: #ffcd39;
    color: #0d1b2a !important;
}

/* ============================================================
   PICKLEPRO — MAIN FOOTER
   ============================================================ */

.pb-footer {
    background-color: #0d1b2a;
    padding-top: 60px;
    padding-bottom: 0;
    position: relative;
    overflow: hidden;
}

.pb-footer-heading {
    font-family: 'Garet', sans-serif;
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.pb-footer-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    line-height: 1.7;
}

/* Social Icons */
.pb-social-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pb-social-icon:hover {
    background-color: #FFC107;
    color: #0d1b2a;
}

/* Footer Links */
.pb-footer-links {
    padding: 0;
}

.pb-footer-links li {
    margin-bottom: 10px;
}

.pb-footer-links li a,
.pb-footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.8;
    transition: color 0.2s ease;
}

.pb-footer-links li a:hover,
.pb-footer-links a:hover {
    color: #FFC107;
}

/* Contact Info */
.pb-footer-contact {
    padding: 0;
}

.pb-footer-contact li {
    margin-bottom: 16px;
}

.pb-footer-contact a,
.pb-footer-contact span {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.pb-footer-contact a:hover {
    color: #c5f31d;
}

.pb-contact-icon {
    color: #FFC107;
    font-size: 14px;
    width: 18px;
    flex-shrink: 0;
}

/* Bottom Bar */
.pb-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0 80px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pb-footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}

.pb-footer-bottom a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.pb-footer-bottom a:hover {
    color: #FFC107;
}

/* Watermark Marquee */
.pb-watermark-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    pointer-events: none;
    line-height: 1;
    padding-bottom: 10px;
}

.pb-watermark-marquee {
    display: flex;
    animation: pb-marquee 20s linear infinite;
    width: max-content;
}

.pb-watermark-text {
    font-family: 'Anton', sans-serif;
    font-size: 8vw;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.04);
    white-space: nowrap;
    letter-spacing: 12px;
    text-transform: uppercase;
    padding-right: 80px;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.03);
}

@keyframes pb-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 991.98px) {
    .pb-navbar .navbar-collapse {
        background-color: #0d1b2a;
        padding: 20px;
        margin-top: 10px;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.06);
    }

    .pb-navbar .navbar-nav .nav-item.active>.nav-link,
    .pb-navbar .navbar-nav .nav-link.active {
        display: inline-block;
    }

    .pb-btn-cta {
        width: 100%;
        justify-content: center;
        margin-top: 12px;
    }

    .pb-newsletter-heading {
        font-size: 1.4rem;
    }

    .pb-newsletter-input-group {
        flex-direction: column;
    }

    .pb-newsletter-input,
    .pb-btn-subscribe {
        width: 100%;
    }

    .pb-watermark-text {
        font-size: 14vw;
    }

    .pb-footer-bottom {
        justify-content: center;
        text-align: center;
    }
}