/* Global Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #333;
}

/* Header Styles with Banner */
header {
  background-color: #f8f8f8;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.banner {
  
  position: relative;
  width: 100%;
  max-height: 300px;
  overflow: hidden;
}

.banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* semi-transparent overlay */
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.banner-overlay h1 {
  font-size: 48px;
  margin: 0;
  padding: 0 20px;
  font-family: 'Orbitron', sans-serif;
}

.banner-overlay p {
  font-size: 24px;
  margin-top: 10px;
  padding: 0 20px;
}

/* Navigation */
nav ul {
  list-style: none;
  padding: 0;
  text-align: center;
  margin: 10px 0;
}

nav ul li {
  display: inline;
  margin: 0 15px;
}

nav ul li a {
  color: #333;
  text-decoration: none;
  font-weight: bold;
}

#countdown1 {
  background-color: #ddd;
  display: flex;
  justify-content: center;
  padding: 20px;
  font-size: 45px;
  font-weight: bold;
  font-family: 'Orbitron', sans-serif;
}
.label {
  font-size: 18px;
  font-weight: normal;
}
#countdown1 div {
  margin: 0 10px;
}
.seconds {
  color: red;
}

/* Footer Styles */
footer {
  background-color: #f8f8f8;
  padding: 20px;
  text-align: center;
  margin-top: 40px;
  box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
  color: #777;
}

/* Form Container (for index.php and contact.php) */
.form-container {
  max-width: 500px;
  margin: 40px auto;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 14px rgba(1,1,1,0.5);
}

/* Form Elements */
.form-container h1 {
  font-family: 'Orbitron', sans-serif;
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

.form-container label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #555;
}

.time-display {
  width: 96%;
  padding: 2px;
  margin-bottom: 1px;  
  border-radius: 4px;
  font-size: 2px;
  color: #333;
}

.form-container select {
  width: 100%;
  padding: 10px;
  margin-bottom: 5px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  color: #333;
}
.form-container select:focus {
  border-color: #5ab4f8;
  box-shadow: 0 0 5px rgba(90, 180, 248, 0.5);
  outline: none;
}
.form-container input,
.form-container textarea {
  width: 96%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

.form-container input:focus,
.form-container textarea:focus {
  border-color: #5ab4f8;
  box-shadow: 0 0 5px rgba(90, 180, 248, 0.5);
  outline: none;
}

.form-container button {
  width: 100%;
  padding: 12px;
  background-color: #5ab4f8;
  border: none;
  border-radius: 4px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-container button:hover {
  background-color: #469ee9;
}

/* Countdown Timer Styles for timer.php */
#countdown {
  font-size: 34px;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

#expireMessage {
  font-size: 24px;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

#playSound {
  font-size: 64px;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 2px;
  margin-bottom: 20px;
  width: 10%;
  align-items: end;
  align-self: flex-end;
  size: 30px;
} 
#timeName {
  font-size: 16px;
  margin-bottom: 30px;
}
#targetDate {
  font-size: 16px;
  margin-bottom: 30px;
}
#timezone {
  font-size: 16px;
  margin-bottom: 30px;
}

#timerName1 {
  padding: 12px;
  font-size: 26px;
  margin-top: 30px;
  margin-bottom: 20px;
  background-color: #dae0e6;
}

/* Shareable Link Styles */
.share-link-container {
  margin-top: 30px;
}

input#shareableLink {
  width: 80%;
  font-size: 18px;
  padding: 8px;
  margin-bottom: 20px;
}

button#copyButton {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  background-color: #5ab4f8;
  border: none;
  border-radius: 4px;
  color: #fff;
  transition: background-color 0.3s ease;
}

button#copyButton:hover {
  background-color: #469ee9;
}

/* Responsive Design for Mobile Devices */
@media screen and (max-width: 768px) {
  
  /* Make header text smaller */
  .banner-overlay h1 {
    font-size: 32px;
  }
  
  .banner-overlay p {
    font-size: 18px;
  }

  /* Countdown Timer Responsive */
  #countdown1 {
    font-size: 24px;
    padding: 10px;
    flex-direction: column;
    text-align: center;
  }

  #countdown {
    font-size: 24px;
    text-align: center;
  }

  /* Reduce margin for better fit */
  #countdown1 div {
    margin: 5px;
  }

  /* Adjust input fields and form elements */
  .form-container {
    width: 90%;
    margin: auto;
    padding: 15px;
  }

  .form-container input,
  .form-container select,
  .form-container textarea {
    width: 100%;
    font-size: 14px;
  }

  /* Adjust Button Size */
  .form-container button {
    font-size: 14px;
    padding: 10px;
  }

  /* Shareable Link Section */
  .share-link-container {
    text-align: center;
  }

  input#shareableLink {
    width: 100%;
    font-size: 14px;
  }

  button#copyButton {
    font-size: 14px;
    padding: 8px;
  }
  
}
/* Additional Responsive Styles for Mobile Devices (max-width: 480px) */
@media screen and (max-width: 480px) {
  /* Countdown Timer Container Adjustments */
  #countdown1 {
    font-size: 28px;
    padding: 10px;
    flex-direction: column;
    text-align: center;
  }

  #countdown1 div {
    margin: 5px 0;
  }

  /* Timer Display Adjustments */
  #countdown {
    font-size: 24px;
    letter-spacing: 1px;
    text-align: center;
  }

  #expireMessage {
    font-size: 20px;
    letter-spacing: 1px;
    text-align: center;
  }

  #playSound {
    font-size: 48px;
    width: 30%;
    margin: 0 auto;
    display: block;
  }

  /* Timer Name and Date Info */
  #timeName,
  #targetDate,
  #timezone {
    font-size: 14px;
    margin-bottom: 15px;
  }

  #timerName1 {
    font-size: 20px;
    padding: 8px;
    margin-top: 20px;
    margin-bottom: 15px;
  }

  /* Shareable Link Section */
  .share-link-container {
    text-align: center;
    margin-top: 20px;
  }
  
  input#shareableLink {
    width: 100%;
    font-size: 16px;
    padding: 6px;
    box-sizing: border-box;
  }
  
  button#copyButton {
    font-size: 14px;
    padding: 8px 16px;
  }
}

@media screen and (max-width: 480px) {
  #countdown1 {
    font-size: 28px !important;
    padding: 10px !important;
    flex-direction: column !important;
    text-align: center !important;
  }
  
  #countdown1 div {
    margin: 5px 0 !important;
  }
}

/* --- Futuristic Color Scheme Enhancements for Light Theme --- */

/* Titles & Banner */
h1,
.banner-overlay h1 {
  color: #007acc; /* A futuristic blue */
  text-shadow: 1px 1px 3px rgba(0, 122, 204, 0.6);
}

/* Timer Name (Futuristic Gold Accent) */
#timerName1 {
  background-color: #f0f0f0;
  color: #0000ff;  /* Gold accent */
  text-shadow: 1px 1px 4px rgba(255, 204, 0, 0.6);
  padding: 10px;
  border-radius: 4px;
}

/* Countdown Timer Display (Neon Green Glow) */
#countdown, 
#countdown1 {
  color: #0b0b0b;  /* black */
  text-shadow: 1px 1px 5px rgba(51, 204, 51, 0.7);
}

/* Expire Message (Bright Red) */
#expireMessage {
  color: #ff3366;
  text-shadow: 1px 1px 4px rgba(255, 51, 102, 0.6);
}

/* Form Container & Input Fields - Keep Light Background with Futuristic Accents */
.form-container {
  background: #fff;
  border: 2px solid #007acc;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 122, 204, 0.2);
}

.form-container input,
.form-container select,
.form-container textarea {
  background: #fff;
  border: 1px solid #007acc;
  color: #333;
}

.form-container input:focus,
.form-container select:focus,
.form-container textarea:focus {
  border-color: #33cc33;
  box-shadow: 0 0 8px rgba(51, 204, 51, 0.5);
  outline: none;
}

/* Shareable Link Section */
.share-link-container input#shareableLink {
  background: #fff;
  border: 1px solid #007acc;
  color: #333;
  font-size: 16px;
  padding: 8px;
  width: 100%;
  box-sizing: border-box;
}

.share-link-container button#copyButton {
  background-color: #007acc;
  border: none;
  color: #fff;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.share-link-container button#copyButton:hover {
  background-color: #33cc33;
}

/* Navigation & Footer (Light with Accent Colors) */
nav ul li a {
  color: #0b0b0b;;
  text-shadow: 1px 1px 3px rgba(0, 122, 204, 0.5);
}

footer {
  background-color: #f8f8f8;
  color: #007acc;
  text-shadow: 1px 1px 3px rgba(0, 122, 204, 0.5);
}

/* Optional: Minor Global Adjustments */
body {
  background-color: #fff;
  color: #333;
}
