/* Base Reset */
body, h1, h2, h3, p, ul {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  font-family: 'Georgia', serif;
  background-image: url('https://bela25art.github.io/images/background.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-color: #e6e9e2;
  color: #3a3f35;
  line-height: 1.7;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Override for Thank You Page */
body.thank-you-page {
  background-image: url('https://bela25art.github.io/images/background.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

/* Header */
header {
  background-color: #01746c;
  padding: 1rem;
  text-align: center;
  color: #fdfdfd;
}

.header-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

.header-brand .logo {
  height: 40px;
}

/* Header Title */
header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* Navigation */
nav ul {
  display: flex;
  justify-content: center;
  gap: 1rem;
  list-style: none;
  margin-top: 1rem;
}

nav a {
  text-decoration: none;
  color: #fdfdfd;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

nav a:hover,
nav a.active {
  background-color: #8d9e7d;
  color: #3a3f35;
}

/* Main Content */
main {
  background-color: rgba(255, 255, 255, 0.92);
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

/* Hero Section */
.hero {
  text-align: center;
  margin-bottom: 2rem;
}

.hero h2 {
  font-size: 2rem;
  color: #5b6650;
}

.hero p {
  font-style: italic;
  color: #6f7e63;
}

/* Services & Gallery */
.services, .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background-color: #f1f3ed;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.service-images {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.service-images img {
  flex: 1 1 30%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

/* Updated gallery images style */
.gallery-grid img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* Testimonials */
.testimonials {
  display: grid;
  gap: 2rem;
}

.testimonials blockquote {
  background-color: #f1f3ed;
  padding: 1.5rem;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.testimonials blockquote footer {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
  font-style: normal;
  text-align: right;
  color: #000000;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contact-form button {
  background-color: #6f7e63;
  color: white;
  padding: 0.6rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #5e6f56;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background-color: transparent;
  color: #ffffff;
  margin-top: 2rem;
  padding-bottom: 2rem;
}

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

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

/* Responsive Design */
@media (max-width: 600px) {
  body {
    font-size: 0.95rem;
  }

  header h1, .hero h2 {
    font-size: 1.5rem;
  }

  nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  main {
    padding: 1rem;
  }

  .header-brand {
    flex-direction: column;
  }

  .service-images {
    flex-direction: column;
  }

  .service-images img {
    flex: 1 1 100%;
  }
}
