:root {
  --content-width: 950px;
  --space-xs: 24px;
  --space-sm: 48px;
  --space-md: 80px;
  --space-lg: 120px;
}

html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

.hero {
  position: relative;
  height: 100vh;
  padding-top: 70px;
  padding-bottom: var(--space-lg);
  overflow: hidden;
}

/* Background layer */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("images/hero.jpg");
  background-size: cover;
  background-position: center;
  will-change: transform;
  transform: translateY(0);
}

/* Background layer dev */
.hero-bg-dev {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("images/hero_dev.jpg");
  background-size: cover;
  background-position: center;
  will-change: transform;
  transform: translateY(0);
}

/* Fade into Nav */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 120px;
  width: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0)
  );
  z-index: 1;
}

/* Fade blend at bottom */
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 400px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0),
    rgb(255, 255, 255)
  );
  z-index: 2;
}

/* Content */
.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 20px;

}
.hero-divider {
  width: 200px;
  height: 3px;
  margin: 16px auto 24px;
  background: linear-gradient(
    90deg,
    #f5c842,
    #f2b705
  );
  border-radius: 2px;
  opacity: 0;
  transform: scaleX(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-divider.visible {
  opacity: 1;
  transform: scaleX(1);
}

/* HERO TEXT INITIAL STATE */
.hero-title {
  font-family: 'Playfair Display', serif;
  opacity: 0;
  transform: scaleX(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0;
  
}
.hero-subtitle {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
  font-size: clamp(18px, 2.2vw, 24px);
  max-width: 850px;
  margin: 0 auto;
  font-weight: 400;
  font-style: italic;
  color: #f5f5f5; /* slightly softer than pure white */
  line-height: 1.4;
}
.hero-explore {
    opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  margin-top: 32px;
  padding: 12px 28px;
  background: linear-gradient(90deg, #f5c842, #f2b705);
  color: #111;
  text-decoration: none;
  font-weight: 600;
  border-radius: 10px;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover effect */
.hero-explore:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 200, 66, 0.4);
}

/* HERO TEXT VISIBLE STATE */
.hero-title.visible,
.hero-subtitle.visible,
.hero-explore.visible {
  opacity: 1;
  transform: translateY(0);
}

.btn {
  margin-top: 20px;
  padding: 12px 24px;
  background: white;
  color: #111;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
}

.story {
  max-width: var(--content-width);
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}

/* Floating image */
.story-image {
  float: left;
  width: 240px;
  height: 160px;
  margin: 0 28px 20px 0;
  border-radius: 14px;
  object-fit: cover;
  shape-outside: margin-box;;
}
.story-image.right {
  float: right;
  margin: 0 0 16px 24px;
}

@media (max-width: 768px) {
  .story-image {
    width: min(180px, 60vw);       /* 👈 smaller */
    max-width: 70%;     /* 👈 safety */
    margin: 0 auto 1.5rem;
    float: none;        /* 👈 IMPORTANT */
    display: block;
  }
  .story-image.right {
    float: none;
  }
}

/* Shared yellow accent button */
.btn-accent {
  margin-top: 32px;
  padding: 12px 28px;
  background: linear-gradient(90deg, #f5c842, #f2b705);
  color: #111;
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 200, 66, 0.4);
}

.contact .btn-accent {
  width: 220px;
  align-self: center;
  text-align: center;
}

section {
  padding: var(--space-sm) 0;
  padding-top: var(--space-md);
  padding-bottom: var(--space-md);
  scroll-margin-top: 90px; /* navbar height + breathing room */
}

.section-container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-align: center;
  margin-bottom: var(--space-xs);
  color: #111;
}

/* Yellow accent divider */
.section-title::after {
  content: "";
  display: block;
  width: 180px;
  height: 3px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, #f5c842, #f2b705);
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  margin-bottom: var(--space-xs);
  font-size: 16px;
  color: #666;
  font-style: normal;
}

h3 {
  margin-bottom: 20px;
}
.services {
  padding-top: var(--space-xs);
  padding-bottom: var(--space-xs);
  text-align: left;
}

.services-grid {
  margin-top: var(--space-sm);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 0; /* IMPORTANT */
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}
/* Service Card */
.service-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* Content */
.service-card h4 {
  margin: 20px 20px 10px;
  font-size: 18px;
}

.service-card > p {
  margin: 0 20px 24px;
  font-size: 15px !important;
  color: #555;
}

/* Hover effect */
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

form {
  display: flex;
  flex-direction: column;
}

input {
  margin-bottom: 15px;
  padding: 12px;
  font-size: 16px;
}
 textarea {
  margin-bottom: 15px;
  padding: 12px;
  font-size: 16px;
  min-height: 160px;   /* 👈 default size */
  resize: vertical;   /* allow user to resize vertically */
}
button {
  cursor: pointer;
}
@media (max-width: 600px) {
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 18px;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
/* Navigation*/
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  z-index: 1000;

  background: rgba(0, 0, 0, 0); /* fully transparent */
  backdrop-filter: none;

  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

/* Darker on scroll */
.navbar.scrolled {
  background: #01023f;
  backdrop-filter: blur(10px);
}

.nav-container {
  max-width: 1100px;
  margin: auto;
  width: 100%;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: bold;
  color: white;
}

.nav-links {
  position: relative;
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 6px 0;
  transition: color 0.2s ease;
  list-style: none;        /* removes dots */
  display: flex;           /* makes it horizontal */
  gap: 24px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

/* Underline */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #f5c842, #f2b705);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Glow + underline on hover */
.nav-links a:hover {
  color: #f5c842;
  text-shadow: 0 0 8px rgba(245, 200, 66, 0.6);
}

.nav-links a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Solid navbar for sub pages */
.navbar-solid {
  background: #01023f;
  backdrop-filter: blur(10px);
}

.nav-cta {
  margin-left: 24px;
  padding: 10px 18px;
  background: linear-gradient(135deg, #c33764, #1d2671);
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  font-size: 14px;
  white-space: nowrap;

  opacity: 0;
  pointer-events: none;
  transform: translateY(-5px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* CTA visible after scroll */
.navbar.show-cta .nav-cta {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Hover effect */
.nav-cta:hover {
  filter: brightness(1.1);
}

.has-dropdown {
  position: relative;
}

/* Dropdown container */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 10px 0;
  list-style: none;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 200;
}

/* Dropdown links */
.dropdown li a {
  display: block;
  padding: 10px 20px;
  color: white;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

/* Hover effect inside dropdown */
.dropdown li a:hover {
  background: rgba(245, 200, 66, 0.15);
  color: #f5c842;
}

/* Show dropdown on hover */
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }
  
  /* Sublink container spacing */
.dropdown {
  margin-top: 4px;
  padding-left: 12px;
  border-left: 2px solid rgba(245, 200, 66, 0.4); /* yellow accent */
}

/* Individual sublinks */
.dropdown li a {
  padding: 12px 24px;
  padding-left: 40px; /* pushes sublinks further right */
  font-size: 14px;
  color: #ddd;
}

.dropdown li a::before {
  content: "–";
  margin-right: 8px;
  color: #f5c842;
}
  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);

    flex-direction: column;
    gap: 0;

    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links > li > a {
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

  .nav-links a {
    display: block;
    padding: 16px 24px;
  }

  .nav-cta {
    display: none; /* hide desktop CTA */
  }

  .nav-links.open {
    max-height: 500px; /* enough to show items */
  }

  /* Dropdowns become static */
  .dropdown {
    position: static;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding-left: 16px;
  }

  .has-dropdown > a::after {
    display: none;
  }
}


.footer {
  background: #01023f; /* dark background */
  color: #f5f5f5; /* light text */
  padding-top: var(--space-xs);
  padding-bottom: var(--space-xs);
}
.footer::before {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #f5c842, #f2b705);
  margin-bottom: 16px;
}
.footer-container {
  max-width: var(--content-width);
  margin: auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer p {
  margin: 0;
  font-size: 14px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.social-btn img {
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.social-btn:hover img {
  transform: scale(1.2);
  filter: brightness(1.3);
}

/* Responsive */
@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: linear-gradient(90deg, #f5c842, #f2b705);
  color: #111;
  text-align: center;
  line-height: 44px;
  font-size: 20px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.2s ease;
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-3px);
}

/* Contact form container */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

/* Inputs & textarea */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-family: inherit;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Bigger textarea (default) */
.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

/* Focus state — yellow accent */
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #f5c842;
  box-shadow: 0 0 0 3px rgba(245, 200, 66, 0.25);
}

.contact {
  background: #fafafa;
  border-radius: 24px;
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}

.hp-field {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  opacity: 0;
}

.form-success {
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: #2e7d32; /* calm success green */

  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Visible state */
.form-success.show {
  opacity: 1;
  transform: translateY(0);
}

.page-content {
  padding-top: 120px; /* space below fixed nav */
  max-width: 900px;
  margin: auto;
}

@media (max-width: 768px) {
  section {
    padding: var(--space-sm) 0;
  }

  .hero {
    padding-bottom: var(--space-md);
  }
}

/* ===== SPLIT HERO ===== */

.split-hero {
  display: flex;
  height: 100vh;
  width: 100%;
  position: relative;
}

/* Panels */
.split-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  position: relative;
  overflow: hidden;

  transition: filter 0.4s ease;
}

/* Business panel */
.split-panel.business {
  background:
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
    url("images/hero_service_1.png") center / cover no-repeat;
}

/* Lifestyle panel */
.split-panel.lifestyle {
  background:
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
    url("images/hero_service_2.png") center / cover no-repeat;
}

/* Hover sharpen */
.split-panel:hover {
  filter: grayscale(0%) brightness(1);
}

.split-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  filter: grayscale(40%) brightness(0.75);
  transform: scale(1);
  transition: transform 0.6s ease;
  z-index: 1;
}

.split-panel:hover::before {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.05);
}

/* Text content */
.split-content {
  text-align: center;
  position: relative;
  padding: 40px;
  max-width: 400px;
  z-index: 2; /* 👈 puts text above background */
  color: white; /* explicit, safe */
}

.split-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 12px;
}

.split-content p {
  font-size: 16px;
  opacity: 0.9;
}

/* Yellow divider */
.split-divider {
  width: 4px;
  background: linear-gradient(
    to bottom,
    #f5c842,
    #f2b705
  );
}

/* Split hero text should NOT start hidden */
.split-hero .hero-title,
.split-hero .hero-subtitle,
.split-hero .hero-divider {
  opacity: 1;
  transform: none;
}



@media (max-width: 900px) {
  .split-hero {
    flex-direction: column;
  }

  .split-divider {
    width: 100%;
    height: 4px;
  }
}

.personal-manifesto {
  background-color: #ffffff;
  padding: 80px 20px;
  color: #1f2933;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
}

.container-manifesto {
  max-width: var(--content-width);
  margin: 0 auto;
}

.personal-manifesto h2 {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.personal-manifesto .subtitle {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 2.5rem;
}

.personal-manifesto p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.personal-manifesto .lead {
  font-size: 1.25rem;
  line-height: 1.8;
  font-weight: 500;
  margin-bottom: 2rem;
}

.personal-manifesto blockquote {
  margin: 3rem 0;
  padding-left: 1.5rem;
  border-left: 3px solid #f5c842;
  font-style: italic;
  color: #374151;
}

.personal-manifesto strong {
  font-weight: 600;
}
