/* -------------------- GLOBAL RESET -------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #000;
  color: #fff;
  overflow-x: hidden;
  padding-bottom: 0;
}

/* -------------------- CONTAINER -------------------- */
.container {
  width: 100%;
  min-height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), transparent), url(images/background.jpg);
  background-size: cover;
  background-position: center;
  padding: 0 8%;
  position: relative;
}

/* -------------------- NAVBAR -------------------- */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding-top: 25px;
}

/* -------------------- STYLISH LOGO -------------------- */
.logo {
  font-family: 'Georgia, serif';
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #ffffff;

  /* Deep dark shadow */
  text-shadow:
    0px 3px 4px rgba(255, 0, 0, 0.9),
    0px 6px 12px rgba(255, 0, 0, 0.9),
    0px 12px 22px rgb(255, 0, 0);

  /* White outline aesthetic look */
  -webkit-text-stroke: 1px #ffffff;

  cursor: pointer;
  transition: 0.35s ease-in-out;
}

/* Hover: Smooth glow effect */
.logo:hover {
  text-shadow:
    0px 4px 6px rgba(255, 255, 255, 0.5),
    0px 8px 16px rgba(255, 255, 255, 0.4),
    0px 14px 30px rgba(255, 255, 255, 0.3);
  letter-spacing: 6px;
}

/* Tablet Responsive */
@media (max-width: 900px) {
  .logo {
    font-size: 32px;
    letter-spacing: 3px;
    text-shadow:
      0px 3px 5px rgba(255, 0, 0, 0.8),
      0px 6px 14px rgba(255, 0, 0, 0.85);
  }
}

/* Mobile Responsive */
@media (max-width: 480px) {
  .logo {
    font-size: 20px;
    letter-spacing: 2px;
    -webkit-text-stroke: 0.7px #ffffff;

    text-shadow:
      0px 2px 4px rgba(255, 0, 0, 0.8),
      0px 5px 10px rgba(255, 0, 0, 0.7);
  }
}

/* NAV LINKS */
.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  transition: all 0.3s ease;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  font-family: 'Georgia, serif';
  text-decoration: none;
  color: #fff;
  font-size: 20px;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #80e8ff;
}

/* -------------------- HAMBURGER MENU -------------------- */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 24px;
  height: 18px;
  justify-content: space-between;
}

.menu-toggle span {
  height: 3px;
  background: #fff;
  border-radius: 5px;
  transition: 0.3s;
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* -------------------- HERO BOX -------------------- */
.box {
  position: absolute;
  bottom: 20%;
  color: #fff;
}

.box p {
  font-size: 40px;
  font-weight: 600;
}

.box h1 {
  font-size: 100px;
  line-height: 120px;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  background-image: url(images/back.png);
  background-position: 0 0;
  animation: back 10s linear infinite;
}

@keyframes back {
  100% {
    background-position: 2000px 0;
  }
}

.box h3 {
  font-size: 28px;
  font-weight: 400;
}

.box .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 40px;
  gap: 18px;
}

.box a {
  text-decoration: none;
  color: #fff;
  padding: 12px 30px;
  border: 2px solid #fff;
  border-radius: 25px;
  margin-right: 15px;
  box-shadow: 0 4px 8px rgba(0, 213, 255, 0.6);
  transition: 0.3s;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.box a:hover {
  background: #299fed;
  color: #000;
}

.box span {
  display: block;
  margin-top: 12px;
  font-size: 18px;
  line-height: 26px;
  color: #e0f7ff;
}

/* -------------------- DIGITAL CLOCK -------------------- */
.currentTime {
  position: absolute;
  bottom: 11%;
  left: 8%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clock {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.clock span {
  font-size: 16px;
  width: 25px;
  display: inline-block;
  text-align: center;
  position: relative;
}

.clock span::after {
  font-size: 10px;
  position: absolute;
  top: 150%;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
}

#hrs::after {
  content: 'HRS';
}
#min::after {
  content: 'MIN';
}
#sec::after {
  content: 'SEC';
}

/* -------------------- SOCIAL ICONS -------------------- */
.social-icons {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.social-icons img {
  width: 30px;
  transition: 0.3s;
}

.social-icons img:hover {
  transform: scale(1.2);
}

/* -------------------- FOOTER -------------------- */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #e0f7ff;
  text-align: center;
  padding: 10px 8px;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  z-index: 10;
  box-shadow: 0 -2px 12px rgba(0, 255, 255, 0.15);
}

footer span {
  color: cyan;
  font-weight: 500;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

footer span:hover {
  color: #00ffff;
  text-shadow: 0 0 8px #00ffff;
}

/* -------------------- MEDIA QUERIES -------------------- */

/* Tablets and below */
@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
    z-index: 20;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 60%;
    height: 100%;
    background: rgba(135, 206, 250, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-left: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.2s ease;
    z-index: 15;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    margin: 20px 0;
    text-align: center;
  }

  .nav-links a {
    font-size: 20px;
    letter-spacing: 1px;
  }

  .box {
    bottom: 22%;
    text-align: center;
  }

  .box h1 {
    font-size: 60px;
  }

  .box h3 {
    font-size: 22px;
  }

  .currentTime {
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    padding: 8px 14px;
  }

  .clock span {
    font-size: 14px;
  }

  .social-icons {
    bottom: 11%;
    gap: 20px;
  }

  .social-icons img {
    width: 26px;
  }

  footer {
    font-size: 13px;
  }
}

/* Mobile devices (portrait) */
@media (max-width: 480px) {

  html, body {
    height: 100%;
    overflow: hidden; 
    position: fixed;  
    width: 100%;
  }

  .container {
    height: 100vh;
    overflow: hidden;
    padding: 0 6%;
  }

  .logo {
    width: 180px;
  }

  .box p {
    font-size: 26px;
  }

  .box h1 {
    font-size: 48px;
    line-height: 64px;
    margin-bottom: 28px; 
  }

  .box h3 {
    font-size: 18px;
    margin-bottom: 20px; 
  }

  .box span {
    margin-top: 15px;
    line-height: 1.6;
  }

  .box {
    bottom: 24%;
    text-align: center;
  }

  .box .row {
    flex-direction: column;
    gap: 16px;
  }

  .box a {
    font-size: 15px;
    padding: 10px 24px;
  }

  .currentTime {
    bottom: 6%;
    width: 80%;
    justify-content: center;
  }

  .clock span {
    font-size: 13px;
    width: 25px;
  }

  footer {
    font-size: 12px;
    padding: 8px 6px;
  }
}


