/*
Theme Name: Tinkr AI Theme
Description: AI automation theme for London SMEs - professional business theme with gradient design
Version: 1.0
Author: Tinkr AI
*/

:root {
    --primary-color: #6366f1;
    --secondary-color: #4f46e5;
    --gradient-start: #8b5cf6;
    --gradient-end: #3b82f6;
    --accent-color: #a855f7;
}

body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    background-color: #fafafa;
    color: #333;
}

.gradient-bg {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
}

.gradient-text {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* WordPress Menu Classes Integration */
.menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-item {
    display: inline-block;
}

.menu-item a {
    text-decoration: none;
}

/* Current menu item styling */
.current-menu-item .nav-link,
.current_page_item .nav-link {
    color: var(--primary-color);
}

.current-menu-item .nav-link::after,
.current_page_item .nav-link::after {
    width: 100%;
    background: var(--primary-color);
}

/* Submenu styling */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.menu-item:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu .menu-item {
    display: block;
    width: 100%;
}

.sub-menu .nav-link {
    display: block;
    padding: 8px 16px;
    color: #374151;
    border-bottom: none;
}

.sub-menu .nav-link:hover {
    background-color: #f3f4f6;
    color: var(--primary-color);
}

.sub-menu .nav-link::after {
    display: none;
}

/* Footer Menu Styling */
.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu .menu-item {
    display: block;
    width: 100%;
}

.footer-link {
    text-decoration: none;
    display: block;
}

.footer-link:hover {
    color: #ffffff !important;
}

/* Current page styling for footer */
.footer-menu .current-menu-item .footer-link,
.footer-menu .current_page_item .footer-link {
    color: #ffffff;
}

.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(100, 116, 139, 0.2);
}

.blog-card {
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.button-gradient {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    transition: all 0.3s ease;
}

.button-gradient:hover {
    background: linear-gradient(135deg, var(--gradient-end), var(--gradient-start));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.blob {
    position: absolute;
    z-index: -1;
    opacity: 0.7;
    filter: blur(50px);
}

.section {
    scroll-margin-top: 5rem;
}

.feature-icon {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Services Page Specific Styles */
.price-card {
    background: linear-gradient(145deg, #f8fafc 0%, #e2e8f0 100%);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.featured-card {
    background: linear-gradient(145deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.service-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}


.faq-item details summary {
    cursor: pointer;
}

.faq-item details summary::marker {
    color: var(--primary-color);
}

/* Set logo to specific size and prevent header expansion */
.custom-logo {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
}

.custom-logo-link {
    display: inline-block;
    line-height: 1;
}