/*
Theme Name: SCS Fietsen Modern
Theme URI: https://www.scsfietsen.be
Author: Esbee. IT Consultancy
Author URI: https://www.esbee.io
Description: Modern en responsief WordPress thema voor SCS Fietsen met video header, diensten sectie, over ons sectie, partners carousel en contact informatie.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: scsfietsen
Tags: responsive, custom-header, custom-menu, featured-images
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #dc3545;
    --secondary-color: #333;
    --text-color: #555;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

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

/* Header Styles */
.top-bar {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.top-bar.scrolled {
    padding: 10px 0;
    background-color: rgba(51, 51, 51, 0.95);
}

.top-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.store-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.status-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.status-info {
    font-size: 12px;
    opacity: 0.9;
    font-weight: normal;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #28a745;
    animation: pulse 2s infinite;
}

.status-indicator.closed {
    background-color: var(--primary-color);
    animation: none;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.phone-numbers {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

.phone-numbers a {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.phone-numbers a:hover {
    color: var(--primary-color);
}

/* Action Popup (Desktop - rechtsonder) */
.action-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    max-width: calc(100vw - 40px);
    background: var(--primary-color);
    color: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    padding: 25px;
    z-index: 1000;
    transform: translateY(150%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.action-popup.show {
    transform: translateY(0);
    opacity: 1;
}

.action-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 14px;
}

.action-popup-close:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

.action-popup-content {
    text-align: center;
}

.action-popup-icon {
    font-size: 48px;
    margin-bottom: 15px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.action-popup-title {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.action-popup-text {
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 20px 0;
}

.action-popup-button {
    display: inline-block;
    background: white;
    color: var(--secondary-color);
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.action-popup-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Mobile Floating Action Button (FAB) */
.action-mobile-fab {
    display: none; /* Hidden on desktop */
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    cursor: pointer;
    z-index: 1000;
    font-size: 24px;
    transition: var(--transition);
    animation: pulse-fab 2s infinite;
}

@keyframes pulse-fab {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(0,0,0,0.4);
    }
}

.action-mobile-fab:active {
    transform: scale(0.95);
}

.action-fab-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #ffc107;
    color: var(--secondary-color);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-badge 1.5s infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Mobile Modal */
.action-mobile-modal {
    display: none; /* Hidden on desktop */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.action-mobile-modal.show {
    opacity: 1;
    pointer-events: all;
}

.action-mobile-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
}

.action-mobile-modal-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--primary-color);
    color: white;
    border-radius: 25px 25px 0 0;
    padding: 30px 20px;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.action-mobile-modal.show .action-mobile-modal-content {
    transform: translateY(0);
}

.action-mobile-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}

.action-mobile-modal-close:active {
    background: rgba(255,255,255,0.3);
}

.action-mobile-modal-body {
    text-align: center;
}

.action-mobile-modal-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.action-mobile-modal-title {
    font-size: 28px;
    font-weight: bold;
    margin: 0 0 15px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.action-mobile-modal-text {
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 25px 0;
}

.action-mobile-modal-button {
    display: inline-block;
    background: white;
    color: var(--secondary-color);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.action-mobile-modal-button:active {
    transform: scale(0.95);
}

/* Responsive: Show/Hide based on screen size */
@media (max-width: 768px) {
    .action-popup {
        display: none !important; /* Hide desktop popup */
    }
    
    .action-mobile-fab {
        display: flex; /* Show mobile FAB */
        align-items: center;
        justify-content: center;
    }
    
    .action-mobile-modal {
        display: block; /* Enable mobile modal */
    }
}

@media (min-width: 769px) {
    .action-mobile-fab {
        display: none !important; /* Hide mobile FAB */
    }
    
    .action-mobile-modal {
        display: none !important; /* Hide mobile modal */
    }
}

/* Navigation */
.main-header {
    background-color: var(--white);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 52px;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.main-header.scrolled {
    top: 42px;
    padding: 15px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo img {
    height: 60px;
    width: auto;
    transition: var(--transition);
    opacity: 1 !important;
}

.main-header.scrolled .site-logo img {
    height: 50px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
}

.main-nav a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.main-nav a:hover:after,
.main-nav a.current-menu-item:after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--secondary-color);
}

/* Hero Video Section */
.hero-video-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: 132px;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.7), rgba(51, 51, 51, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 1;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: backwards;
}

.hero-btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: var(--transition);
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: backwards;
}

.hero-btn:hover {
    background-color: #c82333;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(220, 53, 69, 0.3);
}

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

/* Services Section */
.services-section {
    padding: 100px 20px;
    background-color: var(--light-bg);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--secondary-color);
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 20px auto 0;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.service-card p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--secondary-color);
}

/* About Section */
.about-section {
    padding: 100px 20px;
    background-color: var(--white);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Partners Section */
.partners-section {
    padding: 100px 20px;
    background-color: var(--light-bg);
}

.partners-carousel {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 40px;
    animation: scroll 20s linear infinite;
}

.carousel-track:hover {
    animation-play-state: paused;
}

.partner-logo {
    flex: 0 0 200px;
    height: 120px;
    background: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
    opacity: 1 !important;
}

.partner-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.partner-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
    opacity: 1 !important;
}

.partner-logo:hover img {
    transform: scale(1.05);
}

/* Keyframes animation is now dynamically generated in front-page.php */

/* Contact Section */
.contact-section {
    padding: 100px 20px;
    background-color: var(--white);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.info-item {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.info-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.info-text p {
    color: var(--text-color);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
.site-footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 40px 20px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-links li {
    display: inline-block;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    margin: 0 15px;
    transition: var(--transition);
}

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

.copyright {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 20px;
}

.copyright a,
.copyright .footer-link {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.copyright a:hover,
.copyright .footer-link:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav li {
        border-bottom: 1px solid #eee;
    }
    
    .main-nav a {
        display: block;
        padding: 15px 20px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .phone-numbers {
        flex-direction: column;
        gap: 5px;
        font-size: 12px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .services-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}
