/* style.css */

/* ---------------------------------------------
   GLOBAL RESET & BASE
   --------------------------------------------- */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
  background: url('images/background.jpg') no-repeat center center fixed;
  background-size: cover;
  position: relative;
  color: #333;
}

/* Dark overlay for contrast on homepage */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/* ---------------------------------------------
   HOMEPAGE: full-screen centered content
   --------------------------------------------- */
.content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: 20px;
}

/* Logo zoom animation */
.logo {
  width: 600px;
  max-width: 90%;
  animation: zoom 5s ease-in-out infinite;
}
@keyframes zoom {
  0%, 100% { transform: scale(1); }
  50%     { transform: scale(1.1); }
}

/* App Store & Play Store buttons */
.store-buttons {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.store-buttons a img {
  width: 450px;
  max-width: 40%;
  margin: 10px;
  transition: transform 0.3s;
}
.store-buttons a img:hover {
  transform: scale(1.05);
}

/* Footer styling (semi-transparent block) */
footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}
.footer-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
}
.footer-content p {
  margin: 4px 0;
  font-size: 14px;
  line-height: 1.4;
  color: #fff;
}
.footer-content a {
  color: #fff;
  text-decoration: underline;
}

/* ---------------------------------------------
   PRIVACY PAGE OVERRIDES
   (used only when body has class="privacy")
   --------------------------------------------- */
body.privacy .content {
  position: static;
  display: block;
  max-width: 800px;
  margin: 40px auto;
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 8px;
  color: #333;
  text-align: left;
  z-index: auto;
}
body.privacy .content h1,
body.privacy .content h2 {
  color: #f75d39;
}
body.privacy .content ul {
  margin-left: 1.2em;
  list-style: disc;
}
body.privacy .content hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 2em 0;
}

/* ---------------------------------------------
   MODAL STYLES
   --------------------------------------------- */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
}
.modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border-radius: 8px;
  max-width: 400px;
  text-align: center;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  color: #333;
}

/* ---------------------------------------------
   RESPONSIVE BREAKPOINTS
   --------------------------------------------- */
@media (max-width: 1200px) {
  .logo { width: 400px; }
}
@media (max-width: 768px) {
  .logo { width: 300px; }
  .store-buttons a img { width: 120px; }
}
@media (max-width: 480px) {
  .logo { width: 200px; }
  .store-buttons a img { width: 100px; }
  .footer-content { padding: 15px; }
  .footer-content p { font-size: 12px; }
  body.privacy .content {
    margin: 20px 10px;
    padding: 15px;
  }
  body.privacy .content p,
  body.privacy .content ul li {
    font-size: 0.95rem;
  }
}
