/* Root */
:root {
    --main-bg: #230240;
    --text-light: #FFFFFF;
    --accent: #4A2574;
    --light-bg: #E2CFEB;
    --paragraph-font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    --paragraph-font-size: clamp(0.7rem, calc(0.7rem + 0.2vw), 1rem);
    --paragraph-line-height: 1.7;
    --paragraph-letter-spacing: 0.01em;
    --paragraph-color: rgba(255, 255, 255, 0.88);
  }

  body {
    background-color: var(--main-bg);
    color: var(--text-light);
    font-family: 'Times New Roman', Times, serif;
    letter-spacing: 1.2px;
    background: linear-gradient(-45deg, #8c3ad5, #230240, #330548, #3d0370);
    background-size: 400% 400%;
    animation: gradientBG 10s ease infinite;
    color: #FFFFFF;
    cursor: default;
    padding: 0;
    margin: 0;
    min-height: 100svh;          
    display: flex;
    flex-direction: column;
  }

  p {
    font-family: var(--paragraph-font-family);
    font-size: var(--paragraph-font-size);
    line-height: var(--paragraph-line-height);
    letter-spacing: var(--paragraph-letter-spacing);
    color: var(--paragraph-color);
    margin: 0 0 1.35em;
  }


/*Background color animation*/
@keyframes gradientBG {
0% {
  background-position: 0% 50%;
}
50% {
  background-position: 100% 50%;
}
100% {
  background-position: 0% 50%;
}
}
main {                          
  flex: 1 0 auto;
}


/*Backgrounfd buuble animation*/
ul {
  list-style-type: disc;
  padding-left: 20px;
}

.bubbles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.bubbles li {
  position: absolute;
  display: block;
  list-style: none;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.3));
  animation: bubbleRise linear infinite;
  bottom: -150px;
  border-radius: 50%;
  box-shadow: 4px 4px 10px rgba(255, 255, 255, 0.1), -4px -4px 10px rgba(255, 255, 255, 0.1);
  }

  .bubbles li:nth-child(1) { left: 10%; width: 40px; height: 40px; animation-duration: 12s; }
  .bubbles li:nth-child(2) { left: 20%; width: 20px; height: 20px; animation-duration: 30s; }
  .bubbles li:nth-child(3) { left: 25%; width: 30px; height: 30px; animation-duration: 16s; }
  .bubbles li:nth-child(4) { left: 40%; width: 15px; height: 15px; animation-duration: 18s; }
  .bubbles li:nth-child(5) { left: 70%; width: 25px; height: 25px; animation-duration: 11s; }
  .bubbles li:nth-child(6) { left: 80%; width: 20px; height: 20px; animation-duration: 13s; }
  .bubbles li:nth-child(7) { left: 90%; width: 30px; height: 30px; animation-duration: 10s; }
  .bubbles li:nth-child(8) { left: 50%; width: 10px; height: 10px; animation-duration: 17s; }
  .bubbles li:nth-child(9) { left: 60%; width: 40px; height: 40px; animation-duration: 18s; }
  .bubbles li:nth-child(10) { left: 30%; width: 20px; height: 20px; animation-duration: 29s; }

@keyframes bubbleRise {
  0% {
      transform: translateY(0) scale(.8) rotate(0deg);
      opacity: 0.4;
  }
  50% {
      transform: translateY(-500px) scale(1.1) rotate(180deg);
      opacity: 0.8;
  }
  100% {
      transform: translateY(-1000px) scale(1.3) rotate(360deg);
      opacity: 0;
  }

}

/*Sticky icons*/
  .sticky-icons {
    position: fixed;
    top: 35%;
    left: 20px;          
    right: auto;
    left: 96%;
    bottom: auto;
    transform: none;
    display: block;   
    width: auto;         
    padding: 0;
    background: transparent;
    border-radius: 0;
    gap: 0;
    margin: 0;
    padding-bottom: 10px !important;
    z-index: 1200;
  }

  .sticky-icons a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 8px 0;     
    background: #fff;
    color: #230240;
    border-radius: 15%;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0,0,0,.2);
    padding: 0;          
  }

  .sticky-icons a i { 
    font-size: 22px; 
    line-height: 1; 
  }
  .sticky-icons a img { 
    width: 30px; 
    height: 30px; 
    object-fit: contain; 
    display: block; 
  }

  .sticky-icons a:hover {
    background: var(--light-bg);
  }
.sticky-icons a[href*="rinote.co"] {
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.8), 
              0 0 20px rgba(144, 86, 178, 0.6);
  border-radius: 15%;
}

/* Tablet */
@media (max-width: 1366px) {
  .sticky-icons {
    position: fixed;
    top: auto;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    display: flex;
    gap: 30px;
    padding: 8px 12px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    margin: 0;
    z-index: 1200;
    font-size: 0; 
    gap: 20px;
    padding: 8px 0px;
    bottom: 0;
    border-radius: 0;
    width: 100%;
    justify-content: center;
    display: flex;
  }
  .sticky-icons a { margin: 0; }
}

/* Phones */
@media (max-width: 576px) {
  .sticky-icons {
    gap: 20px;
    padding: 8px 0px;
    bottom: 0;
    border-radius: 0;
    width: 100%;
    justify-content: center;
    display: flex;

  }
  .sticky-icons a[href*="rinote.co"] {
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.8), 
                0 0 20px rgba(144, 86, 178, 0.6);
    border-radius: 15%;
  }
}


/*Section Title*/
.section-title {
  font-size: 2.5rem;
  font-weight: 500;
  text-align: center;
  margin:  0;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(96, 94, 94, 0.4);
  position: relative;
  display: block;
  padding-bottom: 20px; 
}

.section-title::before,
.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 3px;
  background-color: #ffffff ;
}

.section-title::before {
  width: 250px;
  bottom: 8px; 
}

.section-title::after {
  width: 200px;
  bottom: 0;

}

.section-subtitle {
  font-size: 1.5rem;
  text-align: center;
  color: var(--text-light);
  margin-bottom: 30px;
}

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


/* Buttons*/
.btn-light{
  background-color: #FFFFFF;
  color: #230240;
  padding: 10px 20px;
  margin-right: 15px;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-size: 16px;
  margin-top: 15px;
}

.btn-light:hover {
  background-color: var(--light-bg);
  color: #230240;
  font-size: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
  transition: transform .05s ease, box-shadow .15s ease, background-color .15s ease;
  transform: translateY(-1px);
}


.btn-dark{
  background-color: transparent;
  color: white;
  border: solid 2px #FFFFFF;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  margin: 40px 0px;
}

.btn-dark:hover {
  background-color: #FFFFFF;
  color: var(--main-bg);
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  transform: translateY(-1px);
}

/* CTA buttons */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.btn-cta:hover {
  transform: translateY(-3px);
}

.btn-cta:active {
  transform: translateY(-1px);
}

.btn-cta:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.45);
  outline-offset: 2px;
}

.btn-cta i,
.btn-cta span,
.btn-cta strong {
  line-height: 1;
}

.btn-cta--rinote {
  background: linear-gradient(135deg, rgba(117, 54, 189, 0.95) 0%, rgba(188, 126, 255, 0.85) 100%);
  color: #fbf6ff;
  box-shadow: 0 16px 40px rgba(137, 72, 206, 0.42);
  border-color: rgba(203, 158, 255, 0.35);
}

.btn-cta--rinote:hover {
  box-shadow: 0 20px 48px rgba(137, 72, 206, 0.48);
}

.btn-cta--contact {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 247, 255, 0.92);
  border-color: rgba(217, 186, 255, 0.45);
  box-shadow: 0 18px 42px rgba(36, 7, 66, 0.45);
  backdrop-filter: blur(14px);
}

.btn-cta--contact:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(217, 186, 255, 0.65);
  box-shadow: 0 22px 50px rgba(36, 7, 66, 0.5);
}

.btn-cta--projects {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 18px 42px rgba(15, 8, 45, 0.45);
  backdrop-filter: blur(12px);
}

.btn-cta--projects:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-cta--instagram {
  background: linear-gradient(135deg, #ff9b4a 0%, #ff5b8f 50%, #aa63ff 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 20px 48px rgba(217, 98, 180, 0.45);
}

.btn-cta--instagram:hover {
  box-shadow: 0 24px 56px rgba(217, 98, 180, 0.5);
}

.btn-cta--rinote-alt {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 100%);
  color: #ffffff;
  border-color: rgba(130, 102, 255, 0.5);
  box-shadow: 0 16px 36px rgba(94, 75, 255, 0.35);
}

.btn-cta--rinote-alt:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.08) 100%);
  border-color: rgba(130, 102, 255, 0.75);
}

.btn-cta--credly {
  background: linear-gradient(135deg, #ff914d 0%, #ff5f1f 100%);
  color: #ffffff;
  box-shadow: 0 16px 38px rgba(255, 110, 50, 0.45);
}

.btn-cta--credly:hover {
  box-shadow: 0 20px 44px rgba(255, 110, 50, 0.5);
}

.btn-cta--credly i {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.35rem;
}

@media (max-width: 576px) {
  .btn-cta {
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
    border-radius: 36px;
  }
}

.project-card {
display: none;
}

.project-card.active {
display: block;
}


/* Footer */
.site-footer {
  background-color: #130021;
  color: #fff;
  padding: 20px 10px 20px;
  font-size: 0.9rem;
  margin-top: 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 44px;
  gap: 12px;
}

.footer-left {
  display: flex;
  justify-content: center;
  width: 100%;
}

.footer-left a {
  display: inline-flex;
  justify-content: center;
}

.footer-logo {
  display: block;
  width: 20%;
  height: auto;
  margin: 0 auto;
}

.footer-left p,
.footer-center a { margin: 0; }

.footer-middle {
  text-align: center;
  font-size: 25px;
}

.footer-center a {
  color: #fff;
  margin: 0 8px;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-center a:hover { 
  color: #E2CFEB; 
}

.footer-right a {
  color: #fff;
  margin: 0 0px;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}
.footer-right a:hover { 
  color: #E2CFEB; 
}

@media (max-width: 820px){
.site-footer {
  padding-bottom: 10%;
  padding-top: 4%;
}
}

@media (max-width: 576px) {
  .site-footer {
    font-size: 12px;
  }
  .footer-logo {
    width: 40%;
  }
  .footer-middle {
    padding-top: 10px;
  }
  .site-footer {
    padding: 20px 10px 80px;
  }
  .footer-logo {
  display: block;
  width: 20%;
  height: auto;
  margin: 0 auto;
}
  .footer-middle p{
  font-size: 13px;
}
}
