/* Production CSS for Veterinärpraktik Nospunkten Website */
/* Enhanced with modern design, animations, and accessibility features */

/* Font Face Declaration */
@font-face {
    font-family: 'YoungSerif';
    src: url('../assets/fonts/YoungSerif-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* CSS Variables for Color Scheme */
:root {
    --primary-color: #06314F;
    --secondary-color: #8da8be;
    --accent-color: #bd3a31;
    --background-color: #FFFFFF;
    --text-color: #333333;
    --section-bg: #f8f9fa;
    --section-alt-bg: #e8f4f8;
    --hero-bg: linear-gradient(135deg, rgba(6, 49, 79, 0.9) 0%, rgba(141, 168, 190, 0.8) 100%);
    --hero-overlay: rgba(6, 49, 79, 0.7);
    --success-color: #28a745;
    --error-color: #dc3545;
    --warning-color: #ffc107;
    --border-radius: 15px;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* Height of the fixed navigation header — used to offset content so header doesn't cover page content */
    --nav-height: 70px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
    /* Offset the fixed header so top of first section is not hidden behind it */
    padding-top: var(--nav-height);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Skip navigation link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}

/* Navigation Header */
.nav-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 70px;
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
    margin-right: auto;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
    transition: var(--transition);
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-link:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
    border-radius: 8px;
}

.logo-image {
    height: 50px;
    width: auto;
    display: block;
}

/* Logo variations for different contexts */
.logo-secondary {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.05));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding: 10px 0;
}

.nav-link:hover {
    color: var(--accent-color);
}

/* Social Icons */
.social-icons {
    display: flex;
    align-items: center;
    gap: 5px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    border-radius: 50%;
    padding: 8px;
    border: 2px solid transparent;
}

.social-icon:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.social-icon:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.social-icon svg {
    width: 24px;
    height: 24px;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 999;
    transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-content {
    text-align: center;
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    font-size: 2rem;
    color: var(--primary-color);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.mobile-social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 30px;
    margin-bottom: 20px;
}

.mobile-nav-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: var(--transition);
    display: inline-block;
    padding: 10px;
}

.mobile-nav-link:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    /* Use viewport height minus nav height so the fixed header doesn't overlap hero content.
       Also avoid 'background-attachment: fixed' which causes issues on many mobile browsers. */
    min-height: calc(100vh - var(--nav-height));
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    /* Ensure hero section starts right after the fixed navbar */
    margin-top: calc(-1 * var(--nav-height));
    /* Add proper padding for visual spacing */
    padding-top: calc(var(--nav-height) + 3rem);
    padding-bottom: 4rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--hero-overlay);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
    /* Add additional padding to create breathing room */
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.hero-logo-container {
    margin-bottom: 30px;
}

.hero-logo {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    border-radius: 15px;
    border: 4px solid var(--background-color);
    padding: 12px;
    background-color: var(--background-color);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    box-sizing: content-box;
}

.hero-logo:hover {
    transform: scale(1.05);
}

.hero-title {
    color: var(--background-color);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'YoungSerif', serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    color: var(--background-color);
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-style: italic;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(189, 58, 49, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--background-color);
    border-color: var(--background-color);
}

.btn-secondary:hover {
    background-color: var(--background-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
}

/* Button ripple effect */
.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                height 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--background-color);
}

/* Colored bars to replace emojis in hero section */
.feature-bar {
    width: 80px;
    height: 3px;
    margin-bottom: 10px;
}

/* Color palette for the feature bars - all using solid red */
.feature-bar.home,
.feature-bar.care,
.feature-bar.time {
    background-color: #bd3a31;
}

.feature-text {
    color: var(--background-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    right: 20px;
    left: auto;
    transform: none;
    z-index: 2;
}

.scroll-link {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--background-color);
    border-radius: 25px;
    position: relative;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.scroll-link:hover {
    opacity: 1;
}

.scroll-link span {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 10px;
    background-color: var(--background-color);
    border-radius: 3px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(15px);
        opacity: 0;
    }
}

/* Section Title */
.section-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    font-family: 'YoungSerif', serif;
    position: relative;
    padding-bottom: 15px;
    text-transform: uppercase;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--section-bg);
}

.services .section-title {
    display: block;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    font-family: 'YoungSerif', serif;
    position: relative;
    padding-bottom: 15px;
    text-transform: uppercase;
}

.services .section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

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

.service-card {
    background-color: var(--background-color);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Animal-specific gradients for service cards */
.service-card.dog {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #e8f4f8 100%);
}

.service-card.dog:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #8da8be 0%, #06314F 100%);
}

.service-card.cat {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #f0f8ff 100%);
}

.service-card.cat:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #bd3a31 0%, #8da8be 100%);
}

.service-card.horse {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #f5f5dc 100%);
}

.service-card.horse:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #06314F 0%, #8da8be 100%);
}

.service-card.rabbit {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #fff8dc 100%);
}

.service-card.rabbit:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #8da8be 0%, #bd3a31 100%);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Enhanced hover effects for animal cards */
.service-card.dog:hover {
    background: linear-gradient(135deg, #ffffff 0%, #e8f4f8 50%, #d4e9f7 100%);
}

.service-card.cat:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 50%, #e6f3ff 100%);
}

.service-card.horse:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f5f5dc 50%, #ebe5d1 100%);
}

.service-card.rabbit:hover {
    background: linear-gradient(135deg, #ffffff 0%, #fff8dc 50%, #fff3cd 100%);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-family: 'YoungSerif', serif;
    text-align: left;
    text-transform: none;
    position: relative;
    padding-bottom: 10px;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    transform: none;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.service-card p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-block;
}

.service-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--section-alt-bg);
}

.about-content {
    display: flex;
    flex-direction: row;
    gap: 60px;
    align-items: flex-start;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-color);
}

.about-cta {
    margin-top: 30px;
}

/* Euthanasia Section Image Layout */
.euthanasia-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
    align-items: start;
}

.euthanasia-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.euthanasia-content p {
    margin-bottom: 20px;
}

.euthanasia-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.euthanasia-image-placeholder {
    width: 75%;
    margin: 0 auto;
    text-align: center;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.euthanasia-paw-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.euthanasia-paw-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Mobile-specific styles for about section CTA button */
@media (max-width: 767px) {
    .about-cta {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin-top: 30px;
        padding: 10px 0;
    }
    
    .about-cta .btn {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: auto;
        min-width: 200px;
        padding: 15px 30px;
    }
}

@media (max-width: 480px) {
    .about-cta {
        margin-top: 25px;
        padding: 15px 0;
    }
    
    .about-cta .btn {
        min-width: 180px;
        padding: 14px 25px;
        font-size: 1rem;
    }
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image-placeholder {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.about-logo {
    max-width: 200px;
    height: auto;
    border: 1px solid var(--secondary-color);
    border-radius: var(--border-radius);
    padding: 8px;
    background-color: var(--background-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.about-logo:hover {
    border-color: var(--accent-color);
    box-shadow: 0 6px 16px rgba(189, 58, 49, 0.15);
    transform: scale(1.02);
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background-color: var(--section-bg);
}

.pricing-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.pricing-info h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-family: 'YoungSerif', serif;
    text-align: left;
    text-transform: none;
    position: relative;
    padding-bottom: 12px;
}

.pricing-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    transform: none;
    width: 70px;
    height: 3px;
    background-color: var(--accent-color);
}

.pricing-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-color);
}

.pricing-table {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-table h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-family: 'YoungSerif', serif;
    text-align: left;
    text-transform: none;
    position: relative;
    padding-bottom: 12px;
}

.pricing-table h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    transform: none;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    gap: 15px;
}

.price-item:last-child {
    border-bottom: none;
}

.price-service {
    font-weight: 600;
    color: var(--primary-color);
    flex: 1;
    margin-right: 15px;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.price-amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color);
    flex-shrink: 0;
    min-width: 80px;
    text-align: right;
    white-space: nowrap;
}

/* Accordion/Category Styles */
.price-category {
    margin-bottom: 20px;
    border: 1px solid rgba(6, 49, 79, 0.1);
    border-radius: 8px;
    overflow: hidden;
    background: var(--background-color);
    transition: var(--transition);
}

.price-category:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.category-header {
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--section-bg);
    border-bottom: 1px solid rgba(6, 49, 79, 0.1);
    transition: var(--transition);
}

.category-header:hover {
    background: rgba(6, 49, 79, 0.05);
}

.category-title {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    font-family: 'YoungSerif', serif;
}

.category-toggle {
    font-size: 1.2rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
    font-weight: bold;
}

.category-header.active .category-toggle {
    transform: rotate(45deg);
}

.category-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.category-content.active {
    max-height: 2000px;
}

.category-content .price-item {
    padding: 12px 20px;
    margin: 0;
    border-bottom: 1px solid rgba(6, 49, 79, 0.05);
    gap: 15px;
}

.category-content .price-item:last-child {
    border-bottom: none;
}

.category-content .price-service {
    font-size: 0.95rem;
    flex: 1;
    margin-right: 15px;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.category-content .price-amount {
    font-size: 1.1rem;
    flex-shrink: 0;
    min-width: 80px;
    text-align: right;
    white-space: nowrap;
}

.distance-pricing {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.distance-pricing h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-family: 'YoungSerif', serif;
    text-align: left;
    text-transform: none;
    position: relative;
    padding-bottom: 12px;
}

.distance-pricing h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    transform: none;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.distance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.distance-item {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background-color: var(--section-bg);
    transition: var(--transition);
}

.distance-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.distance-range {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.distance-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-color);
}

.distance-locations {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-top: 5px;
}

/* Contact Section - Enhanced Visual Hierarchy */
.contact {
    padding: 100px 0;
    background-color: var(--section-alt-bg);
}

/* Primary Contact Information Bar */
.contact-info-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--background-color);
    padding: 30px 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.contact-info-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 15px;
    position: relative;
}

.contact-item.primary {
    flex: 1;
}


.contact-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 1px;
    background-color: rgba(141, 168, 190, 0.3);
}

.contact-icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
    text-decoration: none;
    position: relative;
    display: inline-block;
}




.contact-note {
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-style: italic;
}



/* Copy feedback toast */
.copy-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    pointer-events: none;
}

.copy-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Operating hours expandable details */
.hours-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    margin-top: 0;
    color: var(--text-color);
    font-size: 0.9rem;
}

.hours-details.expanded {
    max-height: 200px;
    padding-top: 10px;
}

.hours-toggle {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: var(--secondary-color);
    margin-top: 5px;
    transition: color 0.3s ease;
}

.hours-toggle:hover {
    color: var(--primary-color);
}

.hours-toggle::after {
    content: '▼';
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.hours-toggle.expanded::after {
    transform: rotate(180deg);
}

/* Form Introduction Text */
.form-introduction {
    text-align: center;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Booking Form - Enhanced Visual Hierarchy */
.booking-form {
    background-color: var(--background-color);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.form-title {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 40px;
    font-family: 'YoungSerif', serif;
    position: relative;
    padding-bottom: 15px;
    text-align: center;
    text-transform: uppercase;
}

.form-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--accent-color);
}

.form-section {
    margin-bottom: 50px;
    position: relative;
}

.form-section legend {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    font-family: 'YoungSerif', serif;
    text-align: left;
    text-transform: none;
    position: relative;
    padding-bottom: 12px;
}

.form-section legend::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    transform: none;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1rem;
}

/* Label with help icon styling */
.label-with-help {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.label-with-help label {
    margin-bottom: 0;
}

.help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    color: var(--secondary-color);
    cursor: help;
    position: relative;
    transition: color 0.3s ease;
}

.help-icon:hover {
    color: var(--accent-color);
}

.help-text {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-top: 5px;
    margin-bottom: 10px;
    font-style: italic;
    line-height: 1.4;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    background-color: var(--background-color);
    line-height: 1.5;
    position: relative;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(189, 58, 49, 0.1);
}

.form-group input:focus + .input-icon,
.form-group select:focus + .input-icon,
.form-group textarea:focus + .input-icon {
    color: var(--accent-color);
    transform: scale(1.1);
}

.form-group input:not([type="checkbox"]).valid,
.form-group select.valid,
.form-group textarea.valid {
    border-color: var(--success-color);
}

.form-group input:not([type="checkbox"]).valid + .input-icon::after,
.form-group select.valid + .input-icon::after,
.form-group textarea.valid + .input-icon::after {
    content: '';
    display: none;
}

.form-group input:not([type="checkbox"]).error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--error-color);
    animation: shake 0.5s ease-in-out;
}

.form-group input[type="checkbox"].error {
    outline: 2px solid var(--error-color);
    outline-offset: 2px;
}

.form-group input.error + .input-icon::after,
.form-group select.error + .input-icon::after,
.form-group textarea.error + .input-icon::after {
    content: '✗';
    color: var(--error-color);
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    animation: crossmark 0.3s ease-in-out;
}

/* Hide X icon when field has focus to prevent shifting */
.form-group input.error:focus + .input-icon::after,
.form-group select.error:focus + .input-icon::after,
.form-group textarea.error:focus + .input-icon::after {
    display: none;
}

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

@keyframes checkmark {
    0% { transform: translateY(-50%) scale(0); }
    50% { transform: translateY(-50%) scale(1.2); }
    100% { transform: translateY(-50%) scale(1); }
}

@keyframes crossmark {
    0% { transform: translateY(-50%) scale(0) rotate(0); }
    50% { transform: translateY(-50%) scale(1.2) rotate(10deg); }
    100% { transform: translateY(-50%) scale(1) rotate(0); }
}

.error-message {
    color: var(--error-color);
    font-size: 0.9rem;
    margin-top: 8px;
    display: none;
    font-weight: 500;
    animation: slideDown 0.3s ease-in-out;
}

.error-message.show {
    display: block;
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating label effect */
.form-group.floating-label {
    position: relative;
}

.form-group.floating-label label {
    position: absolute;
    top: 18px;
    left: 18px;
    font-size: 1rem;
    color: #999;
    pointer-events: none;
    transition: all 0.2s ease-in-out;
    background-color: var(--background-color);
    padding: 0 5px;
    z-index: 1;
}

.form-group.floating-label input:focus + label,
.form-group.floating-label input:not(:placeholder-shown) + label,
.form-group.floating-label textarea:focus + label,
.form-group.floating-label textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 12px;
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 600;
}




/* Character counter for textareas */
.char-counter {
    text-align: right;
    font-size: 0.8rem;
    color: var(--secondary-color);
    margin-top: 5px;
    transition: color 0.3s ease;
}

.char-counter.warning {
    color: var(--warning-color);
}

.char-counter.error {
    color: var(--error-color);
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    /* transition: var(--transition); REMOVED */
}

.checkbox-item:hover {
    background-color: rgba(141, 168, 190, 0.1);
}

.checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    margin-top: 2px;
    accent-color: var(--accent-color);
}

.checkbox-item label {
    margin-bottom: 0;
    font-weight: 500;
    cursor: pointer;
}

.radio-group {
    display: flex;
    gap: 30px;
}

.radio-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 24px;
    border-radius: 30px;
    border: 2px solid #e0e0e0;
    background-color: #ffffff;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    min-height: 48px;
}

.radio-item:hover {
    border-color: var(--secondary-color);
    background-color: rgba(141, 168, 190, 0.08);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(141, 168, 190, 0.15);
}

.radio-item input[type="radio"] {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: var(--accent-color);
    flex-shrink: 0;
}

.radio-item input[type="radio"]:checked + label {
    color: var(--accent-color);
    font-weight: 600;
}

.radio-item:has(input:checked) {
    border-color: var(--accent-color);
    background-color: rgba(189, 58, 49, 0.12);
    box-shadow: 0 3px 12px rgba(189, 58, 49, 0.2);
    transform: translateY(-1px);
}
.radio-item:has(input:checked):hover {
    background-color: rgba(189, 58, 49, 0.15);
    box-shadow: 0 4px 16px rgba(189, 58, 49, 0.25);
}

.submit-btn {
    background-color: var(--accent-color);
    color: white;
    padding: 18px 50px;
    border: none;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(189, 58, 49, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    background-color: #a02f28;
    box-shadow: 0 10px 20px rgba(189, 58, 49, 0.35);
}


.submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

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

.submit-btn:active::before {
    width: 300px;
    height: 300px;
}

/* Success and Error Messages */
.success-message,
.error-message {
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    text-align: center;
    display: none;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.success-message.show,
.error-message.show {
    display: block;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--background-color);
    padding: 60px 0 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
}

.footer-logo img {
    height: 60px;
    width: auto;
    margin-bottom: 10px;
    padding: 8px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.footer-logo h3 {
    color: var(--background-color);
    font-size: 1.2rem;
    font-family: 'YoungSerif', serif;
    margin: 0;
    text-align: left;
    text-transform: none;
}

.footer-info {
    flex: 0 0 auto;
    text-align: left;
}

.footer-info p {
    margin-bottom: 5px;
    font-size: 1rem;
}

.footer-info .social-icons {
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

.footer-info .social-icon {
    color: var(--background-color);
    padding: 6px;
    border: none;
}

.footer-info .social-icon:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.footer-info .social-icon svg {
    width: 20px;
    height: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex: 0 0 auto;
}

.footer-links a {
    color: var(--background-color);
    text-decoration: none;
    transition: var(--transition);
}

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


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

.fade-in {
    animation: fadeIn 0.8s ease-in;
}

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

/* Focus styles for better accessibility */
.focus-visible:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* High contrast mode */
.high-contrast {
    --primary-color: #000000;
    --secondary-color: #666666;
    --accent-color: #ff0000;
    --background-color: #ffffff;
    --text-color: #000000;
}

/* Reduced motion */
.reduced-motion * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
}

/* Responsive Grid System for KONTAKT Section */

/* Desktop Layout (1200px+) */
@media (min-width: 1200px) {
    /* Adjust hero padding for desktop */
    .hero {
        padding-top: calc(var(--nav-height) + 3.5rem);
        padding-bottom: 5rem;
    }
    
    .hero-content {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
    
    /* Contact Information Bar - Desktop */
    .contact-info-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 30px 40px;
        gap: 0;
    }
    
    .contact-item {
        flex: 1;
        padding: 0 15px;
        text-align: left;
    }
    
    .contact-item.primary {
        flex: 1.2;
    }
    
    .contact-item.secondary {
        flex: 0.8;
    }
    
    .contact-item:not(:last-child)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        height: 40px;
        width: 1px;
        background-color: rgba(141, 168, 190, 0.3);
    }
    
    /* Form Introduction - Desktop */
    .form-introduction {
        font-size: 1.1rem;
        line-height: 1.7;
        margin-bottom: 40px;
    }
    
    /* Booking Form - Desktop */
    .booking-form {
        max-width: 800px;
        margin: 0 auto;
        padding: 50px;
    }
    
    .form-section {
        margin-bottom: 50px;
    }
    
    /* Form field grid layout for desktop - only apply to form-row containers */
    .form-section:nth-child(1) .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
    
    .form-section:nth-child(1) .form-group {
        display: block;
    }
    
    .form-section:nth-child(1) .form-group:nth-child(7) {
        grid-column: 1 / span 2;
    }
    
    .form-section:nth-child(2) .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
    
    .form-section:nth-child(2) .form-group {
        display: block;
    }
    
    .form-section:nth-child(2) .form-group:nth-child(7) {
        grid-column: 1 / span 2;
    }
    
    .checkbox-group {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .radio-group {
        display: flex;
        gap: 30px;
    }
}

/* Tablet Layout (768px - 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
    /* Adjust hero padding for tablet */
    .hero {
        padding-top: calc(var(--nav-height) + 2.5rem);
        padding-bottom: 3.5rem;
    }
    
    .hero-content {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
    
    /* Contact Information Bar - Tablet */
    .contact-info-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 25px 30px;
        gap: 15px;
    }
    
    .contact-item {
        flex: 1;
        padding: 0 10px;
        text-align: center;
    }
    
    .contact-item.primary {
        flex: 1.1;
    }
    
    .contact-item.secondary {
        flex: 0.9;
    }
    
    .contact-item:not(:last-child)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        height: 30px;
        width: 1px;
        background-color: rgba(141, 168, 190, 0.3);
    }
    
    .contact-icon {
        font-size: 2rem;
        margin-bottom: 8px;
    }
    
    .contact-value {
        font-size: 1.2rem;
    }
    
    .contact-label {
        font-size: 0.85rem;
    }
    
    .contact-note {
        font-size: 0.8rem;
    }
    
    /* Form Introduction - Tablet */
    .form-introduction {
        font-size: 1.05rem;
        line-height: 1.6;
        margin-bottom: 35px;
    }
    
    /* Booking Form - Tablet */
    .booking-form {
        max-width: 700px;
        margin: 0 auto;
        padding: 40px 30px;
    }
    
    .form-title {
        font-size: 2rem;
        margin-bottom: 35px;
    }
    
    .form-section {
        margin-bottom: 45px;
    }
    
    .form-section legend {
        font-size: 1.4rem;
        margin-bottom: 22px;
    }
    
    /* Form field grid layout for tablet - only apply to form-row containers */
    .form-section:nth-child(1) .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .form-section:nth-child(1) .form-group {
        display: block;
    }
    
    .form-section:nth-child(1) .form-group:nth-child(7) {
        grid-column: 1 / span 2;
    }
    
    .form-section:nth-child(2) .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .form-section:nth-child(2) .form-group {
        display: block;
    }
    
    .form-section:nth-child(2) .form-group:nth-child(7) {
        grid-column: 1 / span 2;
    }
    
    .checkbox-group {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    
    .radio-group {
        display: flex;
        gap: 25px;
    }
    
    .submit-btn {
        padding: 16px 40px;
        font-size: 1.1rem;
    }
}

/* Mobile Layout (below 768px) */
@media (max-width: 767px) {
    /* Contact Information Bar - Mobile */
    .contact-info-bar {
        display: flex;
        flex-direction: column;
        gap: 25px;
        padding: 25px 20px;
    }
    
    .contact-item {
        width: 100%;
        padding: 15px;
        text-align: center;
        border-bottom: 1px solid rgba(141, 168, 190, 0.2);
    }
    
    .contact-item:last-child {
        border-bottom: none;
    }
    
    .contact-item:not(:last-child)::after {
        display: none;
    }
    
    .contact-item.primary,
    .contact-item.secondary {
        flex: 1;
    }
    
    .contact-icon {
        font-size: 2.2rem;
        margin-bottom: 12px;
    }
    
    .contact-value {
        font-size: 1.3rem;
    }
    
    .contact-label {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    .contact-note {
        font-size: 0.85rem;
    }
    
    /* Form Introduction - Mobile */
    .form-introduction {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 30px;
    }
    
    /* Booking Form - Mobile */
    .booking-form {
        padding: 30px 20px;
    }
    
    .form-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .form-section {
        margin-bottom: 40px;
    }
    
    .form-section legend {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 15px;
        font-size: 16px; /* Prevents zoom on iOS */
        min-height: 48px; /* Touch-friendly target size */
    }
    
    .checkbox-group {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .checkbox-item {
        padding: 15px;
        border-radius: 8px;
    }
    
    .checkbox-item input[type="checkbox"] {
        width: 24px;
        height: 24px;
        min-height: 24px;
    }
    
    .radio-group {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .radio-item {
        width: 100%;
        padding: 15px 20px;
        justify-content: center;
        min-height: 48px;
        min-width: 120px;
        position: relative;
    }

    .radio-item input[type="radio"] {
        position: absolute;
        opacity: 0;
        visibility: hidden;
        margin: 0;
        pointer-events: none;
    }

    .radio-item label {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 0 5px;
        box-sizing: border-box;
        white-space: nowrap;
    }

    /* Hide custom radio button pseudo-elements for mobile */
    .radio-item label::before {
        display: none !important;
    }
    
        
    .submit-btn {
        width: 100%;
        padding: 15px 30px;
        font-size: 1.1rem;
        min-height: 48px;
    }
}

/* Touch-friendly targets for mobile */
@media (max-width: 767px) {
    .contact-value {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px 0;
    }
    
    .cta-button {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Enhanced touch targets for form elements */
    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 48px;
        touch-action: manipulation;
    }
    
    .checkbox-item label,
    .radio-item label {
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: 10px 0;
    }
    
    /* Ensure buttons have proper touch targets */
    .btn {
        min-height: 44px;
        touch-action: manipulation;
    }
    
    /* Optimize spacing for touch */
    .contact-item {
        margin-bottom: 5px;
    }
    
    .form-group {
        margin-bottom: 25px;
    }
}

/* Mobile-First Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        position: absolute;
        right: 20px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-content {
        justify-content: flex-start;
    }

    .nav-right {
        display: none;
    }
    
    .nav-logo {
        margin-right: auto;
    }
    
    /* Adjust hero padding for mobile */
    .hero {
        padding-top: calc(var(--nav-height) + 2rem);
        padding-bottom: 3rem;
    }
    
    .hero-content {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-logo {
        max-width: 150px;
    }
    
    .hero-features {
        gap: 20px;
    }
    
    .feature-icon {
        font-size: 2rem;
    }
    
    .feature-text {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        flex-direction: column;
        gap: 30px;
    }
    
    /* Move image below button on mobile and center it */
    .about-content {
        align-items: center;
    }
    
    .about-text {
        order: 1;
        width: 100%;
    }
    
    .about-image {
        order: 2;
        margin-top: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    .about-image-placeholder {
        text-align: center;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Euthanasia section mobile styles */
    .euthanasia-content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .euthanasia-content {
        order: 1;
        width: 100%;
        text-align: center;
        font-size: 1rem;
        line-height: 1.7;
    }

    .euthanasia-image {
        order: 2;
        width: 100%;
    }

    .euthanasia-image-placeholder {
        width: 85%;
        margin: 0 auto;
    }

    .euthanasia-paw-image {
        max-width: 100%;
        border-radius: calc(var(--border-radius) * 0.8);
    }

    .euthanasia-content p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 15px;
        padding-left: 0;
    }
    
    /* Ensure the image itself is centered */
    .about-logo {
        margin: 0 auto;
        display: block;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .pricing-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .price-item {
        gap: 10px;
    }

    .price-service {
        font-size: 0.9rem;
        margin-right: 10px;
    }

    .price-amount {
        font-size: 1rem;
        min-width: 70px;
    }

    .category-content .price-service {
        font-size: 0.9rem;
        margin-right: 10px;
    }

    .category-content .price-amount {
        font-size: 1rem;
        min-width: 70px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
    }

    /* Fix for hero buttons to maintain proper sizing on mobile */
    .hero-buttons .btn {
        width: auto;
        min-width: 180px;
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-info .social-icon svg {
        width: 18px;
        height: 18px;
    }

    /* Fix footer links overflow on mobile with optimized spacing */
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        max-width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .footer-links a {
        flex: 0 0 calc(50% - 8px);
        text-align: center;
        padding: 4px 0;
        font-size: 0.9rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-height: 36px; /* Reduced but still accessible */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Optimize footer spacing for mobile */
    .footer {
        overflow-x: hidden;
        max-width: 100vw;
        padding: 30px 0 15px; /* Reduced from default 60px 0 40px */
    }

    .footer-content {
        max-width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
        gap: 15px; /* Reduced from 30px */
    }

    /* Ensure footer text doesn't overflow */
    .footer-info p,
    .footer-info .social-icons {
        word-wrap: break-word;
        max-width: 100%;
    }
    
    .services-grid,
    .distance-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    /* Center contact information in mobile view for better hamburger menu alignment */
    .contact-info-bar {
        justify-content: center;
        text-align: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    .contact-item {
        flex: initial;
        text-align: center;
        padding: 0;
        max-width: 280px;
    }

    .contact-item:not(:last-child)::after {
        display: none;
    }

    .contact-details {
        text-align: center;
    }

    .contact-label,
    .contact-value,
    .contact-note {
        text-align: center;
    }

    .hero-scroll {
        right: 15px;
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    /* Further adjust hero padding for small screens */
    .hero {
        padding-top: calc(var(--nav-height) + 1.5rem);
        padding-bottom: 2.5rem;
    }

    .hero-content {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .price-item {
        gap: 8px;
        padding: 10px 0;
    }

    .price-service {
        font-size: 0.85rem;
        margin-right: 8px;
    }

    .price-amount {
        font-size: 0.95rem;
        min-width: 65px;
    }

    .category-content .price-service {
        font-size: 0.85rem;
        margin-right: 8px;
    }

    .category-content .price-amount {
        font-size: 0.95rem;
        min-width: 65px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-logo {
        max-width: 120px;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .service-card,
    .contact-card,
    .form-cta,
    .booking-form {
        padding: 25px 20px;
    }
    
    /* Contact Section Responsive Design for Small Screens */
    .contact-info-bar {
        padding: 25px 20px;
        gap: 20px;
    }
    
    .contact-item {
        gap: 15px;
    }
    
    .contact-icon {
        font-size: 1.8rem;
    }
    
    .contact-value {
        font-size: 1.2rem;
    }
    
    .form-introduction {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    
    .booking-form {
        padding: 25px 20px;
    }
    
    .form-title {
        font-size: 1.6rem;
    }
    
    .form-section legend {
        font-size: 1.2rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 15px;
    }
    
    .hero-scroll {
        right: 10px;
        bottom: 15px;
    }
}

/* Home Visit Section */
.home-visit {
    padding: 100px 0;
    background-color: var(--section-alt-bg);
    position: relative;
    overflow: hidden;
}

.home-visit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    opacity: 0.3;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 15px;
    font-style: italic;
    opacity: 0.9;
}

/* Main Content Layout */
.home-visit-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
    align-items: start;
}

/* Text Content Styling */
.home-visit-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.home-visit-text p {
    margin-bottom: 20px;
    position: relative;
    padding-left: 0;
}

/* Removed the ::before pseudo-element that was creating the dots */

.home-visit-intro {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Removed the ::before pseudo-element for home-visit-intro */

/* Visual Content Container (Image + Benefits) */
.home-visit-visual {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Dog Image Container */
.dog-image-container {
    width: 75%;
    margin: 0 auto;
    text-align: center;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.dog-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.dog-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Benefits Grid */
.home-visit-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

/* Benefit Cards */
.benefit-card {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    padding: 30px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
}

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

.benefit-card:nth-child(2)::before {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

.benefit-card:nth-child(3)::before {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.benefit-card:nth-child(4)::before {
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

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

.benefit-card:hover::before {
    height: 6px;
}

.benefit-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.benefit-title {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-family: 'YoungSerif', serif;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
    text-align: left;
    text-transform: none;
}

.benefit-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    transform: none;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.benefit-card:hover .benefit-title::after {
    width: 70px;
}

.benefit-description {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Call-to-Action Section */
.home-visit-cta {
    text-align: center;
    margin-top: 40px;
}

.home-visit-cta .btn {
    font-size: 1.2rem;
    padding: 18px 45px;
    position: relative;
    overflow: hidden;
}

.home-visit-cta .btn::after {
    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 ease, height 0.6s ease;
}

.home-visit-cta .btn:hover::after {
    width: 300px;
    height: 300px;
}

/* Scroll-triggered animations */
.home-visit {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.home-visit.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.section-header {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.home-visit.animate-in .section-header {
    opacity: 1;
    transform: translateY(0);
}

.home-visit-text {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
}

.home-visit.animate-in .home-visit-text {
    opacity: 1;
    transform: translateX(0);
}

.home-visit-benefits {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease 0.6s, transform 0.6s ease 0.6s;
}

.home-visit.animate-in .home-visit-benefits {
    opacity: 1;
    transform: translateX(0);
}

.benefit-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.home-visit.animate-in .benefit-card:nth-child(1) {
    transition-delay: 0.8s;
}

.home-visit.animate-in .benefit-card:nth-child(2) {
    transition-delay: 0.9s;
}

.home-visit.animate-in .benefit-card:nth-child(3) {
    transition-delay: 1.0s;
}

.home-visit.animate-in .benefit-card:nth-child(4) {
    transition-delay: 1.1s;
}

.home-visit.animate-in .benefit-card {
    opacity: 1;
    transform: translateY(0);
}

.home-visit-cta {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 1.2s, transform 0.6s ease 1.2s;
}

.home-visit.animate-in .home-visit-cta {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design for Home Visit Section */
@media (max-width: 1024px) {
    .home-visit-content {
        gap: 40px;
    }
    
    .home-visit-text {
        font-size: 1rem;
    }
    
    .benefit-card {
        padding: 25px 20px;
    }
    
    .benefit-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .home-visit {
        padding: 80px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .home-visit-visual {
        gap: 25px;
    }
    
    .dog-image-container {
        width: 85%;
        margin: 0 auto;
    }
    
    .dog-image {
        max-width: 100%;
        border-radius: calc(var(--border-radius) * 0.8);
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .home-visit-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .home-visit-visual {
        gap: 30px;
    }
    
    .home-visit-text {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .home-visit-text p {
        padding-left: 0;
    }
    
    /* Removed the ::before pseudo-element for mobile view */
    
    .home-visit-intro {
        font-size: 1.1rem;
    }
    
    .home-visit-benefits {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .benefit-card {
        padding: 25px;
    }
    
    .benefit-title {
        font-size: 1.2rem;
    }
    
    .benefit-description {
        font-size: 0.95rem;
    }
    
    .home-visit-cta .btn {
        font-size: 1.1rem;
        padding: 15px 35px;
    }
}

@media (max-width: 480px) {
    .home-visit {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .home-visit-visual {
        gap: 20px;
    }
    
    .dog-image-container {
        width: 90%;
        margin: 0 auto;
        border-radius: calc(var(--border-radius) * 0.7);
    }
    
    .dog-image {
        border-radius: calc(var(--border-radius) * 0.7);
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .home-visit-content {
        gap: 25px;
    }
    
    .home-visit-visual {
        gap: 25px;
    }
    
    .benefit-card {
        padding: 20px;
    }
    
    .benefit-title {
        font-size: 1.1rem;
    }
    
    .home-visit-cta .btn {
        font-size: 1rem;
        padding: 12px 30px;
    }
}

/* Reduced motion support for Home Visit Section */
@media (prefers-reduced-motion: reduce) {
    .home-visit,
    .section-header,
    .home-visit-text,
    .home-visit-benefits,
    .benefit-card,
    .home-visit-cta {
        transition: none;
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    .benefit-card:hover {
        transform: none;
    }
    
    .home-visit-cta .btn::after {
        transition: none;
    }
}

/* High contrast mode support for Home Visit Section */
@media (prefers-contrast: high) {
    .benefit-card {
        border: 2px solid var(--primary-color);
    }
    
    .benefit-card::before {
        height: 6px;
    }
    
    /* Removed the ::before pseudo-element for high contrast mode */
}

/* Services Section Content - Minimalist Design */
.services-content {
    max-width: 1000px;
    margin: 0 auto;
}

/* Services Introduction Layout */
.services-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto 60px auto;
    align-items: start;
}

/* Services Introduction Text */
.services-intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.services-intro-text p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: left;
}

.services-intro-text p:last-child {
    margin-bottom: 0;
}

/* Services Introduction Carousel */
.services-intro-carousel {
    position: relative;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Carousel Controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(6, 49, 79, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
    font-size: 18px;
}

.carousel-btn:hover {
    background: rgba(6, 49, 79, 1);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
    left: 20px;
}

.carousel-btn-next {
    right: 20px;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-indicator.active {
    background: white;
    transform: scale(1.2);
}

.carousel-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Services Subsections - Minimalist Styling */
.services-list,
.euthanasia-section,
.opening-hours-section {
    margin-bottom: 60px;
    padding: 0;
    border: none;
    background-color: transparent;
    border-bottom: 1px solid rgba(6, 49, 79, 0.15);
    padding-bottom: 40px;
}

/* Remove the last border */
.services-list:last-child,
.euthanasia-section:last-child,
.opening-hours-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Subsection Titles - Consistent with Section Titles */
.subsection-title {
    color: var(--primary-color);
    font-size: 1.9rem;
    margin-bottom: 30px;
    font-family: 'YoungSerif', serif;
    position: relative;
    padding-bottom: 15px;
    line-height: 1.3;
    text-align: left;
    text-transform: none;
}

.subsection-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    transform: none;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

/* Services Grid Layout - Streamlined */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.service-item {
    padding: 0;
    background-color: transparent;
    border: none;
    position: relative;
    padding-left: 25px;
    transition: none;
}

.service-item::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-color);
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1.6;
}

.service-item p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-color);
}

/* Euthanasia Section - Minimalist */
.euthanasia-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-color);
}

.euthanasia-content p:last-child {
    margin-bottom: 0;
}

/* Opening Hours Section - Minimalist */
.opening-hours-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-color);
}

/* Subsection heading styling consistent with other subsections */
.opening-hours-content h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-family: 'YoungSerif', serif;
    text-align: left;
    text-transform: none;
    position: relative;
    padding-bottom: 10px;
    margin-top: 30px;
}

.opening-hours-content h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    transform: none;
    width: 60px;
    height: 2px;
    background-color: var(--accent-color);
}

/* Emergency notice styling consistent with other subsections */
.opening-hours-content p strong {
    color: var(--accent-color);
    font-weight: 600;
}

/* Remove any specific styling for classes that no longer exist after HTML refactoring */
.evening-weekend-visits,
.current-hours {
    margin-top: 0;
    padding: 0;
    border: none;
    background-color: transparent;
}

.emergency-notice {
    margin-top: 0;
    padding: 0;
    border: none;
    background-color: transparent;
}

/* Responsive Design for Services Section - Minimalist */
@media (max-width: 768px) {
    .services-content {
        padding: 0 10px;
    }

    .services-intro {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }

    .services-intro-text p {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 15px;
    }

    .carousel-container {
        height: 300px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .carousel-btn-prev {
        left: 10px;
    }

    .carousel-btn-next {
        right: 10px;
    }
    
    .services-list,
    .euthanasia-section,
    .opening-hours-section {
        margin-bottom: 40px;
        padding-bottom: 30px;
    }
    
    .subsection-title {
        font-size: 1.6rem;
        margin-bottom: 25px;
        padding-bottom: 12px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-item {
        padding-left: 20px;
    }
    
    .service-item p {
        font-size: 1rem;
    }
    
    /* Responsive styling for opening hours section */
    .opening-hours-content h4 {
        font-size: 1.2rem;
        padding-bottom: 8px;
        margin-top: 25px;
    }
    
    .euthanasia-content p,
    .opening-hours-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .services-list,
    .euthanasia-section,
    .opening-hours-section {
        margin-bottom: 30px;
        padding-bottom: 25px;
    }
    
    .subsection-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
        padding-bottom: 10px;
    }
    
    .service-item {
        padding-left: 18px;
    }
    
    .service-item p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .euthanasia-content p,
    .opening-hours-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* Responsive styling for opening hours section */
    .opening-hours-content h4 {
        font-size: 1.1rem;
        padding-bottom: 8px;
        margin-top: 20px;
    }
    
    .opening-hours-content h4 + p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}
/* Enhanced Success and Error Messages */
.success-message,
.error-message {
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    text-align: center;
    display: none;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.success-message.show,
.error-message.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Loading spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
}

.spinner svg {
    animation: spin 1s linear infinite;
}

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

/* Enhanced button states */
.submit-btn.loading {
    position: relative;
    color: transparent;
}

.submit-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
}

.submit-btn.success {
    background-color: var(--success-color);
    animation: success-pulse 0.6s ease;
}

.submit-btn.error {
    background-color: var(--error-color);
    animation: shake 0.5s ease-in-out;
}

@keyframes success-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Form field focused state */
.form-group.focused label {
    color: var(--accent-color);
}

.form-group.focused input,
.form-group.focused select,
.form-group.focused textarea {
    border-color: var(--secondary-color);
}

/* Checkbox and radio enhancements */
.checkbox-item:not(.gdpr-consent .checkbox-item) input[type="checkbox"]:checked + label::before {
    content: '✓';
    position: absolute;
    left: 6px;
    top: 2px;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.radio-item input[type="radio"]:checked + label::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-color);
}

/* Custom checkbox and radio styling */
.checkbox-item input[type="checkbox"],
.radio-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox-item label,
.radio-item label {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
}

.checkbox-item label::before,
.radio-item label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    background-color: white;
    transition: var(--transition);
}

.radio-item label::before {
    border-radius: 50%;
}

.checkbox-item:hover label::before,
.radio-item:hover label::before {
    border-color: var(--secondary-color);
}

.checkbox-item:not(.gdpr-consent .checkbox-item) input[type="checkbox"]:checked + label::before,
.radio-item input[type="radio"]:checked + label::before {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Contact section entrance animations - REMOVED */
.contact {
    /* opacity: 0; REMOVED */
    /* transform: translateY(30px); REMOVED */
    /* transition: opacity 0.8s ease, transform 0.8s ease; REMOVED */
}

.contact.animate-in {
    /* opacity: 1; REMOVED */
    /* transform: translateY(0); REMOVED */
}

.contact-info-bar {
    /* opacity: 0; REMOVED */
    /* transform: translateY(20px); REMOVED */
    /* transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s; REMOVED */
}

.contact.animate-in .contact-info-bar {
    /* opacity: 1; REMOVED */
    /* transform: translateY(0); REMOVED */
}

.form-introduction {
    /* opacity: 0; REMOVED */
    /* transform: translateY(20px); REMOVED */
    /* transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s; REMOVED */
}

.contact.animate-in .form-introduction {
    /* opacity: 1; REMOVED */
    /* transform: translateY(0); REMOVED */
}

.booking-form {
    /* opacity: 0; REMOVED */
    /* transform: translateY(20px); REMOVED */
    /* transition: opacity 0.6s ease 0.6s, transform 0.6s ease 0.6s; REMOVED */
}

.contact.animate-in .booking-form {
    /* opacity: 1; REMOVED */
    /* transform: translateY(0); REMOVED */
}

/* Smooth scroll to contact section */
html {
    scroll-behavior: smooth;
}

/* Enhanced focus indicators for accessibility */
.contact-value:focus,
.submit-btn:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    /* .contact-value:hover::after {
        height: 3px;
    } REMOVED */
    
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        border-width: 3px;
    }
    
    .submit-btn {
        border: 2px solid transparent;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .contact,
    .contact-info-bar,
    .form-introduction,
    .booking-form,
    .form-section {
        transition: none;
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    .submit-btn::before,
    .submit-btn.loading::after,
    .spinner svg {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Privacy Policy Popup Styles */
.privacy-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 49, 79, 0.8);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.privacy-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.privacy-popup {
    background-color: #ffffff;
    border-radius: var(--border-radius);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.privacy-popup-overlay.active .privacy-popup {
    transform: scale(1) translateY(0);
}

.privacy-popup-header {
    background-color: var(--primary-color);
    color: white;
    padding: 30px;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.privacy-popup-title {
    font-family: 'YoungSerif', serif;
    font-size: 2rem;
    margin: 0;
    text-transform: uppercase;
}

.privacy-popup-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.privacy-popup-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.privacy-popup-close:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.privacy-popup-content {
    padding: 40px;
}

.privacy-section {
    margin-bottom: 30px;
}

.privacy-section:last-child {
    margin-bottom: 0;
}

.privacy-section h2 {
    color: var(--primary-color);
    font-family: 'YoungSerif', serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
}

.privacy-section h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 20px 0 10px;
}

.privacy-section p {
    line-height: 1.7;
    margin-bottom: 15px;
    color: var(--text-color);
}

.privacy-section ul {
    margin: 15px 0;
    padding-left: 25px;
}

.privacy-section li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.privacy-section strong {
    color: var(--primary-color);
    font-weight: 600;
}

.privacy-popup-footer {
    background-color: var(--section-bg);
    padding: 20px 40px;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    text-align: center;
    border-top: 1px solid #eee;
}

.privacy-popup-footer p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

/* Privacy Policy Link Styling */
.privacy-link {
    color: var(--background-color);
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}

.privacy-link:hover {
    color: var(--accent-color);
}

/* Responsive Design for Privacy Popup */
@media (max-width: 768px) {
    .privacy-popup {
        max-height: 95vh;
        margin: 10px;
    }
    
    .privacy-popup-header {
        padding: 20px;
    }
    
    .privacy-popup-title {
        font-size: 1.5rem;
    }
    
    .privacy-popup-content {
        padding: 25px;
    }
    
    .privacy-section h2 {
        font-size: 1.3rem;
    }
    
    .privacy-section h3 {
        font-size: 1.1rem;
    }
    
    .privacy-popup-footer {
        padding: 15px 25px;
    }
}

@media (max-width: 480px) {
    .privacy-popup-overlay {
        padding: 10px;
    }
    
    .privacy-popup-header {
        padding: 15px;
    }
    
    .privacy-popup-title {
        font-size: 1.3rem;
    }
    
    .privacy-popup-close {
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
    
    .privacy-popup-content {
        padding: 20px;
    }
    
    .privacy-section h2 {
        font-size: 1.2rem;
    }
    
    .privacy-section h3 {
        font-size: 1rem;
    }
    
    .privacy-section p {
        font-size: 0.95rem;
    }
    
    .privacy-popup-footer {
        padding: 12px 20px;
    }
    
    .privacy-popup-footer p {
        font-size: 0.8rem;
    }
}

/* Accessibility Features for Privacy Popup */
@media (prefers-reduced-motion: reduce) {
    .privacy-popup-overlay,
    .privacy-popup,
    .privacy-popup-close {
        transition: none;
    }
}

/* Focus styles for keyboard navigation */
.privacy-popup-close:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Print styles for privacy policy */
@media print {
    .privacy-popup-overlay {
        position: static;
        background-color: white;
        box-shadow: none;
    }
    
    .privacy-popup {
        max-width: 100%;
        max-height: none;
        overflow: visible;
        box-shadow: none;
        border-radius: 0;
    }
    
    .privacy-popup-close {
        display: none;
    }
}

/* ===== ENHANCED BOOKING FORM STYLES ===== */

/* Form Sections & Layout */
.booking-form {
    background-color: var(--background-color);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.form-section {
    margin-bottom: 50px;
    padding: 30px;
    background-color: var(--section-bg);
    border-radius: var(--border-radius);
    border: 1px solid rgba(141, 168, 190, 0.2);
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.form-section legend {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    font-family: 'YoungSerif', serif;
    padding: 0 15px;
    position: relative;
}

.form-row {
    display: flex;
    gap: 25px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 25px;
    flex: 1;
}

/* Form Controls */
.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(189, 58, 49, 0.1);
    outline: none;
}

.form-group input:not([type="checkbox"]).valid,
.form-group select.valid,
.form-group textarea.valid {
    border-color: var(--success-color);
    background-color: rgba(40, 167, 69, 0.05);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--error-color);
    background-color: rgba(220, 53, 69, 0.05);
}

/* Radio & Checkbox Groups */
.radio-group,
.checkbox-group {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.gender-group,
.neuter-group {
    flex: 1;
}

.radio-item,
.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    padding: 10px 15px;
    border-radius: 30px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* More specific radio item styling to override general rules */
.form-group .radio-item {
    justify-content: center;
    gap: 12px;
    padding: 14px 30px;
    background-color: #ffffff;
    min-height: 48px;
    min-width: 140px;
    display: flex;
    align-items: center;
    position: relative;
}

.form-group .radio-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    margin: 0;
    pointer-events: none;
}

.form-group .radio-item label {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5px;
    box-sizing: border-box;
    white-space: nowrap;
}

/* Hide custom radio button pseudo-elements for our form-group radio items */
.form-group .radio-item label::before {
    display: none !important;
}


.radio-item:hover,
.checkbox-item:hover {
    border-color: var(--secondary-color);
}

/* More specific radio item hover and checked states */
.form-group .radio-item:hover {
    background-color: rgba(141, 168, 190, 0.08);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(141, 168, 190, 0.15);
}

.radio-item input[type="radio"],
.checkbox-item input[type="checkbox"] {
    width: auto;
    margin: 0;
    accent-color: var(--accent-color);
}

.radio-item input[type="radio"]:checked + label,
.checkbox-item:not(.gdpr-consent .checkbox-item) input[type="checkbox"]:checked + label {
    color: var(--accent-color);
    font-weight: 600;
}

.radio-item:has(input:checked),
.checkbox-item:has(input:checked):not(.gdpr-consent .checkbox-item) {
    border-color: var(--accent-color);
    background-color: rgba(189, 58, 49, 0.05);
}

/* More specific radio item checked state */
.form-group .radio-item:has(input:checked) {
    background-color: rgba(189, 58, 49, 0.12);
    box-shadow: 0 3px 12px rgba(189, 58, 49, 0.2);
    transform: translateY(-1px);
}

/* GDPR checkbox specific styling - stable appearance */
.gdpr-consent .checkbox-item {
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    padding: 15px 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.gdpr-consent .checkbox-item:hover {
    border-color: var(--secondary-color);
    background-color: rgba(141, 168, 190, 0.05);
}

.gdpr-consent .checkbox-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    margin: 0;
    pointer-events: none;
}

/* Override general checkbox styling for GDPR checkbox - but restore checkbox appearance */
.gdpr-consent .checkbox-item label {
    position: relative;
    padding-left: 35px; /* Space for the checkbox */
    cursor: pointer;
    display: flex;
    align-items: center;
    min-height: 20px;
}

/* Restore checkbox styling but make it stable */
.gdpr-consent .checkbox-item label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    background-color: white;
    transition: all 0.3s ease;
}

.gdpr-consent .checkbox-item:hover label::before {
    border-color: var(--secondary-color);
}

/* Checkmark when checked - but positioned to prevent movement */
.gdpr-consent .checkbox-item input[type="checkbox"]:checked + label::before {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.gdpr-consent .checkbox-item input[type="checkbox"]:checked + label::after {
    content: '✓';
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-weight: bold;
    font-size: 14px;
}

/* NO text styling changes when checked - prevent reflow */
.gdpr-consent .checkbox-item input[type="checkbox"]:checked + label {
    /* Intentionally empty - no text changes */
}

.gdpr-consent .checkbox-item.error {
    border-color: var(--error-color);
    outline: 2px solid var(--error-color);
    outline-offset: 2px;
}

.gdpr-consent .checkbox-item.valid {
    border-color: var(--success-color);
}

.form-group .radio-item:has(input:checked):hover {
    background-color: rgba(189, 58, 49, 0.15);
    box-shadow: 0 4px 16px rgba(189, 58, 49, 0.25);
}

.gdpr-consent {
    margin: 30px 0;
    padding: 20px;
    background-color: rgba(6, 49, 79, 0.05);
    border-radius: var(--border-radius);
}

.gdpr-consent .checkbox-item {
    border: none;
    padding: 0;
}

/* Enhanced Consent System Styles */
.consent-section {
    border: none;
    padding: 0;
    margin: 0;
}

.consent-section legend {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
}

.consent-row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.consent-item {
    position: relative;
    margin-bottom: 0;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    transition: all 0.2s ease;
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.consent-item.required {
    background-color: rgba(189, 58, 49, 0.02);
    border-color: rgba(189, 58, 49, 0.15);
}

.consent-item.optional {
    background-color: rgba(141, 168, 190, 0.02);
    border-color: rgba(141, 168, 190, 0.15);
}

.consent-item:hover {
    border-color: #999;
    background-color: rgba(0, 0, 0, 0.01);
}

/* Left checkbox */
.consent-checkbox {
    flex-shrink: 0;
}

.consent-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--accent-color);
}

/* Center text */
.consent-text {
    flex: 1;
    text-align: center;
    padding: 0 8px;
}

.consent-text label {
    font-weight: 500;
    line-height: 1.4;
    cursor: pointer;
    font-size: 14px;
    margin: 0;
}

/* Right info icon */
.consent-info {
    flex-shrink: 0;
}

.consent-item.required .consent-checkbox input[type="checkbox"] {
    accent-color: var(--accent-color);
}

.consent-item .checkbox-item label::before {
    display: none; /* Hide the custom checkbox since we're using native styling */
}

.consent-item .checkbox-item label::after {
    display: none; /* Hide the custom checkmark since we're using native styling */
}

.consent-item .error-message {
    margin-top: 6px;
    margin-left: 28px;
    font-size: 0.85rem;
}


/* Info Icon and Tooltip Styling */
.info-icon {
    width: 16px;
    height: 16px;
    cursor: help;
    transition: all 0.2s ease;
}

.info-icon:hover {
    transform: scale(1.1);
}

.info-icon:hover circle {
    stroke: var(--accent-color);
}

.info-icon:hover path {
    stroke: var(--accent-color);
}

.info-icon:hover circle[fill] {
    fill: var(--accent-color);
}

/* Tooltip Base Styling - Using data-tooltip with JavaScript */
.consent-info {
    position: relative;
}

.tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.4;
    max-width: 280px;
    white-space: normal;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    pointer-events: none;
    text-align: left;
    font-weight: 400;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-style: normal;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Tooltip Arrow */
.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #333;
}

/* Show tooltip on hover */
.consent-info:hover .tooltip,
.label-with-help:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

/* Help tooltip specific styling */
.help-tooltip {
    white-space: nowrap;
    max-width: 300px;
    z-index: 1000;
}

/* Mobile-specific tooltip adjustments */
@media (max-width: 768px) {
    .tooltip {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 90vw;
        font-size: 14px;
        padding: 16px;
        border-radius: 8px;
        z-index: 10000;
    }

    .tooltip::after {
        display: none; /* Hide arrow on mobile */
    }

    /* Mobile tooltip shows with a different approach */
    .consent-info.mobile-active .tooltip {
        opacity: 1;
        visibility: visible;
    }

    /* Overlay for mobile */
    .tooltip-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .tooltip-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* Multiple Animals Functionality */
.animal-section {
    position: relative;
    border-left: 4px solid var(--accent-color);
    padding-left: 35px;
    transition: all 0.4s ease;
}

.animal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(141, 168, 190, 0.2);
}

.animal-number {
    color: var(--accent-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    font-family: 'YoungSerif', serif;
}

.add-animal-container {
    text-align: center;
    margin-bottom: 40px;
}

#add-animal-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
    padding: 15px 25px;
    background-color: transparent;
    border: 2px dashed var(--secondary-color);
    color: var(--primary-color);
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

#add-animal-button:hover {
    background-color: rgba(141, 168, 190, 0.1);
    transform: translateY(-3px);
}

.add-icon {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-color);
}

.remove-animal-button {
    background-color: transparent;
    color: var(--error-color);
    border: 2px solid var(--error-color);
    border-radius: 20px;
    padding: 8px 15px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remove-animal-button:hover {
    background-color: var(--error-color);
    color: white;
}

.remove-icon {
    font-size: 1.2rem;
    line-height: 1;
}

/* New animal animation */
.animal-section {
    animation: fadeInDown 0.5s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Date Picker Styling */
input[type="date"] {
    position: relative;
    padding-right: 40px; /* Space for calendar icon */
}

input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    filter: invert(20%) sepia(90%) saturate(2500%) hue-rotate(350deg);
}


/* Custom styling for dates (would need JS to fully implement) */
.date-unavailable {
    color: #ccc;
    text-decoration: line-through;
    pointer-events: none;
}

.date-available {
    font-weight: bold;
    color: var(--accent-color);
}

/* Submit Button */
.submit-container {
    text-align: center;
    margin-top: 40px;
}

.submit-btn {
    background-color: var(--accent-color);
    color: white;
    padding: 18px 50px;
    border: none;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(189, 58, 49, 0.25);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    background-color: #a02f28;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(189, 58, 49, 0.35);
}

.submit-btn.loading {
    color: transparent;
}

.submit-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
}

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

/* Success and Error Messages */
.success-message,
.error-message {
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.success-message.show,
.error-message.show {
    opacity: 1;
    transform: translateY(0);
}

/* Field-level error messages */
.form-group .error-message {
    background-color: transparent;
    border: none;
    color: var(--error-color);
    font-size: 0.9rem;
    text-align: left;
    padding: 5px 10px;
    margin-top: 5px;
    margin-bottom: 0;
    display: none;
    animation: slideDown 0.3s ease-in-out;
}

.form-group .error-message.show {
    display: block;
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Required Field Indicator */
label::after {
    content: '';
}

label[for]:has(+ [required])::after,
.radio-group:has(input[required]) ~ label::after,
.checkbox-group:has(input[required]) ~ label::after {
    content: ' *';
    color: var(--accent-color);
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Hide Template */
template {
    display: none;
}

/* Accessibility Focus Styles */
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* Responsive Styles */
/* Tablet (768px - 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
    .booking-form {
        padding: 40px 30px;
    }
    
    .form-section {
        padding: 25px;
    }
    
    .form-row {
        gap: 20px;
    }
    
    .animal-header {
        margin-bottom: 20px;
    }
    
    .animal-number {
        font-size: 1.2rem;
    }
    
    .submit-btn {
        padding: 15px 40px;
        font-size: 1.1rem;
    }
}

/* Mobile (below 768px) */
@media (max-width: 767px) {
    .booking-form {
        padding: 30px 20px;
    }
    
    .form-section {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .form-section legend {
        font-size: 1.3rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .radio-group,
    .checkbox-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .radio-item,
    .checkbox-item {
        width: 100%;
    }
    
    .animal-section {
        padding-left: 20px;
    }
    
    .animal-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .remove-animal-button {
        align-self: flex-end;
    }
    
    .submit-btn {
        width: 100%;
        padding: 15px;
        font-size: 1.1rem;
    }
}

/* Small Mobile (below 480px) */
@media (max-width: 480px) {
    .booking-form {
        padding: 20px 15px;
    }
    
    .form-section {
        padding: 15px;
    }
    
    .form-section legend {
        font-size: 1.2rem;
        padding: 0 10px;
    }
    
    .animal-section {
        border-left-width: 3px;
        padding-left: 15px;
    }
    
    .form-group label {
        font-size: 0.95rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .gdpr-consent {
        padding: 15px;
    }

    .consent-row {
        flex-direction: column;
        gap: 15px;
    }

    .consent-item {
        flex: none;
        width: 100%;
        padding: 8px 12px;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .form-section {
        border: 2px solid var(--primary-color);
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        border: 2px solid var(--primary-color);
    }
    
    .radio-item,
    .checkbox-item {
        border: 2px solid var(--primary-color);
    }
    
    .error-message {
        border: 2px solid #721c24;
    }
    
    .success-message {
        border: 2px solid #155724;
    }
    
    label::after {
        content: '';
    }

    label[for]:has(+ [required])::after,
    .radio-group:has(input[required]) ~ label::after,
    .checkbox-group:has(input[required]) ~ label::after {
        content: ' (obligatoriskt)';
        color: var(--primary-color);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001s !important;
        transition-duration: 0.001s !important;
    }

    .submit-btn.loading::after {
        transition: none;
    }
}

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    color: white;
    padding: 20px 30px;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 -5px 20px rgba(6, 49, 79, 0.3);
}

.cookie-consent-banner.show {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-consent-message {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 300px;
}

.cookie-consent-icon {
    font-size: 1.5rem;
    opacity: 0.8;
}

.cookie-consent-text {
    font-size: 1rem;
    line-height: 1.4;
}

.cookie-consent-text a {
    color: white;
    text-decoration: underline;
    font-weight: 500;
}

.cookie-consent-text a:hover {
    opacity: 0.8;
}

.cookie-consent-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.cookie-consent-btn {
    padding: 12px 24px;
    border-radius: 30px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    min-width: 100px;
    text-align: center;
}

.cookie-consent-btn-accept {
    background-color: var(--accent-color);
    color: white;
}

.cookie-consent-btn-accept:hover {
    background-color: #a02f28;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(189, 58, 49, 0.3);
}

.cookie-consent-btn-deny {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.cookie-consent-btn-deny:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.cookie-consent-btn:focus {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cookie-consent-banner {
        padding: 15px 20px;
    }

    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .cookie-consent-message {
        min-width: auto;
        text-align: center;
    }

    .cookie-consent-text {
        font-size: 0.9rem;
    }

    .cookie-consent-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .cookie-consent-btn {
        width: 100%;
        padding: 15px 20px;
    }
}

}

/* Ultra-mobile styles for very small screens */
@media (max-width: 320px) {
    /* Stack footer links vertically on very small screens with optimized spacing */
    .footer-links {
        flex-direction: column;
        gap: 5px;
        padding: 0 10px;
    }

    .footer-links a {
        flex: 1 1 100%;
        font-size: 0.85rem;
        padding: 3px 0;
        min-height: 38px; /* Optimized but still accessible */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Further optimize footer padding for ultra-mobile */
    .footer {
        padding: 25px 0 12px; /* Further reduced from mobile */
    }

    /* Further adjust footer content spacing */
    .footer-content {
        gap: 12px; /* Further reduced from mobile */
    }

    /* Ensure footer stays within viewport */
    .footer {
        max-width: 100vw;
        overflow-x: hidden;
    }

    .footer-content {
        max-width: 100vw;
        padding: 0 10px;
        box-sizing: border-box;
    }
}

/* Promotional styles moved to inline HTML to avoid conflicts */

/* Promotional styles removed to prevent conflicts with inline implementation */
