/* ========================================
   INDEX.HTML - HOMEPAGE STYLES
   ======================================== */

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    padding-top: calc(var(--nice-padding) + 2rem);
    display:flex;
    width: 100%;
    align-self: center;
    flex-direction: column;
    align-items: center;
    align-content: center;
    justify-content: center;
    background: transparent;
}

.hero__logo-link {
    margin-bottom: var(--nice-padding);
    cursor: default;
}

.hero__logo {
    display: block;
    align-self: center;
    margin-left:auto;
    margin-right: auto;
    transition: all .5s;
    max-width: 40rem;
}

.hero__logo:hover {
    transform: scale(1.05)
}

.hero__description {
    text-align: center;
    font-size:3rem;
    margin-bottom: var(--nice-padding);
    margin-left: 1rem;
    margin-right: 1rem;
    padding-top: 5%;
}

.hero__description--accent {
    font-weight: 800;
    color:var(--accent1);
}

.hero__button {
    padding: 1rem;
    padding-left: 2rem;
    padding-right: 2rem;
    font-size: 2rem;
    background-color: var(--accent2_transp);
    border: 0px;
    border-radius: var(--roundness);
    color: white;
    transition: all .5s;
    cursor:pointer;
    position: relative;
}

.hero__button:hover {
    background-color: var(--accent2);
    transform: scale(1.05)
}

.hero__button-text-primary {
    font-size:2rem;
    font-weight: 800;
}

.hero__button-text-secondary {
    font-size:1.5rem;
}

.hero__popup {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -0%);
    text-align: center;
    background-color: rgba(0, 175, 0, 0.1);
    border:solid rgba(0, 175, 0, 1) 1px;
    color: #fff;
    border-radius: var(--roundness);
    z-index: 9999;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-top: -10.5rem;
}

.hero__scroll-arrow {
    opacity: 50%;
    height: 1.5rem;
    padding:2rem;
    transition: all .5s;
}

.hero__scroll-arrow:hover {
    opacity: 100%;
    transform: scale(1.05)
}


/* ========================================
   FEATURES SECTION
   ======================================== */

.features {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-content: center;
    padding-bottom: 1rem;
    width: 100%;
}

.features__grid {
    padding-top: 2rem;
    display:flex;
    align-items: center;
    justify-content: center;
    flex-wrap:wrap;
}

.features__card {
    display: flex;
    background-color: #00000022;
    backdrop-filter: blur(15px);
    height: 24rem;
    width: 18rem;
    margin: 1rem;
    border-radius: var(--roundness);
    transition: all .5s;
    flex-direction: column;
}

.features__card:hover {
    background-color: #00000099;
    transform: translateY(-5px);
}

@media (max-width: 1599px) {
    .features__grid {
      margin-left: 10rem;
      margin-right: 10rem;
    }
}

@media (max-width: 1279px) {
    .features__grid {
      margin-left: 0rem;
      margin-right: 0rem;
    }
}

.features__card-image {
    width: 100%;
    height: 50%;
    object-fit: cover;
    border-radius: var(--roundness);
}

.features__card-title {
    margin-top: 1rem;
    text-align: center;
    font-size:1.5rem;
    font-weight: 700;
    margin-top: auto;
}

.features__card-description {
    margin-top: .5rem;
    text-align: center;
    font-size:1.2rem;
    margin-bottom: auto;
}


/* ========================================
   STAFF SECTION
   ======================================== */

.staff {
    background: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    min-height: 10rem;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding-bottom: 3rem;
}

.staff__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.staff__card {
    background-color: #00000022;
    backdrop-filter: blur(15px);
    border-radius: var(--roundness);
    padding: 1.5rem;
    width: 600px;
    height: auto;
    min-height: 200px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s;
}

.staff__card:hover {
    transform: translateY(-5px);
    background-color: #00000099;
}

.staff__card--owner {
    width: 900px;
    height: auto;
    min-height: 200px;
}

.staff__card-image {
    width: 150px;
    height: auto;
    border-radius: var(--roundness);
    object-fit: contain;
    flex-shrink: 0;
}

.staff__card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 400px;
}

.staff__rank {
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: var(--roundness);
    display: inline-block;
    width: fit-content;
    margin-bottom: 0.25rem;
    padding-top: 0.5rem;
}

.staff__rank--owner {
    background: linear-gradient(135deg, #f1c40f 0%, #c29d0b 100%);
    color: white;
}

.staff__rank--dcadmin {
    background: linear-gradient(135deg, #9b59b6 0%, #7d4691 100%);
    color: white;
}

.staff__rank--mcadmin {
    background: linear-gradient(135deg, #e91e63 0%, #b8174f 100%);
    color: white;
}

.staff__rank--dcmoderator {
    background: linear-gradient(135deg, #3498db 0%, #2a7aaf 100%);
    color: white;
}

.staff__rank--mcmoderator {
    background: linear-gradient(135deg, #e91e63 0%, #b8174f 100%);
    color: white;
}

.staff__rank--helper {
    background: linear-gradient(135deg, #e74c3c 0%, #b93d30 100%);
    color: white;
}

.staff__rank--applicationperms {
    background: linear-gradient(135deg, #e67e22 0%, #b8651b 100%);
    color: white;
}

.staff__name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.staff__description {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.5;
}


/* ========================================
   MOBILE RESPONSIVE STYLES - INDEX
   ======================================== */

@media (max-width: 768px) {
  .hero__logo-link,
  .hero__logo {
    display: block !important;
    max-width: 97.5% !important;

    margin: 0 auto !important;
  }

  .hero__description {
    font-size: 2.25rem !important;
  }
  
  .hero {
    padding-top: 70px;
    width: 100%;
    box-sizing: border-box;
  }
  
  .features {
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }
  
  .features__grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
  }
  
.features__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 85%;
    margin: 0 auto;
    padding: 15px;
    border-radius: 10px;
    background-color: #00000022 !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.5s !important;
}
  
.features__card:hover {
    background-color: #00000099 !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    transform: translateY(-5px) !important;
}

.staff,
.staff__grid {
    width: 100%;
    padding: 0 !important;
    box-sizing: border-box;
}

.staff__grid {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.staff__card {
    width: 73.25% !important;
    max-width: 73.25% !important;
    margin: 0 auto !important;
    height: auto !important;
    flex-direction: column !important;
    align-items: center !important;
}

.staff__card-image {
    width: 200px !important;
    height: auto !important;
    margin-bottom: 20px !important;
}

.staff__card-content {
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
}

.staff__rank {
    padding-top: 0 !important;
}
}