* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: content-box;
}

body {
  font-family: sans-serif;
  font-size: 16px;                   /* Default font size for body text */
  line-height: 1.6;                  /* Increase line spacing for better readability */
  color: #333;    
  background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', sans-serif;  /* Ensure headings use Roboto as well */
  font-size: 30px;                   /* Font size for headings */
  font-weight: 700;                  /* Bold weight for headings */
  color: #212529;                    /* Dark color for headings */
  margin-bottom: 20px;               /* Add space below headings */
}

.center {
  max-width: 1740px;
  margin: 0 auto;
}

.wrapper-logo-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  margin-bottom: 40px;
}

.wrapper-logo-nav a {
  text-align: center;
}

.logo {
  width: 70%;
  height: auto;
}

.nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
  margin: 0 auto;
}

.nav a {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  font-size: 30px;
  margin: 20px;
  border: 2px solid #4795da;
  color: #4795da;
  border-radius: 50px;
  width: 600px;
  text-align: center;
  text-decoration: none;
}

@media only screen and (max-width: 650px) {
  .wrapper-logo-nav {
    
    flex-wrap: wrap;
  }
  .nav {
    flex-direction: row;
  }
  .nav a {
    width: 100%;
    font-size: 20px;
    margin: 14px;
  }
}

/* meniu lateral stiky */
.custom-menu-container {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 1000;
}

/* Wrapper for button + nav */
.custom-nav-wrapper {
  display: flex;
  flex-direction: column;
  transform: translateX(-220px); /* hidden by default */
  transition: transform 0.3s ease;
}

/* Menu button */
.custom-menu-container {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 1000;
}

/* Wrapper holds button + nav */
.custom-nav-wrapper {
  display: flex;
  flex-direction: column;
  transform: translateX(-220px); /* hidden by default */
  transition: transform 0.3s ease;
  height: 100vh;
}

/* Menu button */
.custom-menu-btn {
  background: #333;
  color: #fff;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px 0 0 5px;
  width: 200px;
  text-align: center;
  user-select: none;
  position: sticky; /* sticky vertically */
  top: 50%; /* center */
  transform: translateY(-50%);
  z-index: 1001;
}

/* Sidebar navigation */
/* Stiluri comune pentru desktop și mobil */
/* Contact sticky slide */
/* --- Universal Box Sizing --- */
*, *::before, *::after {
  box-sizing: border-box;
}

/* --- Base Contact Box Styles --- */
.contact-box {
  position: fixed;
  background-color: #333;
  color: #fff;
  transition: all 0.3s ease;
  z-index: 999;
  padding: 10px 15px;
  /* Add default text rendering properties that can sometimes help with font display */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.contact-label {
  font-weight: bold;
  white-space: nowrap;
  cursor: pointer;
  overflow-wrap: break-word; /* For very long single words */
}

.contact-details {
  margin-top: 10px;
  padding: 20px;
  display: none;
  width: 100%;
  height: 100%;
}

.contact-details p,
.contact-details a {
  margin: 5px 0;
  font-size: 22px; /* Will be overridden for mobile */
  color: #fff;
  cursor: default;

  white-space: normal;
  overflow-wrap: break-word; /* Primary word breaking */
  word-wrap: break-word; /* Legacy support */
  /* word-break: break-all;  <-- Try commenting this out if the issue persists.
                                  It's more aggressive and can sometimes lead to odd breaks.
                                  Let's rely on overflow-wrap first. */

  display: block;
  width: 100%;
  min-width: 0;

  /* Explicitly set these to normal to rule them out */
  letter-spacing: normal;
  word-spacing: normal;
  text-indent: 0;
}

.contact-details a {
  text-decoration: none;
}

.contact-details a:hover {
  cursor: pointer;
  text-decoration: underline;
}

.contact-box.expanded .contact-details {
  display: block;
}

/* --- Desktop Styles --- */
@media (min-width: 769px) {
  .contact-box {
    top: 45%;
    left: 0;
    transform: none; /* cancel translateY */
    width: 90px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    cursor: pointer;
  }

  .contact-box.expanded {
    width: 500px;
    max-height: 100vh;
    overflow-y: auto;
    top: 0;
}

  .contact-label {
    white-space: nowrap;
  }
}

/* --- Mobile + Tablet Styles --- */
@media (max-width: 768px) {
  .contact-box {
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    border-radius: 0;
  }

  .contact-label {
    white-space: normal; /* Allow label text to wrap on mobile */
    text-align: center;
  }

  .contact-details p,
  .contact-details a {
    font-size: 16px; /* Reduced font size for mobile */
    line-height: 1.4;
  }
}

/* end of meniu lateral sticky */


/* rezerva acum */
#rezerva-acum {
  max-width: 600px;
  margin: 0 auto;
}
#rezerva-acum input {
  margin-bottom: 10px;
}

label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
}

input, select, textarea {
  width: 100%;
  padding: 7px;
  margin-top: 3px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 14px;
}

/* GDPR modal styling */
.gdpr-popup {
  position: fixed;
  top: 0; left: 0; right:0; bottom: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.gdpr-content {
  background: white;
  padding: 20px 30px;
  max-width: 500px;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
  position: relative;
  margin: 0 auto
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #555;
}

.close-btn:hover {
  color: #000;
}
.showFormBtn {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 24px;
  margin-top: 15px;
  padding: 10px 20px;
  background: #0066cc;
  color: white;
  border: none;
  border-radius: 5px;
  border: 1px solid #0066cc;
  cursor: pointer;
  margin-bottom: 20px;
}

.showFormBtn:hover {
  background: #fff;
  color: #0066cc;
}

#successMessage {
  color: green;
  font-weight: bold;
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

/* end of rezerva acum */

.wrapper-recenzii {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.casuta-sportiv {
  position:relative;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  width: 300px;
  background-color: #f9f9f9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  box-sizing: border-box;
  transition: height 0.3s ease;
  overflow: hidden;
}

.numar-sedinte {
  position: absolute;
  top: 15px;
  background-color: #000;
  color: #fff;
}

.poza-sportiv {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
}

.nume-sportiv {
  font-size: 20px;
  font-weight: bold;
  color: #222;
  margin-top: 10px;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

.tip-sedinta {
  font-size: 16px;
  color: #555;
  font-style: italic;
  margin-bottom: 10px;
  text-align: center;
}

.comentariu-wrapper {
  width: 100%;
}

.comentariu-sportiv {
  max-height: 100px;
  overflow: hidden;
  transition: max-height 0.3s ease;
  margin-bottom: 10px;
}

.comentariu-wrapper {
  width: 100%;
}

.comentariu-sportiv.expanded {
  max-height: 1000px; /* Enough to show full text */
}

.toggle-comentariu {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 14px;
  border-radius: 5px;
  width: 110px; /* ✅ FIXED WIDTH for equal shape */
  text-align: center;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

.toggle-comentariu:hover {
  background-color: #0056b3;
}


/* on click full screen image */
.clickable-image {
  cursor: pointer;
}

.fullscreen-poze {
  width: 100vw;
  height: 100vh;
  object-fit: contain; /* Maintain aspect ratio */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  background-color: rgba(0,0,0,0.6); /* Black background with opacity */
  cursor: pointer;
}
/* End of on click full screen image */

/* contacteaza-ne CONTACT */
/* contact form */
.contact-section {
padding: 3rem 1rem;
display: flex;
justify-content: center;
align-items: center;
}

.contact-container {
max-width: 600px;
background: white;
padding: 2rem;
border-radius: 10px;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.contact-container h2 {
text-align: center;
margin-bottom: 0.5rem;
color: #333;
}

.contact-container p {
text-align: center;
color: #555;
margin-bottom: 2rem;
}

.form-group {
margin-bottom: 1.2rem;
}

label {
display: block;
margin-bottom: 0.4rem;
color: #444;
}

input, textarea {
width: 100%;
padding: 0.8rem;
border: 1px solid #ccc;
border-radius: 6px;
font-size: 1rem;
transition: border-color 0.3s ease;
}

input:focus, textarea:focus {
border-color: #007bff;
outline: none;
}

.contact-btn {
display: inline-block;
background: #007bff;
color: white;
padding: 0.8rem 1.5rem;
border: none;
border-radius: 6px;
font-weight: bold;
cursor: pointer;
transition: background 0.3s ease;
width: 100%;
}

.contact-btn:hover {
background: #0056b3;
}
/* end of contact form */
.wrapper-contact {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.wrapper-contact div {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.wrapper-contact > div {
  font-size: 24px;
  color:#0056b3;
  font-weight: bold;
}
.wrapper-contact img {
  width: 40px;
  height: 40px;
  margin: 10px;
}

.sportulalb-social {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 20px;
  text-align: center;
}
/* end of contacteaza-ne CONTACT */

/* Despre noi */
.about-section {
max-width: 800px;
margin: auto;
background: white;
padding: 2rem;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
border-radius: 10px;
margin-top: 2rem;
}

.about-section a {
  color: #4795da;
  font-weight: bold;
}

.about-section img {
display: block;
max-width: 200px;
margin: 0 auto 1.5rem;
}

.about-section h1 {
text-align: center;
color: #007bff;
margin-bottom: 1rem;
}

.about-section p {
text-align: justify;
}

@media (max-width: 600px) {
.about-section {
padding: 1.5rem;
}
}

/* End of Despre noi */

/* Noutati */
    header {
      background: white;
      padding: 1rem;
      border-bottom: 2px solid #ddd;
      text-align: center;
    }

    header h1 {
      font-size: 2.5rem;
      margin: 0;
      font-family: 'Times New Roman', serif;
    }

    .news-container {
      max-width: 1000px;
      margin: 2rem auto;
      padding: 0 1rem;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.5rem;
    }

    .news-item {
      background: white;
      border: 1px solid #ddd;
      border-radius: 6px;
      overflow: hidden;
      box-shadow: 0 4px 10px rgba(0,0,0,0.05);
      display: flex;
      flex-direction: column;
    }

    .news-item img {
      width: 100%;
      height: 200px;
      object-fit: cover;
    }

    .news-content {
      padding: 1rem;
      flex: 1;
    }

    .news-content h2 {
      margin: 0 0 0.5rem;
      font-size: 1.3rem;
      color: #007bff;
    }

    .news-content p {
      font-size: 0.95rem;
      color: #555;
    }

    .news-date {
      font-size: 0.8rem;
      color: #888;
      margin-bottom: 0.5rem;
    }

    .news-item a {
      color: #4795da;
      font-weight: bold;
    }

    @media (max-width: 600px) {
      header h1 {
        font-size: 1.8rem;
      }
    }

/* End of Noutati */

/* Donatii */
  .donation-section {
      max-width: 800px;
      margin: 3rem auto;
      background: white;
      padding: 2rem;
      border-radius: 10px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
      text-align: center;
    }
    h2 {
      font-size: 2rem;
      color: #007bff;
      margin-bottom: 0.5rem;
    }
    p {
      color: #555;
      margin-bottom: 2rem;
    }
    .donation-buttons {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }
    .donation-button {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 0.8rem;
      border-radius: 6px;
      color: white;
      font-weight: bold;
      border: none;
      cursor: pointer;
      transition: background 0.3s ease;
    }
    .bt-pay { background: #28a745; }
    .bt-pay:hover { background: #1e7e34; }
    .bt-bank { background: #004c99; }
    .bt-bank:hover { background: #003366; }
    .revolut { background: #001833; }
    .revolut:hover { background: #000f1f; }
    .hidden-text {
      background: #eee;
      padding: 8px;
      border-radius: 5px;
      display: inline-block;
      filter: blur(6px);
      cursor: pointer;
      transition: filter 0.3s ease;
      margin-top: 5px;
    }
    .hidden-text.revealed {
      filter: none;
      background: #f5f5f5;
    }
    .icon {
      width: 24px;
      height: 24px;
      object-fit: cover;
    }
    /* Toast modern */
    .toast {
      position: fixed;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      background: rgba(0, 0, 0, 0.85);
      color: #fff;
      padding: 10px 16px;
      border-radius: 8px;
      font-size: 14px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
      z-index: 9999;
    }
    .toast.show {
      opacity: 1;
    }
 
  /* End of Donatii */

  /* Footer */
footer a {
  color: #4795da;
  font-weight: bold;
}
  /* End of footer */