/* ROOT VARIABLES */
:root {
  --bg-primary: #F8F6F0; /* Warm cream */
  --bg-secondary: #EBE7DD; /* Darker cream */
  --bg-dark-green: #213921; /* Deep green for footer/support */
  
  --text-main: #2C2C2C; /* Charcoal */
  --text-light: #F8F6F0;
  --text-muted: #5C5C5C;
  
  --accent-green: #4E7145; /* Soft olive green */
  --accent-orange: #E68A45; /* Muted orange/gold */
  --white: #FFFFFF;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'Playfair Display', serif;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.08);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

.bg-secondary {
  background-color: var(--bg-secondary);
}

section {
  padding: 7rem 0;
}

/* TYPOGRAPHY */
h1 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.05;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 2.5rem;
}

h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

h5 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--accent-green);
  margin-bottom: 0.25rem;
}

.section-subtitle {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--accent-green);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

.section-subtitle-light {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

/* NAVIGATION */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem 5%;
  z-index: 1000;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  position: fixed;
  background-color: rgba(248, 246, 240, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.2rem 5%;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: 0.02em;
  transition: color 0.4s ease;
}

.logo svg {
  color: var(--accent-orange);
}

.navbar.scrolled .logo {
  color: var(--text-main);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.4s ease, opacity 0.3s ease;
}

.navbar.scrolled .nav-links a {
  color: var(--text-main);
}

.nav-links a:hover {
  color: var(--accent-green);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.btn-primary {
  background-color: var(--accent-orange);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(230, 138, 69, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 138, 69, 0.4);
}

.btn-outline {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: var(--white);
}

/* HERO SECTION */
.hero {
  position: relative;
  height: 90vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-image: url('assets/gallery/update-2026-04-17.JPG');
  background-size: cover;
  background-position: center;
  padding: 0 5%;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.5) 48%, rgba(0, 0, 0, 0.18) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-top: 4rem;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 300;
  max-width: 550px;
  margin-bottom: 3rem;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-edge {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 48px;
  color: var(--bg-primary);
  z-index: 3;
}

.hero-edge svg {
  width: 100%;
  height: 100%;
}

/* ABOUT SECTION */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text {
  max-width: 500px;
}

.about-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.signature {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--accent-green) !important;
  margin-top: 2rem;
}

.about-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.about-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s ease;
}

.about-img:nth-child(2) {
  transform: translateY(2rem);
}

.about-img:hover {
  transform: translateY(-5px);
}
.about-img:nth-child(2):hover {
  transform: translateY(calc(2rem - 5px));
}

/* HELPS SECTION */
.helps-grid-elegant {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
  text-align: center;
}

.help-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.help-icon-wrap {
  color: var(--accent-green);
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.help-item p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 0;
}

/* LATEST UPDATES */
.updates-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.update-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.update-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.update-img-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.update-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.update-card:hover .update-img-wrap img {
  transform: scale(1.05);
}

.update-info {
  padding: 1.5rem;
}

.update-date {
  font-size: 0.8rem;
  color: var(--accent-green);
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

.update-info p {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.5;
  margin-bottom: 0;
}

/* GALLERY SECTION */
.gallery-section {
  padding-bottom: 8rem;
}

.masonry-grid {
  column-count: 1;
  column-gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 600px) {
  .masonry-grid {
    column-count: 2;
  }
}

@media (min-width: 900px) {
  .masonry-grid {
    column-count: 3;
  }
}

.masonry-grid img {
  width: 100%;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  cursor: pointer;
  break-inside: avoid;
  display: block;
}

.masonry-grid img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

/* BITCOIN SUPPORT SECTION (DARK) */
.support-dark-section {
  background-color: var(--bg-dark-green);
  color: var(--white);
  padding: 8rem 0;
}

.support-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.support-text h2 {
  color: var(--white);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.support-text p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  max-width: 400px;
}

.support-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.crypto-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.crypto-card-header {
  text-align: center;
  padding: 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.crypto-card-header h4 {
  margin: 0;
  color: var(--accent-green);
}

.crypto-card-body {
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
}

.crypto-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  color: var(--white);
}

.btc-icon { background-color: #F7931A; }
.ln-icon { background-color: #F6C800; }

.qr-image {
  width: 150px;
  height: 150px;
  margin: 0 auto 1.5rem auto;
  border: 1px solid rgba(0,0,0,0.1);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
}

.address-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.address-text {
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--text-main);
  word-break: break-all;
  background-color: var(--bg-primary);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
}

.payment-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.btn-copy,
.btn-wallet {
  background-color: transparent;
  border: 1px solid var(--accent-green);
  color: var(--accent-green);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  text-transform: uppercase;
}

.btn-copy:hover,
.btn-wallet:hover,
.btn-copy.copied {
  background-color: var(--accent-green);
  color: var(--white);
}

.btn-copy.copying {
  background-color: var(--bg-secondary);
  color: var(--text-main);
}

.btn-copy.copy-error {
  background-color: var(--accent-orange);
  border-color: var(--accent-orange);
  color: var(--white);
}

.copy-status {
  min-height: 1rem;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.thank-you-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* BOTTOM INFO ROW */
.bottom-info-section {
  padding: 4rem 0;
}

.info-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.info-box {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-green);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.info-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

.info-box a {
  color: var(--text-main);
  font-weight: 500;
}

.info-box a:hover {
  color: var(--accent-green);
}

/* FOOTER */
.main-footer {
  background-color: #1A2E1A; /* Even darker green */
  color: rgba(255, 255, 255, 0.6);
  padding: 2rem 0;
  font-size: 0.85rem;
}

/* ANIMATIONS */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.appear {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .about-images {
    margin-top: 2rem;
  }
  
  .support-split {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .support-text p {
    margin: 0 auto;
  }
  
  .info-row {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hero {
    background-position: center; /* Adjust focus on mobile */
  }
  
  .hero-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.7) 100%);
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }

  .helps-grid-elegant {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .helps-grid-elegant .help-item:last-child {
    grid-column: span 2;
  }

  .updates-grid-4 {
    grid-template-columns: 1fr;
  }
  
  .support-cards {
    grid-template-columns: 1fr;
  }
}
/* End of CSS */
