/* Custom Styles for Paws Across Canada */

:root {
    --navy: #0A1628;
    --navy-light: #1a2942;
    --electric: #00D4FF;
    --electric-dark: #00A3CC;
}

/* Blur Orbs - Background Decoration */
.blur-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.blur-orb-1 {
    width: 500px;
    height: 500px;
    background: var(--electric);
    top: -100px;
    right: -100px;
}

.blur-orb-2 {
    width: 400px;
    height: 400px;
    background: var(--electric-dark);
    bottom: 200px;
    left: -150px;
}

/* Sticky Navigation */
.nav-sticky {
    position: sticky;
    top: 0;
}

/* Navigation Links */
.nav-link {
    color: var(--navy);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--electric);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--electric);
    border-radius: 2px;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--electric) 0%, var(--electric-dark) 100%);
    color: white;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--navy);
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    border: 2px solid var(--navy);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--navy);
    color: white;
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, var(--electric) 0%, var(--electric-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Stat Cards */
.stat-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 212, 255, 0.2);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bento Grid Layout */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.bento-card {
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.15);
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-medium {
    grid-column: span 1;
    grid-row: span 1;
}

.bento-small {
    grid-column: span 1;
}

@media (max-width: 768px) {
    .bento-large,
    .bento-medium,
    .bento-small {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* Feature Cards */
.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.4s ease;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-8px);
}

/* Quiz Styles */
.quiz-question {
    display: none;
}

.quiz-question.active {
    display: block;
    animation: slideIn 0.4s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.quiz-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 140px;
}

.quiz-option:hover {
    border-color: var(--electric);
    background: rgba(0, 212, 255, 0.05);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.15);
}

.quiz-option.selected {
    border-color: var(--electric);
    background: rgba(0, 212, 255, 0.1);
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.2);
}

.progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    transition: all 0.3s ease;
}

.progress-dot.active {
    background: var(--electric);
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
}

/* Location Cards */
.location-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* FAQ Styles */
.faq-item {
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.1);
}

.faq-answer {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

/* Form Inputs */
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    font-family: inherit;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
}

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

/* Loading Animation */
body {
    opacity: 0;
    animation: fadeInBody 0.5s ease forwards;
}

body.loaded {
    opacity: 1;
}

@keyframes fadeInBody {
    to {
        opacity: 1;
    }
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        margin-bottom: 16px;
    }
}

/* Print Styles */
@media print {
    .nav-sticky,
    footer,
    .btn-primary,
    .btn-secondary {
        display: none;
    }
}

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

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

/* Selection Color */
::selection {
    background: var(--electric);
    color: white;
}

::-moz-selection {
    background: var(--electric);
    color: white;
}