/* =============================================
   GITGIT STUDIO - Static Site Stylesheet
   ============================================= */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Roboto:wght@300;400;500;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --color-heading: #1a3a6e;
  --color-accent: #00b4d8;
  --color-accent-dark: #0077a8;
  --color-link: #1a73e8;
  --color-link-hover: #0d5bba;
  --color-text: #333333;
  --color-text-light: #555555;
  --color-cta-bg: #f0f2f5;
  --color-nav-bg-scrolled: #111111;
  --color-nav-text-default: #333333;
  --color-nav-text-scrolled: #ffffff;
  --color-white: #ffffff;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --nav-height: 64px;
  --section-max-width: 1100px;
  --section-padding: 80px 24px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-link);
  text-decoration: none;
}

a:hover {
  color: var(--color-link-hover);
}

ul {
  list-style: none;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
  background: var(--color-nav-bg-scrolled);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
}

.nav-logo-text {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  color: var(--color-accent);
  letter-spacing: -0.5px;
}

.nav.scrolled .nav-logo-text {
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-nav-text-default);
  padding: 8px 12px;
  border-radius: 4px;
  transition: color 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.nav.scrolled .nav-links a {
  color: var(--color-nav-text-scrolled);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent);
}

.nav.scrolled .nav-links a:hover,
.nav.scrolled .nav-links a.active {
  color: var(--color-accent);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.nav-dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 2px;
  transition: transform 0.2s;
}

.nav-dropdown:hover .nav-dropdown-toggle::after,
.nav-dropdown.open .nav-dropdown-toggle::after {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  min-width: 260px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: var(--color-text) !important;
  font-size: 14px;
  border-radius: 0;
  transition: background 0.15s;
}

.nav-dropdown-menu a:first-child {
  border-radius: 8px 8px 0 0;
}

.nav-dropdown-menu a:last-child {
  border-radius: 0 0 8px 8px;
}

.nav-dropdown-menu a:hover {
  background: #f5f5f5;
  color: var(--color-accent) !important;
}

/* Nav Search */
.nav-search-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--color-nav-text-default);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.nav.scrolled .nav-search-btn {
  color: var(--color-nav-text-scrolled);
}

.nav-search-btn:hover {
  color: var(--color-accent);
}

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-nav-text-default);
  transition: background 0.2s, transform 0.3s, opacity 0.3s;
}

.nav.scrolled .nav-hamburger span {
  background: var(--color-nav-text-scrolled);
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav menu */
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--color-white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  z-index: 999;
  padding: 8px 0 16px;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}

.nav-mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.nav-mobile-menu a {
  display: block;
  padding: 12px 24px;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid #f0f0f0;
}

.nav-mobile-menu a:last-child {
  border-bottom: none;
}

.nav-mobile-menu a:hover {
  color: var(--color-accent);
  background: #f9f9f9;
}

.nav-mobile-menu .mobile-sub {
  padding-left: 40px;
  font-size: 14px;
  color: var(--color-text-light);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
  max-width: 700px;
}

.hero-logo-svg {
  width: 440px;
  max-width: 88vw;
  margin: 0 auto 24px;
  filter: drop-shadow(0 2px 12px rgba(255,255,255,0.6));
  display: block;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  text-shadow: 0 1px 3px rgba(255,255,255,0.8);
  letter-spacing: 0.2px;
}

.hero-scroll-btn {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2;
  animation: bounce 2s infinite;
  color: var(--color-text);
  font-size: 22px;
  opacity: 0.7;
}

.hero-scroll-btn:hover {
  opacity: 1;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Page sub-hero (not home) */
.page-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px 32px;
  max-width: 700px;
}

.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.page-hero-subtitle {
  font-size: clamp(15px, 2.5vw, 18px);
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.6;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.page-hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2;
  animation: bounce 2s infinite;
  color: white;
  font-size: 22px;
  opacity: 0.8;
}

/* ---------- Section Shared ---------- */
.section {
  padding: var(--section-padding);
}

.section-inner {
  max-width: var(--section-max-width);
  margin: 0 auto;
}

/* ---------- Service Preview Sections (Home) ---------- */
.service-section {
  padding: 60px 24px;
  border-bottom: 1px solid #f0f0f0;
}

.service-section:last-of-type {
  border-bottom: none;
}

.service-row {
  max-width: var(--section-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

.service-row.reverse {
  flex-direction: row-reverse;
}

.service-img-wrap {
  flex: 0 0 42%;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.service-img-wrap img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.service-text {
  flex: 1;
}

.service-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 20px;
  line-height: 1.2;
}

.service-text p {
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-link);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.service-link:hover {
  color: var(--color-link-hover);
}

/* ---------- About Section ---------- */
.about-section {
  position: relative;
  padding: 80px 24px;
  overflow: hidden;
}

.about-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.45);
}

.about-inner {
  position: relative;
  z-index: 2;
  max-width: var(--section-max-width);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

.about-portrait {
  flex: 0 0 260px;
}

.about-portrait img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: top center;
  border-radius: 4px;
  box-shadow: 0 6px 30px rgba(0,0,0,0.4);
}

.about-text {
  flex: 1;
  color: var(--color-white);
}

.about-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 24px;
  line-height: 1.2;
}

.about-text p {
  font-size: 16px;
  color: rgba(255,255,255,0.9);
  line-height: 1.75;
  margin-bottom: 16px;
  text-align: justify;
}

.about-text p strong {
  color: var(--color-white);
}

/* ---------- Clients Section ---------- */
.clients-section {
  padding: 60px 24px;
  background: var(--color-white);
}

.clients-inner {
  max-width: var(--section-max-width);
  margin: 0 auto;
  text-align: center;
}

.clients-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 40px;
}

.clients-logos {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

.clients-logos img {
  width: 100%;
  height: auto;
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: var(--color-cta-bg);
  padding: 60px 24px;
  text-align: center;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 32px;
}

.cta-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-link);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.cta-link:hover {
  color: var(--color-link-hover);
}

.cta-link-icon {
  font-size: 18px;
}

/* ---------- Service Page Content ---------- */
.page-content {
  padding: 60px 24px;
}

.page-content-inner {
  max-width: 900px;
  margin: 0 auto;
}

.page-intro {
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-intro strong {
  font-weight: 700;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 48px 0;
}

.pricing-grid.two-col {
  grid-template-columns: repeat(2, 1fr);
}

.pricing-card {
  padding: 0;
}

.pricing-card h3 {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 8px;
  line-height: 1.3;
}

.pricing-card .price {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 20px;
  display: block;
}

.pricing-card ul {
  list-style: disc;
  padding-left: 20px;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.8;
}

.pricing-card ul li {
  margin-bottom: 4px;
}

.pricing-card .note {
  font-style: italic;
  color: var(--color-text-light);
  font-size: 14px;
  margin-top: 16px;
}

.pricing-card .package-desc {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}

.what-you-get-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 12px;
}

.pricing-card ul.feature-list {
  list-style: disc;
  padding-left: 20px;
}

.pricing-card ul.feature-list li strong {
  font-weight: 700;
}

.commitment-note {
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.7;
  text-align: center;
  max-width: 750px;
  margin: 0 auto 40px;
}

.commitment-note strong {
  font-weight: 700;
}

.section-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--color-heading);
  font-style: italic;
  text-align: center;
  margin: 40px 0 32px;
  line-height: 1.3;
}

.service-what-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 32px;
}

.service-what-list li {
  font-size: 16px;
  color: var(--color-text);
  padding: 6px 0;
  line-height: 1.6;
}

.additional-note {
  font-size: 14px;
  color: var(--color-text-light);
  margin-top: 16px;
}

.additional-note strong {
  font-weight: 700;
}

/* ---------- Case Study Page ---------- */
.case-study-section {
  padding: 60px 24px;
  border-bottom: 1px solid #eee;
}

.case-study-section:last-of-type {
  border-bottom: none;
}

.case-study-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--color-heading);
  text-align: center;
  margin-bottom: 32px;
}

.analytics-wrap {
  max-width: 820px;
  margin: 0 auto 32px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.analytics-wrap img {
  width: 100%;
  height: auto;
}

.analytics-two-col {
  max-width: 900px;
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.analytics-two-col .analytics-wrap {
  margin: 0;
}

.case-meta {
  max-width: 820px;
  margin: 0 auto;
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.7;
}

.case-meta p {
  margin-bottom: 6px;
}

.case-meta p strong {
  font-weight: 700;
}

.case-meta h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 12px 0 8px;
  color: var(--color-text);
}

.case-meta ul {
  list-style: disc;
  padding-left: 20px;
}

.case-meta ul li {
  margin-bottom: 4px;
}

.influencer-thumbnails {
  max-width: 960px;
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.thumb-card {
  text-align: left;
}

.thumb-card a {
  display: block;
  text-decoration: none;
}

.thumb-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 8px;
  display: block;
}

.thumb-stats {
  font-size: 12px;
  color: var(--color-text);
  line-height: 1.6;
}

.thumb-stats strong {
  font-weight: 700;
}

.thumb-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-link);
  text-decoration: underline;
}

/* ---------- Contact Page ---------- */
.contact-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px 32px;
  max-width: 640px;
}

.contact-title {
  font-family: var(--font-heading);
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 700;
  color: #111;
  margin-bottom: 16px;
}

.contact-subtitle {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 32px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.contact-links a {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.contact-links a:hover {
  color: var(--color-accent);
}

/* ---------- Responsive - Tablet ---------- */
@media (max-width: 900px) {
  :root {
    --section-padding: 60px 20px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid.two-col {
    grid-template-columns: 1fr;
  }

  .analytics-two-col {
    grid-template-columns: 1fr;
  }

  .influencer-thumbnails {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-inner {
    flex-direction: column;
    gap: 32px;
  }

  .about-portrait {
    flex: none;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .about-portrait img {
    height: 300px;
  }
}

/* ---------- Responsive - Mobile ---------- */
@media (max-width: 680px) {
  :root {
    --nav-height: 56px;
    --section-padding: 48px 16px;
  }

  .nav {
    padding: 0 16px;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-mobile-menu {
    display: block;
  }

  .service-row,
  .service-row.reverse {
    flex-direction: column;
    gap: 28px;
  }

  .service-img-wrap {
    flex: none;
    width: 100%;
  }

  .service-img-wrap img {
    height: 240px;
  }

  .hero-logo-svg {
    width: 280px;
  }

  .hero-tagline {
    font-size: 17px;
  }

  .influencer-thumbnails {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-links {
    flex-direction: column;
    gap: 16px;
  }

  .page-hero-title {
    font-size: 30px;
  }
}

@media (max-width: 420px) {
  .influencer-thumbnails {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-40 { margin-top: 40px; }
