.mostre, .youtube-section {
  max-width: 1300px;   
  margin: 4rem auto;   
  padding: 0 1.5rem;   
  text-align: center;
}

.mostre h1{
  font-family: 'Dancing Script';
  font-size: clamp(2.5rem, 6vw, 4rem);                 
  color: rgb(110, 39, 99);
  margin-bottom: 3rem;
}

.mostre-intro {
    font-family: 'Lora', serif;
    font-size: clamp(1.1rem, 1.6vw, 1.3rem);
    line-height: 1.8;
    color: #4b2b47;
    text-align:center;
    max-width: 70ch;
    margin: 1.5rem auto 3rem auto;
    background-color: #f8eef7;
    border-radius: 10px;
    padding: 10px 25px;
}

.material-section {
    margin-top: 4rem;
    text-align: center;
    border-bottom: 1px solid #e7d8e5;
}

.material-section h2 {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(2rem, 4vw, 3rem);
    color: rgb(110, 39, 99);
    margin-bottom: 1rem;
}

.material-section h2::after{
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #ff07ac;
  margin: 0.6rem auto 1.2rem auto;
  border-radius: 3px;
}

.material-section p {
    font-family: 'Lora', serif;
    font-size: clamp(1.1rem, 1.5vw, 1.2rem);
    margin-bottom: 2rem;
}

.material-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 320px));
    justify-content: center;
    gap: 60px;
    margin: 50px 0 70px;
}

.material-grid .pdf-card {
    width: 100%;
}

.material-grid .card-content p:not(.price) {
    font-family: 'Lora', serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4b2b47;
    margin-bottom: 1rem;
}

.titularizare-intro {
    max-width: 750px;
    margin: 0 auto;
}

.pdf-card{
  width: 320px;
  background: #d1b5cd;
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  color: #4b1d46;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pdf-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

.pdf-card img {
  width: 100%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.card-content{
  padding: 1.2rem;
}

.card-content h3{
  margin-bottom: 0.4rem;
  font-size: 1.2rem;
}

.price{
  font-weight: bold;
  margin-bottom: 0.9rem;
}

.buy-btn {
  background: #ff07ac;
  border: none;
  color: white;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
  transition: 
    transform 0.3s ease-in-out,
    background 0.3s ease-in-out,
    box-shadow 0.3s ease-in-out;
}

.buy-btn:hover {
  transform: scale(1.1) translateY(-2px);
  background: #e60096;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}


.material-row{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 80px;
  margin: 60px 0;
}

.material-info{
  max-width: 450px;
  font-size: 1rem;
  line-height: 1.6;
}

.material-info ul{
  margin-top: 15px;
  list-style-type: none;
}


.info :nth-child(2){
  border-bottom:none ;
}

.info-box {
    width: fit-content;
    max-width: 800px;
    margin: clamp(2rem, 5vw, 5rem) auto;

    background-color: #f8eef7;
    color: #2d0f28;

    padding: clamp(1rem, 2vw, 1.5rem);
    border-radius: 12px;

    border-inline: 5px solid rgb(110, 39, 99);

    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
}

.info-box p {
    margin-bottom: 1rem;
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    line-height: 1.6;
}


/* BUTON */
.contact-btn {
    display: inline-block;
    text-decoration: none;

    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: bold;

    color: #fff;
    background-color: #ff07ac;

    padding: clamp(0.6rem, 1.2vw, 0.9rem)
             clamp(1.2rem, 2vw, 1.8rem);

    border-radius: 8px;
    border: 2px solid transparent;

    transition: all 0.3s ease;
}

/* Hover efect */
.contact-btn:hover {
    background-color: transparent;
    color: #ff07ac;
    border-color: #ff07ac;
    transform: scale(1.05);
}


/* E-mail modal  */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 2000;
}

/* Card modal */
.modal-content {
  position: relative;
  background: #f7edf5;
  padding: 2.2rem;
  border-radius: 18px;
  width: 340px;
  margin: 12% auto;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  animation: modalFade 0.35s ease;
}

/* Titlu */
.modal-content h3 {
  font-size: 1.8rem;
  color: rgb(110, 39, 99);
  margin-bottom: 1.4rem;
}

/* Input */
.modal-content input[type="email"] {
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  border: 1px solid #caa6c4;
  margin-bottom: 1.2rem;
  font-size: 1rem;
}

/* GDPR approve */
.gdpr {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: #5a3b57;
  margin-bottom: 1.2rem;
  text-align: left;
}

.gdpr input[type="checkbox"] {
  margin-top: 0.2rem;
}

.gdpr a {
  color: rgb(110, 39, 99);
  text-decoration: underline;
}

.gdpr a:hover {
  color: #ff07ac;
}

/* Submit */
.modal-submit {
  background: #ff07ac;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 0.7rem 1.6rem;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.modal-submit:hover {
  background: #e60096;
  transform: scale(1.05);
}

/* Close button */
.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 2rem;
  color: rgb(110, 39, 99);
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
  color: #ff07ac;
  transform: rotate(90deg);
}

/* Animation */
@keyframes modalFade {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Confirmation message  */
.modal-message {
  display: none;
  margin-top: 1.2rem;
  font-size: 1rem;
  color: rgb(60, 130, 90);
  background: #e8f6ef;
  padding: 0.7rem 1rem;
  border-radius: 10px;
}

/* Youtube Thumbnails  */

.youtube-section{
    text-align:center;
    padding-inline:clamp(1rem,5vw,4rem);
}

.youtube-title{
    font-family:"Dancing Script";
    font-size: clamp(2rem, 4vw, 3rem);
    color:rgb(110,39,99);
    margin-bottom: 3rem;
}

.youtube-intro{
    font-family: 'Lora', serif;
    font-size: clamp(1.1rem, 1.5vw, 1.2rem);
    max-width:70ch;
    line-height:1.8;
    color:#4b2b47;
    text-align: center;
    margin: 1.5rem auto 3rem auto;
    background-color: #f8eef7;
    border-radius: 10px;
    padding: 10px 25px;

}

.youtube-intro a{
    font-weight: 600;
    color: #000;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.youtube-intro a:hover{
    color:red;
    transition: transform 0.3s ease;
    text-decoration: underline;
}

.youtube-caption{
    font-family: 'Lora', serif;
    padding:0.8rem 0.5rem 0.3rem;
    font-size: clamp(0.8rem, 0.9vw, 1.2rem);
    font-weight:600;
    color:#4b1d46;
    line-height:1.4;
}

.youtube-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:3rem;
}

.youtube-card{
    position:relative;
    display:block;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 6px 20px rgba(0,0,0,0.15);
    transition:transform .3s ease, box-shadow .3s ease;
}

.youtube-card::after{
    content:"▶";
    position:absolute;
    font-size:3rem;
    color:white;
    background:rgba(0,0,0,0.6);
    width:70px;
    height:70px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
}

.youtube-card img{
    width:100%;
    display:block;
}

.youtube-card:hover{
    transform:translateY(-6px);
    box-shadow:0 10px 30px rgba(0,0,0,0.25);
}


/* Community section  */
.community-section{
    text-align:center;
    padding: clamp(2rem,5vw,4rem) 1.5rem;
    max-width: 1300px;
    margin: 0 auto; 
    border-top: 1px solid #e7d8e5;
}

.community-title{
    font-family:"Dancing Script";
    font-size: clamp(2rem, 4vw, 3rem);
    color:rgb(110,39,99);
    margin-bottom: 1.5rem;
}

.community-text{
    font-family: 'Lora', serif;
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    max-width:70ch;
    margin:0 auto 3rem auto;
    line-height:1.8;
    color:#4b2b47;
    background-color:#f8eef7;
    padding:15px 25px;
    border-radius:10px;
}

.community-grid{
    display:grid;
    grid-template-columns: repeat(2, 1fr); 
    gap:1rem;
    justify-content: center;
}


.community-card{
    background:white;
    border-radius:12px;
    overflow:hidden;
    max-width: 600px;
    margin: 0 auto;
    border: solid 1px  rgb(110, 39, 99);
    box-shadow:0 6px 20px rgba(0,0,0,0.1);
    transition:transform .3s ease, box-shadow .3s ease;
}

.community-card img{
    width:100%;
    height:fit-content;
    object-fit:cover;
}

.community-card p{
    font-family: 'Lora', serif;
    padding:0.8rem;
    font-weight:600;
    color:#ffffff;
    background-color:rgb(110, 39, 99);
}

.community-card:hover{
    transform:translateY(-6px);
    box-shadow:0 10px 30px rgba(0,0,0,0.2);
}

/* Final contact box  */

.final-cta{
    margin-top:4rem;
    padding:2rem;
    text-align:center;
    background: linear-gradient(135deg, #f8eef7, #f3e3f1);
    border-radius:16px;
    max-width:800px;
    margin-left:auto;
    margin-right:auto;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.cta-text{
    font-family: 'Lora', serif;
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    color:#4b2b47;
    margin-bottom:1.5rem;
    line-height:1.7;
}

.cta-btn{
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    display:inline-block;
    padding:12px 28px;
    background-color: #ff07ac;
    color:white;
    text-decoration:none;
    border-radius:30px;
    font-weight:600;
    transition:all 0.3s ease;
}

.cta-btn:hover{
    background-color:#d90a94;
    color: #ffffff;
    border-color: #ff07ac;
    transform: scale(1.05);
}