@font-face {
  font-family: 'Lavishly Yours';
  src: url('../fonts/LavishlyYours-Regular.ttf');
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/CormorantGaramond-VariableFont_wght.ttf');
}

@font-face {
  font-family: 'Alice';
  src: url('../fonts/Alice-Regular.ttf');
}

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

body {
  font-family: 'Alice', serif;
  color: #3d3d3d;
  line-height: 1.3;
  font-size: 1.2rem;
}

h1,h2, h3, h4 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;


}


h2,
h3 {
  margin-top: 1.75rem;
  font-weight: 400;
}

h1 {
  /*font-size: 2rem;*/

}

h2 {
  font-size: 3rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

h3 {
  font-size: 2.5rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

h4 {
  font-size: 2rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

h2::after,
h3::after,
h4::after {
  content: "";
  display: block;
  height: 4px;
  width: 425px;
  margin-top: 0.1rem;   /* space between text and line */
  box-shadow: 0 4px 2px rgba(0,0,0,0.25); /* x y blur color */
}

h2::after {
  background: #520E08;
  box-shadow: 0 4px 4px 0 rgba(82, 14, 8, 0.25);
}

h3::after,
h4::after {
  background: rgba(244, 196, 49, 0.25);
  box-shadow: 0 4px 4px 0 rgba(82, 14, 8, 0.25);
}


nav {
  height: 95px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
}
.logo {
  text-align: center;
}

.fullname {
  min-width: 100%;
  color: #520E08;
  font-size: 2.5rem;
  font-family: 'Lavishly Yours', cursive;
}

.divider {
  width: 95%;
  max-width: 95%;
  height: 1px;
  background-color: #000;
  margin:0.3em auto;
}

.title {
  font-size: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
}

#navbar {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

#navbar .navitem {
  color: black;
  margin-left: 20px;
}

#navbar a {
  text-decoration: none;
  color: #3d3d3d;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
#navbar a:hover {
  color: black;
  text-decoration: underline;
}

#introduction {
  width: 100%;
  aspect-ratio: 3 / 1;
  min-height: 500px;
  /*background-image: linear-gradient(120deg,rgba(82, 14, 8, 0.2) 0%, rgba(82, 14, 8, 0.4) 11%, rgba(255, 255, 255, 0.6) 34%,rgba(255, 255, 255, 0.8) 44%,rgba(255, 255, 255, 1) 64%), url("../images/background.jpg");*/
  background-image: linear-gradient(120deg,rgba(82, 14, 8, 0.2) 0%, rgba(255, 255, 255, 0.6) 11%, rgba(255, 255, 255, 0.6) 34%,rgba(255, 255, 255, 0.8) 44%,rgba(255, 255, 255, 1) 64%), url("../images/background.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 0 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: space-around;
  align-items: center;
}

#introduction-content{
  /*grid-template-columns: 1fr 300px; !* text flexible, image fixed *!*/
  /*gap: 2rem;*/
  padding: 0 7rem;
}
#introduction-content p {
  line-height: 1.4;
  margin-bottom: 12px;
}

#about-content {
  margin-top: 2rem;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

#about-content p {
  line-height: 1.4;
  margin-bottom: 12px;
}

#about-text {
  align-self: center;
  color: #3d3d3d; /* assuming dark bg */
  line-height: 1.3rem;
  padding: 0 2rem;
}

#about-image {
  padding: 2rem;
}

#about-image img {
  max-width: 300px;
  height: auto;
  border-radius: 50%;
}

#about,
#services,
#contact {
  width: 90%;
  margin: 0 auto;
}

#services::after,
#contact::after {
  content: "";
  width: 80%;
  height: 4px;
  margin: 2rem auto;
  background-color: #520E08;
  filter: blur(2px);
  border-radius: 2px; /* soften the edges */
  grid-column: 1 / -1;
}

#services article {
  width: 70%;
}

#services  p {
  width: 50%;
  margin: 2.2rem auto;
  padding: 1rem 3rem;
  text-align: center;
  font-size: 1.2rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-weight: bold;
  color: #3d3d3d;
  background-color: #D9D9D9;
  border: 2px solid #D9D9D9;
  border-radius: 6px;
  box-shadow: inset 0 0 0 2px #3d3d3d;
}

#services {
  display: grid;
}

.service {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 50% / 50% */
  min-height: 485px;              /* your example height */
  background: #fff;
  overflow: hidden;
  border-radius: 12px;
}

.service:not(:last-child)::after {
  content: "";
  width: 80%;
  height: 4px;
  margin: 2rem auto;
  background-color: #F4C431; /* gold */
  filter: blur(2px);
  border-radius: 2px; /* soften the edges */
  grid-column: 1 / -1;
}

.image {
  position : relative;
}

.image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service .text {
  padding: 2rem;
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: start;
}
.service .text h4{
  margin: 0;
}

.service .text ul {
  font-size: 1.2rem;
  align-self: center;
  justify-self: center;
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.6;
}


form {
  max-width: 760px;
  margin: 2rem auto 0 auto;
}
fieldset {
  border: 1px solid #ddd;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}
legend { font-weight: 600;
  padding: 0 .5rem;
}
.row { display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
label {
  display: block;
  font-weight: 600;
  margin-bottom: .25rem;
}
input[type="text"], input[type="email"], input[type="tel"] {
  width: 100%;
  padding: .6rem .7rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}
.required::after {
  content: " *";
  color: #c00;
}
.actions {
  margin-top: 1rem;
}
button {
  padding: .7rem 1rem;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}
button[type="submit"] {
  background: #F4C431;
  color: #3d3d3d;
}

.note {
  color: #555;
  font-size: .9rem;
}
.errors {
  background: #ffeef0;
  color: #8a1f2d;
  padding: .8rem 1rem;
  border: 1px solid #f5c2c7;
  border-radius: 8px;
  margin-bottom: 1rem;
  margin-top: 2rem;
}
.success { background: #e7f7ee;
  color: #0b5d3b;
  padding: .8rem 1rem;
  border: 1px solid #bfe3d0;
  border-radius: 8px;
  margin-bottom: 1rem;
  margin-top: 2rem;
}
/* Honey pot: hidden visually but still in DOM; avoid display:none for some bots */
.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.button-gold {
  display: inline-block;
  padding: 0.2rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: #000;
  background-color: #F4C431;        /* gold fill */
  border: 2px solid #F4C431;        /* gold outer border */
  border-radius: 6px;
  box-shadow: inset 0 0 0 2px #3d3d3d; /* black inset border */
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.button-gold:hover {
  background-color: #e6b81f;    /* darker gold on hover */
}

.button-gold:active {
  background-color: #d9aa1a;
  transform: scale(0.97);       /* slight press effect */
}

#contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

#contact section{
  padding: .8rem 2rem;
}

/*.contact-method::after {*/
/*  content: "";*/
/*  width: 80%;*/
/*  height: 4px;*/
/*  margin: 2rem auto;*/
/*  background-color: #F4C431; !* gold *!*/
/*  filter: blur(2px);*/
/*  border-radius: 2px; !* soften the edges *!*/
/*}*/


address {
}

address ul {
  list-style: none;
  margin: 2rem auto;
}

footer {
  background: #D9D9D9;
  width: 100%;
}

footer ul {
  width: 60%;
  display: flex;
  list-style: none;
  justify-content: space-around;
  margin: 0 auto;
}

footer a {
  text-decoration: none;
  color: #3d3d3d;
}

footer a:hover {
  text-decoration: underline;
  color: #000000;
}


@media (max-width: 900px) {
  .service {
    grid-template-columns: 1fr; /* single column */
    min-height: auto;
  }
  .service__media, .service__text { grid-column: 1; }
  .service__text { padding: 1.5rem; }
  .service__text ul { align-self: start; } /* avoid huge centers on tall stacks */
  h3::after { width: 60%; }                /* shorter underline on mobile */
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr; /* single column */
    text-align: center;
  }
  .hero-image {
    margin-top: 1.5rem;
  }
}

@media (max-width: 600px) {
  .service:not(:last-child)::after {
    width: 60%;
  }
}

@media (max-width: 500px) {
  h2::after,
  h3::after {
    width: 60%; /* relative to heading width */
  }
}