/* ----------------------------------------------------
   STUUR Theme Colors (Based on Logo Colors)
   ---------------------------------------------------- */
:root {
    /* Primary Colors from Logo */
    --stuur-primary: rgb(242, 0, 242);     /* Magenta/Pink */
    --stuur-secondary: rgb(0, 0, 234);    /* Royal Blue */
    --stuur-accent: rgb(0, 0, 0);         /* Black */
    --stuur-light: #f8f9fa;
    --stuur-dark: #212529;
    
    /* Gradient Definitions */
    --gradient-stuur: linear-gradient(135deg, var(--stuur-primary) 0%, var(--stuur-secondary) 100%);
    --gradient-stuur-light: linear-gradient(135deg, rgba(242, 0, 242, 0.1) 0%, rgba(0, 0, 234, 0.1) 100%);
    
    /* Theme Variables */
    --border-radius: 12px;
    --box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    --box-shadow-lg: 0 15px 50px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --stuur-light: #121212;
    --stuur-dark: #f8f9fa;
    --box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    --box-shadow-lg: 0 15px 50px rgba(0, 0, 0, 0.4);
}

/* ----------------------------------------------------
   Base Styles & Utilities
   ---------------------------------------------------- */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--stuur-dark);
    background-color: var(--stuur-light);
    transition: var(--transition);
}

/* Custom Utility Classes */
.bg-gradient-stuur {
    background: var(--gradient-stuur) !important;
}

.bg-gradient-stuur-light {
    background: var(--gradient-stuur-light) !important;
}

.text-stuur-primary {
    color: var(--stuur-primary) !important;
}

.text-stuur-secondary {
    color: var(--stuur-secondary) !important;
}

.text-stuur-accent {
    color: var(--stuur-accent) !important;
}

.bg-stuur-primary {
    background-color: var(--stuur-primary) !important;
}

.bg-stuur-secondary {
    background-color: var(--stuur-secondary) !important;
}

.bg-stuur-accent {
    background-color: var(--stuur-accent) !important;
}

.border-stuur-primary {
    border-color: var(--stuur-primary) !important;
}

.border-stuur-secondary {
    border-color: var(--stuur-secondary) !important;
}

/* ----------------------------------------------------
   Button Styles
   ---------------------------------------------------- */
.btn-stuur-primary {
    background: var(--gradient-stuur);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-stuur-primary:hover,
.btn-stuur-primary:focus {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(242, 0, 242, 0.3);
}

.btn-stuur-primary:active {
    transform: translateY(0);
}

.btn-outline-stuur-primary {
    background: transparent;
    border: 2px solid var(--stuur-primary);
    color: var(--stuur-primary);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-outline-stuur-primary:hover,
.btn-outline-stuur-primary:focus {
    background: var(--gradient-stuur);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(242, 0, 242, 0.2);
}

.btn-outline-stuur-secondary {
    border: 2px solid var(--stuur-secondary);
    color: var(--stuur-secondary);
    background: transparent;
}

.btn-outline-stuur-secondary:hover {
    background: var(--stuur-secondary);
    color: white;
}

/* ----------------------------------------------------
   Component Styles
   ---------------------------------------------------- */
/* Hero Section */
.hero-section {
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-stuur);
    opacity: 0.95;
    z-index: 1;
}

.hero-section .container-fluid {
    position: relative;
    z-index: 2;
}

.hero-image {
    position: relative;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: -1px;
    width: 100px;
    height: 100%;
    background: linear-gradient(to right, var(--stuur-primary), transparent);
    z-index: 1;
}

/* Cards */
.card {
    border: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.card-img-top-container {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.rating-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--stuur-accent);
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Carousel */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.carousel-control-prev {
    left: -25px;
}

.carousel-control-next {
    right: -25px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 1.5rem;
    filter: invert(15%) sepia(100%) saturate(5000%) hue-rotate(280deg);
}

/* Payment Icons */
.payment-icon {
    transition: var(--transition);
}

.payment-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Section Spacing */
.py-6 { padding-top: 4rem; padding-bottom: 4rem; }
.py-7 { padding-top: 5rem; padding-bottom: 5rem; }
.mb-6 { margin-bottom: 4rem; }
.mb-7 { margin-bottom: 5rem; }

/* Hover Effects */
.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
}

/* ----------------------------------------------------
   Navigation & Header
   ---------------------------------------------------- */
.navbar-stuur {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .navbar-stuur {
    background: rgba(18, 18, 18, 0.95);
}

.navbar-brand img {
    height: 40px;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav-link:hover {
    background: var(--gradient-stuur-light);
    color: var(--stuur-primary);
}

/* ----------------------------------------------------
   Footer
   ---------------------------------------------------- */
.footer-stuur {
    background: var(--stuur-accent);
    color: white;
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.footer-stuur a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-stuur a:hover {
    color: white;
    padding-left: 5px;
}

/* ----------------------------------------------------
   Form Controls
   ---------------------------------------------------- */
.form-control:focus,
.form-select:focus {
    border-color: var(--stuur-primary);
    box-shadow: 0 0 0 0.25rem rgba(242, 0, 242, 0.25);
}

/* ----------------------------------------------------
   Dark Mode Toggle
   ---------------------------------------------------- */
.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--gradient-stuur-light);
    border: none;
}

.theme-toggle:hover {
    transform: rotate(15deg);
}

.theme-toggle .bi-sun-fill {
    color: #ffd700;
}

.theme-toggle .bi-moon-fill {
    color: #f8f9fa;
}

/* ----------------------------------------------------
   Responsive Adjustments
   ---------------------------------------------------- */
@media (max-width: 768px) {
    .hero-section {
        min-height: 500px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
    
    .py-6 { padding-top: 3rem; padding-bottom: 3rem; }
    .py-7 { padding-top: 4rem; padding-bottom: 4rem; }
}

@media (max-width: 576px) {
    .display-4 {
        font-size: 2.5rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
}

/* ----------------------------------------------------
   Animations
   ---------------------------------------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ----------------------------------------------------
   PWA Specific Styles
   ---------------------------------------------------- */
.pwa-install-prompt {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-lg);
    padding: 1.5rem;
    z-index: 9999;
    max-width: 350px;
    animation: slideInUp 0.3s ease-out;
}

[data-theme="dark"] .pwa-install-prompt {
    background: var(--stuur-dark);
    color: var(--stuur-light);
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}