@import url('https://fonts.googleapis.com/css2?family=Caveat+Brush&family=Fjalla+One&family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap');

:root {
    --black-background : #1A1A1A;
    --gray : #D9D9D9;
    --red-background : #7D313180;
}
.title {
    font-family: "Fjalla One", serif;
    font-weight: 700;
    font-style: bold;
    font-size: 56px;
    color: white;
    letter-spacing: 2px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    animation: fadeInDown 1s ease-out 0.3s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-control {
    border-color: var(--black-background) !important;
    border-radius: 8px !important;
    border: 2px solid !important;
}

.black-title {
    font-family: "Fjalla One", serif;
    font-weight: 600;
    font-style: normal;
    font-size: 34px;
    color: black;
    letter-spacing: 3px;
}

.white-title {
    font-family: "Fjalla One", serif;
    font-weight: 600;
    font-style: normal;
    font-size: 34px;
    color: white;
    letter-spacing: 3px;
}

.sub-title {
    font-family: "Caveat Brush", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 1px;
    line-height: 1.5;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 40px;
    animation: fadeInDown 1s ease-out 0.5s both;
}


.text-light {
    color: var(--gray);
    font-family: "Caveat Brush", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
}
.text-dark {
    color: var(--black-background);
    font-family: "Caveat Brush", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
}
/* Media queries for responsive font size */

@media (min-width: 768px) {
    .text-md-center {
      text-align: center;
    }
  }
  
@media (max-width: 768px) {
    .title {
        font-size: 32px;
        letter-spacing: 1px;
        margin-bottom: 15px;
    }
    .sub-title {
        font-size: 18px;
        letter-spacing: 0px;
        margin-bottom: 30px;
    }

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

.fix-stroke {
  paint-order: stroke fill;
}

/* ############################# HERO SECTION ###############################  */
.hero-section-container {
    width: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-section-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.9) contrast(1.2);
    animation: zoomIn 20s ease-in-out infinite alternate;
  }

  @keyframes zoomIn {
    0% {
      transform: scale(1);
    }
    100% {
      transform: scale(1.1);
    }
  }

  .team-section-image {
    width: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.9) contrast(1.2);
    height: 400px;
    border-radius: 30px;
  }


  .text-overlay {
    z-index: 999;
    position: relative;
    max-width: 900px;
    padding: 40px 20px;
    text-align: center;
    animation: fadeInUp 1s ease-out;
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .hero-content-wrapper {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(3px);
    border-radius: 30px;
    padding: 50px 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
  }

  /* Scroll indicator */
  .scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    animation: bounce 2s infinite;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .scroll-indicator:hover {
    animation: none;
    transform: translateX(-50%) scale(1.2);
  }

  .scroll-indicator:hover i {
    color: #7D3131;
  }

  .scroll-indicator i {
    color: white;
    font-size: 32px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  }

  /* Smooth scroll behavior */
  html {
    scroll-behavior: smooth;
  }

  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
      transform: translateX(-50%) translateY(0);
    }
    40% {
      transform: translateX(-50%) translateY(-10px);
    }
    60% {
      transform: translateX(-50%) translateY(-5px);
    }
  }

  /* Decorative elements */
  .hero-decoration {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    z-index: 2;
    animation: float 15s infinite ease-in-out;
  }

  .hero-decoration:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
  }

  .hero-decoration:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
  }

  .hero-decoration:nth-child(3) {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 15%;
    animation-delay: 4s;
  }

  @keyframes float {
    0%, 100% {
      transform: translateY(0) rotate(0deg);
    }
    50% {
      transform: translateY(-20px) rotate(10deg);
    }
  }

  @media (max-width: 768px) {
    .hero-section-container {
      min-height: 100vh;
    }

    .text-overlay {
      max-width: 95%;
      padding: 20px 15px;
    }

    .hero-content-wrapper {
      padding: 30px 20px;
      border-radius: 20px;
    }

    .scroll-indicator {
      bottom: 30px;
    }

    .scroll-indicator i {
      font-size: 24px;
    }

    .hero-decoration {
      display: none;
    }
  }

/* ############### SOCIALS ################## */
#facebook {
    background: white;
    color: #3B5998;
}
#facebook:hover {
    color: white;
    background: #3B5998;
}

#instagram {
    background: white;
    color: #D54D52;
    
}
#instagram:hover {
    color: white;
    background: #D54D52;
}

#map {
    background: white;
    color: #2FA750;
}
#map:hover {
    background: #2FA750;
    color: white;
}

#envelope {
    background: white;
    color: black;
}
#envelope:hover {
    background: var(--black-background);
    color: white;
}


/* INTRO SECTIONS */

.black-section-container {
    background-color: var(--black-background);
    height: 350px;
    padding-top: 20px;
}

.intro-text {
    width: 50%;
    margin-top: 10px;
    margin-bottom: 8px;
}

.intro-icon {
    background: var(--red-background);
    border-radius: 50%;
    text-align: center;
    text-decoration: none;
    width: 100px;
    height: 100px;
}

@media (max-width: 1300px) {
    .intro-text {
        width: 90%;
    }
}

@media (max-width: 768px) {

    .black-section-container {
        height: 500px;
    }
    }

@media (max-width: 590px) {

    .black-section-container {
        height: 700px;
    }
}


/* MOBILE APP SECTION */
.rodizio-mobile-img {
    border: 2px var(--black-background) solid ;
    border-radius: 20px;
    height: 644px;
    object-fit: cover;
    display: block;
}

.mobile-app-container {
    margin-top: 75px;
    margin-bottom: 75px;
}

@media (max-width: 768px) {
    .mobile-app-container{
        display: flex;
        text-align: center;
    }
    .mobile {
        margin-top: 20px;
        margin-bottom: 20px;

    }
    .rodizio-mobile-img {
        max-height: 550px !important;
    }
    .downloads {
        display: flex;
        justify-content: center;
    }

    .about-rodizio-ementa-digital{
        margin-top: 20px;
    }
}

.about-rodizio-ementa-digital {
    max-width: 500px;
}

.system-border {
    background-color: #c2bfbf47;
    width: 130px;
    justify-items: center;
    padding-top: 20px;
    border-radius: 40px;
}


/*  DOWNLOAD BUTTONS  */
.download-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1;
    min-width: 200px;
    max-width: 250px;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.android-btn {
    background: linear-gradient(145deg, #3DDC84, #2DBD6E);
}

.ios-btn {
    background: linear-gradient(145deg, #000000, #2C2C2C);
}

.marron-btn {
    background: linear-gradient(145deg, #7D3131, #a04141) !important;
}

.black-btn {
    background: linear-gradient(145deg, #000000, #2C2C2C) !important;
}

.btn-icon {
    font-size: 1.8em;
    margin-right: 15px;
    width: 30px;
    text-align: center;
}

.btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.btn-text span:first-child {
    font-size: 0.9em;
    letter-spacing: 1px;
}

.btn-text span:last-child {
    font-size: 1.2em;
    font-weight: bold;
}

@media (max-width: 600px) {
    .download-container {
        flex-direction: column;
        align-items: center;
    }
    
    .download-btn {
        width: 100%;
        max-width: 300px;
    }
}


/* --- Existing Styles --- */


/* Download Buttons */
.download-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 20px auto 0;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1;
    min-width: 200px;
    max-width: 250px;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}


.android-btn {
    background: linear-gradient(145deg, #3DDC84, #2DBD6E);
}

.ios-btn {
    background: linear-gradient(145deg, #000000, #2C2C2C);
}

.marron-btn {
    background: linear-gradient(145deg, #7D3131, #a04141) !important;
}

.black-btn {
    background: linear-gradient(145deg, #000000, #2C2C2C) !important;
}

.dwn-btn {
    background: linear-gradient(250deg, #fff, #fff);
}

.download-container2 {
    max-width: 100px;
    align-items: center;
}

.download-btn2 {
    display: inline-flex;
    align-items: center;
    padding: 5px 20px;
    border-radius: 12px;
    text-decoration: none;
    color: dark;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1;
    width: 200px;
}

.download-btn2:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Hero section buttons - using same style as download buttons */
.hero-buttons-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 30px auto 0;
    animation: fadeInUp 1s ease-out 0.7s both;
    align-items: stretch;
}

.hero-buttons-container .download-btn {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
}

@media (max-width: 768px) {
    .hero-buttons-container {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        align-items: center;
    }

    .hero-buttons-container .download-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .hero-buttons-container {
        padding: 0 20px;
    }

    .hero-buttons-container .download-btn {
        max-width: 100%;
        min-width: auto;
    }
}

/* Download page specific styles */
.download-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 30px 0;
    padding: 0 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-family: "Caveat Brush", serif;
    font-size: 16px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.feature-item i {
    color: #7D3131;
    font-size: 20px;
    min-width: 20px;
}

.download-buttons-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 30px auto 0;
    max-width: 600px;
}

.download-buttons-container .download-btn {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
}

.beta-download {
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.beta-download .download-btn {
    display: inline-flex;
}

@media (max-width: 768px) {
    .download-features {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .download-buttons-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .download-buttons-container .download-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .download-container {
        flex-direction: column;
        gap: 15px;
    }

    .download-container .download-btn2 {
        margin-left: 0 !important;
        width: 100%;
        max-width: 250px;
    }

    .download-features {
        padding: 0 10px;
    }

    .feature-item {
        font-size: 14px;
    }
}


.btn-icon {
    font-size: 1.8em;
    margin-right: 15px;
    width: 30px;
    text-align: center;
}

.btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.btn-text-dark {
    color: white;
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    font-weight: 600;
}

.btn-text span:first-child {
    font-size: 0.9em;
    letter-spacing: 1px;
}

.btn-text span:last-child {
    font-size: 1.2em;
    font-weight: bold;
}

/* --- New Styles for Feature List with Icons --- */

.feature-list {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    list-style:none;
}

.feature-list li .icon {
    margin-right: 10px;
    color: var(--black-background);
    font-size: 1.2em;
}

.team-section-container {
    padding-top: 80px;
    padding-bottom: 80px;
    margin-bottom: 20px;
    background-color: var(--black-background);
}

.team-info {
    margin-left: 160px;
}

@media  (max-width: 600px) {
    .team-info {
        margin-left: 10px;
    }
}

@media  (max-width: 1350px) {
    .team-info {
        margin-left: 10px;
    }
}

footer {
    background-color: var(--black-background);
}

.nav-item a {
    color: white !important;
}

.nav-item:hover {
    text-decoration: underline !important;
    font-weight: 600;
}

/* BACK TO TOP ARROW */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 40px;
    height: 40px;
    z-index: 9999;
    text-align: center;
    line-height: 40px;
    padding: 0;
    background: #00000072;
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    border: 2px solid #fff;
    display: none;
    transition: opacity 0.3s ease-in-out;
}

.back-to-top:hover {
    background: #0000009c;
}

.back-to-top.show {
    display: block;
}

/* CONTACT INFO WIDGET */
.contact-info-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
}

.contact-info-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7D3131 0%, #a04141 100%);
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.contact-info-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.contact-info-toggle.active {
    background: linear-gradient(135deg, #1A1A1A 0%, #2d2d2d 100%);
}

.contact-info-content {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 350px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.contact-info-content.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.contact-info-header {
    background: linear-gradient(135deg, #7D3131 0%, #a04141 100%);
    color: white;
    padding: 20px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info-header h5 {
    font-family: "Fjalla One", serif;
    font-size: 18px;
    margin: 0;
}

.contact-info-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.contact-info-close:hover {
    transform: rotate(90deg);
}

.contact-info-body {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.contact-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-info-item i {
    font-size: 20px;
    color: #7D3131;
    margin-right: 15px;
    margin-top: 3px;
    min-width: 20px;
}

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

.contact-info-item strong {
    font-family: "Fjalla One", serif;
    font-size: 14px;
    color: #1A1A1A;
    display: block;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.contact-info-item p {
    font-family: "Caveat Brush", serif;
    font-size: 16px;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

/* Responsive styles for contact info widget */
@media (max-width: 768px) {
    .contact-info-widget {
        bottom: 20px;
        left: 20px;
    }

    .contact-info-toggle {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .contact-info-content {
        width: 300px;
        bottom: 70px;
    }
}

@media (max-width: 576px) {
    .contact-info-content {
        width: calc(100vw - 40px);
        left: -10px;
    }
}