/* ===================
   IMPORTS AND RESET
=================== */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Poppins", sans-serif;
}

/* ===================
   COMMON STYLES
=================== */
section {
    scroll-margin-top: 8vh;
    position: relative;
    padding-top: 2vh;
    margin: 0 10rem 0 10rem;
    box-sizing: border-box;
    min-height: fit-content;
    transition: all 0.3s ease;
    padding-top: 4vh;
    margin: 0 10rem;
    box-sizing: border-box;
    min-height: fit-content;
    margin-bottom: 4rem;
}

.section-container {
    display: flex;
    gap: 1rem;
    height: auto;
    min-height: 50vh;
    margin-bottom: 4rem;
}

.section__pic-container {
    display: flex;
    height: 300px;
    width: 300px;
    margin: auto 0;
}

.section__text {
    align-self: center;
    text-align: center;
}

.section__text__p1 {
    font-size: 1rem;
    text-align: center;
    color: #9d41bc;
}

.section__text__p2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: grey;
}

.section__text__p3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #070707;
    flex-wrap: wrap;
}

.title {
    font-size: 3rem;
    text-align: center;
}

/* ===================
   NAVIGATION
=================== */
nav, 
.nav-links {
    display: flex;
}

nav {
    position: sticky;
    opacity: 100;
    top: 0;
    justify-content: space-between;
    background-color: rgb(51, 51, 102);
    align-items: center;
    height: 12vh;
    z-index: 1000;
    padding: 0 2rem;
}

.nav-links {
    gap: 2rem;
    list-style: none;
    font-size: 1.5rem;
}

a {
    color: white;
    text-decoration: none;
    text-decoration-color: black;
}

a:hover {
    color: goldenrod;
    text-decoration: underline;
    /* text-underline-offset: 1rem; */
    text-decoration-color: black;
}

a.active {
    color: goldenrod;
    text-decoration: underline;
    text-decoration-color: goldenrod;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 2rem;
    color: white;
}

.logo a {
    color: white;
    text-decoration: none;
}

.logo:hover,
.logo a:hover {
    cursor: pointer;
    color: white;
    text-decoration: none;
}

/* HAMBURGER MENU */

#hamburger-nav {
    display: none;
}
  
.hamburger-menu {
    position: relative;
    display: inline-block;
}
  
.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    cursor: pointer;
}
  
.hamburger-icon span {
    width: 100%;
    height: 2px;
    background-color: black;
    transition: all 0.3 ease-in-out;
}

.menu-links {
    position: absolute;
    top: 100%;
    right:  0;
    background-color: whitesmoke;
    width: fit-content;
    height: fit-content;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3 ease-in-out;
}

.menu-links a {
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 1.5rem;
    color: black;
    text-decoration: none;
    transition: all 0.3 ease-in-out;
}

.menu-links a:hover {
    color: goldenrod;
    text-decoration: underline;
    /* text-underline-offset: 1rem; */
    text-decoration-color: rgb(181, 181, 181);
}

.menu-links a.active {
    color: goldenrod;
    text-decoration: underline;
    text-decoration-color: goldenrod;
}
  
.menu-links li {
    list-style: none;
}
  
.menu-links.open {
    max-height: 400px;
}
  
.hamburger-icon.open span:first-child {
    transform: rotate(45deg) translate(10px, 5px);
}
  
.hamburger-icon.open span:nth-child(2) {
    opacity: 0;
}
  
.hamburger-icon.open span:last-child {
    transform: rotate(-45deg) translate(10px, -5px);
}
  
.hamburger-icon span:first-child {
    transform: none;
}
  
.hamburger-icon span:first-child {
    opacity: 1;
}
  
.hamburger-icon span:first-child {
    transform: none;
}


/* HOME SECTION */
  
#home {
    display: flex;
    justify-content: center;
    gap: 5rem;
    height: 50vh;
    position: relative;
    background: url('./assets/tambil.jpg') no-repeat center center;
    background-size: contain;
    z-index: 1;
}

#home .section__pic-container {
    display: none;
}

#home .section__text {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.753);
    border-radius: 1rem;
    padding: 2rem;
}

#home .home-btn-container {
    position: absolute;
    right: 50%;
    left: 50%;
    bottom: 2rem;
    transform: translateX(-50%);
    z-index: 3;
    background: rgba(255,255,255,0.85);
    border-radius: 2rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    padding: 0.5rem 2rem;
    width: auto;
    display: flex;
    gap: 1rem;
}
  
.section__pic-container {
    display: flex;
    height: 300px;
    width: 300px;
    margin: auto 0;
}
  
.section__text {
    align-self: center;
    text-align: center;
}
  
.section__text p {
    font-weight: 600;
}
  
.section__text__p1 {
    font-size: 1rem;
    text-align: center;
    color: #9d41bc;
}
  
.section__text__p2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: grey;
}
.section__text__p3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #070707;
    flex-wrap: wrap;
    
}
  
.title {
    font-size: 3rem;
    text-align: center;
}
  
#socials-container {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    gap: 1rem;
}

  /* ICONS */

.icon {
    cursor: pointer;
    height: 2rem;
}
.icon-Linkedin {
    height: 2rem;
    cursor: pointer;
}

.icon-Linkedin:hover{
    color: white;
    background: rgba(33, 111, 228, 0.894);
    border-radius: 2rem;
}

.icon-Github {
    height: 2rem;
    cursor: pointer;
}

.icon-Github:hover{
    color: white;
    background: rgba(30, 194, 85, 0.894);
    border-radius: 2rem;
}
.icon2 {
cursor: default;
height: 1rem;
}
.icon3 {
    cursor: default;
    height: 0.5rem;
    margin-bottom: 2rem;
}

  /* BUTTONS */

.home-btn-container {

  position: relative;
  width: 5px;
  height: 10px;
  border: 2px solid rgba(218, 165, 32, 0.6);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.95);
}

.home-btn-container::before {
  content: "ⓘ";
  font-size: 20px;
  color: goldenrod;
  transition: all 0.3s ease;
}

.home-btn-container .btn-wrapper {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    min-width: max-content;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 100;
}

.home-btn-container:hover {
  border-color: goldenrod;
  box-shadow: 0 0 8px rgba(218, 165, 32, 0.4);
}

.home-btn-container:hover::before {
  color: rgb(184, 134, 11);
}

.home-btn-container:hover .btn-wrapper {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.btn {
  font-weight: 600;
  transition: all 300ms ease;
  padding: 0.75rem 1.5rem;
  width: auto;
  border-radius: 2rem;
  white-space: nowrap;
}

.btn-color-1,
.btn-color-2 {
  border: rgb(53, 53, 53) 0.1rem solid;
  background: rgb(0, 0, 0);
  color: white;
}

.btn-color-1:hover,
.btn-color-2:hover {
  cursor: pointer;
  color: white;
  background: goldenrod;
}

/* ===================
   MISSION SECTION
=================== */
#mission {
    min-height: 90vh;
    padding: 4rem 0;
}

.mission-flex {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 4rem;
    margin-top: 2rem;
}

.about-details-container {
    flex: 1;
    max-width: 50%;
}

.section__pic-container.slideshow-container {
    flex: 1;
    position: relative;
    width: 600px;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 50%;
    overflow: hidden;
}

.mission-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    object-fit: cover;
    object-position: center;
}

.mission-slide.active {
    opacity: 1;
    visibility: visible;
}

/* ABOUT SECTION */

#about {
    position: relative;
}
.about-containers {
    gap: 2rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
}
  
.about-details-container {
    justify-content: center;
    flex-direction: column;
}
  
.about-containers,
.about-details-container {
    display: flex;
}
  
.about-pic {
    border-radius: 2rem;
}

#join {
    position: relative;
}
.join-containers {
    gap: 2rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
    max-width: 500px;
    margin: 0 auto;
}
  
.join-details-container {
    justify-content: center;
    flex-direction: column;
}
  
.join-containers,
.join-details-container {
    display: flex;
}
  
.join-pic {
    border-radius: 2rem;
}

.details-container {
    padding: 1.5rem;
    flex: 1;
    background: white;
    border-radius: 2rem;
    border: rgb(53, 53, 53) 0.1rem solid;
    border-color: rgb(163, 163, 163);
    text-align: center;
    margin-bottom: 1rem;
}

  
.section__pic-container {
    height: 500px;
    width: 500px;
    margin: auto 0;
}

.text-container {
    color: rgb(46, 45, 44);
    text-align: left;
    background-color: white;
    padding: 3rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 
                0 1px 3px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    /* height: 600px; */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.12), 
                0 2px 4px rgba(0, 0, 0, 0.08);
}


  /* EXPERIENCE SECTION */

#experience {
    position: relative;
}
  
.experience-sub-title {
    color: rgb(85, 85, 85);
    font-weight: 600;
    font-size: 1.75rem;
    margin-bottom: 2rem;
}
  
.experience-details-container .contact-content {
    display: flex;
    justify-content: center;
    flex-direction: column;
}
  
.article-container {
    display:inline-flex;
    text-align: center;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 1.5rem;
    justify-content: space-around;
    height: 50%;
}
  
article {
    display: flex;
    width: 8rem;
    justify-content: flex-start;
    gap: 0.5rem;
}
  
article .icon {
    cursor: default;
}

  /* SKILL SECTION */

.skill {
    text-align: left;
    margin-bottom: 2rem;
    color: grey;
    /* */
    width: 500px;
    padding: 20px;
    /* box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22); */
}

.skill-info {
    display: flex;
    text-align: left;
    font-size: 1rem;
    color: black;
    gap: 3.5rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

/* MISSION SECTION */

#mission {
    justify-content: center;
    gap: 5rem;
    height: 50vh;
    position: relative;
    background-size: cover;
    z-index: 1;
}

/* CONTACT SECTION */
  
.contact .contact-content .column {
    width: calc(50%);
}

.section__text__p {
    color: rgb(14, 158, 158);
    margin-bottom: 0.5rem;
}

.contact .contact-content .left{
    text-align: justify;
}

.row {
    font-size: 20px;
    display: flex;
    height: 65px;
    align-items: center;
    gap: 1rem;
}

.icon4 {
    cursor: default;
    height: 2rem;
}

.contact-content {
    display: flex;
    justify-content: space-around; 
    gap: 30px; 
    flex-wrap: wrap;
}

.column {
    flex: 1; 
    box-sizing: border-box;
}

.contact .right form .fields {
    display: flex;
    flex-direction: column;
}

.contact .right form .message {
    height: 80px;
}

.contact .right form .fields,
.contact .right form .fields .field{
    height: 45px;
    width: 100%;
    margin-bottom: 15px;
    padding-bottom: 2rem;
}

.contact .right form .field input,
.contact .right form .message textarea {
    height: 100%;
    width: 100%;
    border: 1px solid lightgrey;
    border-radius: 6px;
    padding:  0 15px;
    outline: none;
    font-size: 15px;
}

.contact .right form .message textarea {
    resize: none;
    padding-top: 10px;
}

.btn-container1 {
    width: 50%;
    height: 50%;
    margin-top: 50px;
    margin-bottom: 1rem;

}
button:disabled {
    pointer-events: none; 
    cursor: not-allowed;
    background-color: #ccc;
    color: #666;
}

button:disabled:hover {
    background-color: #ccc;
    color: #666;
}

.contact .right {
    margin-left: 40px;
    margin-top: 20px;
}

/* FOOTER SECTION */

footer {
    width: 100%;
    height: 100%;
    margin: 0;
    background-color: rgb(51, 51, 102);
}

footer p {
    text-align: center;
    font-size: 15px;
}

/* FOOTER SOCIAL ICONS */

.footer-socials {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 1rem 0;
        flex-wrap: wrap;
}

.footer-icon {
    width: 24px;
    height: 24px;
    margin: 0 0.5rem;
}

/* CHURCH-SPECIFIC STYLES */

.service-times {
    font-size: 1.2rem;
    color: #666;
    text-align: center;
    margin-top: 1rem;
}

.service-info, .ministry-info {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid rgb(14, 158, 158);
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.service-info h3, .ministry-info h3 {
    color: rgb(14, 158, 158);
    margin-bottom: 0.5rem;
}

.location-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #f5f5f5;
    border-radius: 10px;
    text-align: center;
}

.location-details p {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.streaming-container {
    text-align: center;
    padding: 2rem;
}

.stream-placeholder {
    background-color: #f0f0f0;
    padding: 3rem;
    margin: 2rem 0;
    border-radius: 10px;
    /* border: 2px dashed #ccc; */
}

.stream-placeholder p {
    color: #666;
    font-size: 1.2rem;
    margin: 0.5rem 0;
}

.stream-btn-container {
    justify-content: center;
    padding: 2rem;
}

.message-container {
    text-align: center;
    padding: 2rem;
}

.message-date {
    color: rgb(14, 158, 158);
    font-weight: 600;
    margin-bottom: 1rem;
}

.message-description {
    margin-bottom: 2rem;
    line-height: 1.6;
}

.giving-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.giving-info h3 {
    color: rgb(14, 158, 158);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.giving-options {
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); */
    gap: 2rem;
    margin: 2rem 0;
}

.giving-method {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.giving-method h4 {
    color: rgb(14, 158, 158);
    margin-bottom: 0.5rem;
}

/* SCROLL BUTTON */
.scroll-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: rgb(51, 51, 102);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-btn:hover {
    background-color: goldenrod;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.scroll-btn:active {
    transform: translateY(0);
}

#scrollIcon {
    transition: transform 0.3s ease;
}

/* PAYPAL DONATION BUTTON */
.paypal-donate-btn {
    background: none;
    border: 2px solid #70b1dd;
    display: inline-block;
    padding: 0;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 8px;
    overflow: hidden;
}

.paypal-donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.paypal-donate-btn:active {
    transform: translateY(0);
}

.paypal-donate-btn img {
    display: block;
    max-width: 100%;
    height: auto;
}
