@font-face {
    font-family: 'Myriad-Pro-Regular';
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/MYRIADPRO-REGULAR.woff') format('woff');
}

@font-face {
    font-family: 'Myriad Pro Condensed';
    font-style: normal;
    font-weight: normal;
    src: url('/fonts/MYRIADPRO-COND.woff') format('woff');
}

@font-face {
    font-family: 'Myriad Pro Condensed Italic';
    font-style: normal;
    font-weight: normal;
    src: url('/fonts/MYRIADPRO-CONDIT.woff') format('woff');
}

@font-face {
    font-family: 'Myriad Pro Light';
    font-style: normal;
    font-weight: normal;
    src:  url('/fonts/MyriadPro-Light.woff') format('woff');
}

@font-face {
    font-family: 'Myriad Pro Semibold';
    font-style: normal;
    font-weight: normal;
    src:  url('/fonts/MYRIADPRO-SEMIBOLD.woff') format('woff');
}

@font-face {
    font-family: 'Myriad Pro Semibold Italic';
    font-style: normal;
    font-weight: normal;
    src:  url('/fonts/MYRIADPRO-SEMIBOLDIT.woff') format('woff');
}

@font-face {
    font-family: 'Myriad Pro Bold Condensed';
    font-style: normal;
    font-weight: normal;
    src: url('/fonts/MYRIADPRO-BOLDCOND.woff') format('woff');
}

@font-face {
    font-family: 'Myriad-Pro-Bold';
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/MYRIADPRO-BOLD.woff') format('woff');
}

@font-face {
    font-family: 'Myriad Pro Bold Italic';
    font-style: normal;
    font-weight: normal;
    src: url('/fonts/MYRIADPRO-BOLDIT.woff') format('woff');
}

@font-face {
    font-family: 'Myriad Pro Bold Condensed Italic';
    font-style: normal;
    font-weight: normal;
    src: url('/fonts/MYRIADPRO-BOLDCONDIT.woff') format('woff');
}

:root {
    --primary: #006838;
    --white: #FFFFFF;
    --black: #000000;
    --default_radius: 20px;
}

body, html {
    overflow-x: hidden;
    font-family: 'Myriad-Pro-Regular', 'sans-serif';
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    scroll-behavior: smooth;
}

body.menu-open {
    overflow: hidden;
}

.background-primary {
    background-color: rgba(0, 104, 56, 0.1);
    padding: 30px 0;
}

.bold {
    font-family: 'Myriad-Pro-Bold';
}

/* HEADER */
header {
    display: flex; 
    align-items: center;
    justify-content: space-evenly;
    border-bottom: 1px solid var(--black); 
    background-color: var(--white); 
    z-index: 999;
    margin-bottom: 40px;
    width: 100%;
}

header #logo img {
    max-height: 125px; 
    object-fit: contain; 
}

header #menu a {
    position: relative; 
    margin: 20px 40px;
    padding-bottom: 5px;
    text-decoration: none;
    color: var(--black);
    overflow: hidden;
}

header #menu a.active {
    color: var(--primary);
    position: relative; /* Make sure the element is positioned for the pseudo-element */
}

header #menu a.active::before {
    content: ''; /* Necessary for the pseudo-element */
    position: absolute;
    bottom: 0;
    right: 0; /* Start the border at the right */
    width: 50%; /* Border starts halfway */
    height: 2px; /* Thickness of the border */
    background-color: var(--primary); /* Color of the border */
}

header #menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px; 
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    pointer-events: none; 
}

header #menu a:hover::after {
    transform: scaleX(1);
}

header #menu a:hover {
    color: var(--primary);
}

.header-external-btn {
    display: flex;
    align-items: center;
    margin-left: 1.5rem;
}

.header-btn {
    background: var(--primary);
    color: #fff;
    padding: 10px 22px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    border: none;
    transition: background 0.2s;
    font-size: 1rem;
}

.header-btn:hover {
    background: #004c28;
    color: #fff;
}


/* Add styles for the hamburger button */
#hamburger {
    display: none;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--black);
}

@media (max-width: 1279px) {
    #hamburger {
        display: block;
    }

    #menu {
        display: none; /* Keep it hidden by default */
        flex-direction: column;
        position: absolute;
        top: 5rem; /* Position right below the header */
        right: 10px;
        width: 200px;
        background-color: var(--white);
        z-index: 1000;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border: 1px solid var(--black);
        border-radius: 8px;
        padding: 10px 0;
        opacity: 0; /* Initially hidden */
        transform: translateY(-10px); /* Initial position for animation */
        transition: opacity 0.3s ease, transform 0.3s ease; /* Add transition for animation */
    }
    
    /* Ensure it is displayed when the class is active */
    #menu.vertical {
        display: flex !important;
        opacity: 1; /* Show the menu */
        transform: translateY(0); /* Move to final position */
    }

    header #menu a.active::before {
        content: ''; /* Necessary for the pseudo-element */
        position: absolute;
        bottom: 0;
        left: 0; /* Start the border at the right */
        width: 50%; /* Border starts halfway */
        height: 2px; /* Thickness of the border */
        background-color: var(--primary); /* Color of the border */
    }
}
/* SCROLLBAR */

/* width */
::-webkit-scrollbar {
    width: 10px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background: #f1f1f105; 
  }
   
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: var(--primary); 
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: var(--primary); 
  }


/* FOOTER */

footer {
    position: relative;
    left: 0;
    bottom: 0;
    min-width: 100%;
    padding-top: 40px;
    background-color: black;
    color: white;
    text-align: center;
  }


  
  .footer-menu {
    display: flex;
    justify-self: flex-end;
    flex-direction: column;
    gap: 20px;
  }

  @media (max-width: 768px) {
    footer {
      text-align: left;
      
    }

    footer .section-container {
        justify-content: left;
    }
    .footer-menu {
        justify-self: start;
    }

    .section-home {
        align-items: left;
    }
  }

  .footer-menu a {
    color: var(--white);
    text-decoration: none;   
  }

  .footer-menu a:hover {
    color: var(--primary);
    text-decoration: underline;    
  }

  .copyright {
    display: flex;
    justify-self: flex-end;
  }
/* HOME */

.section-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 4rem;
}

.section-home {
    display: flex;
    width: 50%; 
    transform: translateY(50px);
    opacity: 0;
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.section-home.animate {
    opacity: 1;
    transform: translateX(0);
}

.section-image,
.section-image-landscape {
    flex: 1;
}

.section-image img {
    border-radius: var(--default_radius);
    border: 2px solid var(--primary);
    width: 90%; 
    height: auto;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease; /* Smooth transition for hover effect */
    margin-right: 4rem;
}
.section-image-landscape img {
    border-radius: var(--default_radius);
    border: 2px solid var(--primary);
    width: 25vw; 
    height: auto;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease; /* Smooth transition for hover effect */
    margin-right: 4rem;
}

.section-image img:hover,
.section-image-landscape img:hover {
    box-shadow: 0px 10px 20px var(--primary); /* Change shadow to primary color */
}

.section-content {
    flex: 2;
    text-align: left;
}

.section-content p {
    line-height: 2em;
}

/* Reverse layout styling for second section */
.reverse-layout {
    flex-direction: row-reverse; /* Flip order of content and image */
}

.reverse-layout .section-image,
.reverse-layout .section-image-landscape {
    margin-left: 4rem;
    margin-right: 0;
}



@media (max-width: 768px) {
    .section-home {
        flex-direction: column; 
        align-items: center;
    }

    .section-image-landscape img {
        width: 50vw;
    }
    .section-image, .section-content {
        padding: 0;
    }

    .section-content {
        margin-top: 20px;
    }

    .section-image img {
        margin: 0 auto; /* Center the image horizontally */
    }

    .section-image-landscape img {
        margin: 0 auto; /* Center the image horizontally */
    }
}

/* SOCIAL MEDIA */

.social-media-buttons {
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px; /* Space between buttons */
}

.social-button {
    display: flex;
    align-items: center;
    justify-content: start; /* Align content to the left */
    text-decoration: none;
    background: #f1f1f1;
    color: #333;
    border-radius: var(--default_radius);
    overflow: hidden;
    width: 50px; /* Default width */
    height: 50px;
    transition: all 0.3s ease;
    position: relative;
    font-family: Arial, sans-serif;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.social-logo {
    width: 24px; /* Fixed size for the SVG */
    height: 24px;
    margin-left: 12px;
    transition: none; /* No scaling effect */
    filter: invert();
}

.social-text {
    margin-left: 10px;
    opacity: 0; /* Initially hidden */
    white-space: nowrap;
    font-size: 16px;
    transition: opacity 0.3s ease;
    visibility: hidden;
}

.social-button:hover {
    width: 150px; /* Expand the button on hover */
}

.social-button:hover .social-text {
    opacity: 1; /* Show the text */
    visibility: visible;
}

.social-button.instagram {
    background: #E1306C; /* Instagram color */
    color: white;
}

.social-button.facebook {
    background: #1877F2; /* Facebook color */
    color: white;
}


/* LIST */


.fitveld-list {
    list-style: none; /* Remove default numbering */
    counter-reset: list-counter; /* Initialize counter */
    padding-left: 0; /* Remove default padding */
}

.fitveld-list li {
    counter-increment: list-counter; /* Increment counter for each item */
    position: relative;
    padding: 1rem 0 1rem 3rem; /* Add space for custom counter */
    margin-bottom: 1rem; /* Add spacing between items */

}

.fitveld-list li::before {
    content: counter(list-counter); /* Use the counter as content */
    position: absolute;
    left: 0; /* Position at the start */
    top: 50%;
    transform: translateY(-50%); /* Center vertically */
    width: 2rem; /* Fixed size for the circle */
    height: 2rem;
    line-height: 2rem; /* Center text vertically */
    text-align: center;
    color: white; /* Number color */
    background: var(--primary); /* Background color */
    border-radius: 50%; /* Make it a circle */
    font-weight: bold;
}

.fitveld-list li:hover {
    background-color: rgba(0, 104, 56, 0.1);
    border-radius: var(--default_radius);
}



.location_link {
    color: var(--black);
}

.location_link:visited {
    color: var(--black);
}

.location_link:hover {
    color: var(--primary);
}

.privacy_link,
.privacy_link:visited {
    color: var(--white);
}

.privacy_link:hover {
    color: var(--primary);
}

.action_link,
.action_link:visited {
    color: var(--primary);
    text-decoration: none;
}

.action_link:hover {
    text-decoration: underline;
}


/* REVIEWS */
.slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
}

.slider-button {
    position: absolute;
    top: 80%;
    transform: translateY(-50%);
    background: darkgray;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.slider-button.prev {
    left: 10px;
}

.slider-button.next {
    right: 10px;
}

.slider-button:hover {
    background: var(--primary);
}

.current-slide {
    opacity: 1;
}

.review-box {
    text-align: center;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.review-box:hover {
    background: rgba(0, 104, 56, 0.1);
}

.review-box h4 {
    color: var(--primary);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* Add text shadow */
}

.review-box p {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* Add text shadow */
}

@media (max-width: 768px) {
    .slider {
        position: relative;
        justify-self: center;
        width: 80%;
    }

    .slide {
       max-width: 70%;
    }

    .slider-button {
        top: 80%;
        padding: 5px;
    }

    .review-box {
        padding: 10px;
    }
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch; 
}

.contact-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-item h4 {
    margin-top: 0;
}

/* TABLE */

.fitveld-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    border-radius: var(--default_radius); /* Add border-radius */
    overflow: hidden; /* Ensure the border-radius is applied to the table */
}

.fitveld-table th, .fitveld-table td {
    padding: 16px;
    text-align: left;
}

.fitveld-table th {
    background-color: var(--primary);
    color: white;
}

.fitveld-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.fitveld-table tr:hover {
    background-color: #ddd;
}

.packs-table h3 {
    margin-top: 3rem;
    margin-bottom: 0;
    color: var(--primary);
}


/* STORY */

.story-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.story-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.story-card {
    background-color: #f9f9f9;
    border: 1px solid rgba(0, 104, 56, 0.1);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 10px 0;
    transition: transform 0.3s;
    cursor: pointer;
}

.story-card:hover {
    transform: translateY(-10px);
    background-color: rgba(0, 104, 56, 0.1);
    border: 1px solid var(--primary);
}

.story-card.collapsed p,
.story-card.collapsed ol {
    display: none;
}

.story-card h2 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
}

.story-card p {
    font-size: 1em;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* CALL TO ACTION */
.call-to-action {
    background-color: #f8f9fa;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
}

.call-to-action .section-home {
    display: flex;
    align-items: center;
    width: 60%; 
}

.call-to-action .section-image {
    flex: 1;
    max-width: 800px;
    margin-right: 20px;
}

.call-to-action .section-image img {
    width: 100%;
    height: auto;
}

.call-to-action .section-content {
    flex: 2;
    margin-left: 3rem;
}

.call-to-action .btn-primary {
    display: inline-block;
    padding: 10px 20px;
    background-color:rgba(0, 104, 56, 0.1);
    color:black;
    text-decoration: none;
    border-radius: var(--default_radius);
    margin-top: 20px;
}

.call-to-action .btn-primary:hover {
    background-color: var(--primary);
    color:white;
}

.content-80 {
    width: 80%;
    margin: 0 auto; /* Center the element horizontally */
}

@media (max-width: 768px) {
    .call-to-action .section-content {
        flex: 2;
        margin-left: 0;
    }
}


/* --- Google Reviews Slider --- */
.google-reviews-slider {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 0;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(.77,0,.18,1);
    will-change: transform;
}

.review-slide {
    flex: 0 0 33.3333%;
    box-sizing: border-box;
    padding: 0 1rem;
    opacity: 1;
    transition: opacity 0.3s;
}

.review-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(60,64,67,.08);
    padding: 1.5rem 1rem 1rem 1rem;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.review-author {
    font-weight: bold;
    color: #202124;
    font-size: 1.1em;
    margin-bottom: 0.5rem;
}

.review-text {
    color: #444;
    font-size: 1em;
    margin-bottom: 1rem;
    flex: 1;
}

.review-rating {
    color: #fbbc04;
    font-size: 1.2em;
    margin-top: auto;
    letter-spacing: 2px;
    text-align: center;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid #e0e0e0;
    color: #006838;
    font-size: 2rem;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(60,64,67,.08);
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
}

.slider-btn:hover {
    background: #006838;
    color: #fff;
}

.slider-btn.prev {
    left: 0.5rem;
}

.slider-btn.next {
    right: 0.5rem;
}

.slider-btn-row {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3.5rem;
}
.slider-btn {
    position: static;
    transform: none;
    margin: 0;
}

@media (max-width: 1100px) {
    .review-slide {
        flex: 0 0 50%;
    }
}
@media (max-width: 700px) {
    .review-slide {
        flex: 0 0 100%;
        padding: 0 0.5rem;
    }
    .slider-btn {
        width: 38px;
        height: 38px;
        font-size: 1.5rem;
    }
}


/* --- Floating Label Form --- */
.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 1rem 0.6rem 1rem;
    font-size: 1rem;
    border: 2px solid rgba(0, 104, 56, 0.2); /* Primary with alpha */
    border-radius: 8px;
    outline: none;
    background: none;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1.2rem;
    color: #888;
    background: transparent;
    pointer-events: none;
    transition: 
        top 0.2s,
        left 0.2s,
        font-size 0.2s,
        color 0.2s;
    font-size: 1rem;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.8rem;
    left: 0.8rem;
    font-size: 0.85rem;
    color: var(--primary);
    background: var(--white);
    padding: 0 0.2em;
}

.form-group input:required:invalid + label,
.form-group textarea:required:invalid + label {
    color: #888;
}

/* Hide default placeholder for floating effect */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: transparent;
}

.form-group button,
button[type="submit"] {
    display: inline-block;
    padding: 10px 20px;
    background-color:rgba(0, 104, 56, 0.1);
    color:black;
    text-decoration: none;
    border-radius: var(--default_radius);
    margin-top: 20px;
}

.form-group button:hover,
button[type="submit"]:hover {
    background: #004c28;
    color: var(--white);
}

.info-box-white {
    background: white;
    border: 2px solid #006838;
    border-radius: 16px;
    padding: 24px 32px;
    color: #006838;
    font-size: 1.15em;
    margin: 2rem 4rem;
    box-shadow: 0 2px 8px rgba(0,104,56,0.08);
    width: 60%;
    justify-self: right;
}