/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: lab(4.74% 0.18 0.63);
  background-image: url("images/backround img.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  scroll-snap-type: y mandatory;
}

@keyframes backgroundFloat {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Header */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e0ded9;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo-img {
  height: 60px;
  width: auto;
}

.main-nav a {
  margin-left: 1.25rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.main-nav a:hover {
  color: #e57a2c; /* orange from logo */
}

/* Hero */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.25)), url("images/backround img.jpg");
  background-size: cover;
  background-position: center center;
  padding: 4rem 0 3rem;
  min-height: 100vh;
  scroll-snap-align: start;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
}

.hero-text {
  text-align: center;
  width: 100%;
}

.hero-text h1 {
  font-size: 3rem;
  margin-top: -0.35rem;
  margin-bottom: 0.35rem;
  letter-spacing: -0.04em;
  line-height: 0.95;
  transform: translateY(-3px);
  color: #d17008;
  background-color: hsla(0, 0%, 5%, 0.424);
  padding: 1.75rem 2.25rem;
  border-radius: 18px;
  display: inline-block;
  max-width: 900px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.hero-text p {
  font-size: 1.1rem;
  max-width: 480px;
  margin: 0 auto 1.5rem;
  color: #111111;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background-color: #e57a2c;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 3px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
}

.btn-primary:hover {
  background-color: #c9651f;
}

/* Sections */
.section {
  padding: 3rem 0;
  min-height: 100vh;
  scroll-snap-align: start;
}

.section-alt {
  background-color: #fff;
  min-height: 100vh;
  scroll-snap-align: start;
}

.section h2 {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  color: #111010;
}

.section-intro {
  margin-bottom: 2rem;
  color: #eae4e4;
}

/* Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: hsla(205, 62%, 42%, 0.867);
  border-radius: 4px;
  padding: 1.25rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #e57a2c;
}

/* About */
.about-inner {
  display: flex;
  gap: 2rem;
}

/* Gallery */

/* 🔥 Clean Responsive Grid Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.before-after-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

.before-after-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.before-after-card:hover img {
  transform: scale(1.03);
}

.before-after-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.before-after-label.before {
  background: rgba(0, 0, 0, 0.65);
}

.before-after-label.after {
  background: rgba(229, 122, 44, 0.95);
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.2s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);

}


.gallery-item {
  background-color: #f0ece6;
  border-radius: 4px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2e2b2b;
  font-size: 0.95rem;
}

/* Instagram */
.instagram-embed-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

.instagram-iframe {
  width: 100%;
  max-width: 500px;
  height: 600px;
  border-radius: 4px;
  border: 1px solid #1c1b1b;
  background-color: #fff;
}

.instagram-profile-link a {
  color: #1a73e8;
  font-weight: 600;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 2rem;
  align-items: flex-start;
}

.contact-form .form-row {
  margin-bottom: 1rem;
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.contact-form small {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.8rem;
  color: #999;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 3px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
  font-family: inherit;
}

.contact-form textarea {
  resize: vertical;
  line-height: 1.5;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #e57a2c;
  box-shadow: 0 0 0 3px rgba(229, 122, 44, 0.1);
}

#contact .contact-form button[type="submit"] {
  width: 100%;
  padding: 0.9rem;
  font-size: 0.95rem;
}

#contact .contact-form button[type="submit"]:hover {
  background-color: #c9651f;
}

#contact .contact-form button[type="submit"]:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.contact-info h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

#contact,
#contact .contact-info,
#contact .contact-form label,
#contact .section-intro,
#contact h2 {
  color: #ffffff;
}

#contact {
  background-color: rgba(0, 0, 0, 0.6);
}

#contact .contact-instructions {
  background: rgba(255, 255, 255, 0.08);
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

#contact .contact-instructions p {
  margin: 0 0 1rem;
  color: #f4f4f4;
}

#contact .contact-instructions a {
  color: #ffffff;
  text-decoration: none;
}

.contact-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn-secondary {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  padding: 0.9rem 1.4rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.24);
}

.quote-fallback {
  margin-top: 0.75rem;
  color: #dfdfdf;
  font-size: 0.95rem;
}

#contact .contact-form input,
#contact .contact-form textarea {
  background-color: rgba(255, 255, 255, 0.95);
  color: #111;
  border: 1px solid #ccc;
}

#contact .quote-note {
  max-width: 700px;
  margin-bottom: 1.5rem;
  color: #f4f4f4;
  font-size: 1rem;
  line-height: 1.6;
}

/* Footer */
.site-footer {
  background-color: #252424;
  color: #eee;
  padding: 1rem 0;
  margin-top: 2rem;
}

.footer-inner {
  text-align: center;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 800px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    margin-top: 0.5rem;
  }

  .main-nav a {
    margin-left: 0;
    margin-right: 1rem;
  }

  .hero-inner {
    min-height: auto;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}
