/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* grain overlay removed — was blocking screenshot capture */

/* ===== NAVBAR ===== */
#navbar.scrolled {
  background: rgba(22, 19, 17, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 132, 92, 0.08);
}

/* ===== HERO ===== */
.hero-bg {
  background: radial-gradient(ellipse 70% 50% at 30% 20%, rgba(201, 132, 92, 0.08) 0%, transparent 70%),
              radial-gradient(ellipse 50% 40% at 80% 60%, rgba(168, 113, 78, 0.05) 0%, transparent 60%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.08;
  animation: float 10s ease-in-out infinite;
}
.blob-1 {
  width: 600px; height: 600px;
  background: #c9845c;
  top: -150px; right: -150px;
}
.blob-2 {
  width: 400px; height: 400px;
  background: #a8714e;
  bottom: -80px; left: -100px;
  animation-delay: -5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.03); }
}

/* ===== GRADIENT TEXT ===== */
.gradient-text {
  background: linear-gradient(135deg, #d4956b 0%, #c9845c 40%, #a8714e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: #c9845c;
  color: #161311;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.btn-primary:hover {
  background: #d4956b;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201, 132, 92, 0.25);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #e8ddd4;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 8px;
  border: 1px solid rgba(201, 132, 92, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.95rem;
  text-decoration: none;
}
.btn-secondary:hover {
  border-color: rgba(201, 132, 92, 0.6);
  background: rgba(201, 132, 92, 0.06);
  transform: translateY(-2px);
}

/* ===== SERVICE CARDS ===== */
.service-card {
  background: rgba(30, 26, 23, 0.8);
  border: 1px solid rgba(201, 132, 92, 0.08);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(201, 132, 92, 0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.service-card:hover {
  border-color: rgba(201, 132, 92, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}
.service-card:hover::before {
  opacity: 1;
}

.service-card-featured {
  border-color: rgba(201, 132, 92, 0.15);
  background: linear-gradient(160deg, rgba(30, 26, 23, 0.9) 0%, rgba(201, 132, 92, 0.04) 100%);
}

.featured-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: linear-gradient(135deg, #c9845c, #a8714e);
  color: #161311;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== ABOUT ===== */
.about-visual {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto;
}
.about-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, rgba(30, 26, 23, 1), rgba(201, 132, 92, 0.08));
  border: 1px solid rgba(201, 132, 92, 0.12);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
}

.floating-badge {
  position: absolute;
  background: rgba(30, 26, 23, 0.95);
  border: 1px solid rgba(201, 132, 92, 0.12);
  border-radius: 10px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 700;
  animation: float 7s ease-in-out infinite;
  backdrop-filter: blur(8px);
}
.badge-1 { top: -10px; right: -20px; animation-delay: 0s; }
.badge-2 { bottom: 60px; right: -30px; animation-delay: -2s; }
.badge-3 { bottom: -10px; left: 20px; animation-delay: -4s; }
.badge-4 { top: 40px; left: -30px; animation-delay: -1s; }
.badge-5 { top: -10px; left: 60px; animation-delay: -3s; }

/* ===== PORTFOLIO ===== */
.portfolio-card {
  background: rgba(30, 26, 23, 0.8);
  border: 1px solid rgba(201, 132, 92, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.portfolio-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 132, 92, 0.2);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}
.portfolio-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: rgba(30, 26, 23, 0.8);
  border: 1px solid rgba(201, 132, 92, 0.08);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonial-card:hover {
  border-color: rgba(201, 132, 92, 0.2);
  transform: translateY(-2px);
}

/* ===== CONTACT FORM ===== */
.contact-form {
  background: rgba(30, 26, 23, 0.8);
  border: 1px solid rgba(201, 132, 92, 0.08);
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #8a7e75;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(22, 19, 17, 0.8);
  border: 1px solid rgba(201, 132, 92, 0.1);
  border-radius: 10px;
  padding: 12px 16px;
  color: #e8ddd4;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: all 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #c9845c;
  box-shadow: 0 0 0 3px rgba(201, 132, 92, 0.08);
}
.form-group select option { background: #1e1a17; }
.form-group textarea { resize: vertical; }

/* ===== SECTION DIVIDER ===== */
.section-alt {
  background: rgba(30, 26, 23, 0.5);
}

/* ===== BLOG CARDS ===== */
.blog-card {
  background: rgba(30, 26, 23, 0.8);
  border: 1px solid rgba(201, 132, 92, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 132, 92, 0.2);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}
.blog-card a {
  text-decoration: none;
  color: inherit;
}
.blog-card-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  object-fit: cover;
  width: 100%;
}
img.blog-card-img {
  display: block;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== ARTICLE PAGE ===== */
.article-hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(201, 132, 92, 0.08);
}
.article-content h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #e8ddd4;
}
.article-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: #c4b5a8;
}
.article-content p {
  color: #8a7e75;
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}
.article-content ul,
.article-content ol {
  color: #8a7e75;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  line-height: 1.8;
}
.article-content li {
  margin-bottom: 0.5rem;
}
.article-content ul li {
  list-style: disc;
}
.article-content ol li {
  list-style: decimal;
}
.article-content strong {
  color: #e8ddd4;
  font-weight: 700;
}
.article-content blockquote {
  border-left: 3px solid #c9845c;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: rgba(201, 132, 92, 0.04);
  border-radius: 0 12px 12px 0;
}
.article-content blockquote p {
  color: #c4b5a8;
  font-style: italic;
  margin-bottom: 0;
}
.article-content .highlight-box {
  background: rgba(30, 26, 23, 0.8);
  border: 1px solid rgba(201, 132, 92, 0.12);
  border-radius: 14px;
  padding: 24px;
  margin: 2rem 0;
}
.article-content .highlight-box p {
  margin-bottom: 0;
}
.blog-card-content {
  padding: 24px;
}
.blog-category-badge {
  background: rgba(201, 132, 92, 0.12);
  color: #c9845c;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== BLOG FILTERS ===== */
.blog-filter {
  background: transparent;
  border: 1px solid rgba(201, 132, 92, 0.12);
  color: #8a7e75;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.blog-filter:hover {
  border-color: rgba(201, 132, 92, 0.3);
  color: #e8ddd4;
}
.blog-filter.active {
  background: #c9845c;
  border-color: #c9845c;
  color: #161311;
}

/* ===== HORIZONTAL RULE ===== */
.craft-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 132, 92, 0.15), transparent);
  border: none;
  margin: 0;
}
