@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans&display=swap');

body {
    background-color: #010302;
    margin: 0;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 15px;
    overflow-x: hidden;
}

*::-webkit-scrollbar {
    width: 0;
}

.container {
    overflow: hidden;
    height: max-content;
}

.banner {
    height: 100vh; /* Full screen height */
    position: relative;
    overflow: hidden;
}

.banner .bg {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-size: cover;       /* Cover whole area */
    background-repeat: no-repeat; /* Prevent tiling */
    background-position: center;  /* Centered */
    transition: 0.1s;
}

/* Banner background images */
.banner .bg:nth-child(1) {
    background-image: url(images/banner_0.png);
}
.banner .bg:nth-child(2) {
    background-image: url(images/banner_1.png);
}
.banner .bg:nth-child(3) {
    top: 32%;
    text-align: center;
}
.banner .bg:nth-child(3) h1,
.banner .bg:nth-child(3) h5 {
    color: #d1c3ae;
    margin: 0;
    text-shadow: 0 0px 20px #d2af76;
}
.banner .bg:nth-child(3) h1 {
    font-size: clamp(2rem, 12vw, 8rem); /* Scales with screen */
}
.banner .bg:nth-child(3) h5 {
    font-size: clamp(1rem, 5vw, 2rem);
}
.banner .bg:nth-child(4) {
    background-image: url(images/banner_2.png);
}
.banner .bg:nth-child(5) {
    background-image: url(images/banner_3.png);
}

/* Tabs */
.tab {
    min-height: 100vh;
    background-color: #010302;
    z-index: 1;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px; /* spacing for smaller screens */
}

.tab::before {
    position: absolute;
    height: 200px;
    width: 100vw;
    background: linear-gradient(to top, #010302, transparent);
    content: '';
    bottom: 100%;
    left: 0;
}

.tab.tab1 {
    background: linear-gradient(to top, #010302 0%, transparent 20%, #010302 80%),
                url(images/tab1.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.tab.tab2 {
    background: linear-gradient(to top, #010302 0%, transparent 20%, #010302 80%),
                url(images/tab2.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/* Content blocks */
.tab.tab1 .content {
    width: 700px;
    max-width: 95%; /* prevents overflow */
    color: #eee;
    text-align: center;
    font-size: 2.2rem;
}
.tab.tab2 .content {
    width: 900px;
    max-width: 95%;
    color: #eee;
    text-align: center;
}
.tab.tab2 .content .des {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.glow-link {
  color: #d2af76;
  text-decoration: none;
  font-weight: bold;
  position: relative;
  transition: 0.3s ease-in-out;
  animation: glow 2s infinite;
  animation-delay: 2s;
}

@keyframes glow {
  0% {
    text-shadow: 0 0 5px #d2af76, 0 0 10px goldenrod, 0 0 20px gold;
  }
  50% {
    text-shadow: 0 0 20px gold, 0 0 30px goldenrod, 0 0 40px gold;
  }
  100% {
    text-shadow: 0 0 5px gold, 0 0 10px goldenrod, 0 0 20px gold;
  }
}


/* ---------------------- */
/* 🌍 Responsive Styling  */
/* ---------------------- */

/* Tablet adjustments */
@media (max-width: 1024px) {
    .tab.tab1 .content,
    .tab.tab2 .content {
        width: 95%;
        padding: 20px;
        text-align: center;
    }

    .tab.tab2 .content .des {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .banner {
        height: 90vh;
    }
    .banner .bg:nth-child(3) {
        top: 25%;
        padding: 0 10px;
    }
    .tab {
        padding: 40px 15px;
    }
    .tab .content {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }
    .tab.tab2 .content .des {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .banner .bg:nth-child(3) {
        top: 20%;
    }
    .banner .bg:nth-child(3) h1 {
        font-size: clamp(1.5rem, 15vw, 3rem);
    }
    .banner .bg:nth-child(3) h5 {
        font-size: clamp(0.8rem, 6vw, 1.2rem);
    }
    .tab {
        padding: 30px 10px;
    }
    .des {
        font-size: 0.9rem;
    }
}



