/*
Theme Name: Simply Modern Midlife
Theme URI: https://simplymodernmidlife.com
Author: Rachel Powers
Description: A custom WordPress theme for Simply Modern Midlife, focused on health, beauty, and wellness for women 40+.
Version: 1.0
*/

:root {
    --sage: #bfc5b2;
    --taupe: #a89f91;
    --cream: #f8f5f1;
    --graphite: #333333;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Poppins', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    background-color: var(--cream);
    color: var(--graphite);
}

a {
    color: var(--graphite);
    text-decoration: none;
}

.logo-img {
	display: block;
    width: 250px;
    height: auto;
    max-width: 100%;
	margin: 0;
}

@media (max-width: 768px) {
    .logo-img {
        width: 150px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        width: 175px;
    }
}



/* Always-visible hamburger icon */
.menu-toggle {
	position: absolute;
	top: 50%;
	right: 20px;
	transform: translateY(-50%);
	font-size: 2rem;
	cursor: pointer;
	color: var(--graphite);
}

/* Default hidden nav */
.site-menu {
  display: none;
  position: absolute;
  top: 80px;
  right: 20px;
  background-color: var(--cream);
  border: 1px solid #ccc;
  z-index: 1000;
}

/* When active (toggled) */
.site-menu.active {
  display: block;
}

/* List styling */
.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.nav-list li {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
}

.nav-list li a {
  color: var(--graphite);
  font-weight: bold;
  text-decoration: none;
}

a:hover {
    color: var(--taupe);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    color: var(--graphite);
}

.section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
}

header .section {
    position: relative;
    padding: 0 20px;
    min-height: 250px;
}

.logo-wrapper {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.hero {
    background-color: var(--sage);
    padding: 100px 20px;
    text-align: center;
    color: var(--graphite);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--taupe);
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background-color: var(--graphite);
    color: var(--cream);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    padding: 20px;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

footer {
    background-color: var(--graphite);
    color: var(--cream);
    text-align: center;
    padding: 40px 20px;
    font-size: 0.9em;
}
