/* Custom Styles for Pacelab Intervals Website */

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

/* Fade in animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Navbar scroll effect */
.navbar-scrolled {
    background-color: rgba(18, 18, 18, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* FAQ Accordion */
.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    cursor: pointer;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: #00B8FF;
}

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

.faq-answer.open {
    max-height: 500px;
    padding-top: 1rem;
}

/* App selector toggle */
.app-selector-btn {
    transition: all 0.3s ease;
}

.app-selector-btn.active {
    background-color: #00B8FF;
    color: #121212;
}

.app-selector-btn:not(.active) {
    background-color: #1E1E1E;
    color: #FFFFFF;
}

/* Screenshot carousel */
.carousel-container {
    position: relative;
    overflow: hidden;
}

.carousel-slide {
    display: none;
}

.carousel-slide.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Button hover effects */
.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 184, 255, 0.3);
}

/* Form inputs */
input[type="text"],
input[type="email"],
textarea {
    background-color: #1E1E1E;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: #00B8FF;
}

/* Table of contents links */
.toc-link {
    color: #B0B0B0;
    transition: color 0.2s ease;
}

.toc-link:hover {
    color: #00B8FF;
}

/* Privacy policy sections */
.privacy-section {
    margin-bottom: 3rem;
}

.privacy-section h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #00B8FF;
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 184, 255, 0.3);
    border-radius: 50%;
    border-top-color: #00B8FF;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .fade-in {
        opacity: 1;
        transform: translateY(0);
    }
}

