/* Puqlin - Conscious Masculine Living */
/* Main Stylesheet */

:root {
  --primary-color: #2C3E50;
  --secondary-color: #7F8C8D;
  --accent-ochre: #E6B34B;
  --accent-teal: #1ABC9C;
  --neutral-light: #F7F7F7;
  --neutral-grey: #E0E0E0;
  --text-primary: #2C3E50;
  --text-secondary: #7F8C8D;
  --base-unit: 1.5rem;
}

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

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

body {
  font-family: 'Lato', 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #FFFFFF;
  color: var(--text-primary);
  line-height: 1.6;
  letter-spacing: 0.5px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Oswald', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
  letter-spacing: 0.8px;
  margin-bottom: var(--base-unit);
  line-height: 1.3;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 2rem;
  text-align: left;
}

h2 {
  font-size: 2.2rem;
  font-weight: 600;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

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

p {
  margin-bottom: var(--base-unit);
  line-height: 1.8;
  font-size: 1rem;
}

a {
  color: var(--accent-teal);
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  position: relative;
}

a:hover {
  color: var(--accent-ochre);
  text-decoration: underline;
  text-decoration-offset: 4px;
}

/* Layout */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
  width: 100%;
}

.section-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  background-color: var(--primary-color);
  color: white;
  overflow: hidden;
}

.section-hero img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.section-hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 900px;
}

.section-hero h1 {
  color: white;
  margin-bottom: 1.5rem;
}

.section-hero p {
  color: var(--neutral-light);
  font-size: 1.2rem;
  line-height: 1.8;
}

/* Two Column Layout */
.layout-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.layout-two-col.reversed {
  direction: rtl;
}

.layout-two-col.reversed > * {
  direction: ltr;
}

.col-text {
  flex: 1;
}

.col-image {
  flex: 1;
}

.col-image img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

.card {
  background: white;
  border: 1px solid var(--neutral-grey);
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

.card:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--accent-teal);
}

.card h3 {
  margin-top: 0;
  font-size: 1.3rem;
}

/* Header & Navigation */
header {
  background-color: var(--primary-color);
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: white;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  color: white;
  font-weight: 500;
  position: relative;
  transition: color 0.2s ease-in-out;
}

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

nav a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-teal);
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: white;
  padding: 4rem 0 2rem;
  margin-top: 6rem;
}

footer .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

footer h4 {
  color: var(--accent-ochre);
  margin-bottom: 1rem;
}

footer a {
  color: var(--neutral-light);
}

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

.footer-bottom {
  border-top: 1px solid var(--secondary-color);
  padding-top: 2rem;
  text-align: center;
  color: var(--neutral-light);
  font-size: 0.9rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--accent-teal);
  color: white;
  text-decoration: none;
  border-radius: 0;
  border: 2px solid var(--accent-teal);
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.btn:hover {
  background-color: transparent;
  color: var(--accent-teal);
  box-shadow: 0 5px 15px rgba(26, 188, 156, 0.2);
  transform: translateY(-1px);
}

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

.btn-secondary:hover {
  background-color: var(--accent-ochre);
  color: white;
  box-shadow: 0 5px 15px rgba(230, 179, 75, 0.2);
}

/* Forms */
input, textarea, select {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--neutral-grey);
  background-color: white;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease-in-out;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 3px rgba(26, 188, 156, 0.1);
}

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

/* Disclaimer Section */
.section-disclaimer {
  background-color: var(--neutral-light);
  border-left: 4px solid var(--accent-ochre);
  padding: 2rem;
  margin: 3rem 0;
  border-radius: 0;
}

.section-disclaimer h3 {
  color: var(--accent-ochre);
  margin-top: 0;
}

.section-disclaimer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* List Styling */
ul, ol {
  margin-bottom: var(--base-unit);
  padding-left: 2rem;
}

li {
  margin-bottom: 0.75rem;
  line-height: 1.8;
}

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

  h2 {
    font-size: 1.5rem;
  }

  nav ul {
    gap: 1rem;
    font-size: 0.9rem;
  }

  .layout-two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  footer .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section {
    padding: 4rem 0;
  }

  .section-hero {
    min-height: 400px;
  }

  body {
    padding-top: 80px;
  }

  .container {
    padding: 0 1rem;
  }
}

/* Page Specific */
body {
  padding-top: 70px;
}

.breadcrumb {
  color: var(--secondary-color);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

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

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

.image-with-caption {
  margin-bottom: 2rem;
}

.image-caption {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-top: 0.5rem;
}

/* Text Alignment */
.text-center {
  text-align: center;
}

.text-balance {
  text-wrap: balance;
}

/* Spacing */
.mb-1 { margin-bottom: 1.5rem; }
.mb-2 { margin-bottom: 3rem; }
.mb-3 { margin-bottom: 4.5rem; }
.mb-4 { margin-bottom: 6rem; }

.mt-1 { margin-top: 1.5rem; }
.mt-2 { margin-top: 3rem; }
.mt-3 { margin-top: 4.5rem; }

/* Grid System */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.col-8 {
  grid-column: span 8;
}

.col-4 {
  grid-column: span 4;
}

@media (max-width: 768px) {
  .col-8, .col-4 {
    grid-column: span 12;
  }
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
