:root {
  --cream: #fdf6e3;
  --white: #ffffff;
  --red: #a83232;
  --blue: #1b4d89;
  --gold: #caa500;
  --darkbrown: #3e2e1c;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--cream);
  color: var(--darkbrown);
}

header {
  background: var(--brown);
  display: flex;
  align-items: center;
  padding: 1rem 2rem;
  color: var(--white);
  justify-content: space-between;
  border-bottom: 4px solid var(--darkbrown);
}

header .logo {
  margin-right: 2rem;
  flex-shrink: 0;
  width: 200px;
  height: 70px;
  overflow: hidden;
  border-radius: 8px;
  border; 2-x solid var(--gold);
}

header .logo img {
  height: 110%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}


}

nav {
  display: flex;
  gap: 2rem;
  font-weight: 700;
  font-size: 1.1rem;
  margin-left: auto;
}

nav a {
  color: var(--gold);
  text-decoration: none;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

nav a.active,
nav a:hover {
  background: var(--red);
  color: var(--white);
}

main {
  max-width: 900px;
  margin: 2rem auto 4rem;
  padding: 0 1rem;
}

.about-hero {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: transparent;
  padding: 2rem 0;
  box-shadow: none;
  flex-wrap: wrap;
  justify-content: center;
}

.egyptian-arch {
  width: 300px;
  height: 300px;
  overflow: hidden;
  border-radius: 120px 120px 0 0 / 180px 180px 0 0;
  border: 4px solid var(--darkbrown);
  box-shadow: 0 5px 10px rgb(0 0 0 / 0.15);
  background: var(--white);
}

.egyptian-arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 120px 120px 0 0 / 180px 180px 0 0;
}

.about-text h1 {
  color: var(--red);
  font-family: 'Georgia', serif;
  margin-bottom: 0.5rem;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--darkbrown);
  max-width: 500px;
}

.work-gallery h1,
.contact-section h1 {
  color: var(--red);
  font-family: 'Georgia', serif;
  margin-bottom: 1rem;
}

.gallery {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.gallery .item {
  background: var(--white);
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgb(0 0 0 / 0.1);
  width: 240px;
  text-align: center;
}

.gallery .item img {
  max-width: 100%;
  border-radius: 10px;
  margin-bottom: 0.5rem;
}

.gallery .item h3 {
  color: var(--red);
  margin-bottom: 0.3rem;
}

.gallery .item p {
  font-weight: 600;
  color: #5b3e1b;
}

.contact-section form {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgb(0 0 0 / 0.1);
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  font-size: 1rem;
}

.contact-section label {
  font-weight: 600;
  color: var(--darkbrown);
}

.contact-section input,
.contact-section select,
.contact-section textarea {
  padding: 12px;
  font-family: inherit;
  border-radius: 6px;
  border: 2px solid #d9c9b3;
  resize: vertical;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.contact-section input:focus,
.contact-section select:focus,
.contact-section textarea:focus {
  border-color: var(--red);
  outline: none;
}

.contact-section button {
  background: var(--red);
  color: var(--white);
  border: none;
  font-weight: 700;
  padding: 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.contact-section button:hover {
  background: #8b2727;
}

footer {
  text-align: center;
  background: none;
  color: var(--gold);
  padding: 1.2rem;
  font-weight: 600;
  position: relative;
}

footer::after {
  content: "";
  display: block;
  margin: 0.5rem auto 0; /* space above the line */
  width: 80px; /* short line */
  height: 3px;
  background: var(--darkbrown);
}

.social-icons {
  display: flex;
  gap: 0.8rem;
  margin-left: 1rem;
}

.social-icons a {
  color: var(--gold);
  font-size: 1.4rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
  color: var(--red);
  transform: scale(1.2);
}
/* Existing styles above remain unchanged */

/* ============================= */
/*       MOBILE RESPONSIVE        */
/* ============================= */
@media (max-width: 768px) {
  /* HEADER & NAV */
  header {
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    text-align: center;
  }

  nav {
    flex-direction: column;
    gap: 1rem;
    margin: 1rem 0 0 0;
  }

  nav a {
    display: block;
    padding: 0.6rem 1rem;
  }

  /* LOGO */
  header .logo {
    margin: 0 0 1rem 0;
    width: 150px;
    height: auto;
  }

  header .logo img {
    height: auto;
    width: 100%;
  }

  /* HERO SECTION */
  .about-hero {
    flex-direction: column;
    text-align: center;
  }

  .about-text p {
    max-width: 100%;
  }

  .egyptian-arch {
    width: 220px;
    height: 220px;
  }

  /* GALLERY */
  .gallery {
    gap: 1rem;
  }

  .gallery .item {
    width: 100%;
    max-width: 320px;
  }

  /* CONTACT FORM */
  .contact-section form {
    padding: 1.5rem;
    width: 100%;
  }

  /* FOOTER */
  .social-icons {
    justify-content: center;
    margin: 1rem 0 0 0;
  }
}

@media (max-width: 480px) {
  /* FONTS */
  body {
    font-size: 0.95rem;
  }

  nav {
    font-size: 1rem;
  }

  /* HEADER PADDING */
  header {
    padding: 0.8rem;
  }

  /* HERO IMAGE SMALLER */
  .egyptian-arch {
    width: 180px;
    height: 180px;
  }

  /* GALLERY ITEMS STACK */
  .gallery .item {
    width: 100%;
  }

  /* CONTACT BUTTON */
  .contact-section button {
    font-size: 1rem;
    padding: 12px;
  }
}
