/* G-Win Frontend Styles */

/* Prevent words with hyphens (like G-Win) from splitting across lines */
.prose, .prose * {
    overflow-wrap: normal !important;
    word-break: keep-all !important;
    -webkit-hyphens: none !important;
    hyphens: none !important;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf7f4;
}
::-webkit-scrollbar-thumb {
    background: #d5bfa5;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c19f7e;
}

/* Selection color */
::selection {
    background: rgba(212, 168, 51, 0.2);
    color: #2d2118;
}

/* Custom prose styles for CMS content */
.prose p {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.prose img {
    border-radius: 1rem;
    box-shadow: 0 10px 40px -10px rgb(0 0 0 / 0.15);
}

.prose a {
    color: #b08520;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.prose a:hover {
    color: #d4a833;
}

.prose h1, .prose h2, .prose h3, .prose h4 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.2;
}

.prose h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 1rem;
}

.prose h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 0.75rem;
    margin-bottom: 0.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(212, 168, 51, 0.2);
}

.prose h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 0.5rem;
    margin-bottom: 0.125rem;
}

/* CTA links styled as buttons (links to /afspraken or /rendez-vous) */
.prose a[href*="/afspraken"],
.prose a[href*="/rendez-vous"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.125rem;
    color: #2d2118 !important;
    background: linear-gradient(135deg, #e8be2e, #d4a833);
    box-shadow: 0 4px 15px rgba(212, 168, 51, 0.25);
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.prose a[href*="/afspraken"]:hover,
.prose a[href*="/rendez-vous"]:hover {
    background: linear-gradient(135deg, #efd05a, #e8be2e);
    box-shadow: 0 6px 20px rgba(212, 168, 51, 0.4);
    transform: translateY(-2px);
    color: #2d2118 !important;
}

/* Radio/checkbox card selection styling */
input[type="radio"]:checked + div,
input[type="checkbox"]:checked + div {
    border-color: #d4a833;
    background-color: rgba(212, 168, 51, 0.05);
}

/* Subtle page transitions */
main {
    animation: fadeIn 0.4s ease-out;
}

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

/* Focus visible */
:focus-visible {
    outline: 2px solid #d4a833;
    outline-offset: 2px;
    border-radius: 0.5rem;
}


/* Number input arrows hidden */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}
