/* NativeMalePower - Educational Resource Stylesheet */

:root {
  --primary-color: #2F4F4F;
  --light-bg: #F5F3F0;
  --white: #FFFFFF;
  --text-dark: #2C2C2C;
  --text-light: #666666;
  --border-color: #E0D9D3;
  --accent-green: #4A7C59;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Source Serif Pro', serif;
  line-height: 1.4;
  margin-bottom: 1.2rem;
  color: var(--primary-color);
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  margin-top: 2rem;
}

h3 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.2rem;
  color: var(--text-light);
  line-height: 1.7;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-green);
  text-decoration: underline;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.navbar-brand {
  font-family: 'Source Serif Pro', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.navbar-brand:hover {
  color: var(--accent-green);
}

.nav-link {
  color: var(--text-dark);
  transition: color 0.3s ease;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--primary-color);
}

/* Main Content */
main {
  margin-top: 80px;
  padding: 0;
}

/* Hero Section */
.hero-section {
  width: 100%;
  height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(47, 79, 79, 0.5);
  z-index: 1;
}

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

.hero-section h1 {
  font-size: 3.5rem;
  color: white;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Sections */
section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border-color);
}

.section-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

/* Two-column layout */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.two-column img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.content-block {
  padding: 1rem;
}

/* Disclaimer Banner */
.disclaimer-banner {
  background-color: #F0F8F7;
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 10px;
}

.disclaimer-banner h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.disclaimer-banner p {
  font-size: 0.95rem;
  color: var(--text-dark);
  margin: 0;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.product-card {
  background-color: var(--light-bg);
  padding: 2rem;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.product-card h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.product-card p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.btn-learn-more {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-weight: 500;
  border: none;
  cursor: pointer;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
}

.btn-learn-more:hover {
  background-color: var(--accent-green);
  transform: scale(1.05);
  text-decoration: none;
  color: white;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: white;
  padding: 3rem 0;
  margin-top: 4rem;
  font-size: 0.95rem;
}

footer a {
  color: #C8E6C9;
  transition: color 0.3s ease;
}

footer a:hover {
  color: white;
  text-decoration: underline;
}

.footer-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-column h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-family: 'Source Serif Pro', serif;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-disclaimer {
  background-color: rgba(0,0,0,0.2);
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 2rem;
  font-size: 0.9rem;
  text-align: center;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
  text-align: center;
  font-size: 0.85rem;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary-color);
  color: white;
  padding: 1.5rem 2rem;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.2);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-text {
  flex: 1;
  font-size: 0.9rem;
}

.cookie-banner a {
  color: #C8E6C9;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.btn-cookie-accept,
.btn-cookie-decline {
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
}

.btn-cookie-accept {
  background-color: white;
  color: var(--primary-color);
}

.btn-cookie-accept:hover {
  background-color: #F0F8F7;
}

.btn-cookie-decline {
  background-color: transparent;
  color: white;
  border: 1px solid white;
}

.btn-cookie-decline:hover {
  background-color: rgba(255,255,255,0.1);
}

/* Form Styles */
.contact-form {
  max-width: 600px;
  margin: 2rem auto;
  background-color: var(--light-bg);
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: white;
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.btn-submit {
  width: 100%;
  padding: 0.8rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: 'Open Sans', sans-serif;
}

.btn-submit:hover {
  background-color: var(--accent-green);
}

.form-disclaimer {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 1rem;
  padding: 1rem;
  background-color: white;
  border-left: 3px solid var(--primary-color);
  border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .hero-section {
    height: 300px;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .two-column {
    grid-template-columns: 1fr;
  }

  .footer-section {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }

  .btn-cookie-accept,
  .btn-cookie-decline {
    width: 100%;
  }

  section {
    padding: 2rem 0;
  }

  .section-content {
    padding: 0 1rem;
  }

  header {
    padding: 0.75rem 0;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  .hero-section h1 {
    font-size: 1.5rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 1.5rem;
  }

  main {
    margin-top: 70px;
  }
}
