/* Ulofrox - Holistic Well-being for Men */
/* Color Palette */
:root {
  --primary: #2C3E50;      /* Deep Slate Blue */
  --accent-gold: #C1A06F;  /* Muted Gold */
  --accent-green: #4A6C4A; /* Forest Green */
  --neutral-grey: #BCC1C4; /* Soft Grey */
  --light-grey: #F5F5F5;
  --white: #FFFFFF;
  --text-dark: #2C3E50;
  --text-light: #BCC1C4;
  --transition: 0.3s ease;
}

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

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

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

main {
  flex: 1;
}

/* Typography */
h1 {
  font-size: 3.5rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-family: 'Lora', serif;
  text-transform: none;
}

h2 {
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--primary);
  margin-bottom: 1.25rem;
  margin-top: 2rem;
  font-family: 'Lora', serif;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent-green);
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
  font-family: 'Georgia', serif;
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
  border-bottom: 1px solid transparent;
}

a:hover {
  color: var(--accent-gold);
  border-bottom: 1px solid var(--accent-gold);
}

/* Header */
header {
  background-color: var(--white);
  border-bottom: 1px solid var(--light-grey);
  padding: 1.5rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

header .logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Lora', serif;
  letter-spacing: 0.1em;
}

header nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

header nav a {
  color: var(--text-dark);
  font-size: 0.95rem;
  transition: all var(--transition);
  font-weight: 500;
  letter-spacing: 0.03em;
}

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

/* Main Content */
body > * {
  margin-top: 80px;
}

header {
  margin-top: 0;
}

.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
}

.container-narrow {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Sections */
section {
  padding: 4rem 0;
}

.section-hero {
  background: linear-gradient(135deg, var(--light-grey) 0%, var(--white) 100%);
  padding: 6rem 0;
  margin-top: 80px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  margin-bottom: 1.5rem;
}

.hero-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.hero-image {
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 2px;
}

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

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

.two-col.reverse {
  grid-template-columns: 1fr 1fr;
  direction: rtl;
}

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

.two-col-image {
  width: 100%;
  height: 350px;
  overflow: hidden;
  border-radius: 2px;
}

.two-col-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Featured Block */
.featured-block {
  background-color: var(--primary);
  color: var(--white);
  padding: 3rem;
  margin: 3rem 0;
  border-left: 6px solid var(--accent-gold);
}

.featured-block h3 {
  color: var(--accent-gold);
  margin-top: 0;
}

.featured-block p {
  color: var(--white);
  font-size: 1.05rem;
}

/* Cards Layout */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.card {
  background-color: var(--white);
  border: 1px solid var(--light-grey);
  padding: 2rem;
  transition: all var(--transition);
  border-top: 3px solid var(--accent-green);
}

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

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

.card p {
  margin-bottom: 0;
}

/* Button */
.btn {
  display: inline-block;
  background-color: var(--accent-gold);
  color: var(--white);
  padding: 0.75rem 1.75rem;
  text-decoration: none;
  border: 2px solid var(--accent-gold);
  border-radius: 2px;
  transition: all var(--transition);
  font-weight: 600;
  letter-spacing: 0.05em;
  font-family: 'Georgia', serif;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.btn-secondary {
  background-color: transparent;
  color: var(--accent-gold);
  border: 2px solid var(--accent-gold);
}

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

/* Lists */
ul, ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

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

ul li::marker {
  color: var(--accent-green);
}

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

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

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

footer p {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

footer a {
  color: var(--accent-gold);
  border-bottom: none;
}

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

footer .footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Disclaimer Box */
.disclaimer-box {
  background-color: var(--light-grey);
  border-left: 4px solid var(--accent-green);
  padding: 2rem;
  margin: 3rem 0;
  border-radius: 2px;
}

.disclaimer-box h4 {
  color: var(--primary);
  margin-top: 0;
  font-size: 1rem;
}

.disclaimer-box p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Breadcrumb */
.breadcrumb {
  margin: 2rem 0;
  font-size: 0.9rem;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

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

/* Form */
form {
  max-width: 600px;
  margin: 2rem 0;
}

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

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--neutral-grey);
  border-radius: 2px;
  font-family: 'Georgia', serif;
  font-size: 1rem;
  color: var(--text-dark);
  background-color: var(--white);
  transition: border-color var(--transition);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 2px rgba(193, 160, 111, 0.1);
}

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

/* Responsive */
@media (max-width: 1024px) {
  .container,
  .container-narrow {
    padding: 0 30px;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.8rem;
  }

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

  .two-col.reverse {
    direction: ltr;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

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

  header nav {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .container,
  .container-narrow {
    padding: 0 20px;
  }

  section {
    padding: 2.5rem 0;
  }

  header .container {
    padding: 0 20px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  header nav {
    gap: 1rem;
    font-size: 0.85rem;
  }

  .hero-image,
  .two-col-image {
    height: 250px;
  }

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

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

  .featured-block {
    padding: 2rem;
  }
}

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

.text-right {
  text-align: right;
}

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

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.pt-1 { padding-top: 0.5rem; }
.pt-2 { padding-top: 1rem; }
.pt-3 { padding-top: 1.5rem; }
.pt-4 { padding-top: 2rem; }

.pb-1 { padding-bottom: 0.5rem; }
.pb-2 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 1.5rem; }
.pb-4 { padding-bottom: 2rem; }

.text-muted {
  color: var(--text-light);
  font-size: 0.9rem;
}

.highlight {
  color: var(--accent-gold);
  font-weight: 600;
}

.bg-primary {
  background-color: var(--primary);
  color: var(--white);
  padding: 2rem;
}

.bg-light {
  background-color: var(--light-grey);
  padding: 2rem;
}
