/* Global Styles */
body {
  font-family: Arial, sans-serif;
  background-color: #ffffff;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Hero Section */
.cover-section {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: #ffffff;
}

/* Video Styling */
.cover-section video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover; /* Default: Fullscreen Fit */
  margin-top: 10px;
}

/* Overlay */

/* 📱 Mobile Optimization */
@media (max-width: 768px) {
  .cover-section {
    height: 80vh; /* Adjust height for better proportion */
  }

  .cover-section video {
    width: auto;
    height: 100%;
    object-fit: contain; /* Prevents cropping and maintains proportions */
  }
}

/* Home Section */
.home-section {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #000000, #1e1e1e);
  color: #ffffff;
  min-height: calc(100vh - 120px);
}

.content-container {
  max-width: 800px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  background-color: #121212;
  border-radius: 10px;
}

.title1 {
  font-size: 3rem;
  font-style: italic;
  color: #ffffff; /* WAR red */
  font-family: Arial, Helvetica, sans-serif;

  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000,
    1px 1px 0 #000; /* Black outline for "WAR" */
}

.home-section h1 {
  font-size: 3rem;
  font-style: italic;
  color: #d11010; /* WAR red */
  font-family: Arial, Helvetica, sans-serif;

  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000,
    1px 1px 0 #000; /* Black outline for "WAR" */
}

.home-section p {
  font-size: 1.4rem;
  line-height: 1.8;
  color: #ffffff;
  margin-bottom: 30px;
}

.slogan {
  font-size: 1.6rem;
  font-weight: bold;
  color: #b30000;
  margin-top: -15px;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
}

.red {
  color: red;
}
.book-thumbnail {
  margin: 20px 0;
}

.book-thumbnail img {
  width: 300px;
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-thumbnail img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.8);
}

.cta-button {
  display: inline-block;
  background-color: #ff0000;
  color: #ffffff;
  padding: 15px 30px;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: transform 0.3s, background-color 0.3s;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.cta-button:hover {
  background-color: #d32f2f;
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}

/* Footer Styles */
.footer {
  background-color: #ff0000;
  color: white;
  padding: 30px 0;
  border-top: 2px solid crimson;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-left,
.sib-form {
  flex: 1;
  max-width: 500px;
}

.footer-left {
  background-color: #222;
  color: white;
  padding: 20px;
  border-radius: 10px;
}

.footer-left h3 {
  font-size: 1.6em;
  margin-bottom: 10px;
  color: #ff1919;
  border-bottom: 2px solid #ff1919;
  padding-bottom: 5px;
}

.footer-left p,
.footer-left a {
  font-size: 1.1em;
  color: white;
  line-height: 1.6;
  margin: 8px 0;
  text-decoration: none;
}

.footer-left a:hover {
  color: #ff1919;
  text-decoration: underline;
}

/* LinkedIn Icon Styling */
.linkedin-link {
  display: flex;
  align-items: center;
}

.linkedin-icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
}

.footer-bottom p {
  font-size: 1.2em;
  color: white;
  margin-bottom: 20px;
}

.map-container iframe {
  border-radius: 10px;
  width: 100%;
}

/* Newsletter Form */
.sib-form {
  text-align: center;
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.newsletter-logo {
  width: 100px;
  margin-bottom: 15px;
}

.newsletter-title {
  font-size: 24px;
  font-weight: bold;
  color: #ff1919;
  margin-bottom: 5px;
}

.newsletter-subtitle {
  font-size: 14px;
  color: #333;
  margin-bottom: 15px;
}

.sib-form input[type="email"] {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.sib-form-block__button {
  background-color: #ff1919;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
}

.sib-form-block__button:hover {
  background-color: #b30000;
}

/* Checkbox Styling */
.checkbox-container {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.checkbox-container input[type="checkbox"] {
  margin-right: 10px;
}

.checkbox-label {
  font-size: 0.9em;
  color: #333;
}

/* Section Reveal Animation */
.section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    margin-bottom: 10px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .map-container iframe {
    height: 250px;
  }
}

/* General Button Styling */

#disconnectWalletButton,
#donateButton {
  background-color: #ff0000;
  color: #ffffff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  font-weight: bold;
  margin-left: 10px;
  transition: background-color 0.3s;
}

/* Modal Styling */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
}

.modal-content {
  background-color: #ffffff;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close-button {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-button:hover,
.close-button:focus {
  color: #000;
  text-decoration: none;
}

.modal-content label {
  display: block;
  margin: 10px 0 5px;
  font-weight: bold;
}

.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.modal-content button {
  background-color: #ff0000;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

.modal-content button:hover {
  background-color: #d32f2f;
}
