:root {
  --bg: #f5f7fa;
  --card: #ffffff;
  --accent: #ff7a1a;
  --muted: #6b7280;
  --glass: rgba(0, 0, 0, 0.04);
  --radius: 16px;
  --container: 1100px;
  --gap: 20px;
  --ff: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  padding: 32px 18px;
  display: flex;
  justify-content: center;
  font-family: var(--ff);
  line-height: 1.45;
  background: linear-gradient(180deg, #fdfdfd 0%, #f0f4f8 60%);
  color: #1f2937;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.wrap {
  width: 100%;
  max-width: var(--container);
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 100px;      /* smaller */
  height: 100px;
  border-radius: 10px;
  overflow: hidden;  /* makes the img fit perfectly */
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent; /* remove the old gradient box if you want */
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* keeps your logo clean and sharp */
  display: block;
}

h1 {
  margin: 0;
  font-size: 18px;
}
#logohead{
  color: rgb(146, 108, 65);
}
.nav {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav a {
  padding: 8px 12px;
  color: var(--muted);
  text-decoration: none;
  border-radius: 10px;
}

.nav a:hover {
  color: #000;
  background: rgba(0, 0, 0, 0.04);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.06);
  background-image: url('photos/mainphoto.png');
  background-size: cover;
  background-position: center;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.12);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
}

.hero-inner {
  position: relative;
  width: 100%;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.hero-left {
  max-width: 60%;
  color: rgb(255, 255, 255);
}

.hero h2 {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.02;
  color: #ffffff;
}


.cta {
  display: inline-flex;
  gap: 10px;
}

.btn {
  padding: 12px 18px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--accent), #ffb86b);
}

.btn.secondary {
  color: #1f2937;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  margin-top: 22px;
}

/* About */
.card {
  padding: 22px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.062);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), #ffffff);
}

.stats {
  display: flex;
  gap: 18px;
  margin-top: 10px;
}

.stat {
  flex: 1;
}

.stat b {
  font-size: 20px;
  display: block;
}

.muted {
  font-size: 14px;
  color: var(--muted);
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.gallery img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  display: block;
  transition: transform 0.25s;
}

.gallery img:hover {
  transform: scale(1.03);
}

/* Services */
.services {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service {
  display: flex;
  gap: 12px;
  align-items: center;
}

.chip {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  min-width: 52px;
  /* ensures multi-letter chips don’t shrink */
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 16px;
  /* adjust for visual balance */
  background: linear-gradient(135deg, #4fd1c5, #93c5fd);
  color: #fff;
}

/* Contact */
.contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

label {
  font-size: 13px;
  color: var(--muted);
}

input,
textarea {
  padding: 10px;
  color: inherit;
  border-radius: 10px;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

input::placeholder,
textarea::placeholder {
  color: rgba(0, 0, 0, 0.35);
}

.submit {
  margin-top: 6px;
  display: inline-block;
}

/* Footer */
footer {
  margin-top: 28px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  padding: 28px;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.65);
  z-index: 60;
}
.lightbox .prev,
.lightbox .next {
    position: absolute;
    top: 50%;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    user-select: none;
    transform: translateY(-50%);
    padding: 10px;
}

.lightbox .prev { left: 0px; }
.lightbox .next { right: 0px; }
.lightbox img {
  max-width: 92%;
  max-height: 86%;
  border-radius: 12px;
}

#about-and-contact {
  display: grid;
  grid-template-columns: auto auto;
  gap: 20px;
}

.lightbox.show {
  display: flex;
}

/* Responsive */
@media (max-width: 980px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-left {
    max-width: 100%;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
#about-and-contact {
  grid-template-columns: 1fr !important;
}
}

@media (max-width: 520px) {
  .hero {
    min-height: 360px;
  }

  .gallery img {
    height: 120px;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav {
    overflow: auto;
  }
#about-and-contact {
  grid-template-columns: 1fr !important;
}

}

.grid>div,
.grid>aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card {
  margin: 0;
}
.gallery-wrap {
  position: relative;
}

.show-more-btn {
  margin-top: 14px;
  padding: 10px 18px;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--accent), #ffb86b);
  border: none;
  color: white;
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
  transition: 0.25s;
}

.show-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.12);
}

.gallery.collapsed img:nth-child(n+13) {
  display: none;
}

.gallery {
  transition: max-height 0.4s ease;
}

