@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Poppins:wght@400;500;600&display=swap');

/* =========================================
   Reset & Base Styles
   ========================================= */
* {
  box-sizing: border-box;
}

body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: 'Poppins', sans-serif;
  color: #fff; /* Changed default text to white for contrast on bg */
  overflow-x: hidden;
}

/* =========================================
   Background - Scrollable
   ========================================= */
.background-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: auto; /* Allows scrolling of the background image */
  background-color: #f5f5f5; 
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.bg-image {
  display: block;
  /* Revert to original behavior: width 100% fits width. 
     If image is tall, it scrolls vertically. */
  width: 100%;
  height: auto; 
  object-fit: cover;
}

/* =========================================
   Main Layout - Fixed Overlay
   ========================================= */
.main-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none; /* Let touches pass through to background */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: transparent; 
}

/* Ensure interactive elements are clickable */
.site-header,
.site-footer,
.hero-section {
  pointer-events: none; /* Containers shouldn't block scroll */
}

/* Re-enable events on actual content */
.store-btn,
.footer-links a,
.social-links a,
.privacy-container,
.contact-container {
  pointer-events: auto;
  cursor: default; /* Reset cursor for container, specific elements will handle it */
}

/* Optional: Allow text selection, but might block scroll on some devices if they tap text */
.hero-title,
.hero-description,
.copyright {
  pointer-events: auto;
}

/* =========================================
   Header
   ========================================= */
.site-header {
  padding: 2rem 1rem;
  text-align: center;
}

.logo {
  max-width: 180px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); /* Add shadow for visibility */
}

/* =========================================
   Hero Section
   ========================================= */
.hero-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 1.5rem;
  text-align: center;
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff; /* White text */
  margin-bottom: 1rem;
  line-height: 1.2;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); /* Shadow for readability */
}

.hero-description {
  font-size: 1.1rem;
  color: #f0f0f0; /* Off-white */
  margin-bottom: 3rem;
  max-width: 600px;
  line-height: 1.6;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

/* =========================================
   Store Buttons
   ========================================= */
.store-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 320px;
}

.store-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.2); /* Subtle border */
  cursor: pointer;
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.4);
  background-color: #620e70; /* Brand Primary */
  border-color: #620e70;
}

.store-btn i {
  font-size: 2rem;
  margin-right: 0.8rem;
}

.btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.btn-text .small-text {
  font-size: 0.7rem;
  text-transform: uppercase;
}

.btn-text .big-text {
  font-size: 1.2rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}

@media (min-width: 600px) {
  .store-buttons {
    flex-direction: row;
    max-width: none;
    justify-content: center;
  }
}

/* =========================================
   Footer
   ========================================= */
.site-footer {
  padding: 2rem 1rem;
  text-align: center;
  /* Add semi-transparent background to footer for readability of small links */
  background-color: rgba(0, 0, 0, 0.6); 
  backdrop-filter: blur(5px);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: #ddd;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
  cursor: pointer;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.social-links a {
  color: #ddd;
  font-size: 1.5rem;
  transition: color 0.2s, transform 0.2s;
  cursor: pointer;
}

.social-links a:hover {
  color: #841e94; /* Brand Secondary */
  transform: scale(1.1);
}

.copyright {
  font-size: 0.8rem;
  color: #aaa;
}

/* =========================================
   Privacy & Content Container
   ========================================= */
.privacy-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  line-height: 1.6;
  color: #333; /* Keep privacy text dark as it likely needs white bg in its own file */
  font-family: 'Poppins', sans-serif;
  background-color: rgba(255,255,255,0.95); /* Add white background for privacy container */
  border-radius: 8px;
  margin-top: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.privacy-container h1 {
  font-size: 2.5rem;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 600;
}

.privacy-container h2 {
  font-size: 1.8rem;
  color: #1a1a1a;
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #eee;
  font-weight: 500;
}

.privacy-container h3 {
  font-size: 1.4rem;
  color: #1a1a1a;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.privacy-container p {
  margin-bottom: 1rem;
  color: #444;
  font-weight: 400;
}

.privacy-container ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.privacy-container li {
  margin-bottom: 0.5rem;
}

.privacy-container a {
  color: #007bff;
  text-decoration: none;
}

.privacy-container a:hover {
  text-decoration: underline;
}

/* =========================================
   Contact Form Styles
   ========================================= */
.contact-form {
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #333;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #620e70; /* Brand Primary */
  box-shadow: 0 0 0 3px rgba(98, 14, 112, 0.1);
}

.submit-btn {
  display: inline-block;
  background-color: #620e70; /* Brand Primary */
  color: #fff;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  width: 100%;
}

.submit-btn:hover {
  background-color: #481b50; /* Darknight */
}

.submit-btn:disabled {
  background-color: #999;
  cursor: not-allowed;
}

.form-status {
  margin-top: 1rem;
  text-align: center;
  font-weight: 500;
  min-height: 1.5rem;
}

.form-status.success {
  color: #2e7d32;
}

.form-status.error {
  color: #d32f2f;
}

.back-link {
  margin-top: 2rem;
  text-align: center;
}

/* Responsive Design for Privacy & Contact */
@media (max-width: 768px) {
  .privacy-container {
    padding: 1rem;
    margin: 1rem;
  }
  
  .privacy-container h1 {
    font-size: 2rem;
  }
  
  .privacy-container h2 {
    font-size: 1.6rem;
  }
  
  .privacy-container h3 {
    font-size: 1.2rem;
  }
}

/* Dark Mode Support for Privacy & Contact */
@media (prefers-color-scheme: dark) {
  .privacy-container {
    color: #e0e0e0;
    background-color: rgba(30, 30, 30, 0.95);
  }
  
  .privacy-container h1,
  .privacy-container h2,
  .privacy-container h3 {
    color: #ffffff;
  }
  
  .privacy-container p, 
  .form-group label {
    color: #cccccc;
  }
  
  .privacy-container a {
    color: #4da6ff;
  }

  .form-group input,
  .form-group textarea {
    background-color: #444;
    border-color: #555;
    color: #fff;
  }

  .form-group input:focus,
  .form-group textarea:focus {
    border-color: #841e94; /* Brand Secondary */
  }
}
