/* Shared Styles for PhysioLoft */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

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

/* Section Styles */
.section {
    background: white;
    padding: 60px 0;
    margin: 40px 0;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.section-alt {
    background: #f8f9fa;
    padding: 60px 0;
    margin: 40px 0;
}

.section-white {
    background: white;
    padding: 30px 0;
}

.section-gray {
    background: #f8f9fa;
    padding: 40px 0;
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 18px;
    color: #333;
    font-weight: 600;
    margin: 0;
}

.section-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 40px;
    font-weight: 600;
    text-align: left;
}

.section-title-center {
    font-size: 2rem;
    color: #333;
    margin-bottom: 30px;
    font-weight: 600;
    text-align: center;
}

.learn-more-link {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    padding: 5px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.learn-more-link:hover {
    background: #f0f0f0;
    color: #333;
}

/* Header Section */
.header {
    text-align: center;
    padding: 40px 0 20px;
    background: white;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
}

/* Navigation */
.nav-link {
    color: #2c5530;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 25px;
    transition: background 0.3s ease;
    display: inline-block;
    margin: 10px;
}

.nav-link:hover {
    background: #f0f0f0;
}

.nav-link-bordered {
    color: #2c5530;
    text-decoration: none;
    font-weight: 500;
    padding: 12px 25px;
    border-radius: 25px;
    transition: background 0.3s ease;
    display: inline-block;
    margin: 10px;
    border: 2px solid #2c5530;
}

.nav-link-bordered:hover {
    background: #2c5530;
    color: white;
}

/* Buttons */
.cta-button {
    background: #15652D;
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
    margin: 20px 0;
    align-self: flex-start;
}

.cta-button:hover {
    background-color: #145C2A;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.book-button {
    background: #15652D;
    color: white;
    padding: 10px 25px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.book-button:hover {
    background: #0f4a21;
    transform: translateY(-2px);
}

/* Contact Section */
.contact-section {
    background: white;
    color: #333;
    text-align: center;
    padding: 60px 0;
}

.contact-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 400;
    color: #2c5530;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-buttons {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
}

.contact-button {
    background: #2c5530;
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    font-size: 1rem;
}

.contact-button:hover {
    background: #15652D;
    transform: translateY(-2px);
}

.contact-button svg {
    flex-shrink: 0;
}

.contact-email,
.contact-phone {
    background: transparent;
    color: #2c5530;
    border: 2px solid #2c5530;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    width: 100%;
    font-size: 1rem;
}

.contact-email:hover,
.contact-phone:hover {
    background: #2c5530;
    color: white;
}

.location-info {
    margin: 60px 0 30px;
}

.location-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #2c5530;
    font-weight: 400;
}

.address {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

/* Footer */
.footer {
    background: rgb(21, 101, 45);
    color: white;
    text-align: center;
    padding: 40px 0;
}

.footer-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.footer-logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-text {
    font-size: 13px;
    color: #ccc;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Floating Button */
.floating-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: auto;
    height: 50px;
    padding: 0 20px;
    background: #15652D;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
    z-index: 1000;
    white-space: nowrap;
}

.floating-button:hover {
    background-color: #145C2A;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

/* Full Width Sections */
.full-width-section {
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
}

.full-width-section iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

/* YouTube Video Section */
.video-section {
    background: #f8f9fa;
    padding: 20px 0 0;
}

.video-container {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive Design */
@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }

    .contact-buttons {
        gap: 20px;
        max-width: 800px;
    }

    .contact-button,
    .contact-email,
    .contact-phone {
        width: auto;
        min-width: 200px;
        flex: 1;
    }
}

@media (min-width: 1024px) {
    .logo-image {
        height: 80px;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .container {
        padding: 0 15px;
    }

    .logo {
        justify-content: center;
    }

    .logo-image {
        height: 80px;
    }

    .contact-section h2 {
        font-size: 1.8rem;
    }

    .contact-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .contact-buttons {
        flex-direction: column;
        margin: 30px 60px;
        gap: 12px;
        justify-content: center;
    }

    .contact-button,
    .contact-email,
    .contact-phone {
        padding: 12px 25px;
        font-size: 0.95rem;
        width: 100%;
    }

    .section,
    .section-alt,
    .section-white,
    .section-gray {
        padding: 20px 0;
    }

    .contact-section {
        padding: 40px 0;
    }

    .floating-button {
        height: 45px;
        padding: 0 15px;
        bottom: 20px;
        right: 20px;
        font-size: 15px;
    }
}

/* Splide Customization */
.splide__arrow {
    background: #aaaaaa;
    transition: background 0.3s ease;
    opacity: 0.8;
    bottom: 0 !important;
    top: unset !important;
}

.splide__pagination {
    display: none;
}

.splide__arrow--next {
    right: 2em !important;
}

.splide__arrow--prev {
    left: 2em !important;
}

.splide__arrow:hover {
    background: #919191;
    opacity: 1;
}

.splide__arrow svg {
    fill: white;
}

.splide__pagination__page {
    background: #ccc;
}

.splide__pagination__page.is-active {
    background: #15652D;
}