/* Q-Kap Custom Styles */

:root {
    --color-primary: #0056B3;
    --color-primary-dark: #003A7A;
    --color-secondary: #333333;
    --color-accent: #FFD700;
    --color-success: #25D366;
    --color-light: #F3F4F6;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
    font-family: var(--font-family);
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--color-secondary);
    background-color: #FFFFFF;
}

/* Responsive Utilities */
@media (max-width: 768px) {
    #mobile-cta {
        display: flex !important;
    }

    body {
        padding-bottom: 100px;
    }
}

@media (min-width: 769px) {
    #mobile-cta {
        display: none !important;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-primary-dark);
}

a {
    color: var(--color-primary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary-dark);
}

/* Buttons */
.btn-primary {
    background-color: var(--color-primary);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
}

.btn-success {
    background-color: var(--color-success);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-success:hover {
    background-color: #1DA852;
}

/* FAQ Accordion */
.faq-toggle {
    cursor: pointer;
}

.faq-toggle span {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.faq-toggle.active span {
    transform: rotate(45deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-content.active {
    max-height: 500px;
}

/* Mobile CTA */
.mobile-cta__btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Navigation Active State */
nav a.active {
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
}

/* Gradient Backgrounds */
.gradient-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

/* Smooth Transitions */
.transition {
    transition: all 0.3s ease;
}

/* Links styled */
.link-hover {
    position: relative;
    text-decoration: none;
}

.link-hover::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

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

/* Form Styles */
input, textarea, select {
    border: 1px solid #E5E7EB;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

/* Product Cards */
.product-card {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    nav, footer, .mobile-cta {
        display: none;
    }
}

/* SEO Utility Classes */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Skip to Content Link */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-to-content:focus {
    top: 0;
}
