/* ViennaVitalMale - Educational Resource */
/* Custom styles built on Bootstrap 4.3.1 */

:root {
  --primary-green: #006400;
  --primary-dark: #004d00;
  --light-bg: #fafafa;
  --text-dark: #2c3e50;
  --text-light: #555555;
  --border-light: #e0e0e0;
  --white: #ffffff;
}

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

html, body {
  font-family: 'Source Sans Pro', sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', serif;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.4;
}

h1 {
  font-size: 3rem;
  margin-bottom: 25px;
  color: var(--primary-green);
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.8;
}

/* Header */
header {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
}

header .logo {
  font-family: 'Roboto Slab', serif;
  font-size: 1.4rem;
  color: var(--primary-green);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

header .logo:hover {
  color: var(--primary-dark);
  transition: color 0.35s ease;
}

header nav .nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

header nav a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.35s ease;
}

header nav a:hover {
  color: var(--primary-green);
}

/* Hero Section */
.hero {
  position: relative;
  height: 500px;
  background: linear-gradient(135deg, rgba(0, 100, 0, 0.7), rgba(0, 77, 0, 0.7)), url('images/hero.jpg') center/cover;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero-content {
  max-width: 700px;
  padding: 40px 20px;
}

.hero h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 30px;
}

.section {
  margin-bottom: 80px;
  padding: 40px;
  border-radius: 6px;
  background-color: var(--light-bg);
}

.section h2 {
  color: var(--primary-green);
  margin-bottom: 25px;
}

.content-with-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.content-with-image img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 100, 0, 0.1);
}

.content-with-image.reverse {
  direction: rtl;
}

.content-with-image.reverse > * {
  direction: ltr;
}

@media (max-width: 768px) {
  .content-with-image {
    grid-template-columns: 1fr;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
}

/* Links and CTAs */
a.read-more {
  display: inline-block;
  color: var(--primary-green);
  text-decoration: none;
  margin-top: 15px;
  font-weight: 600;
  transition: color 0.35s ease, transform 0.35s ease;
}

a.read-more:hover {
  color: var(--primary-dark);
  transform: translateX(4px);
}

/* Disclaimer Box */
.disclaimer {
  background-color: #f0f8f0;
  border-left: 4px solid var(--primary-green);
  padding: 20px;
  margin: 30px 0;
  border-radius: 6px;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.disclaimer strong {
  color: var(--primary-green);
}

/* Footer */
footer {
  background-color: var(--text-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 50px 30px 30px;
  margin-top: 80px;
  border-top: 1px solid var(--border-light);
}

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

footer h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 15px;
}

footer p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

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

footer a:hover {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Forms */
form {
  max-width: 500px;
  margin: 30px 0;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-dark);
}

input, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1rem;
  color: var(--text-dark);
  transition: border-color 0.35s ease;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 8px rgba(0, 100, 0, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

button {
  background-color: var(--primary-green);
  color: var(--white);
  padding: 12px 30px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.35s ease, transform 0.35s ease;
}

button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

/* Cookie Consent Banner */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--text-dark);
  color: rgba(255, 255, 255, 0.9);
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  gap: 20px;
}

#cookie-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  margin-bottom: 0;
}

#cookie-banner button {
  white-space: nowrap;
  margin: 0;
}

#cookie-banner button.accept {
  background-color: var(--primary-green);
}

#cookie-banner button.deny {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
}

@media (max-width: 768px) {
  #cookie-banner {
    flex-direction: column;
    text-align: center;
  }
  
  header nav {
    padding: 15px 20px;
  }
  
  header nav .nav-links {
    gap: 15px;
  }
  
  main {
    padding: 40px 20px;
  }
  
  .section {
    padding: 30px 20px;
  }
  
  footer .footer-content {
    gap: 20px;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-40 {
  margin-top: 40px;
}

.mb-30 {
  margin-bottom: 30px;
}

.hidden {
  display: none;
}
