/* ========================================
   MODERN PROFESSIONAL CSS FOR THISTOTHAT.IO
   ======================================== */

/* --- CSS Variables --- */
:root {
    --primaire-kleur: #1E2E3E;
    --primaire-hover: #2a4259;
    --secondary-kleur: #26CAC3;
    --secondary-light: #e8f9f8;
    --succes-kleur: #28a745;
    --fout-kleur: #dc3545;
    --licht-grijs: #f8f9fa;
    --donker-grijs: #343a40;
    --rand-kleur: #e1e4e8;
    --white: #FFFFFF;
    --off-white: #f6f8fa;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base Styles --- */
* {
    font-family: "Inter", sans-serif; 
    box-sizing: border-box; 
}

body {
    margin: 0;
    background: linear-gradient(135deg, #f6f8fa 0%, #ffffff 100%);
    color: var(--donker-grijs);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--primaire-kleur);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

main {
    flex-grow: 1;
}

/* ========================================
   HEADER STYLES
   ======================================== */
header {
    width: 100%;
    z-index: 9999;
    /* position: sticky; */
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header_container {
    width: 100%;
    padding: 1.2em 1em;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header_inner {
    max-width: 1300px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header_left {
    max-width: 200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.header_left img {
    width: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.header_left img:hover {
    transform: scale(1.05);
}

.header_right {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2em;
}

div.nav_item, .nav_item_dropdown {
    position: relative;
    padding: 0.5em 0.8em;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: var(--transition);
}

div.nav_item:hover, .nav_item_dropdown_title:hover {
    background-color: var(--secondary-light);
    color: var(--secondary-kleur);
    cursor: pointer;
}

.nav_item_dropdown_title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
}

.breadcrumb_container{
    background: var(--secondary-kleur);
    padding: 1em .5em;
}
.breadcrumb{
    margin: 0 auto;
    max-width: 700px;
    width: 100%;
    padding: .4em .8em;
    border-radius: 10px;
    background-color: #f8f9fc;
    font-size: .9em;
}

.language-selector a {
    padding: 0.4em 1em;
    border: 2px solid var(--secondary-kleur);
    border-radius: 20px;
    font-weight: 600;
    color: var(--secondary-kleur);
    transition: var(--transition);
}

.language-selector a:hover {
    background-color: var(--secondary-kleur);
    color: white;
    transform: translateY(-2px);
}

/* Header Dropdown */
.header_dropdown_container {
    display: none;
    position: absolute;
    width: 100%;
    bottom: 0;
    transform: translateY(100%);
    background: white;
    z-index: 9999;
    box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--secondary-kleur);
}

.header_dropdown_tools {
    margin: 0 auto;
    max-width: 1000px;
    width: 100%;
    padding: 2em 1em;
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 1em;
}

.header_dropdown_tools .nav_item_dropdown {
    padding: 0.8em;
    border-radius: 8px;
    transition: var(--transition);
}

.header_dropdown_tools .nav_item_dropdown:hover {
    background-color: var(--secondary-light);
    transform: translateX(5px);
}

/* ========================================
   HOME PAGE HERO SECTION
   ======================================== */
.bg-blue {
    background: linear-gradient(135deg, var(--secondary-kleur) 0%, #1eb8b1 100%);
    position: relative;
    overflow: hidden;
}

.bg-blue::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 4em 1em;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2em;
    position: relative;
    z-index: 1;
}

.home-container-inner {
    max-width: 1100px;
    width: 100%;
    background-color: white;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.6s ease-out;
}

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

.home-container-inner h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5em;
    background: linear-gradient(135deg, var(--primaire-kleur) 0%, var(--secondary-kleur) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 2em;
}

/* Search Bar */
.search_bar_container {
    max-width: 600px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1em;
    border: 2px solid var(--rand-kleur);
    background-color: white;
    border-radius: 50px;
    margin: 0 auto 2em;
    padding: 0 1.5em;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.search_bar_container:focus-within {
    border-color: var(--secondary-kleur);
    box-shadow: 0 0 0 4px var(--secondary-light);
}

.search_bar_container i {
    width: 24px;
    color: var(--secondary-kleur);
    font-size: 1.2rem;
}

#searchBar {
    width: 100%;
    padding: 16px 0;
    font-size: 16px;
    border: none;
    background: transparent;
    outline: none;
}

/* ========================================
   TOOL CARDS GRID
   ======================================== */
.tools-grid {
    margin-top: 2em;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5em;
    padding: 0;
    list-style: none;
}

.tool-card {
    background: white;
    border: 1px solid var(--rand-kleur);
    border-radius: 12px;
    padding: 1.5em;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-kleur), var(--primaire-kleur));
    transform: scaleX(0);
    transition: var(--transition);
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-kleur);
}

.tool-card:hover::before {
    transform: scaleX(1);
}

.tool-card > a {
    font-size: 1.2em;
    font-weight: 600;
    color: var(--primaire-kleur);
    display: block;
    margin-bottom: 0.5em;
    transition: var(--transition);
}

.tool-card:hover > a {
    color: var(--secondary-kleur);
}

.tool-description {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* View More Button */
.view_more {
    width: max-content;
    margin: 3em auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 0.5em;
    cursor: pointer;
    transition: var(--transition);
}

.view_more:hover {
    transform: translateY(3px);
}

.view_more p {
    margin: 0;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primaire-kleur);
}

.view_more i {
    font-size: 1.5rem;
    color: var(--secondary-kleur);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* ========================================
   CONVERTER BOXES (TOOL PAGES)
   ======================================== */
.converter-box {
    max-width: 700px;
    width: 100%;
    background-color: white;
    padding: 2.5em;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--rand-kleur);
}

.converter-box h1 {
    font-size: 2.2rem;
    margin-bottom: 0.3em;
}

.ondertitel {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 2em;
}

/* ========================================
   BUTTONS
   ======================================== */
.knop, .button {
    display: inline-block;
    font-weight: 600;
    color: white;
    text-align: center;
    cursor: pointer;
    background: linear-gradient(135deg, var(--primaire-kleur) 0%, var(--primaire-hover) 100%);
    border: none;
    padding: 14px 28px;
    font-size: 1rem;
    border-radius: 10px;
    margin: 4px 0;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.knop::before, .button::before{
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.knop:hover::before , .button:hover::before {
    width: 300px;
    height: 300px;
}

.knop:hover, .button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.knop:active, .button:active {
    transform: translateY(0);
}

.knop:disabled, .button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.knop-secundair {
    background: white;
    color: var(--primaire-kleur);
    border: 2px solid var(--rand-kleur);
}

.knop-secundair:hover {
    background-color: var(--licht-grijs);
    border-color: var(--primaire-kleur);
}

/* ========================================
   TEXT BOXES & INFO SECTIONS
   ======================================== */
.text-box {
    width: 100%;
    background-color: var(--off-white);
    padding: 4em 1em;
}

.text-box-inner {
    margin: 0 auto;
    max-width: 800px;
    width: 100%;
    padding: 2em;
    background-color: white;
    border-radius: 10px;
    line-height: 1.8;
}

.text-box-inner ul, .text-box-inner ol{
    margin-bottom: 2em;
}

.text-box-inner h2 {
    font-size: 2rem;
    margin-bottom: 1em;
    position: relative;
    padding-bottom: 0.5em;
}

.text-box-inner h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-kleur), var(--primaire-kleur));
    border-radius: 2px;
}

.text-box-inner p {
    margin-bottom: 1.2em;
    color: #495057;
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-content-container {
    margin: 0 auto;
    width: 100%;
    max-width: 1000px;
    padding: 4em 1em;
}

.faq-content-container h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5em;
}

.footer-item-hr {
    width: 60px;
    height: 4px;
    margin: 1em 0 2em;
    border-radius: 100px;
    background: linear-gradient(90deg, var(--secondary-kleur), var(--primaire-kleur));
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.faq-item {
    background: white;
    border: 1px solid var(--rand-kleur);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}
.faq-item:hover {
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 1.5em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--secondary-light);
}

.faq-question h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--primaire-kleur);
}

.faq-question span {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-kleur);
    transition: var(--transition);
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding: 0 1.5em 1.5em;
    color: #495057;
    line-height: 1.7;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    width: 100%;
    border-top: 1px solid var(--rand-kleur);
    background: white;
}

.footer-body {
    margin: 0 auto;
    max-width: 1100px;
    width: 100%;
    padding: 3em 1em;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 3em;
}

.footer-item-container h3 {
    margin-bottom: 0;
    font-size: 1.3em;
    color: var(--primaire-kleur);
}

.footer-item {
    margin: 1em 0;
    transition: var(--transition);
}

.footer-item a {
    color: #6c757d;
    transition: var(--transition);
}

.footer-item a:hover {
    color: var(--secondary-kleur);
    transform: translateX(5px);
    display: inline-block;
}

.footer-item-img {
    align-self: center;
}

.footer-item-img img {
    max-width: 180px;
    transition: var(--transition);
}

.footer-item-img img:hover {
    transform: scale(1.05);
}

.footer-bottom {
    padding: 1.5em 1em;
    font-size: 0.9em;
    color: white;
    background: linear-gradient(135deg, var(--primaire-kleur) 0%, var(--primaire-hover) 100%);
    width: 100%;
}

.footer-bottom-inner {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom a {
    color: var(--secondary-kleur);
    font-weight: 600;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media screen and (max-width: 790px) {
    .header_right {
        display: none;
    }
    
    .header_right_res {
        display: block;
    }
    
    .header_right_res i {
        font-size: 1.6em;
        cursor: pointer;
        color: var(--primaire-kleur);
    }
    
    .header_dropdown_tools {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .home-container-inner h1 {
        font-size: 2rem;
    }
}

@media screen and (max-width: 698px) {
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 1em;
    }
    
    .header_dropdown_tools {
        grid-template-columns: 1fr;
    }
    
    .home-container-inner {
        padding: 30px 20px;
    }
}

/* ========================================
   MOBILE MENU
   ======================================== */
.header_right_res {
    display: none;
}

#res_menu {
    display: none;
    position: fixed;
    width: 100%;
    height: 100vh;
    overflow-y: scroll;
    background-color: white;
    z-index: 9999;
    animation: slideIn 0.3s ease-out;
}

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

#res_menu::-webkit-scrollbar {
    display: none;
}

div.header_inner_res {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 3em;
    padding: 2em;
}

div.header_inner_res .header_right {
    display: flex;
    flex-direction: column;
    font-size: 1.4em;
    gap: 1em;
}

div.res_menu_close {
    position: absolute;
    top: 1.5em;
    right: 1.5em;
}

div.res_menu_close i {
    font-size: 2em;
    color: var(--primaire-kleur);
    cursor: pointer;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.hidden {
    display: none !important;
}

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

/* Selection color */
::selection {
    background-color: var(--secondary-kleur);
    color: white;
}
/* ========================================
   YOUTUBE CONVERTER - MODERN REDESIGN
   ======================================== */

/* Enhanced hero background for YouTube converter */
.container.bg-blue {
    padding-top: 0 !important;
    background: linear-gradient(135deg, #26CAC3 0%, #1eb8b1 100%);
    position: relative;
    overflow: hidden;
}

/* Animated background blobs */
.container.bg-blue::before,
.container.bg-blue::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s infinite ease-in-out;
}

.container.bg-blue::before {
    width: 400px;
    height: 400px;
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.container.bg-blue::after {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -100px;
    animation-delay: 7s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

/* YouTube converter box enhancement */
#converter-box {
    animation: slideUpConverter 0.6s ease-out;
    position: relative;
}

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

/* Add YouTube icon styling */
#converter-box h1::before {
    content: '';
    display: block;
    width: 80px;
    height: 80px;
    margin: 0 auto 1em;
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(255, 0, 0, 0.3);
    animation: pulseYT 2s infinite;
    /* YouTube play icon using CSS */
    position: relative;
}

#converter-box h1::before {
    content: '▶';
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
}

@keyframes pulseYT {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 8px 24px rgba(255, 0, 0, 0.3); 
    }
    50% { 
        transform: scale(1.05); 
        box-shadow: 0 12px 32px rgba(255, 0, 0, 0.4); 
    }
}

/* Enhanced input field */
#converter-box #urlInput {
    position: relative;
    padding: 18px 20px 18px 55px;
    border: 2px solid #e1e4e8;
    border-radius: 16px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    font-size: 1rem;
}

#converter-box #urlInput:focus {
    border-color: var(--secondary-kleur);
    background: white;
    box-shadow: 0 0 0 4px rgba(38, 202, 195, 0.1);
    transform: translateY(-2px);
}

/* Add link icon before input */
#converter-box label[for="urlInput"]::before {
    content: '🔗';
    margin-right: 8px;
    font-size: 1.2rem;
}

/* Enhanced convert button */
#converter-box #convertToMp3 {
    background: linear-gradient(135deg, #1E2E3E 0%, #2a4259 100%);
    border: none;
    padding: 18px 32px;
    font-size: 1.2rem;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(30, 46, 62, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

#converter-box #convertToMp3::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(38, 202, 195, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

#converter-box #convertToMp3:hover::before {
    width: 400px;
    height: 400px;
}

#converter-box #convertToMp3:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(30, 46, 62, 0.4);
}

#converter-box #convertToMp3:active {
    transform: translateY(-1px);
}

/* Result area enhancements */
#resultArea {
    animation: fadeIn 0.5s ease-out;
}

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

/* Video result card styling */
#resultArea .success-card {
    background: linear-gradient(135deg, #f6f8fa 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 1.5em;
    border: 2px solid var(--secondary-kleur);
    box-shadow: 0 8px 24px rgba(38, 202, 195, 0.2);
    display: flex;
    flex-direction: column;
    gap: 1em;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

#resultArea .success-card img {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

#resultArea .video-details {
    text-align: center;
}

#resultArea .video-details strong {
    display: block;
    font-size: 1.2rem;
    color: var(--primaire-kleur);
    margin-bottom: 0.5em;
}

#resultArea .video-details small {
    color: #6c757d;
    font-size: 0.95rem;
}

/* Download button in result */
#resultArea #final-download-button {
    background: linear-gradient(135deg, var(--succes-kleur) 0%, #218838 100%);
    animation: buttonPulse 2s infinite;
}

@keyframes buttonPulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(40, 167, 69, 0.3); }
    50% { box-shadow: 0 8px 24px rgba(40, 167, 69, 0.5); }
}

/* Loading spinner enhancement */
#resultArea .loader,
#resultArea .loader-small {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--secondary-kleur);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Status text animation */
#resultArea #status-text {
    display: block;
    text-align: center;
    margin-top: 1em;
    color: #6c757d;
    font-weight: 500;
    animation: fadeInOut 2s infinite;
}

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

/* Ad blocker message styling */
#ad-block-message > div {
    border: 2px solid #e74c3c;
    padding: 2em;
    background: linear-gradient(135deg, #fbeae5 0%, #f8d7da 100%);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    animation: shake 0.5s ease-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

#ad-block-message h2 {
    color: #c0392b;
    font-size: 1.8rem;
    margin-top: 0;
}

#ad-block-message p {
    font-size: 1.1rem;
    color: #721c24;
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container.bg-blue::before {
        width: 250px;
        height: 250px;
    }
    
    .container.bg-blue::after {
        width: 200px;
        height: 200px;
    }
    
    #converter-box {
        padding: 2em 1.5em;
    }
    
    #converter-box h1 {
        font-size: 2rem;
    }
    
    #converter-box #convertToMp3 {
        font-size: 1.1rem;
        padding: 16px 24px;
    }
}
/* ========================================
   LOREM PICSUM GENERATOR - ENHANCED STYLES
   ======================================== */

/* Enhanced container for generator */
.container.bg-blue {
    min-height: 600px;
}

/* Animated background elements */
.container.bg-blue::before {
    width: 600px;
    height: 600px;
    top: -300px;
    right: -200px;
    animation: floatBlob 25s infinite ease-in-out;
}

@keyframes floatBlob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -50px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.9); }
}

/* Wide box for generator layout */
.wide-box {
    max-width: 1100px;
    animation: slideUpConverter 0.6s ease-out;
}

/* Add camera icon before title */
.wide-box h1::before {
    content: '📸';
    display: block;
    width: 80px;
    height: 80px;
    margin: 0 auto 0.5em;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
    animation: pulseCamera 3s infinite;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes pulseCamera {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4); 
    }
    50% { 
        transform: scale(1.05); 
        box-shadow: 0 12px 32px rgba(102, 126, 234, 0.5); 
    }
}

/* Generator Layout Grid */
.generator-layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 2em;
    margin-top: 2em;
}

/* Controls Section */
.generator-controls {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

.control-group,
.control-group-checkbox,
.control-group-range,
.control-group-url {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.control-group label,
.control-group-range label,
.control-group-url label {
    font-weight: 600;
    color: var(--primaire-kleur);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5em;
}

/* Input styling */
.control-group input[type="number"] {
    padding: 14px 16px;
    border: 2px solid #e1e4e8;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.control-group input[type="number"]:focus {
    border-color: var(--secondary-kleur);
    background: white;
    box-shadow: 0 0 0 4px rgba(38, 202, 195, 0.1);
    outline: none;
}

/* Checkbox styling */
.control-group-checkbox {
    flex-direction: row;
    align-items: center;
    padding: 1em;
    background: linear-gradient(135deg, #f6f8fa 0%, #ffffff 100%);
    border-radius: 12px;
    border: 2px solid #e1e4e8;
    transition: all 0.3s ease;
}

.control-group-checkbox:hover {
    border-color: var(--secondary-kleur);
    box-shadow: 0 4px 12px rgba(38, 202, 195, 0.1);
}

.control-group-checkbox input[type="checkbox"] {
    width: 24px;
    height: 24px;
    cursor: pointer;
    accent-color: var(--secondary-kleur);
}

.control-group-checkbox label {
    margin: 0;
    cursor: pointer;
    user-select: none;
}

/* Range slider styling */
.range-wrapper {
    display: flex;
    align-items: center;
    gap: 1em;
    padding: 1em;
    background: #f8f9fa;
    border-radius: 12px;
}

.range-wrapper input[type="range"] {
    flex: 1;
    height: 8px;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 4px;
    background: linear-gradient(to right, var(--secondary-kleur) 0%, #e1e4e8 0%);
    outline: none;
    
}

.range-wrapper input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--secondary-kleur);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(38, 202, 195, 0.4);
    transition: all 0.3s ease;
}

.range-wrapper input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(38, 202, 195, 0.6);
}

.range-wrapper input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--secondary-kleur);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(38, 202, 195, 0.4);
    transition: all 0.3s ease;
}

.range-wrapper input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(38, 202, 195, 0.6);
}

.range-wrapper span {
    min-width: 30px;
    font-weight: 700;
    color: var(--secondary-kleur);
    font-size: 1.2rem;
}

/* URL wrapper styling */
.url-wrapper {
    display: flex;
    gap: 0.5em;
}

.url-wrapper input[type="text"] {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid #e1e4e8;
    border-radius: 12px;
    font-size: 0.9rem;
    background: #f8f9fa;
    color: #495057;
    font-family: 'Courier New', monospace;
}

.url-wrapper .button {
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--primaire-kleur) 0%, var(--primaire-hover) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(30, 46, 62, 0.3);
    white-space: nowrap;
}

.url-wrapper .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(30, 46, 62, 0.4);
}

.url-wrapper .button:active {
    transform: translateY(0);
}

/* Preview Section */
.generator-preview {
    position: relative;
    background: linear-gradient(135deg, #f6f8fa 0%, #ffffff 100%);
    border-radius: 16px;
    border: 2px solid #e1e4e8;
    padding: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    overflow: hidden;
}

.generator-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, #e1e4e8 25%, transparent 25%),
        linear-gradient(-45deg, #e1e4e8 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #e1e4e8 75%),
        linear-gradient(-45deg, transparent 75%, #e1e4e8 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    opacity: 0.3;
    z-index: 0;
}

#previewImage {
    max-width: 100%;
    max-height: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    object-fit: contain;
}

#previewImage:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* Loader styling */
.loader {
    display: none;
    position: absolute;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--secondary-kleur);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    z-index: 2;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* API Section Styling */
.api-section {
    margin-top: 3em;
    padding-top: 3em;
    border-top: 2px solid #e1e4e8;
}

.api-section h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5em;
    color: var(--primaire-kleur);
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.api-section h2::before {
    content: '⚡';
    font-size: 1.5em;
}

.api-endpoints {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
    margin-top: 1.5em;
}

.api-endpoint {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e1e4e8;
    border-radius: 12px;
    padding: 1.5em;
    transition: all 0.3s ease;
}

.api-endpoint:hover {
    border-color: var(--secondary-kleur);
    box-shadow: 0 4px 16px rgba(38, 202, 195, 0.1);
}

.api-endpoint-header {
    display: flex;
    align-items: center;
    gap: 1em;
    margin-bottom: 1em;
}

.api-method {
    padding: 0.4em 1em;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 700;
    border-radius: 8px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.api-endpoint-path {
    font-family: 'Courier New', monospace;
    color: #495057;
    font-weight: 600;
}

.api-endpoint-description {
    color: #6c757d;
    margin-bottom: 1em;
    line-height: 1.6;
}

.api-code-block {
    background: #2d3748;
    color: #e2e8f0;
    padding: 1.5em;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    overflow-x: auto;
    position: relative;
}


.api-parameters {
    margin-top: 1em;
}

.api-parameters h4 {
    font-size: 0.95rem;
    color: var(--primaire-kleur);
    margin-bottom: 0.5em;
}

.api-param-list {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.api-param {
    padding: 0.8em;
    background: white;
    border-radius: 8px;
    border-left: 3px solid var(--secondary-kleur);
    font-size: 0.9rem;
}

.api-param-name {
    font-weight: 700;
    color: #667eea;
    font-family: 'Courier New', monospace;
}

.api-param-type {
    color: #6c757d;
    font-style: italic;
    margin-left: 0.5em;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .generator-layout {
        grid-template-columns: 1fr;
    }
    
    .generator-preview {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .wide-box {
        padding: 1.5em;
    }
    
    .wide-box h1::before {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .wide-box h1 {
        font-size: 1.8rem;
    }
    
    .url-wrapper {
        flex-direction: column;
    }
    
    .url-wrapper .button {
        width: 100%;
    }
    
    .api-endpoint-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

label{
    width: 100%;
    text-align: left;
}
.form-group, .input-group{
    width: 100%;
    text-align: left;
}
.def-input{
    width: 100%; padding: 15px; border-radius: 5px; border: 1px solid var(--rand-kleur); font-size: 1rem;
}
.password-display-container{
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}
    .password-display-container button{
            display: inline-block;
            font-weight: 600;
            color: white;
            text-align: center;
            cursor: pointer;
            background: linear-gradient(135deg, var(--primaire-kleur) 0%, var(--primaire-hover) 100%);
            border: none;
            padding: 14px 28px;
            font-size: 1rem;
            border-radius: 10px;
            border-top-left-radius: 0px;
            border-bottom-left-radius: 0px;
            margin: 4px 0;
            text-decoration: none;
            transition: var(--transition);
            box-shadow: var(--shadow-sm);
            position: relative;
            overflow: hidden;
    }
.form-group input, .input-group input, .triple-fields input, .password-display-container input,
.form-group textarea, .input-group textarea, .triple-fields textarea, textarea{
    width: 100%; padding: 15px; border-radius: 5px; border: 1px solid var(--rand-kleur); font-size: 1rem;
}
.input-group-triple{
    width: 100%;
}
    .input-group-triple .triple-fields{
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: .5em;
    }

div.blog_top_container{
    text-align: center;
}
div.blog_all_container_inner{
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1em;
}
    div.blog_all_item{
        width: 100%;
        padding: .7em;
        border-radius: 10px;
        background: var(--white);
        transition: all 100ms ease-in-out;
    }
        div.blog_all_item:hover{
            box-shadow:0px 0px 16px rgba(0, 0, 0, 0.1);
        }
        div.blog_all_item .blog-title{
            color: var(--primaire-kleur);
        }
        div.blog_all_item p{
            color: var(--primaire-hover);
        }
    div.blog_all_item_btn_holder > a{
        color: var(--secondary-kleur);
    }