/* Pqoriva - Mindful Living for Men */
/* Color Palette */
:root {
  --primary: #2F3C4F;
  --accent-teal: #5B9A8B;
  --accent-ochre: #D9AE73;
  --accent-ivory: #F5F5DC;
  --white: #FFFFFF;
  --light-gray: #E8E8E8;
  --dark-text: #1A1A1A;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--dark-text);
  background-color: var(--white);
  line-height: 1.6;
}

body {
  background-color: var(--primary);
}

/* Typography */
h1 {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: -1px;
}

h2 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 24px;
  margin-top: 64px;
}

h3 {
  font-size: 32px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
  margin-top: 32px;
}

p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--dark-text);
}

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

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

/* Layout */
html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
  background-color: var(--white);
}

/* Header */
header {
  background-color: var(--primary);
  padding: 24px 40px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.logo {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-ivory);
  letter-spacing: 2px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
}

nav a {
  color: var(--accent-ivory);
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
  color: var(--accent-teal);
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Hero Section */
.hero {
  background-color: var(--primary);
  color: var(--white);
  padding: 128px 40px;
  text-align: center;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero p {
  font-size: 24px;
  color: var(--accent-ivory);
  max-width: 800px;
  margin: 0 auto 32px;
}

/* Section Styling */
section {
  padding: 96px 40px;
  border-bottom: 1px solid var(--light-gray);
}

section.alt-bg {
  background-color: var(--accent-ivory);
}

/* Two-Column Layout */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.two-column img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  max-height: 500px;
  object-fit: cover;
}

.two-column-text {
  line-height: 1.8;
}

.two-column-text h3 {
  margin-top: 0;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
}

.card {
  background-color: var(--white);
  border: 1px solid var(--light-gray);
  padding: 32px;
  border-radius: 4px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 20px;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 24px;
}

.card p {
  font-size: 16px;
  margin-bottom: 16px;
}

/* Button */
.btn {
  display: inline-block;
  padding: 14px 32px;
  background-color: var(--accent-teal);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn:hover {
  background-color: #4a8876;
  text-decoration: none;
}

.btn-secondary {
  background-color: var(--accent-ochre);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: #c29855;
}

/* Form Styles */
.form-group {
  margin-bottom: 24px;
}

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

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 3px rgba(91, 154, 139, 0.1);
}

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

/* Footer */
footer {
  background-color: var(--primary);
  color: var(--accent-ivory);
  padding: 64px 40px;
  margin-top: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1440px;
  margin: 0 auto;
  margin-bottom: 40px;
}

.footer-section h4 {
  font-size: 18px;
  color: var(--white);
  margin-bottom: 16px;
}

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

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section a {
  color: var(--accent-ivory);
}

.footer-section a:hover {
  color: var(--accent-teal);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 14px;
}

/* Insight Block */
.insight-block {
  background-color: var(--accent-ochre);
  padding: 32px;
  border-radius: 4px;
  margin: 32px 0;
  color: var(--dark-text);
}

.insight-block strong {
  color: var(--primary);
}

/* Disclaimer Block */
.disclaimer {
  background-color: var(--accent-ivory);
  border-left: 4px solid var(--accent-ochre);
  padding: 24px;
  margin: 32px 0;
  border-radius: 4px;
  font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 20px;
  }

  nav ul {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 24px;
  }

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

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

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  section {
    padding: 64px 20px;
  }

  .container {
    padding: 0 20px;
  }
}

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

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

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

.accent-color {
  color: var(--accent-teal);
}

.hidden {
  display: none;
}
