/* Everstoke Site Styles */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=Open+Sans:wght@400;600&display=swap');

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

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f0;
}

h1, h2, h3, h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
}

a { color: #2d5016; }

/* Header */
header {
    background: #f5f5f0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img { height: 80px; }

nav {
    margin-top: 15px;
}

nav a {
    font-family: 'Open Sans', sans-serif;
    text-decoration: none;
    color: #333;
    margin: 0 15px;
    font-size: 14px;
}

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

/* Main content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero */
.hero {
    text-align: center;
    margin-bottom: 40px;
}

.hero img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
}

.hero p {
    margin-bottom: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Content sections */
.content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin: 20px 0;
}

.content h1, .content h2 {
    text-align: center;
    margin-bottom: 20px;
}

.content p {
    margin-bottom: 15px;
}

/* Membership cards */
.membership-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 40px 0;
}

@media (max-width: 700px) {
    .membership-grid { grid-template-columns: 1fr; }
}

.membership-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.membership-card.gold {
    background: #fff9e6;
    border: 2px solid #d4af37;
}

.membership-card h2 {
    font-size: 1.8em;
    margin-bottom: 5px;
}

.membership-card .price {
    font-size: 1.3em;
    font-weight: 600;
    color: #666;
    margin-bottom: 15px;
}

.membership-card h4 {
    margin-top: 15px;
    margin-bottom: 8px;
    font-size: 1.1em;
}

.membership-card ul {
    margin-left: 20px;
    margin-bottom: 10px;
}

.membership-card li { margin-bottom: 5px; }

.membership-card ul ul {
    margin-top: 5px;
    font-size: 0.95em;
    color: #555;
}

/* CTA */
.cta {
    text-align: center;
    margin: 40px 0;
}

.cta h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.button {
    display: inline-block;
    background: #333;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
}

.button:hover { background: #555; }

/* Goals */
.goals {
    background: #e8f5e9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin: 40px auto;
    max-width: 600px;
}

.goals h3 {
    text-align: center;
    font-size: 1.6em;
    margin-bottom: 10px;
}

.goals > p {
    text-align: center;
    margin-bottom: 20px;
}

.goals ul { margin-left: 20px; }
.goals li { margin-bottom: 8px; }
.goals ul ul {
    margin-top: 5px;
    font-size: 0.95em;
    color: #555;
}

/* Image grid */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.image-grid img {
    width: 100%;
    border-radius: 8px;
}

/* Footer */
footer {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    border-top: 1px solid #ddd;
}

footer h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
}

/* Responsive video embed */
.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Back link */
.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: #666;
    text-decoration: none;
}

.back-link:hover { text-decoration: underline; }
