/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

.site-content {
  margin: 0;
  padding: 0!important;
}

.site-header {
  z-index: 3;
}

::selection {
    background-color: #9fba9d;
    color: white; 
}

::-webkit-scrollbar {
    width: 12px; 
}

::-webkit-scrollbar-track {
    background: #f0f8f6; 
}

::-webkit-scrollbar-thumb {
    background: #9fba9d;; 
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9fba9d; 
}

/* עבור Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: #9fba9d #f0f8f6;
}

.separate-containers .site-main > section {
    margin-bottom: 5%;
} 

h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
}

p {
font-family: "Assistant", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}


/*hero*/ 

.post-16 {
  display: none;
}

.hero {
  position: relative;
  height: 80vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
      margin: 0;
    padding: 0;

}

/* מגדיר שהסקשן יתפוס את כל גובה המסך */
#section1.hero {
  position: relative;
  height: 80vh;
  overflow: hidden;
    margin: 0;
    padding: 0;
}

/* סליידר ברקע: ממוקם מוחלט, תופס את כל הסקשן */
.slider_header_box {
  position: absolute!important;
  top: 0!important; 
  left: 0!important;
  width: 100%!important;
  height: 100%!important;
  z-index: 1!important;
  filter: opacity(0.5) blur(1px);
}

/* קונטיינר הסליידר - תופס את כל המקום */
.slider_header {
  width: 100%!important;
  height: 100%!important;
}

/* כל סליידר-סלייד: תופס 100% גובה ורוחב, עם חיתוך נכון */
.slider_header .swiper-slide img.slide_header {
  width: 100%!important;
  height: 100%!important;
  object-fit: cover!important; /* התאמת התמונה לכיסוי מלא בלי עיוות */
}

/* Overlay for better text readability */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg, 
    rgba(255, 255, 255, 0.3) 0%, 
    rgba(255, 255, 255, 0.1) 50%, 
    rgba(0, 0, 0, 0.2) 100%
  );
  z-index: 2;
}

/* Header Content */
.header {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

/* Logo */
.header img {
  margin-bottom: 30px;
  filter: brightness(1.2) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Main Heading */
.header h1 {
  color:#505f48;
  font-size: 4rem;
  font-weight: 500;
  letter-spacing: 3px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(254, 253, 253, 0.4);
  line-height: 1.2;
  text-transform: uppercase;
}

/* Subheading */
.header h4 {
  color: #505f48;
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 15px;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.4);
  letter-spacing: 1px;
  opacity: 0.95;
}

.header p {
  color: #505f48;
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.4);
  letter-spacing: 1px;
  opacity: 0.95;
}

/* CTA Button */
.button {
  display: inline-block;
  padding: 15px 35px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 1px;
  border-radius: 0;
  transition: all 0.3s ease;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  border-radius:5px;
}

.button::after {
  content: '»';
  margin-right: 10px;
  font-size: 1.2rem;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.button:active {
  transform: translateY(0);
}

/*3 icons section*/


.wellness {
  padding: 80px 40px;
  text-align: center;
  position: relative;
}

.wellness h3 {
  margin-bottom: 80px;
}

.wellness-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.wellness-options > div {
  flex: 1;
  text-align: center;
  position: relative;
}

.wellness-options h3 {
  font-size: 1.8rem;
  line-height: 1.4;
  margin: 0;
  padding-bottom: 20px;
  font-weight: 300;
  text-transform: uppercase;
  transition: 0.3s ease;
}

.wellness-options IMG:HOVER {
  transform: translateY(-5px);
  scale: 1.1;
}

.wellness-options img {
  width:150px;
  height:150px;
  }

  .wellness-options a {
    text-decoration: none;
  }


/*founder*/

  .founder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding:0% 10%;
}

.founder-intro, .founder-image {
  width:50%!important;
  padding: 0.5rem;
}

.founder h2 {
  font-size: 2.5rem;
  font-weight: 300;
  margin: 0 0 -0.5rem 0;
}

.founder h1 {
  font-size: 3.5rem;
  font-weight: 300;
  margin: 0 0 1rem 0;
  line-height: 1.1;
  color: #333;
  text-transform: uppercase;
}

.founder p {
  font-size: 1.1rem;
  margin: 0 0 0 2rem;
  line-height: 1.4;
}

.founder img {
  border-radius: 10px;
}

/*helpful for*/ 

.helpful_for {
    display: flex;
    justify-content: center;
}

        .container_helpful {
            max-width: 1400px;
            margin: 0px 10%;
        }

        .treatments_helpful {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 25px;
            margin-top: 10px;
        }

        .treatment-card_helpful {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(255, 254, 254, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .treatment-card_helpful:hover {
            transform: translateY(-5px);
            box-shadow: 0 3px 10px rgba(248, 248, 248, 0.1);
        }

        .treatment-image_helpful {
            width: 100%;
            height: 300px;
            object-fit: cover;
        }

        .treatment-content_helpful {
            padding: 5px 10px;
        }

        .treatment-title_helpful {
            font-size: 28px;
            font-weight: bold;
            color: #505f48;
            margin-bottom: 20px;
            text-align: center;
            font-weight: 600;
        }

        .treatment-description_helpful {
            font-size: 16px;
            color: #505f48;
            line-height: 1.8;
            text-align: justify;
        }

        /*CTA*/ 

        .cta {
          display: flex;
          flex-direction: column;
          align-items: center;
        }

        /*dropdowm*/ 

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

        .header_cm  {
            text-align: center;
            margin-bottom: 40px;
        }

        .header_cm  h1 {
            font-size: 42px;
            color: #505f48;
            margin-bottom: 10px;
        }

        .header_cm  p {
            font-size: 18px;
            color: #7f8c8d;
        }

        .dropdown-container-box {
            display: flex;
        }

        .dropdown-container {
            /*background: white;*/ 
            border-radius: 12px;
            overflow: hidden;
            width:50%;
        }

        .dropdown_img {
            width:50%;
            display: flex;
            align-items: center;
            justify-content: center;
            padding:0px 20px 0px 0px;
        }

        .dropdown_img img {
            border-radius: 8px;
        }

        .dropdown-item {
            border-bottom: 1px solid #ecf0f1;
        }

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

        .dropdown-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 25px 30px;
            cursor: pointer;
            background: #FAF9EE;
            transition: all 0.3s ease;
        }

        .dropdown-header:hover {
            background: #FAF9EE;
        }

        .dropdown-header.active {
            background: #FAF9EE;
        }

        .dropdown-title {
            font-size: 24px;
            font-weight: bold;
            color: #505f48;
            font-weight: 300;
        }

        .dropdown-icon {
            font-size: 16px;
            color: #9fba9d;
            transition: transform 0.3s ease;
        }

        .dropdown-icon.rotate {
            transform: rotate(180deg);
        }

        .dropdown-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease, padding 0.4s ease;
            padding: 0 30px;
            background: #f8f9fa;
        }

        .dropdown-content.open {
            max-height: 1000px;
            padding: 25px 30px;
        }

        .dropdown-text {
            font-size: 17px;
            line-height: 1.8;
            color: #555;
            text-align: justify;
        }

/*testamonials*/ 

.testimonials h1 {
  text-align:center;
}

.reco-slide {
  background-color: #c4d3bc;
  border-radius: 5px;
}

.testimonials-slider {
  padding:0px 10%;
}

.feedback, .feedback-name {
  padding:20px;
}

/*.swiper-wrapper {
    margin:0px 50px;
    overflow: hidden!important;
}

.testimonials-slider {
    position: relative!important;
    overflow: visible!important;
}

.testimonials-slider .swiper-button-next {
    right: -40px!important; 
}

.testimonials-slider .swiper-button-prev {
    left: -40px!important;
}*/

.swiper-pagination-bullet .swiper-pagination-bullet-active {
  background-color: #505f48!important;
}

span.swiper-pagination-bullet {
  background-color: #9fba9d!important;
}

.testimonials-slider .swiper-button-next, .testimonials-slider .swiper-button-prev {
  color: #505f48!important;
}

/*instagram*/ 

.instagram-feed {
            max-width: 1200px;
            margin: 40px auto;
            padding: 0 20px;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        }

        .feed-header {
            text-align: center;
            margin-bottom: 30px;
        }

        .feed-header h2 {
            font-size: 28px;
            color: #262626;
            margin-bottom: 10px;
        }

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

        .post-card {
            background: #fff;
            border: 1px solid #dbdbdb;
            border-radius: 8px;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .post-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        }

        .post-image {
            width: 100%;
            height: 300px;
            object-fit: cover;
            background: #f0f0f0;
        }

        .post-content {
            padding: 15px;
        }

        .post-caption {
            color: #262626;
            font-size: 14px;
            line-height: 1.5;
            margin-bottom: 10px;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .post-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: #8e8e8e;
            font-size: 12px;
        }

        .post-link {
            color: #0095f6;
            text-decoration: none;
            font-weight: 600;
        }

        .post-link:hover {
            text-decoration: underline;
        }

        .loading {
            text-align: center;
            padding: 40px;
            color: #8e8e8e;
        }

        .error {
            text-align: center;
            padding: 40px;
            color: #ed4956;
            background: #fff0f0;
            border-radius: 8px;
            margin: 20px;
        }

        .spinner {
            border: 3px solid #f3f3f3;
            border-top: 3px solid #0095f6;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            animation: spin 1s linear infinite;
            margin: 0 auto;
        }

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

/* Contact Section */

.separate-containers .site-main>:last-child {
  margin-bottom:20px;
}

.contact {
  padding: 2rem;
  margin: 0 10%;
  background-color: #c4d3bc;
  border-radius: 5px;
  position: relative;
  z-index: 10!important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.contact h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 500;
  text-align:center;
}

.contact-info {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 2rem;
}

.contact-info > div {
  flex: 1;
}

.contact-info h5 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-align:center;
}

.contact-info p {
  margin: 0;
  line-height: 1.4;
  font-size: 0.9rem;
  text-align:center;
}

.contact-info a {
  text-decoration: none;
}

.social-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  overflow: hidden;
  position: relative;
  transition: background-color 0.3s ease;
}

/*.social-links a:nth-child(1) {
  background-color: transparent;  
}

.social-links a:nth-child(2) {
  background-color: transparent; 
}

.social-links a:nth-child(3) {
  background-color: transparent;
}*/

.social-links a:nth-child(4) {
  background-color: #064442; /* AGAM CLINIC */
  display: flex;
  justify-content: center;
  border-radius: 5px;
height:35px;
width: 35px;
}

.social-links a:nth-child(4) img {
    object-fit: contain;
    height:34px;
    padding:2px
}

.social-links a:hover {
  opacity: 0.8;
  transform: scale(1.1);
}

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

            .treatment-title_helpful {
                font-size: 24px;
            }

            .treatment-description_helpful {
                font-size: 15px;
            }
        }

         @media (max-width: 768px) {
            .header h1 {
                font-size: 32px;
            }

            .header p {
                font-size: 16px;
            }

            .dropdown-header {
                padding: 20px 20px;
            }

            .dropdown-title {
                font-size: 20px;
            }

            .dropdown-content.open {
                padding: 20px 20px;
            }

            .dropdown-text {
                font-size: 16px;
            }
        }*/ 

        /* ============================================
   RESPONSIVE BREAKPOINTS - TABLET (max-width: 1024px)
   ============================================ */

@media (max-width: 1024px) {
    
    section {
    padding-bottom:5%;
}

    /* Hero Section */
    .header h1 {
        font-size: 2.8rem;
        letter-spacing: 2px;
    }

    .header p {
        font-size: 1.1rem;
    }

    .button {
        padding: 12px 30px;
        font-size: 1rem;
    }

    /* Wellness Section */
    .wellness {
        padding: 60px 30px;
    }

    .wellness-options {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 30px;
    }

    .wellness-options h3 {
        font-size: 1.5rem;
    }

    /* Founder Section */
    .founder {
        padding: 0% 5%;
    }

    .founder h2 {
        font-size: 2rem;
    }

    .founder h1 {
        font-size: 2.8rem;
    }

    .founder p {
        font-size: 1rem;
        margin: 0 0 0 1rem;
    }

    /* Helpful Section */
    .container_helpful {
        margin: 0px 5%;
    }

    /* Dropdown Section */
    .container_cm {
        max-width: 90%;
        padding: 0 20px;
    }

    .header_cm h1 {
        font-size: 36px;
    }
    
    .dropdown-container-box {
        display:flex;
        flex-direction:column;
    }
    
    .dropdown-container, .dropdown_img {
        width:100%!important;
    }
    
    .dropdown_img {
        padding:0px!important;
    }
    
    .dropdown_img img {
        aspect-ratio:2/1; 
        object-fit:cover;
    }

    /* Testimonials */
    .testimonials-slider {
        padding: 0px 5%;
    }

    /* Instagram Feed */
    .feed-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }

    /* Contact Section */
    .contact {
        margin: 0 5%;
        padding: 1.5rem;
    }

    .contact-info {
        gap: 2rem;
    }
}

/* ============================================
   RESPONSIVE BREAKPOINTS - MOBILE (max-width: 768px)
   ============================================ */

@media (max-width: 768px) {
    
    section {
    padding-bottom:5%;
}

    /* Hero Section */
    .header {
        padding: 0 15px;
    }

    .header h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .header p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .header img {
        max-width: 200px;
        margin-bottom: 20px;
    }

    .button {
        padding: 12px 25px;
        font-size: 0.95rem;
    }

    /* Wellness Section */
    .wellness {
        padding: 50px 20px;
    }

    .wellness h3 {
        margin-bottom: 50px;
    }

    .wellness-options {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 30px;
    }

    .wellness-options h3 {
        font-size: 1.3rem;
    }

    .wellness-options img {
        width: 80px;
        height: 80px;
    }

    /* Founder Section */
    .founder {
        flex-direction: column;
        padding: 5%;
    }

    .founder-intro, .founder-image {
        width: 100%!important;
        padding: 0.5rem 0;
    }

    .founder h2 {
        font-size: 1.5rem;
    }

    .founder h1 {
        font-size: 2rem;
    }

    .founder p {
        font-size: 0.95rem;
        margin: 0;
    }

    /* Helpful Section */
    .container_helpful {
        margin: 0px 5%;
    }

    .treatments_helpful {
        grid-template-columns: 1fr;
    }

    .treatment-title_helpful {
        font-size: 24px;
    }

    .treatment-description_helpful {
        font-size: 15px;
    }

    .treatment-image_helpful {
        height: 250px;
    }

    /* Dropdown Section */
    .container_cm {
        padding: 0 15px;
    }

    .header_cm h1 {
        font-size: 32px;
    }

    .header_cm p {
        font-size: 16px;
    }
    
    .dropdown-container-box {
        display:flex;
        flex-direction:column;
    }
    
    .dropdown-container, .dropdown_img {
        width:100%!important;
    }
    
    .dropdown_img {
        padding:0px!important;
    }
    
    .dropdown_img img {
        aspect-ratio:2/1;
        object-fit:cover;
    }

    .dropdown-header {
        padding: 20px 20px;
    }

    .dropdown-title {
        font-size: 20px;
    }

    .dropdown-content.open {
        padding: 20px 20px;
    }

    .dropdown-text {
        font-size: 16px;
    }

    /* Testimonials */
    .testimonials-slider {
        padding: 0px 5%;
    }

    .feedback, .feedback-name {
        padding: 15px;
    }

    /* Instagram Feed */
    .instagram-feed {
        padding: 0 15px;
    }

    .feed-header h2 {
        font-size: 24px;
    }

    .feed-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .post-image {
        height: 250px;
    }

    /* Contact Section */
    .contact {
        margin: 0 5%;
        padding: 1.5rem;
    }

    .contact h3 {
        font-size: 1.3rem;
        text-align: center;
    }

    .contact-info {
        flex-direction: column;
        gap: 1.5rem;
    }

    .social-links {
        justify-content: center;
    }

    .social-links a {
        width: 35px;
        height: 35px;
    }
}

/* ============================================
   RESPONSIVE BREAKPOINTS - SMALL MOBILE (max-width: 480px)
   ============================================ */

@media (max-width: 480px) {
    
    section {
    padding-bottom:5%;
}

    /* Hero Section */
    .header h1 {
        font-size: 1.6rem;
    }

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

    .header img {
        max-width: 150px;
    }

    .button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* Wellness Section */
    .wellness {
        padding: 40px 15px;
    }
    
    .wellness-options {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 30px;
    }

    .wellness-options h3 {
        font-size: 1.1rem;
    }

    /* Founder Section */
    .founder {
        padding: 3%;
    }

    .founder h2 {
        font-size: 1.3rem;
    }

    .founder h1 {
        font-size: 1.6rem;
    }

    .founder p {
        font-size: 0.9rem;
    }

    /* Helpful Section */
    .treatment-image_helpful {
        height: 200px;
    }

    .treatment-title_helpful {
        font-size: 20px;
    }

    .treatment-description_helpful {
        font-size: 14px;
    }

    /* Dropdown Section */
    .header_cm h1 {
        font-size: 26px;
    }

    .header_cm p {
        font-size: 14px;
    }
    
    .dropdown_img {
        padding:0px!important;
    }
    
    .dropdown-container-box {
        display:flex;
        flex-direction:column;
    }
    
    .dropdown-container, .dropdown_img {
        width:100%!important;
    }
    
    .dropdown_img img {
        aspect-ratio:2/1; 
        object-fit:cover;
    }

    .dropdown-header {
        padding: 15px;
    }

    .dropdown-title {
        font-size: 18px;
    }

    .dropdown-content.open {
        padding: 15px;
    }

    .dropdown-text {
        font-size: 15px;
    }

    /* Instagram Feed */
    .feed-header h2 {
        font-size: 20px;
    }

    .post-image {
        height: 220px;
    }

    /* Contact Section */
    .contact {
        padding: 1rem;
    }

    .contact h3 {
        font-size: 1.1rem;
    }

    .contact-info h5 {
        font-size: 0.9rem;
    }

    .contact-info p {
        font-size: 0.85rem;
    }

    .social-links a {
        width: 32px;
        height: 32px;
    }
}