/* ALGEMENE STIJLEN */
:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --accent-color: #ffd166;
    --dark-color: #2d334a;
    --light-color: #f7f9fc;
    --text-color: #333333;
    --light-gray: #f0f0f0;
    --medium-gray: #dddddd;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--light-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

h1, h2, h3, h4 {
    margin-bottom: 15px;
    line-height: 1.3;
}

p {
    margin-bottom: 15px;
}

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

a:hover {
    color: var(--dark-color);
}

button {
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* CONFETTI EFFECT */
.confetti {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    display: none;
}

/* HEADER STYLES */
header {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    border-radius: 50%;
    margin-right: 15px;
    border: 3px solid var(--primary-color);
}

h1 {
    font-size: 2.5rem;
    color: var(--dark-color);
}

h1 span {
    color: var(--primary-color);
    font-family: 'Pacifico', cursive;
    font-size: 2rem;
    font-weight: normal;
}

.header-decoration {
    display: flex;
    align-items: center;
}

.deco-cat {
    margin-left: 15px;
	height:80px;
    transform: rotate(10deg);
    animation: bounce 3s infinite alternate;
}

.deco-cat:last-child {
    animation-delay: 1.5s;
    transform: rotate(-10deg) scaleX(-1);
}

/* Audio Player Styling */
.audio-player {
    display: flex;
    align-items: center;
    margin-left: 25px;
    background-color: var(--light-gray);
    border-radius: 25px;
    padding: 6px 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#play-pause-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-right: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

#play-pause-btn:hover {
    background-color: var(--dark-color);
    transform: scale(1.05);
}

#play-pause-btn i {
    font-size: 14px;
}

.music-label {
    font-size: 0.85rem;
    color: var(--dark-color);
    font-weight: 500;
}

.hidden {
    display: none;
}

/* HERO SECTION */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 60px;
    background-color: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.hero-image {
    flex: 1;
    position: relative;
}

.main-image {
    border-radius: 15px;
    box-shadow: var(--shadow);
    transform: rotate(2deg);
    transition: var(--transition);
}

.main-image:hover {
    transform: rotate(0) scale(1.03);
}

h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.subtitle {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--dark-color);
}

.paw-decoration {
    margin: 20px 0;
    display: flex;
    align-items: center;
}

.paw-decoration i {
    font-size: 20px;
    color: var(--primary-color);
    margin-right: 15px;
    opacity: 0.8;
}

/* BOOKING FORM */
.booking-form {
    background-color: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
    margin-bottom: 60px;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--medium-gray);
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--light-gray);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    border: 2px solid var(--medium-gray);
    transition: var(--transition);
}

.step-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition);
}

.step.active .step-number {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.step.active .step-text {
    color: var(--primary-color);
    font-weight: 600;
}

.step.completed .step-number {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.form-step {
    transition: var(--transition);
}

.hidden {
    display: none;
}

/* LOCATION STEP */
.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.location-card {
    background-color: var(--light-gray);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--secondary-color);
}

.location-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.location-card h4 {
    color: var(--dark-color);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.location-card p {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.select-btn {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.select-btn:hover {
    background-color: var(--primary-color);
    transform: scale(1.05);
}

/* TIME STEP */
.time-slots-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.time-period {
    flex: 1;
    min-width: 250px;
}

.time-period h4 {
    color: var(--dark-color);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--medium-gray);
    padding-bottom: 8px;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
}

.time-slot {
    background-color: var(--light-gray);
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.time-slot:hover {
    background-color: var(--medium-gray);
}

.time-slot.selected {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--dark-color);
}

.time-slot.booked {
    background-color: rgba(200, 200, 200, 0.5);
    color: rgba(100, 100, 100, 0.8);
    cursor: not-allowed;
    text-decoration: line-through;
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.back-btn, .next-btn {
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
}

.back-btn {
    background-color: var(--light-gray);
    color: var(--text-color);
    border: 1px solid var(--medium-gray);
}

.back-btn:hover {
    background-color: var(--medium-gray);
}

.next-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.next-btn:hover {
    background-color: var(--dark-color);
    transform: scale(1.05);
}

/* DETAILS STEP */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

input, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.2);
}

.cat-names-container {
    margin-bottom: 30px;
}

.cat-input {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.cat-input input {
    margin-right: 15px;
    margin-bottom: 0;
}

.add-cat-btn {
    background-color: var(--light-gray);
    border: 1px solid var(--medium-gray);
    border-radius: 20px;
    padding: 8px 15px;
    font-size: 0.9rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.add-cat-btn i {
    margin-right: 5px;
}

.add-cat-btn:hover {
    background-color: var(--medium-gray);
}

/* CONFIRMATION STEP */
.confirmation-content {
    text-align: center;
    padding: 30px;
}

.confirmation-icon {
    font-size: 5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.booking-details {
    background-color: var(--light-gray);
    border-radius: 15px;
    padding: 20px;
    margin: 20px auto;
    max-width: 400px;
    text-align: left;
}

.confirmation-note {
    font-style: italic;
    margin: 20px 0;
}

.new-booking-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 1rem;
    margin-top: 20px;
    transition: var(--transition);
}

.new-booking-btn:hover {
    background-color: var(--dark-color);
    transform: scale(1.05);
}

/* BENEFITS SECTION */
.benefits {
    margin-bottom: 60px;
    text-align: center;
}

.benefits h3 {
    color: var(--dark-color);
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.benefit-card h4 {
    color: var(--dark-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

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

/* ABOUT SECTION */
.about {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 60px;
    background-color: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.about-image {
    flex: 1;
    margin-right: 40px;
}

.owner-image {
    border-radius: 15px;
    box-shadow: var(--shadow);
    transform: rotate(-2deg);
}

.about-content {
    flex: 2;
}

.about-content h3 {
    color: var(--dark-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-gray);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    transition: var(--transition);
}

.social-icon i {
    font-size: 1.2rem;
    color: var(--dark-color);
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.social-icon:hover i {
    color: white;
}

/* FAQ SECTION */
.faq {
    margin-bottom: 60px;
    background-color: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.faq h3 {
    color: var(--dark-color);
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
}

.accordion-item {
    border-bottom: 1px solid var(--medium-gray);
    margin-bottom: 15px;
}

.accordion-header {
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.accordion-header span {
    font-weight: 500;
    color: var(--dark-color);
    font-size: 1.1rem;
}

.accordion-header i {
    color: var(--primary-color);
    transition: var(--transition);
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    padding: 0 15px;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    padding-bottom: 15px;
}

/* FOOTER */
footer {
    background-color: var(--dark-color);
    color: white;
    border-radius: 20px 20px 0 0;
    padding: 40px;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

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

.footer-logo {
    border-radius: 50%;
    margin-right: 20px;
}

.contact-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-info i {
    width: 20px;
    margin-right: 10px;
    color: var(--accent-color);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    margin: 0 15px 10px 0;
    font-weight: 300;
}

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

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Formulier validatie stijlen */
input.invalid, textarea.invalid {
    border-color: #ff6b6b;
    background-color: rgba(255, 107, 107, 0.05);
}

input:focus.invalid, textarea:focus.invalid {
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
}

input:required, textarea:required {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Ccircle cx='4' cy='4' r='3' fill='%23ff6b6b'/%3E%3C/svg%3E");
    background-position: right 10px top 50%;
    background-repeat: no-repeat;
    background-size: 8px;
    padding-right: 30px;
}

.location-card.selected {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

/* Verwijderknop voor extra katten */
.remove-cat-btn {
    background-color: var(--light-gray);
    border: 1px solid var(--medium-gray);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-color);
}

.remove-cat-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Toast notificaties */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: white;
    color: var(--dark-color);
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    max-width: 300px;
    font-size: 0.9rem;
    font-weight: 500;
}

.toast-success {
    border-left: 4px solid var(--secondary-color);
}

.toast-error {
    border-left: 4px solid var(--primary-color);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

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

.fa-spin {
    animation: spin 1s infinite linear;
}

/* Formulier feedback */
.form-feedback {
    display: none;
    color: var(--primary-color);
    font-size: 0.8rem;
    margin-top: 5px;
}

.invalid + .form-feedback {
    display: block;
}

/* Toegankelijkheidsverbeteringen */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

button:focus, input:focus, textarea:focus, select:focus, a:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

button:active, a:active {
    transform: scale(0.98);
}

/* Hover feedback voor interactieve elementen */
button:not([disabled]), 
a, 
.time-slot:not(.booked), 
.location-card, 
.accordion-header {
    position: relative;
    overflow: hidden;
}

button:not([disabled]):after, 
a:after, 
.time-slot:not(.booked):after, 
.location-card:after, 
.accordion-header:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.2s ease;
}

button:not([disabled]):hover:after, 
a:hover:after, 
.time-slot:not(.booked):hover:after, 
.location-card:hover:after, 
.accordion-header:hover:after {
    opacity: 1;
}

/* Responsive verbeteringen */
@media (max-width: 768px) {
    .toast {
        left: 20px;
        right: 20px;
        max-width: unset;
        text-align: center;
    }
    
    input:required, textarea:required {
        background-position: right 15px top 50%;
    }
}

/* Afdruk stijlen */
@media print {
    .container {
        max-width: 100%;
        padding: 0;
        margin: 0;
    }
    
    header, .benefits, .about, .faq, footer, .audio-player {
        display: none;
    }
    
    .booking-form {
        box-shadow: none;
        padding: 0;
    }
    
    .confirmation-content {
        text-align: left;
        padding: 0;
    }
    
    .booking-details {
        border: 1px solid #ddd;
        max-width: 100%;
    }
}

/* ANIMATIONS */
@keyframes bounce {
    0% {
        transform: translateY(0) rotate(10deg);
    }
    100% {
        transform: translateY(-10px) rotate(10deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* RESPONSIVE STYLES */
@media (max-width: 992px) {
    .hero, .about {
        flex-direction: column;
    }
    
    .hero-content, .about-content {
        padding-right: 0;
        margin-bottom: 30px;
        order: 2;
    }
    
    .hero-image, .about-image {
        order: 1;
        margin-bottom: 30px;
        margin-right: 0;
    }
    
    .steps-container::before {
        top: 20px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .step-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h1 span {
        font-size: 1.6rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .header-decoration {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 15px;
    }
    
    .deco-cat {
        display: none;
    }
    
    .audio-player {
        margin: 10px 0 0 0;
    }
    
    .booking-form, .hero, .about, .faq {
        padding: 30px 20px;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-info {
        margin-bottom: 30px;
        width: 100%;
    }
    
    .footer-links {
        width: 100%;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .time-slots-container {
        flex-direction: column;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .cat-input {
        flex-wrap: wrap;
    }
    
    .cat-input input {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .add-cat-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo-container {
        flex-direction: column;
        text-align: center;
    }
    
    .logo {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    header {
        flex-direction: column;
    }
    
    .steps-container {
        flex-wrap: wrap;
    }
    
    .step {
        margin-bottom: 15px;
        flex-basis: 50%;
    }
    
    .steps-container::before {
        display: none;
    }
    
    .benefit-card {
        padding: 20px 15px;
    }
    
    .confirmation-content {
        padding: 20px 10px;
    }
    
    .navigation-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .back-btn, .next-btn {
        width: 100%;
    }
}