/* General body styling */
body {
    background-color: #f5f5dc; /* light beige */
    color: #333;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Header with background image */
header {
    background: url('images/ebook1.jpg') no-repeat center center/cover;
    height: 250px;
    position: relative;
}

.header-overlay {
    background-color: rgba(0, 0, 0, 0.5); /* dark overlay for text readability */
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

header h1 {
    color: white;
    font-size: 2em;
    margin: 0;
}

/* eBook box */
.ebook-box {
    background-color: #f0e5d8; /* warm beige */
    border-radius: 10px;
    max-width: 400px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.ebook-box img {
    max-width: 100%;
    border-radius: 8px;
}

/* Gumroad button styling */
.buy-button {
    display: inline-block;
    background-color: #d2b48c; /* tan beige */
    color: white;
    padding: 15px 30px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.buy-button:hover {
    background-color: #c19a6b; /* darker tan */
}
/* Etsy Box */
.etsy-box {
    background-color: #f0e5d8; /* warm beige to match */
    border-radius: 10px;
    max-width: 400px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.etsy-box img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}
/* About the Author */
.about-author {
    background-color: #f0e5d8;
    padding: 20px;
    max-width: 700px;
    margin: 40px auto;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
}

.author-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid #d2b48c;
}

.about-author p {
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

/* Contact Form Styling */
.contact-section {
    background-color: #f0e5d8;
    padding: 20px;
    max-width: 500px;
    margin: 40px auto;
    border-radius: 10px;
    text-align: center;
}

.contact-section input,
.contact-section textarea {
    width: 90%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-section button {
    background-color: #d2b48c;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.contact-section button:hover {
    background-color: #c19a6b;
}

/* Social Links */
.social-links {
    text-align: center;
    margin: 40px 0;
}

.social-links a {
    color: #a0522d;
    font-weight: bold;
    text-decoration: none;
}

.social-links a:hover {
    text-decoration: underline;
}

/* Footer styling */
footer {
    background-color: #e6e2d3;
    text-align: center;
    padding: 15px;
    margin-top: 40px;
}
/* Base */
:root{
  --beige-100:#f5f5dc; /* light beige background */
  --beige-200:#f0e5d8; /* card bg */
  --beige-300:#e6e2d3; /* header/footer */
  --tan-500:#d2b48c;  /* button base */
  --tan-600:#c19a6b;  /* button hover */
  --text:#333333;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Arial, Helvetica, sans-serif;
  color:var(--text);
  background:var(--beige-100);
  line-height:1.5;
}

/* Header */
header{
  background:var(--beige-300);
  min-height:200px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
}
.header-overlay h1{
  margin:0;
  text-align:center;
}

/* Two-up grid for products */
.product-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:24px;
  max-width:940px;
  margin:40px auto 0;
  padding:0 16px;
}
@media (min-width: 900px){
  .product-grid{ grid-template-columns:1fr 1fr; }
}

/* Shared card style */
.content-box{
  background:var(--beige-200);
  border-radius:12px;
  padding:22px;
  text-align:center;
  box-shadow:0 4px 12px rgba(0,0,0,.08);
}
.content-box img{
  max-width:100%;
  border-radius:8px;
  margin-bottom:14px;
}

/* Primary button (Gumroad/Etsy) */
.buy-button{
  display:inline-block;
  background:var(--tan-500);
  color:#fff;
  padding:14px 26px;
  font-size:18px;
  font-weight:700;
  border-radius:10px;
  text-decoration:none;
  transition:background .25s ease;
  margin-top:16px;
}
.buy-button:hover{ background:var(--tan-600); }

/* About */
.about-author{
  background:var(--beige-200);
  border-radius:12px;
  max-width:940px;
  margin:40px auto;
  padding:22px;
  text-align:center;
  box-shadow:0 4px 12px rgba(0,0,0,.05);
}
.author-photo{
  width:120px;height:120px;object-fit:cover;border-radius:50%;
  border:3px solid var(--tan-500); margin-bottom:12px;
}

/* Social */
.social-links{
  text-align:center;
  margin:28px 0 40px;
  padding:0 16px;
}
.social-links a{
  color:#a0522d;
  font-weight:700;
  text-decoration:none;
}
.social-links a:hover{ text-decoration:underline; }

/* Footer */
footer{
  background:var(--beige-300);
  text-align:center;
  padding:16px;
  margin-top:20px;
}