/* General styles */

/* ====== Global Reset ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #111;
  color: white;
  background: url('../Images/Home/CaptainAmunCover3.jpg') no-repeat center center fixed;
  background-size: cover;
}

/* ====== NAV BAR BASE ====== */
.nav-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.75); /* darker matte glass */
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 3px 15px rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  z-index: 1000;
}

/* ====== Brand Styling ====== */
.brand {
  font-size: 1.6rem;
  font-weight: bold;
  color: white;
  text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

/* ====== Menu Button (hamburger) ====== */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
}

/* ====== Navigation Links ====== */
nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

nav a,
nav button {
  background: transparent;
  border: none;
  color: white;
  padding: 8px 14px;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
}

/* Hover turns red background */
nav a:hover,
nav button:hover {
  background: red;
  box-shadow: 0 0 8px rgba(255, 0, 0, 0.8);
}

/* Active nav link in fancy red */
#active-nav-link {
  background: linear-gradient(45deg, #ff0000, #cc0000);
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.9);
}

/* ====== Cart Icon Badge ====== */
.cart-icon {
  position: relative;
}

#cart-count {
  position: absolute;
  top: -6px;
  right: -10px;
  background: red;
  color: white;
  font-size: 0.7rem;
  padding: 2px 5px;
  border-radius: 999px;
  box-shadow: 0 0 6px rgba(255,0,0,0.8);
}

/* ====== SMALL SCREEN STYLE ====== */
@media (max-width: 768px) {
  /* Show burger */
  .menu-toggle {
    display: block;
    color: red;

  }

  /* Hide menu initially */
  nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 220px;
    position: absolute;
    top: 60px;
    left: 0;
    background: rgba(20,20,20,0.95);
    backdrop-filter: blur(8px);
    padding: 10px;
    border-radius: 0 8px 8px 0;
    box-shadow: 2px 2px 12px rgba(0,0,0,0.8);
  }

  /* Add a class in JS to toggle menu */
  nav.show {
    display: flex;
  }

  /* Brand stays top left */
  .nav-container {
    justify-content: space-between;
  }
}

/* ====== LARGE SCREEN STYLE ====== */
@media (min-width: 769px) {
  .nav-container {
    flex-wrap: nowrap;
  }

  .menu-toggle {
    display: none;
  }

  nav {
    flex-direction: row;
    position: static;
    background: transparent;
    box-shadow: none;
  }
}

.highlight {
  animation: flash 0.7s ease-in-out;
  border-radius: 8px;
}

@keyframes flash {
  0%   { background-color: #DA0037; box-shadow: 0 0 10px red; }
  100% { background-color: transparent; box-shadow: none; }
}

/* Tooltip style for ESD & EHD */
a.tooltip {
  position: relative;
}

/* Tooltip box */
a.tooltip::after {
  content: attr(data-tip);
  position: absolute;
  bottom: -35px;           /* position under the link */
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.8);
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: bold;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 999;
}

/* Show tooltip on hover */
a.tooltip:hover::after {
  opacity: 1;
}

/* Container and Layout */
.container {
  max-width: 1400px;       /* Limit container width on large screens */
  margin: 0 auto;          /* Center container */
  padding: 0 20px;         /* Padding from edges */
}

.content-wrapper {
  margin-top: 70px;
  display: flex;
  flex-wrap: wrap;         /* Allow wrapping for smaller screens */
  gap: 40px;               /* Gap between left and right columns */
  justify-content: center; /* Center columns horizontally */
}

.left-column {
  flex: 1 1 65%;           /* Flexible width, around 65% */
  min-width: 300px;        /* Minimum width for small screens */
  max-width: 900px;        /* Maximum width for large screens */
  overflow-y: auto;        /* Enables vertical scroll */
  scroll-behavior: smooth;
  padding: 15px;
  margin: 5px;
  background: linear-gradient(
    135deg,
    rgba(5, 5, 5, 0.65),
    rgba(18, 18, 20, 0.65),
    rgba(30, 30, 32, 0.65),
    rgba(45, 45, 50, 0.65),
    rgba(80, 80, 85, 0.65),
    rgba(120, 120, 125, 0.65),
    rgba(160, 160, 165, 0.65)
  );
  border-radius: 20px;
}

.left-column:hover {
  transition: 0.5s;
  box-shadow: 0 0 40px rgba(149, 1, 1, 0.4);
}

.brandName {
  font-size: 32px;
  font-weight: 700;
  color: white;
  padding: 1.5rem 3rem;
  border-radius: 18px;
  text-align: center;

  /* Updated background for semi-transparency */
  background: linear-gradient(145deg, rgba(34, 34, 34, 0.7), rgba(0, 0, 0, 0.7));

  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.7),
              0 0 20px rgba(255, 255, 255, 0.15);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);

  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);

  transition: transform 0.2s ease, box-shadow 0.3s ease;
  margin-bottom: 2%;
}

.brandName:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(255, 0, 0, 0.4);
}

.HomeParagraph {
  background: rgba(40, 40, 40, 0.3); /* darker, space gray tone */
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 20px;
  padding: 25px;
  min-height: 60vh;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08); /* softer border */
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5); /* deeper, darker shadow */
  color: #f1f1f1; /* brighter text for contrast */
  max-height: 400px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #c41515 transparent;
}


.HomeParagraph:Hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(255, 0, 0, 0.4);
}

.HomeParagraph p {
    font-size: 1.1rem;
    text-align: justify;
}

/* Custom Scrollbar */
.HomeParagraph::-webkit-scrollbar {
    width: 10px;
}

.HomeParagraph::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

.HomeParagraph::-webkit-scrollbar-thumb {
  background: #950101;
  border-radius: 10px;
}

.HomeParagraph::-webkit-scrollbar-thumb:hover {
  background: #c41515;
}

.HomeParagraph ul, ol, li {  
  text-align: justify;
  padding-left: 10px;
  padding-right: 15px;
  margin-bottom: 15px;
}


.ReportMainTitle {
  padding: 12px 20px;
  background: linear-gradient(145deg, rgba(50, 20, 0, 0.55), rgba(90, 40, 0, 0.55));
  border-radius: 12px;
  backdrop-filter: blur(12px);
  border-left: 4px solid #ff7a2f;
  box-shadow: 0 6px 18px rgba(120, 50, 10, 0.35);
  color: #ffeedd;
}

.EDN h2, .ReportMainTitle h2 {
  padding: 10px;
}

/* Report Cards Grid */
.report-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  align-items: stretch;
  margin-top: 50px;
}

.reportCard {
  background: rgba(40, 20, 0, 0.55);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 180, 120, 0.15);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 10px 40px rgba(140, 60, 20, 0.35);
  color: #fff4e6;
  transition: 0.3s ease;
  cursor: pointer;
}

.reportCard:hover {
  transform: translateY(-5px);
  background: rgba(55, 30, 5, 0.75);
  box-shadow: 0 16px 50px rgba(160, 70, 20, 0.45);
  transform: translateY(-4px);
}

.report-card-title {
  background: rgba(255, 255, 255, 0.07);
  border-left: 5px solid #ff7a2f;
  color: #ffffff;
  padding: 10px;
  border-radius: 10px;
}

.right-column {
  flex: 1 1 30%;           /* Flexible width, around 30% */
  min-width: 250px;        /* Minimum width for small screens */
  max-width: 450px;        /* Maximum width for large screens */
  overflow: hidden;
  margin: 5px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 30px;
  color: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.right-column:hover {
  transition: 0.5s;
  box-shadow: 0 14px 30px rgba(255, 0, 0, 0.4);
}

.form-group h3 {
  background: rgba(23, 23, 23, 0.6);
  display: inline-block;
  border-radius: 30px;
  padding: 15px;
}

/* Form Styling */
.form-group {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 10px; 
}

.form-group:Hover {
  transition: 0.5s;
  box-shadow: 0 14px 30px rgba(255, 0, 0, 0.4);}

.form-group input {
  width:100%;
  padding: 10px;
  margin: 10px 0;
  font-size: 16px;
  border: none;
  border-radius: 10px;
  background-color: #171717;
  color: white;
} 

.form-group button {
  width: 100%;
  padding: 10px 20px;
  background-color: #171717;
  color: white;
  font-size: large;
  font-weight: bold;
  border-color: #950101;
  border-radius: 9px;
  cursor: pointer;
  transition: 0.3s;
  
}

button:hover {
    background-color: #950101;
    font-weight: bold;
    transform: scale(1.02);
}

#welcomeMessage {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70px;
  font-size: 20px; 
  margin: 10px;
  padding: 20px;
  max-width: fit-content;

  background: rgba(255, 255, 255, 0.1); /* Glassy base */
  backdrop-filter: blur(10px);          /* Blurry background */
  -webkit-backdrop-filter: blur(10px);  /* Safari support */
  border: 4px solid rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  border-color: #393E46;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  display: none;
}

#welcomeMessage[hidden] {
  display: none;
}

#welcomeMessage:Hover {
  transition: 0.5s;
  box-shadow: 0 0 40px rgba(149, 134, 1, 0.4);
}

.donation-section {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
}

.donation-section h3 {
  background: rgba(23, 23, 23, 0.6);
  display: inline-block;
  border-radius: 30px;
  padding: 15px;
}

.donation-section:Hover {
  transition: 0.5s;
  box-shadow: 0 0 30px rgba(149,1,1,0.4);
}

.donation-section button {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  margin: 10px 0;
  border: none;
  border-radius: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

 .bitcoin{
    background: linear-gradient(90deg, #f5d742, #e67e22);
    color: #1a1a2e;
}

 .bitcoin:Hover {
    background-color: #c08b11;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.4);
    transform: scale(1.02);    
}

.paypal {
    background: linear-gradient(90deg, #f5d742, #e67e22);
    color: #1a1a2e;
}

.paypal:Hover {
    background-color: #c08b11;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.4);
    transform: scale(1.02);   
}

.stripe {
  background-color: #635bff;
  color: white;
}

.stripe:Hover {
    background-color: #5409DA;
    font-weight: bold;
    transform: scale(1.02);
}


.ethereum {
  background: linear-gradient(135deg, #ffffff, #c0c0c0, #808080);
  color: black;
}

.ethereum:Hover {
  background-color: #334756;  
  font-weight: bold;
  transform: scale(1.02);
}
.donation-section code {
  word-break: break-word;
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: #ccc;
}

.qr {
  display: block;
  width: 100%;
  max-width: 120px;
  border-radius: 10px;
  margin-top: 10px auto;
}
#btcAddress, #ethAddress {
  display: none;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .content-wrapper {
    gap: 30px;             /* Slightly smaller gap on medium screens */
  }
}

@media (max-width: 992px) {
  .content-wrapper {
    flex-wrap: wrap;        /* Allow columns to wrap */
    justify-content: center;
  }
  .left-column,
  .right-column {
    flex: 1 1 100%;         /* Columns stack vertically */
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 15px;          /* Reduce edge padding on small screens */
  }
  .left-column,
  .right-column {
    flex: 1 1 100%;         /* Stack columns vertically */
    max-width: 100%;
    margin: 0 auto;         /* Center columns */
  }
}

/* bottom cards */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
  padding: 20px;
}


.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
  width: 100%;
}

.grid-container > .card-link {
  display: flex;
}

.card {
  flex: 1;
  position: relative;
  overflow: hidden;
  border: 4px solid red;
  box-shadow: red;
  border-radius: 12px;
  transition: transform 0.3s ease, filter 0.3s ease, z-index 0.3s ease;
  z-index: 1;
}

.card:hover {
  transform: scale(1.05);
  filter: brightness(0.7);
  z-index: 10;
  
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card > img:hover {
    transition: 2s;
    filter: brightness(10%);
}

.card-overlay {
  margin: 5px;
  padding: 3px 10px;
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #ffffff;
  font-weight: bold;
  background: rgba(255, 255, 255, 0.15); /* frosted white */
  backdrop-filter: blur(12px);           /* glass blur effect */
  -webkit-backdrop-filter: blur(12px);   /* Safari support */
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25); 
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4); 
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* subtle depth */
}


.card-overlay img.icon {
  width: 30px;
  height: 30px;
}

/* Popup Overlay */
.reportPopup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 5, 10, 0.65); /* deep space black */
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

/* Popup Window */
.report-popup-content {
  background: rgba(255, 255, 255, 0.07); /* frosted white glass */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 30px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;

  /* premium metallic border + glass glow */
  border: 1px solid rgba(180, 180, 180, 0.25);
  box-shadow:
    0 0 20px rgba(0, 0, 0, 0.7),
    0 0 30px rgba(255, 255, 255, 0.08);

  color: #f5f5f5;
  position: relative;
}

/* Title */
.report-popup-content h3 {
  color: #ffffff;
  margin-bottom: 20px;
  font-size: 1.6rem;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.8),
    0 0 6px rgba(255, 255, 255, 0.25);
}

/* Description text */
.report-popup-content p {
  text-align: justify;
  margin-bottom: 20px;
  line-height: 1.7;
  color: #e6e6e6;
}

/* Inputs */
input, textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: none;
  border-radius: 10px;

  /* Space Gray glass */
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

input::placeholder,
textarea::placeholder {
  color: rgba(230, 230, 230, 0.55);
}

/* Button */
.report-form button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;

  /* Graphical black gradient */
  background: linear-gradient(
    135deg,
    #0d0d0d 0%,
    #1f1f1f 50%,
    #2a2a2a 100%
  );

  color: #ffffff;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;

  transition: all 0.3s ease;

  box-shadow:
    0 0 10px rgba(0, 0, 0, 0.6),
    inset 0 0 10px rgba(255, 255, 255, 0.05);
}

.report-form button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 15px rgba(255, 255, 255, 0.25),
    0 0 30px rgba(0, 0, 0, 0.8);
}

/* Close Button */
.closeReport {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #eaeaea;
  cursor: pointer;
  transition: all 0.3s ease;

  text-shadow:
    0 0 6px rgba(255, 255, 255, 0.4),
    0 0 12px rgba(0, 0, 0, 0.5);
}

.closeReport:hover {
  color: #ffffff;
  transform: scale(1.15);
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.7),
    0 0 15px rgba(0, 0, 0, 0.7);
}



/* Responsive Styles */
@media (max-width: 1024px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .right-column {
        width: 100%;
        margin-top: 30px;
    }
    
    .brandName h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .brandName h1 {
        font-size: 1.8rem;
    }
    
    .report-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .HomeParagraph, .form-group, .donation-section {
        padding: 20px;
    }
}

