@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette */
  --color-primary: #2F7A85; /* Teal / Cyan from Logo */
  --color-primary-light: #3B919D;
  --color-secondary: #D46C22; /* Burnt Orange */
  --color-secondary-light: #EE833B;
  --color-background: #F8F6F1; /* Warm Off-white */
  --color-surface: #FFFFFF;
  --color-text-dark: #1E2927;
  --color-text-light: #64706D;
  --color-white: #FFFFFF;
  --color-black: #000000;
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
  --spacing-xxl: 6rem;
  
  /* Borders & Shadows */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
}

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

ul {
  list-style: none;
}

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

/* Layout Classes */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.section {
  padding: var(--spacing-xxl) 0;
}

.section-bg-white {
  background-color: var(--color-surface);
}

.section-bg-dark {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.section-bg-dark h2, 
.section-bg-dark h3,
.section-bg-dark p {
  color: var(--color-white);
}

.text-center {
  text-center: center;
}
.text-center h2, .text-center p { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background-color: var(--color-secondary);
  color: var(--color-white);
  box-shadow: 0 4px 14px 0 rgba(184, 150, 113, 0.39);
}

.btn-primary:hover {
  background-color: var(--color-secondary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 150, 113, 0.4);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

.btn-outline:hover {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(248, 246, 241, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 50px;
  width: 50px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--color-secondary);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: var(--spacing-lg);
  align-items: center;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--color-text-dark);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--color-secondary);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background-color: var(--color-primary);
  transition: var(--transition);
}

/* Mobile Menu */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: var(--color-surface);
    flex-direction: column;
    padding: var(--spacing-xl) 0;
    gap: var(--spacing-md);
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 999;
  }
  
  .nav-links.nav-open {
    transform: translateY(0);
    opacity: 1;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-height) + 4rem);
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: -1;
}

.hero-content {
  color: var(--color-white);
  max-width: 100%;
  width: 100%;
  text-align: center;
  animation: fadeUp 1s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

.hero-slogan-pill {
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 1.5rem 3rem;
  border-radius: 3rem;
  display: inline-block;
  margin-bottom: var(--spacing-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-white);
}

.hero-slogan-pill h1, .hero-slogan-pill p {
  color: var(--color-white) !important;
}

.hero-content-right {
  margin-left: auto;
  margin-right: 0;
  text-align: right;
  width: 100%;
  max-width: 300px;
  display: flex;
  justify-content: flex-end;
  animation: fadeUp 1s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

.hero-content-left {
  margin-right: auto;
  margin-left: 0;
  text-align: left;
  width: 100%;
  max-width: 300px;
  display: flex;
  justify-content: flex-start;
  animation: fadeUp 1s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

.hero-pill-light {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 2rem 3rem;
  border-radius: 3rem;
  display: inline-block;
  color: var(--color-text-dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  text-align: left;
}

.hero-pill-light h1, .hero-pill-light p {
  color: var(--color-text-dark) !important;
  text-shadow: none !important;
}
.hero-pill-light h1 {
  margin-bottom: 0.5rem;
}
.hero-pill-light p {
  margin-bottom: 0;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--color-white);
  margin-bottom: var(--spacing-md);
  letter-spacing: -1px;
  text-shadow: 0 2px 15px rgba(0,0,0,0.6);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-lg);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.hero-badges {
  display: flex;
  gap: 12px;
  margin-bottom: var(--spacing-lg);
  flex-wrap: wrap;
}

.badge {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255,255,255,0.2);
}

/* Subpage Hero */
.hero-sub {
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
}
.hero-sub-bottom {
  align-items: flex-end;
  padding-bottom: 3rem;
  height: 65vh;
  min-height: 550px;
}
.hero-sub .hero-content, .hero-content-bottom {
  text-align: center;
  margin: 0 auto;
  max-width: 800px;
}
.hero-content-bottom {
  width: 100%;
  animation: fadeUp 1s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}
.hero-sub .hero-overlay {
  background: transparent;
}

/* Section Titles */
.section-title {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
}

.section-title p {
  color: var(--color-text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-title-left {
  margin-bottom: var(--spacing-lg);
}
.section-title-left h2 {
  font-size: 2.5rem;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: var(--spacing-lg);
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

@media (max-width: 768px) {
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Cards */
.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card:hover .card-img {
  transform: scale(1.05);
}

.card-body {
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
}

.card-text {
  color: var(--color-text-light);
  margin-bottom: var(--spacing-lg);
  flex-grow: 1;
}

/* Split Section (Image + Text) */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

@media (max-width: 900px) {
  .split-section {
    grid-template-columns: 1fr;
  }
  .split-section.reverse .split-content {
    order: -1;
  }
}

.split-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* Feature List */
.feature-list {
  margin-top: var(--spacing-md);
}

.feature-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-secondary);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Pricing/Box layout */
.pricing-box {
  background: var(--color-background);
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,0.05);
  margin-top: var(--spacing-md);
}
.pricing-box h3 { margin-bottom: 10px; }
.pricing-price { font-size: 2rem; font-weight: bold; color: var(--color-secondary); margin-bottom: 10px; }

/* Image Grid (About Me) */
.gallery {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.gallery img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* Footer */
.footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer h3 {
  color: var(--color-white);
  margin-bottom: var(--spacing-md);
}

.footer p, .footer a {
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
  display: block;
}

.footer a:hover {
  color: var(--color-secondary);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Content blocks styling */
.content-block {
  max-width: 800px;
  margin: 0 auto;
}
.content-block p {
  margin-bottom: 1.2rem;
}
.content-block h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}
