/* Import local Crimson Text font */
@font-face {
    font-family: 'CrimsonText-SemiBold';
    src: url('./assets/CrimsonText-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'CrimsonText-SemiBold', serif;
    font-weight: 600;
}

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

section {
    padding: 80px 0;
}

h1,
h2,
h3 {
    margin-bottom: 20px;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

/* Header */
header {
    background-color: #503d41;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0 0;
    transition: padding 0.3s ease;
}

header.scrolled {
    padding: 8px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: flex-end;
}

.logo {
    margin-right: 20px;
    margin-top: 15px;
    margin-bottom: 15px;
    display: flex;
}

.logo-img {
    height: 60px;
    width: auto;
    transition: height 0.3s ease;
}

@media (max-width: 768px) {
    .logo-img {
        height: 45px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 35px;
    }
}

.subtitle {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #fff;
    line-height: 1.4;
}

.hero {
    min-height: 70vh;
    background-color: #9C7881;
    padding: 0;
    color: #fff;
    display: flex;
    align-items: stretch;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    padding: 0 20px;
    width: 100%;
}

.hero-image {
    flex: 1;
    max-width: 50%;
    padding-right: 40px;
    display: flex;
    align-items: center;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text {
    flex: 1;
    max-width: 50%;
    padding-left: 40px;
    margin-top: 50px;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.therapy {
    background-color: #f9f5f6;
    padding: 80px 0;
}

.therapy h2 {
    color: #9C7881;
}

.therapy-content {
    max-width: 900px;
    margin: 0 auto;
}

.therapy-text {
    line-height: 1.8;
}

.therapy-text p {
    margin-bottom: 20px;
}

.therapy-image {
    float: right;
    width: 40%;
    margin: 0 0 20px 30px;
    overflow: hidden;
}

.therapy-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Therapy section - Mehr button */
.mehr-button {
    background-color: #9C7881;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    display: block;
    cursor: pointer;
    font-size: 1rem;
    margin: 30px auto;
    transition: background-color 0.3s;
}

.mehr-button:hover {
    background-color: #8AF3FF;
    color: #333;
}

.more-content {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.more-content.show {
    display: block;
    opacity: 1;
}

/* Contact section */
.contact {
    background-color: #f9f5f6;
}

.contact h2 {
    color: #9C7881;
}

.contact-info {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(156, 120, 129, 0.1);
}

.contact-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.contact-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-column p {
    margin-bottom: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-details strong {
    color: #503d41;
    font-weight: 600;
}

.contact-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 5px;
    color: #503d41;
}

.contact-details a {
    color: #9C7881;
    text-decoration: none;
    transition: color 0.3s;
    display: inline-block;
    padding: 5px 0;
}

.contact-details a:hover {
    color: #8AF3FF;
}

.emergency-note {
    margin-top: 30px;
    padding: 20px;
    background-color: #f8f8f8;
    border-left: 4px solid #9C7881;
    font-size: 1rem;
    border-radius: 0 8px 8px 0;
}

.emergency-note a {
    color: #9C7881;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.emergency-note a:hover {
    color: #8AF3FF;
}

@media (max-width: 768px) {
    .contact-info {
        padding: 30px 20px;
    }

    .contact-details {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-column p {
        font-size: 1rem;
    }
}

footer {
    background-color: #503d41;
    color: #fff;
    padding-bottom: 20px;
    text-align: center;
}

.legal-footer {
    background-color: #9C7881;
    padding: 30px;
    text-align: center;
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.legal-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.3rem;
    transition: color 0.3s;
}

.legal-links a:hover {
    color: #8AF3FF;
}

/* Side Contact Button */
.side-contact-button {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: #8AF3FF;
    color: #333;
    padding: 15px;
    border-radius: 8px 0 0 8px;
    text-decoration: none;
    display: flex;
    align-items: center;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 99;
    transition: all 0.3s ease;
}

.side-contact-button:hover {
    background-color: #5ca2aa;
    color: #fff;
    padding-right: 25px;
}

.contact-text {
    font-weight: bold;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive styles */
@media (max-width: 768px) {
    header .header-container {
        align-items: flex-start;
        flex-direction: column;
        text-align: center;
    }

    header .logo {
        margin-right: 0;
        margin-bottom: 10px;
    }

    header .subtitle {
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-container {
        flex-direction: column;
    }

    .hero-image,
    .hero-text {
        max-width: 100%;
        padding: 20px;
    }

    section {
        padding: 60px 0;
    }

    .contact-info {
        flex-direction: column;
    }

    .therapy-image {
        float: none;
        width: 100%;
        margin: 20px 0;
    }

    .side-contact-button {
        padding: 10px;
    }
}

.dog-therapy {
    background-color: #9C7881;
    padding: 80px 0;
    color: #fff;
}

.dog-therapy h2 {
    color: #fff;
}

.mehr-button-light {
    background-color: #fff;
    color: #9C7881;
}

.mehr-button-light:hover {
    background-color: #8AF3FF;
    color: #333;
}

.dog-therapy .therapy-text p {
    color: #fff;
}

.dog-therapy .therapy-image {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Services section */
.services {
    background-color: #fff;
    padding: 80px 0;
}

.services h2 {
    color: #9C7881;
}

.services-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
}

.service-item {
    background-color: #f9f5f6;
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 4px solid #9C7881;
    font-size: 1.1rem;
    line-height: 1.4;
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(156, 120, 129, 0.2);
    background-color: #fff;
}

.service-item .example {
    font-size: 0.9rem;
    color: #666;
    display: block;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-item {
        font-size: 1rem;
    }
}

/* About Me section */
.about-me {
    background-color: #9C7881;
    padding: 80px 0;
    color: #fff;
}

.about-me h2 {
    color: #fff;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.quote {
    font-family: 'CrimsonText-SemiBold', serif;
    font-size: 1.8rem;
    text-align: center;
    margin: 40px 0;
    padding: 20px;
    border-left: none;
    position: relative;
}

.quote::before,
.quote::after {
    content: '';
    position: absolute;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.3);
    width: 100px;
    left: 50%;
    transform: translateX(-50%);
}

.quote::before {
    top: 0;
}

.quote::after {
    bottom: 0;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.about-me h3 {
    color: #8AF3FF;
    margin: 30px 0 15px;
    font-size: 1.3rem;
}

.about-me ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.about-me li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.about-me li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #8AF3FF;
}

.experience-section,
.education-section,
.qualifications-section,
.memberships {
    margin-bottom: 30px;
}

.outro-text {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-style: italic;
}

@media (max-width: 768px) {
    .quote {
        font-size: 1.4rem;
        margin: 30px 0;
    }

    .intro-text {
        font-size: 1.1rem;
    }

    .about-me li {
        font-size: 0.95rem;
    }
}

/* Process section */
.process {
    background-color: #fff;
    padding: 80px 0;
}

.process h2 {
    color: #9C7881;
}

.process-content {
    max-width: 900px;
    margin: 0 auto;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateX(10px);
}

.step-number {
    background-color: #8AF3FF;
    color: #333;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'CrimsonText-SemiBold', serif;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    color: #9C7881;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.step-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.step-content li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    line-height: 1.6;
}

.step-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #8AF3FF;
}

@media (max-width: 768px) {
    .step {
        flex-direction: row;
        gap: 15px;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }

    .step-content h3 {
        font-size: 1.2rem;
    }

    .step:hover {
        transform: translateX(5px);
    }
}

/* Costs section */
.costs {
    background-color: #9C7881;
    padding: 80px 0;
    color: #fff;
}

.costs h2 {
    color: #fff;
}

.costs-content {
    max-width: 900px;
    margin: 0 auto;
}

.costs-text {
    line-height: 1.8;
}

.costs-text p {
    margin-bottom: 20px;
}

.insurance-info {
    margin-bottom: 40px;
}

.insurance-info h3 {
    color: #8AF3FF;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.important-note {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #8AF3FF;
    margin: 30px 0;
}


@media (max-width: 768px) {
    .costs-text {
        font-size: 0.95rem;
    }

    .important-note {
        padding: 15px;
        margin: 20px 0;
    }
}

/* Downloads section */
.downloads {
    background-color: #fff;
    padding: 80px 0;
}

.downloads h2 {
    color: #9C7881;
}

.downloads-content {
    max-width: 900px;
    margin: 0 auto;
}

.downloads-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.download-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.download-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background-color: #f9f5f6;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border-left: 4px solid #9C7881;
}

.download-item:hover {
    background-color: #fff;
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(156, 120, 129, 0.2);
}

.download-icon {
    width: 40px;
    height: 40px;
    color: #9C7881;
    transition: color 0.3s ease;
}

.download-item:hover .download-icon {
    color: #8AF3FF;
}

.download-text {
    display: flex;
    flex-direction: column;
}

.download-title {
    font-weight: bold;
    font-size: 1.1rem;
}

.download-format {
    font-size: 0.9rem;
    color: #666;
}

.download-title .not-bold {
    font-weight: normal;
}

@media (max-width: 768px) {
    .downloads-intro {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    .download-items {
        padding: 0 20px;
    }

    .download-item:hover {
        transform: translateX(5px);
    }
}

/* Carousel Section */
.carousel-section {
    background-color: #f9f5f6;
    padding: 60px 0;
}

.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 600px;
    margin: 0 auto;
}

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

.carousel-slide {
    width: 500px;
    flex-shrink: 0;
    height: 100%;
}

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

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(80, 61, 65, 0.8);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.carousel-button:hover {
    background: rgba(80, 61, 65, 1);
}

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

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

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-dot.active {
    background: #fff;
}

@media (max-width: 768px) {
    .carousel-button {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .carousel-dots {
        bottom: 15px;
    }
}

.call-times-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1em;
}

.call-times-row>div {
    flex: 1 1 0;
    min-width: 150px;
    text-align: center;
}

.call-times-header {
    text-align: center;
    margin-bottom: 0.5em;
}

.contact-options-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
}

.contact-option {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.contact-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.contact-option .contact-icon {
    width: 100px;
    height: 36px;
    margin: 0;
    color: #9C7881;
}

.contact-option-text {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .contact-options-row {
        flex-wrap: wrap;
        gap: 30px;
    }

    .contact-option {
        align-items: center;
        text-align: center;
    }

    .contact-option-text {
        font-size: 1.0rem;
    }
}