/* ===== CSS Variables ===== */
:root {
  --primary-bg: #000000;
  --secondary-bg: rgba(208, 185, 185, 0.2);
  --text-color: #ffffff;
  --accent-color: #4a6b3d;
  --card-shadow: 4px 4px 4px #4a6b3d(0, 0, 0, 0.44);
  --popup-shadow: 4px 4px 40px 10px rgba(208, 185, 185, 0.2);
  --transition-speed: 0.3s;
  --main-font: 'adobe-garamond-pro', serif;
  --font-size-lg: 48px;
  --font-size-md: 24px;
  --font-size-sm: 18px;
  --space-sm: 10px;
  --space-md: 20px;
  --space-lg: 30px;
}

/* ===== Landing Screen ===== */
.landing-screen {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, #062d18 0%, #02150c 70%, #000 100%);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease;

}

.landing-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #e5e5e5;
  transform: translateY(-5%); 
}


.landing-logo {
  width: 500px;
  max-width: 70vw;
  margin-bottom: 40px;
  opacity: 0.95;

}

.enter-button {
  padding: 14px 32px;
  font-size: 16px;
  font-family: var(--main-font);
  color: #062d18;
  background: #fff;
  border: 1.5px solid #062d18;
  border-radius: 3px;
  cursor: pointer;
  letter-spacing: 2px;
  transition: all 0.3s ease;

}

.enter-button:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: #c4c4c4;

}

.landing-subtitle {
  font-family: var(--main-font);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 4px;
  margin-bottom: 30px;
  color: #e5e5e5;
  padding-bottom: 5%;
}



/* ===== Base Styles ===== */
@font-face {
  font-family: 'adobe-garamond-pro';
  src: url('../assets/fonts/Cormorant_Garamond.ttf') format('truetype');
  font-weight: 300 700;
  font-display: swap;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  transition:
    background-color var(--transition-speed) ease,
    color var(--transition-speed) ease,
    border-color var(--transition-speed) ease,
    box-shadow var(--transition-speed) ease;
}

html, body {
  width: 100%;
  min-height: 100vh;
  font-family: var(--main-font);
  color: var(--text-color);
}

body {
  margin: 0;
  padding: 0 20px;
  background: #000;
  color: #fff;
  font-family: var(--main-font);
  display: flex;
  flex-direction: column;
  align-items: center;
}


/* ===== Header & Navigation ===== */

.seed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  padding: 30px 30px;
}

/* Left side: logo + title */
.img-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 0%;
  min-width: 180px;
  align-items: center;
  margin-bottom: 0%;
  
}

.hero-header {
  width: 100%;
  height: 20vh;
  background-image: url('../assets/GV_hero_header.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 0%;
   
}

.header-title {
  margin-top:  0px;
  text-align: center;
  font-family: var(--main-font);
  font-size: 28px;
  width: 100%;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--text-color);
  padding-left: 4px;
  white-space: nowrap; 
}

/* Right side: description */
.header-description {
  width: 80%;
  max-width: 700px;
  font-size: 18px;
  line-height: 1.7;
  color: #ccc;
  text-align: right;
}

@media (max-width: 768px) {

  .seed-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
  }

  .img-title {
    width: 100%;
    align-items: center;
  }

  .hero-header {
    height: 100px;
    background-position: center;
  }

  .header-title {
    font-size: 22px;
    margin-top: 8px;
    text-align: center;
  }

  .header-description {
    width: 100%;
    max-width: 90%;
    text-align: center;
    margin-top: 15px;
    font-size: 16px;
  }
}

/* ===== Seed Grid ===== */


/* ===== Seed Detail Typography (with micro-tracking) ===== */
#seed-popup p,
#seed-popup span,
#seed-popup div:not(#seed-gallery) {
  letter-spacing: 0.3px;
}


#seed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  padding: var(--space-md);
  width: 90%;
  max-width: 900px;
  margin-top: 10px;
}

.seed-item {
  width: 100%;
  height: 80px;
  border-radius: 3px;
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.seed-item:hover {
  box-shadow: 0 0 12px 3px rgba(2, 48, 23, 0.582);
  transform: scale(1.05);
}

.seed-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 1;
}

.seed-item span {
  position: relative;
  z-index: 2;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
  font-weight: 600;
  letter-spacing: 1px;
}

.seed-growex {
  font-size: 17px;
  line-height: 1.6;
  color: #ccc;
  margin-top: 20px;
  padding-right: 30px;
}



/* ===== Popup ===== */
.popup-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  backdrop-filter: blur(2px);
}

.popup {
  position: fixed;
  width: 718px;
  max-width: 90vw;
  max-height: 90vh;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--primary-bg);
  border-radius: 9px;
  box-shadow: var(--popup-shadow);
  z-index: 2000;
  padding: var(--space-md);
  display: none;
  overflow-y: auto;
  animation: fadeIn 0.3s ease-out;
  border: 1px solid rgba(255,255,255,0.1);
}


#seed-popup:not(.hidden) {
  display: block !important;
}

.popup-content {
  display: grid;
  gap: var(--space-md);
  position: relative;
}

.popup-top {
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
}

.popup-image {
  flex: 1;
}

.popup-growex {
  flex: 1;
  display: flex;
  align-items: flex-start;
}

.close-btn {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  font-size: var(--font-size-md);
  color: #062d18;
  background: transparent;
  cursor: pointer;
}

.seed-image-container {
  width: 100%;
  height: 200px;
  border-radius: 5px;
  overflow: hidden;
}

.seed-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.seed-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-sm);
}

.seed-details p {
  margin-bottom: var(--space-sm);
}

#seed-gallery {
  color: #7EC27E; /* your soft green */
  text-decoration: none; /* remove underline */
  white-space: nowrap; /* keep it on one line */
  font-weight: 500; /* optional: makes it feel intentional */
}

#seed-gallery:hover {
  opacity: 0.8; /* subtle hover cue */
}


/* ===== Animations ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, -45%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  #seed-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .seed-details {
    grid-template-columns: 1fr;
  }
}

/* ===== Utility ===== */
.hidden {
  display: none !important;
}