/* ---------------------------------------------------
   Global
--------------------------------------------------- */

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: #f5f6f7;
  color: #111;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------------------------------------------------
   Header & Navigation
--------------------------------------------------- */

header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #e6e6e6;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  z-index: 1000;
}

.logo {
  font-size: 22px;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  margin-right: auto;  /* pushes nav to the right */
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

nav a {
  text-decoration: none;
  color: #222;
  font-size: 15px;
}

/* ---------------------------------------------------
   Buttons
--------------------------------------------------- */

.whatsapp-btn {
  background: #25D366;
  color: white;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  text-decoration: none;
  display: inline-block;
}

.email-btn {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  border: 1px solid #d4d4d4;
  background: #ffffff;
  color: #111827;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.email-btn:hover {
  border-color: #9ca3af;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

/* ---------------------------------------------------
   Hero
--------------------------------------------------- */

.hero {
  padding: 140px 20px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff, #f2f3f4);
}

.hero h1 {
  font-size: 52px;
  max-width: 900px;
  margin: auto;
  letter-spacing: -0.5px;
}

.hero p {
  max-width: 720px;
  margin: 24px auto 40px;
  color: #6b7280;
  font-size: 18px;
}

/* ---------------------------------------------------
   Generic Sections
--------------------------------------------------- */

.section {
  padding: 100px 20px;
  max-width: 1200px;
  margin: auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 50px;
}

/* ---------------------------------------------------
   Cards
--------------------------------------------------- */

.card {
  background: white;
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 14px;
}

/* ---------------------------------------------------
   Home – Feature Image Block
--------------------------------------------------- */

.feature-image-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 16px;   /* small bottom padding = tighter gap */
}

.feature-image {
  width: 100%;
  display: block;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.18);
}

/* Reduce the top padding of the section immediately after the image
   (your “What I Do” section) */
.feature-image-section + .section {
  padding-top: 40px;   /* instead of the default 100px */
}

/* ---------------------------------------------------
   Portfolio Styling
--------------------------------------------------- */

.section-portfolio-intro {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-portfolio-intro p {
  margin-top: 0.75rem;
  line-height: 1.6;
  opacity: 0.9;
}

.section-portfolio-grid h2 {
  text-align: left;
  margin-bottom: 1.5rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.portfolio-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.portfolio-thumb {
  width: 100%;
  border-radius: 14px;
  padding-top: 62%;
  margin-bottom: 1rem;
  background: radial-gradient(circle at top left, #f5f9ff, #eaeef5);
}

.portfolio-card h3 {
  margin-bottom: 0.25rem;
}

.portfolio-meta {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 0.75rem;
}

/* CTA under portfolio */

.section-portfolio-cta {
  text-align: center;
  margin-top: 3rem;
}

.section-portfolio-cta p {
  max-width: 640px;
  margin: 0.75rem auto 1.5rem;
}

.portfolio-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------------------------------------------------
   Contact Page Styling
--------------------------------------------------- */

.contact-section {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
}

.contact-intro {
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 42rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.6rem 0 2.4rem;
}

.contact-details {
  padding: 1.8rem 1.7rem 1.6rem;
  border-radius: 1.5rem;
  background: rgba(0, 0, 0, 0.02);
}

.contact-details h2 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.contact-details p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.contact-meta {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-meta li {
  margin-bottom: 0.4rem;
  line-height: 1.5;
}

/* ---------------------------------------------------
   Footer
--------------------------------------------------- */

footer {
  border-top: 1px solid #e6e6e6;
  padding: 50px;
  text-align: center;
  background: white;
  color: #6b7280;
}

/* HERO – tighter spacing at bottom */
.hero {
  padding: 120px 20px 40px;  /* was 140px top / 40px bottom */
}

/* FEATURE IMAGE SECTION – remove excess top padding */
.feature-image-section {
  padding-top: 0;        /* tighten spacing */
  padding-bottom: 20px;  /* small breathing room */
  text-align: center;
}

.feature-image {
  width: 100%;
  max-width: 1200px;
  display: block;
  margin: 0 auto;
  border-radius: 16px;
}