/* Claystone Studies Writing Academy — Main Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --ink: #2f2a23;
    --muted-ink: #5f574d;
    --dark: #2f2a23;
    --cream: #f6efe3;
    --cream-deep: #ead8bd;
    --beige: #d7bd95;
    --beige-dark: #9a7544;
    --paper: #fffaf1;
    --white: #ffffff;
    --line: #e3d3bb;
    --shadow: 0 2px 10px rgba(47, 42, 35, 0.10);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.65;
    color: var(--ink);
    background-color: var(--cream);
}

p {
    margin-bottom: 18px;
}

a {
    color: var(--beige-dark);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: var(--dark);
    padding: 1rem 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    display: block;
    height: auto;
    margin-right: 10px;
    max-height: 50px;
    width: auto;
}

.brand-name {
    display: block;
    font-size: 1.65rem;
    font-weight: bold;
    color: var(--white);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

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

.nav-links li a:hover,
.nav-links li a.active {
    text-decoration: underline;
}

.menu-toggle {
    display: none;
}

.hero {
    text-align: center;
    background: linear-gradient(135deg, var(--cream-deep), var(--beige));
    color: var(--ink);
    padding: 96px 20px;
    border-bottom: 1px solid var(--line);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 14px;
    font-family: Georgia, 'Times New Roman', serif;
}

.hero h2 {
    font-size: 1.45rem;
    font-weight: normal;
    max-width: 800px;
    margin: 0 auto 24px;
}

.hero p {
    font-size: 1.08rem;
    max-width: 780px;
    margin: 0 auto 30px;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 11px 22px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin: 6px;
}

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

.btn-primary:hover {
    background-color: #4a4035;
}

.btn-secondary {
    background-color: var(--paper);
    color: var(--ink);
    border: 1px solid var(--beige-dark);
}

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

.section {
    padding: 52px 0;
}

.section h2,
.page-content h2 {
    color: var(--ink);
    margin-bottom: 18px;
    font-size: 2rem;
    font-family: Georgia, 'Times New Roman', serif;
}

.section h3,
.page-content h3 {
    color: var(--beige-dark);
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.intro-text {
    max-width: 820px;
    font-size: 1.08rem;
}

.features,
.cards {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 28px;
}

.feature,
.card {
    background-color: var(--paper);
    padding: 24px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    flex: 1;
}

.feature h2,
.card h3 {
    margin-bottom: 12px;
    color: var(--beige-dark);
    font-family: Georgia, 'Times New Roman', serif;
}

.page-content {
    padding: 44px 0 60px;
}

.page-header {
    background-color: var(--cream-deep);
    padding: 54px 20px;
    text-align: center;
    border-bottom: 1px solid var(--line);
}

.page-header h1 {
    font-size: 2.6rem;
    font-family: Georgia, 'Times New Roman', serif;
    margin-bottom: 10px;
}

.page-header p {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.two-column {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 34px;
    align-items: start;
}

.tutor-portrait {
    float: right;
    width: 150px;
    height: 150px;
    object-fit: cover;
    object-position: center top;
    margin: 2px 0 16px 24px;
    border: 1px solid var(--line);
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(47, 42, 35, 0.12);
}

.sidebar-box {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.service-list {
    list-style: none;
    margin-top: 18px;
}

.tutoring-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 28px 0 24px;
}

.option-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.option-card h3 {
    font-family: Georgia, 'Times New Roman', serif;
}

.option-card p {
    margin-bottom: 20px;
}

.option-card .btn-primary,
.option-card .btn-secondary {
    align-self: flex-start;
    margin-top: auto;
}

.expectation-notes {
    border-top: 1px solid var(--line);
    margin-top: 18px;
    padding-top: 16px;
}

.expectation-notes p {
    color: var(--muted-ink);
    font-size: 0.96rem;
    margin-bottom: 10px;
}

.expectation-notes p:last-child {
    margin-bottom: 0;
}

.testimonials-preview {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    border-top: 1px solid var(--line);
}

.testimonials-section {
    margin: 34px 0;
}

.testimonial-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 24px;
}

.testimonial-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 24px;
}

.testimonial-card blockquote {
    border-left: 4px solid var(--beige-dark);
    color: var(--ink);
    margin: 0 0 18px;
    padding-left: 18px;
}

.testimonial-card blockquote p:last-child {
    margin-bottom: 0;
}

.compact-testimonials .testimonial-card blockquote {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.12rem;
    line-height: 1.55;
}

.testimonial-card figcaption {
    color: var(--beige-dark);
    font-weight: bold;
}

.text-link {
    display: inline-block;
    font-weight: bold;
    margin-top: 20px;
}

.service-list li {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 22px;
    margin-bottom: 18px;
    box-shadow: var(--shadow);
}

.plain-list {
    margin: 0 0 20px 22px;
}

.plain-list li {
    margin-bottom: 8px;
}

.callout {
    background: var(--paper);
    border-left: 5px solid var(--beige-dark);
    padding: 22px;
    margin: 26px 0;
    border-radius: 8px;
}

.contact-box {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 26px;
    box-shadow: var(--shadow);
    max-width: 760px;
}

footer {
    background-color: var(--dark);
    color: var(--white);
    text-align: center;
    padding: 22px 0;
}

footer p {
    margin-bottom: 0;
}

footer a {
    color: var(--cream-deep);
    text-decoration: none;
}

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