img {
  max-width: 100%;
  height: auto;
}

.hero {
    display: flex;
    align-items: center;
    gap:5px;          /* text closer to image */
    padding-top: 80px;  /* more space below nav */
}
.hero-text,
.hero-image {
    flex: 1;
}
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;

    }

    .hero-image img {
        width: 100%;
        height: auto;
    }
}

.container {
    padding: 80px;
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
    }
}
.hero-image img {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .hero-image img {
        width: 200px;
        height: 200px;
    }
}

nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

nav a {
  margin: 5px 10px;
}

@media (max-width: 600px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  body {
    font-size: 14px;
  }
}

/* Basic Reset */
body, h1, h2, h3, p, a, img {
  margin: 0;
  padding: 0;
  font-family: 'Playfair Display', serif;
}

body {
  background: #ffffff;
  color: #5c3e3a; /* soft brownish-red text */
  font-size: 16px;
  line-height: 1.6;
  padding: 0 20px;
}

/* Header Styles */
header {
  background-color: white;
  padding: 50px 0;
  text-align: center;
  border-bottom: 3px solid #5c3e3a;
}

header h1 {
  font-family: 'Dancing Script', cursive;
}
  font-size: 3rem;
  color: #5c3e3a;
}

header h2 {
  font-family: 'Dancing Script', cursive;
}


body {
  opacity: 1;
}

body {
  font-family: Georgia, serif;
}

nav a {
  color: #5c3e3a;
  font-size: 1.2rem;
  text-decoration: none;
  margin: 0 15px;
  padding: 5px 0;
}

nav a:hover {
  color: #f1e1c6;
  text-decoration: underline;
}

/* Pinterest-style gallery */
.gallery {
  column-count: 3; /* number of columns */
  column-gap: 15px;
}

.gallery img {
  width: 100%;
  margin-bottom: 15px;
  border-radius: 12px;
  display: block;
  break-inside: avoid;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.gallery {
  margin-top: 20px;
  display: block;
}

/* Tablet */
@media (max-width: 800px) {
  .gallery {
    column-count: 2;
  }
}

/* Mobile */
@media (max-width: 500px) {
  .gallery {
    column-count: 1;
  }
}
.gallery img:hover {
  transform: scale(1.02);
  transition: 0.3s;
}

.prices-page {
  text-align: center;
}
.card h3 {
  margin-bottom: 5px;
}

.card p {
  font-size: 1.2rem;
}


/* Contact Form */
form input, form textarea {
  padding: 10px;
  width: 100%;
  border-radius: 8px;
  border: 2px solid #f1e1c6;
  font-size: 1rem;
  margin-bottom: 20px;
  background: #fff;
}

form button {
  background-color: #5c3e3a;
  color: #fff;
  padding: 12px 30px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background 0.3s ease;
}

form button:hover {
  background-color: #f1e1c6;
  color: #5c3e3a;
}




/* Footer Styles */
footer {
  background: #ffffff;
  padding: 30px 0;
  text-align: center;
  border-top: 3px solid #5c3e3a;
  margin-top: 50px;
}

footer .footer-content {
  max-width: 800px;
  margin: auto;
  color: #5c3e3a;
}

footer p {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

footer .social-links {
  margin-bottom: 20px;
}

footer .social-links a {
  margin: 0 15px;
}

footer .social-links img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}

footer .social-links a:hover img {
  transform: scale(1.2);
}

.pricing-table {
  width: 100%;
  max-width: 800px;
  margin: 40px auto;
  border-collapse: collapse;
  text-align: center;
  font-family: 'Playfair Display', serif;
  color: #5c3e3a;
}

.pricing-table th,
.pricing-table td {
  border: 1px solid #e8d5c4;
  padding: 15px;
}

.pricing-table th {
  background-color: #f1e1c6;
  font-size: 1.1rem;
}

.pricing-table tr:nth-child(even) {
  background-color: #faf7f2;
}

.pricing-table tr:hover {
  background-color: #f1e1c6;
  transition: 0.3s;
}

.custom-pricing {
  text-align: center;
  margin-top: 20px;
  font-size: 1.1rem;
}

@media (max-width: 600px) {

  /* Hide table layout on mobile */
  .pricing-table thead {
    display: none;
  }

  .pricing-table,
  .pricing-table tbody,
  .pricing-table tr,
  .pricing-table td {
    display: block;
    width: 100%;
  }

  .pricing-table tr {
    background: #fff;
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #e8d5c4;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  }

  .pricing-table td {
    text-align: left;
    padding: 8px 0;
    border: none;
    position: relative;
    font-size: 15px;
  }

  /* Add labels before values */
  .pricing-table td:nth-of-type(1)::before {
    content: "Size: ";
    font-weight: bold;
  }

  .pricing-table td:nth-of-type(2)::before {
    content: "One Subject: ";
    font-weight: bold;
  }

  .pricing-table td:nth-of-type(3)::before {
    content: "Two Subjects: ";
    font-weight: bold;
  }

  .pricing-table td:nth-of-type(4)::before {
    content: "Three Subjects: ";
    font-weight: bold;
  }
}

/* Profile section */
.intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1000px;
  margin: 40px auto;
}

.intro-text {
  flex: 1;
  text-align: left;
}

.profile-pic {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #e8d5c4;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);

@media (max-width: 768px) {
  .intro {
    flex-direction: column;
    text-align: center;
  }

  .intro-text {
    text-align: center;
  }
}






