/* ==================================== */
/* 1. GLOBALE STIJLEN (body, html) */
/* ==================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: sans-serif;
    background-color: #FFF8F3;
}

/* ==================================== */
/* 2. HEADER STIJLEN (Origineel) */
/* ==================================== */
header.icon-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: black;
    /* BELANGRIJK: Teruggezet naar uw oorspronkelijke positionering */
    position: absolute;
    width: 100%;
    z-index: 9999;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* ==================================== */
/* 3. KAART STIJLEN (Terug naar Nul) */
/* ==================================== */
#map {
    /* Alle 'margin-top' en 'height: calc()' verwijderd */
    /* De kaart zal nu weer de standaard afmetingen en positie hebben */
}


/* ==================================== */
/* 4. CONTAINER STIJLEN (Terug naar Nul) */
/* ==================================== */
.container {
    max-width: 800px;
    /* BELANGRIJK: Terug naar uw oorspronkelijke, grote marge */
    margin: 290px auto 30px auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}


/* ==================================== */
/* 5. KNOPPEN & ACTIE-ELEMENTEN */
/* ==================================== */
.back-button {
    display: inline-block;
    margin-bottom: 20px;
    padding: 8px 15px;
    text-decoration: none;
    color: white;
    background-color: #E67300;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.back-button:hover {
    background-color: #B35A00;
}


/* ==================================== */
/* 6. EMBEDS & LAYOUT COMPONENTEN */
/* ==================================== */
.embed-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

iframe {
    border: 1px solid #ddd;
    border-radius: 4px;
}

.loading {
    text-align: center;
    padding: 50px;
}

.instagram-media a {
    display: none !important;
}

.map-screenshot-container {
    margin: 20px 0;
    max-width: 100%;
}

.map-screenshot {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


/* ==================================== */
/* 7. FORMULIER STIJLEN (Upload Pagina) */
/* ==================================== */

.container {
    padding-top: 140px;
    padding-bottom: 40px;
    max-width: 600px;
    margin: 0 auto;
}

.container label {
    display: block;
    margin-top: 20px;
    margin-bottom: 5px;
    font-weight: bold;
}

.container input[type="text"],
.container input[type="file"],
.container textarea,
.container select,
.container fieldset {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    margin-bottom: 20px;
    display: block;
}

.container input[type="file"] {
    padding: 10px 0;
    border: none;
}

.radio-group,
.checkbox-group {
    display: block;
    border: none;
    padding: 0;
    margin-bottom: 20px;
}

.radio-group legend {
    font-weight: bold;
    margin-bottom: 10px;
}

.radio-group .radio-option {
    display: block;
    margin-bottom: 10px;
    line-height: 1.4;
}

.radio-group .radio-option input[type="radio"],
.radio-group .radio-option label {
    display: inline-block;
    vertical-align: middle;
    margin-top: 0;
    margin-bottom: 0;
}

.radio-group .radio-option label {
    font-weight: normal;
    cursor: pointer;
}

.checkbox-group {
    margin-top: 20px;
    margin-bottom: 20px;
}

.checkbox-group .checkbox-option {
    display: block;
    line-height: 1.4;
    margin-bottom: 5px;
}

.checkbox-group .checkbox-option input[type="checkbox"],
.checkbox-group .checkbox-option label {
    display: inline-block;
    vertical-align: middle;
    margin-top: 0;
    margin-bottom: 0;
}

.checkbox-group .checkbox-option label {
    font-weight: normal;
    cursor: pointer;
    margin-left: 5px;
}

.checkbox-group .checkbox-option input[type="checkbox"] {
    width: auto;
}

/* ==================================== */
/* 8. KNOPPEN & ACTIE-ELEMENTEN (Popups & Forms) */
/* ==================================== */

.popup-button,
.copy-button-fix,
.submit-button {
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    color: white;
    font-size: 14px;
    font-weight: normal !important;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 5px;
    transition: background-color 0.2s, opacity 0.2s;
}

.gpx-button,
.copy-button-fix,
.submit-button {
    background-color: #E67300;
}

.details-button {
    background-color: #6A6A6A;
}

.popup-button:hover,
.copy-button-fix:hover,
.submit-button:hover,
.details-button:hover {
    opacity: 0.9;
    background-color: #cc6600;
}

.details-button:hover {
    background-color: #5a5a5a;
}

.copy-button-fix.copied-feedback {
    background-color: #4CAF50 !important;
}

/* ==================================== */
/* 9. STICKY KNOPPEN RECHTS ONDER (GECENTRALISEERD) */
/* ==================================== */

.sticky-container {
    position: fixed;
    bottom: 50px;
    right: 40px;
    z-index: 1000;
    
    display: flex;
    flex-direction: column; 
    align-items: center;    
    gap: 15px; 
}

/* De Basis Knop: ORANJE kleur en gedeelde stijl */
.sticky-button {
    background-color: #E67300; 
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: background-color 0.2s, transform 0.2s;
    
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-family: sans-serif;
    font-weight: bold;
}

.sticky-button:hover {
    background-color: #cc6600;
    transform: scale(1.05);
}

/* Stijl voor de 'Condities' knop (Pil-vorm) */
.sticky-button.is-text {
    height: 50px;
    padding: 0 20px;
    border-radius: 25px;
    font-size: 16px;
    white-space: nowrap; 
}

/* Stijl voor de 'Plus' knop (Cirkel) */
.sticky-button.is-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 30px;
}

/* ==================================== */
/* 10. FOOTER STIJLEN (BEHOUDEN) */
/* ==================================== */
.site-footer {
    width: 100%;
    padding: 20px 0;
    background-color: #f8f8f8;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 0.85em;
}

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

.site-footer a {
    color: #666;
    text-decoration: none;
}

.site-footer a:hover {
    color: #333;
    text-decoration: underline;
}

/* 1. De Container: Bepaalt de positie en de afstand tussen de knoppen */
.sticky-container {
    position: fixed;
    bottom: 50px;
    right: 40px;
    z-index: 1000;
    
    /* BELANGRIJK: Zorgt dat ze netjes onder elkaar staan */
    display: flex;
    flex-direction: column; 
    align-items: center;    
    
    /* NIEUW: De schoonste manier om afstand te creëren */
    gap: 15px; 
}

/* 2. De Basis Knop: Hier zit de ORANJE kleur en de gedeelde stijl */
.sticky-button {
    /* Kleur en Schaduw */
    background-color: #E67300; 
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: background-color 0.2s, transform 0.2s;
    
    /* Centrering */
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-family: sans-serif;
    font-weight: bold;
}

/* Hover effect */
.sticky-button:hover {
    background-color: #cc6600;
    transform: scale(1.05);
}

/* 3. Stijl voor de 'Condities' knop (Pil-vorm) */
.sticky-button.is-text {
    height: 50px;
    padding: 0 20px;     /* Ruimte links en rechts */
    border-radius: 25px; /* Maakt de hoeken rond */
    font-size: 16px;
    white-space: nowrap; 
}

/* 4. Stijl voor de 'Plus' knop (Cirkel) */
.sticky-button.is-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%; /* Volledig rond */
    font-size: 30px;
}