/* Fire Fox Technologies - Tech Repair Theme CSS */

/* Color Palette and Variables */
:root {
    --primary-blue: #2563eb;
    --secondary-blue: #1e40af;
    --tech-orange: #f59e0b;
    --dark-blue: #1e3a8a;
    --darker-blue: #1e2761;
    --light-gray: #f8fafc;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --success-green: #10b981;
    --warning-red: #ef4444;
}

/* Base Styles */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Navigation Styles */
.tech-nav {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.tech-nav .navbar-brand .brand-logo {
    color: var(--white);
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tech-nav .navbar-brand .brand-logo:hover {
    color: var(--tech-orange);
    transform: translateY(-2px);
}

.tech-nav .brand-text {
    margin-left: 0.5rem;
    font-weight: 700;
    color: var(--white);
}

.tech-nav .navbar-item {
    color: var(--white);
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.tech-nav .navbar-item:hover,
.tech-nav .navbar-item:focus {
    background: rgba(255, 255, 255, 0.1);
    color: var(--tech-orange);
}

.tech-nav .navbar-burger {
    color: var(--white);
}

.tech-nav .navbar-burger:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.tech-hero {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--darker-blue) 100%);
    position: relative;
    overflow: hidden;
}

.tech-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="tech-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(245,158,11,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23tech-pattern)"/></svg>');
    z-index: 1;
}

.tech-hero .hero-body {
    position: relative;
    z-index: 2;
    padding: 4rem 0;
}

.hero-title {
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem !important;
}

.hero-subtitle {
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem !important;
}

.hero-buttons .button {
    margin: 0.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--tech-orange);
    color: var(--white);
    border: 2px solid var(--tech-orange);
}

.btn-primary:hover,
.btn-primary:focus {
    background: #d97706;
    border-color: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
    color: var(--white);
    border: 2px solid var(--white);
    background: transparent;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.hero-image img {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Service Cards */
.service-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
}

.service-card .card-image img {
    transition: transform 0.3s ease;
}

.service-card:hover .card-image img {
    transform: scale(1.05);
}

.service-card .price-tag {
    color: var(--tech-orange);
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Advantage Boxes */
.advantage-box {
    padding: 2rem 1rem;
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.advantage-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.15);
}

.advantage-box .icon-wrapper {
    margin-bottom: 1.5rem;
}

.advantage-box .icon {
    background: rgba(245, 158, 11, 0.1);
    border-radius: 50%;
    padding: 1rem;
}

/* Testimonial Cards */
.testimonial-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.15);
}

.testimonial-card .rating {
    color: var(--tech-orange);
    font-size: 1.2rem;
}

/* Footer */
.tech-footer {
    background: linear-gradient(135deg, var(--darker-blue), var(--dark-blue));
    padding: 3rem 0 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--tech-orange);
}

.footer-divider {
    background: rgba(255, 255, 255, 0.2);
    margin: 2rem 0 1rem;
}

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 400px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    z-index: 10000;
    border: 1px solid #e5e7eb;
}

.cookie-content {
    margin-bottom: 1rem;
}

.cookie-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.cookie-text p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cookie-settings-btn {
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    background: transparent;
}

.cookie-settings-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.cookie-decline-btn {
    border: 1px solid var(--text-light);
    color: var(--text-light);
    background: transparent;
}

.cookie-decline-btn:hover {
    background: var(--text-light);
    color: var(--white);
}

.cookie-accept-btn {
    background: var(--tech-orange);
    color: var(--white);
    border: 1px solid var(--tech-orange);
}

.cookie-accept-btn:hover {
    background: #d97706;
    border-color: #d97706;
}

.cookie-details {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.cookie-option {
    margin-bottom: 1rem;
}

.cookie-option label {
    display: block;
    cursor: pointer;
}

.cookie-option strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.cookie-option p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0;
    margin-left: 1.5rem;
}

.cookie-links {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.85rem;
}

.cookie-links a {
    color: var(--primary-blue);
    text-decoration: none;
}

.cookie-links a:hover {
    text-decoration: underline;
}

/* Form Styles */
.form-section {
    background: var(--light-gray);
    padding: 4rem 0;
}

.form-container {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.input,
.textarea,
.select select {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.input:focus,
.textarea:focus,
.select select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.button.is-link {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.button.is-link:hover,
.button.is-link:focus {
    background: var(--secondary-blue);
    border-color: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.button.is-warning {
    background: var(--tech-orange);
    border-color: var(--tech-orange);
    color: var(--white);
    font-weight: 600;
}

.button.is-warning:hover,
.button.is-warning:focus {
    background: #d97706;
    border-color: #d97706;
}

/* Process Steps */
.process-step {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.15);
}

.process-step .step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--tech-orange);
    color: var(--white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

/* FAQ Styles */
.faq-item {
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
    border: none;
    background: none;
    text-align: left;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--light-gray);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    display: none;
}

.faq-answer.show {
    display: block;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
    transform: rotate(45deg);
}

/* Team Member Cards */
.team-member {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.15);
}

.team-member img {
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

/* Emergency Banner */
.emergency-banner {
    background: linear-gradient(135deg, var(--warning-red), #dc2626);
    color: var(--white);
    text-align: center;
    padding: 1rem;
    position: relative;
    overflow: hidden;
}

.emergency-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Contact Map */
.contact-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem !important;
    }

    .hero-subtitle {
        font-size: 1.25rem !important;
    }

    .cookie-consent-banner {
        left: 10px;
        right: 10px;
        max-width: none;
    }

    .cookie-actions {
        justify-content: center;
    }

    .tech-nav .navbar-menu {
        background: var(--primary-blue);
    }
}

@media (max-width: 480px) {
    .hero-buttons .button {
        width: 100%;
        margin: 0.25rem 0;
    }

    .service-card,
    .advantage-box,
    .testimonial-card {
        margin-bottom: 2rem;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Focus Styles */
.button:focus,
.input:focus,
.textarea:focus,
.select select:focus {
    outline: 2px solid var(--tech-orange);
    outline-offset: 2px;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading States */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary-blue);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Thank You Page Styles */
.thank-you-hero {
    background: linear-gradient(135deg, var(--success-green), #059669);
    color: var(--white);
}

.thank-you-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .button {
        border-width: 2px;
    }

    .service-card,
    .advantage-box,
    .testimonial-card {
        border: 2px solid var(--text-dark);
    }
}

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