/* Custom Styles pentru Landing Page */

/* Color Variables - Warmer, lighter green palette with earthy accent */
:root {
  --primary-green: #3d7a5f;
  --primary-green-hover: #4d9a7f;
  --light-green: #e8f5e8;
  --lighter-green: #f5f9f5;
  --accent-earth: #b89a7a;
  --accent-earth-light: #d4c4b0;
  --accent-earth-warm: #c9a882;
  --accent-earth-soft: #e8d4b8;
  --text-secondary: #5a8a6c;
}

/* Font Family */
body {
  font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-rendering: optimizeLegibility !important;
  font-feature-settings: "liga" 1, "kern" 1, "calt" 1 !important;
  letter-spacing: 0.01em !important;
  font-weight: 400 !important;
}

/* Rotunjire elegantă pentru text - efect de glow subtil */
* {
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-rendering: optimizeLegibility !important;
}

h1, h2, h3, h4, h5, h6, p, span, a, button, li, div, label {
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.08), 0 0 1px rgba(0, 0, 0, 0.05) !important;
  letter-spacing: 0.01em !important;
}

/* Pentru titluri mari - efect mai pronunțat */
h1, h2 {
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.1), 0 0 1.5px rgba(0, 0, 0, 0.06) !important;
  letter-spacing: 0.02em !important;
}

/* PillNav Styles */
.pill-nav-container {
  position: fixed;
  top: 1em;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;
}

@media (max-width: 768px) {
  .pill-nav-container {
    width: 100%;
    left: 0;
    top: 0;
    transform: none;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.pill-nav {
  --nav-h: 42px;
  --logo: 36px;
  --pill-pad-x: 18px;
  --pill-gap: 3px;
  width: max-content;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .pill-nav {
    width: auto;
    justify-content: center;
    padding: 0;
    background: transparent;
  }
}

.pill-nav-items {
  position: relative;
  display: flex;
  align-items: center;
  height: var(--nav-h);
  background: var(--base, #3d7a5f);
  border-radius: 9999px;
}

.pill-logo {
  width: var(--nav-h);
  height: var(--nav-h);
  border-radius: 50%;
  background: var(--base, #3d7a5f);
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
  margin-right: 8px;
}

.pill-logo img,
.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* Hero Logo - Remove background */
.hero-logo {
  background: transparent !important;
  mix-blend-mode: darken;
  filter: contrast(1.1);
}

.pill-list {
  list-style: none;
  display: flex;
  align-items: stretch;
  gap: var(--pill-gap);
  margin: 0;
  padding: 3px;
  height: 100%;
}

.pill-list > li {
  display: flex;
  height: 100%;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 var(--pill-pad-x);
  background: var(--pill-bg, #fff);
  color: var(--pill-text, var(--base, #3d7a5f));
  text-decoration: none;
  border-radius: 9999px;
  box-sizing: border-box;
  font-weight: 600;
  font-size: 16px;
  line-height: 0;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.pill .hover-circle {
  position: absolute;
  left: 50%;
  bottom: 0;
  border-radius: 50%;
  background: var(--base, #3d7a5f);
  z-index: 1;
  display: block;
  pointer-events: none;
  will-change: transform;
}

.pill .label-stack {
  position: relative;
  display: inline-block;
  line-height: 1;
  z-index: 2;
}

.pill .pill-label {
  position: relative;
  z-index: 2;
  display: inline-block;
  line-height: 1;
  will-change: transform;
}

.pill .pill-label-hover {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--hover-text, #fff);
  z-index: 3;
  display: inline-block;
  will-change: transform, opacity;
}

.pill.is-active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: var(--base, #3d7a5f);
  border-radius: 50px;
  z-index: 4;
}

.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }
  .mobile-only {
    display: block;
  }
}


/* Navigation Styles */
.nav-link {
  color: inherit;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #3d7a5f;
  transition: width 0.3s ease;
}

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

.nav-link:hover {
  color: #3d7a5f;
}

/* Button Styles */
.btn-primary {
  background-color: #3d7a5f;
  color: white;
  padding: 0.9375rem 1.125rem;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  white-space: nowrap;
  line-height: 1;
}

.btn-primary:hover {
  background-color: #4d9a7f;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-primary-lg {
  background-color: #3d7a5f;
  color: white;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-size: 1.125rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-primary-lg:hover {
  background-color: #4d9a7f;
  border-radius: 1rem;
}

/* Card Styles */
.why-me-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  background-color: #f5f9f5;
  border-radius: 24px;
  border: 2px solid rgba(61, 122, 95, 0.15);
  box-shadow: 0 2px 8px rgba(61, 122, 95, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.why-me-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #3d7a5f 0%, #b89a7a 50%, #3d7a5f 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.why-me-card:hover::before {
  opacity: 0.6;
}

.why-me-card:hover {
  background-color: #e8f5e8;
  border-color: rgba(184, 154, 122, 0.3);
  box-shadow: 0 4px 12px rgba(61, 122, 95, 0.12), 0 2px 6px rgba(184, 154, 122, 0.1);
}

.service-card {
  padding: 2rem;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  background-color: #f5f9f5;
  border-radius: 32px;
  border: 2px solid rgba(61, 122, 95, 0.15);
  box-shadow: 0 2px 8px rgba(61, 122, 95, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(184, 154, 122, 0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover::after {
  opacity: 1;
}

.service-card:hover {
  background-color: #e8f5e8;
  border-color: rgba(184, 154, 122, 0.3);
  box-shadow: 0 4px 12px rgba(61, 122, 95, 0.12), 0 2px 6px rgba(184, 154, 122, 0.1);
  transform: translateY(-4px);
}

/* Ensure buttons in service cards are clickable */
.service-card button {
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

.consultation-step {
  background-color: white;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 2px solid rgba(61, 122, 95, 0.15);
  box-shadow: 0 2px 8px rgba(61, 122, 95, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.consultation-step:hover {
  border-color: rgba(184, 154, 122, 0.3);
  box-shadow: 0 4px 12px rgba(61, 122, 95, 0.12), 0 2px 6px rgba(184, 154, 122, 0.1);
}

/* Philosophy Section Cards */
.bg-white.rounded-3xl {
  border: 2px solid rgba(61, 122, 95, 0.15) !important;
  box-shadow: 0 2px 8px rgba(61, 122, 95, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.3s ease;
  position: relative;
}

.bg-white.rounded-3xl::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #3d7a5f 0%, #b89a7a 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 1.5rem 0 0 1.5rem;
}

.bg-white.rounded-3xl:hover::before {
  opacity: 0.5;
}

.bg-white.rounded-3xl:hover {
  border-color: rgba(184, 154, 122, 0.3) !important;
  box-shadow: 0 4px 12px rgba(61, 122, 95, 0.12), 0 2px 6px rgba(184, 154, 122, 0.1) !important;
}

/* Hero Section Cards */
section#home > div > div > div[class*="rounded"] {
  border: 2px solid rgba(61, 122, 95, 0.12) !important;
  box-shadow: 0 2px 8px rgba(61, 122, 95, 0.06), 0 1px 3px rgba(184, 154, 122, 0.04) !important;
}


/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.8s ease-out;
}

.fade-in-delay {
  animation: fadeIn 0.8s ease-out 0.2s both;
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* FAQ Styles */
.faq-item {
  transition: all 0.3s ease;
}

.faq-answer {
  transition: all 0.3s ease;
  max-height: 0;
  overflow: hidden;
}

.faq-answer.show {
  max-height: 500px;
  display: block;
}

.faq-icon {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Navbar Scroll Effect */
.navbar-scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

/* Mobile Menu Animation */
#mobile-menu {
  transition: all 0.3s ease-in-out;
}

#mobile-menu.hidden {
  display: none;
}

#mobile-menu:not(.hidden) {
  display: block;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}


/* Philosophy Card Hover Effect */
.philosophy-card {
  transition: all 0.3s ease;
}

.philosophy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(42, 90, 76, 0.15), 0 4px 8px rgba(0, 0, 0, 0.1) !important;
}

/* Modal/Popup Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: white;
  border-radius: 24px;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(61, 122, 95, 0.15);
  border-top: 4px solid #b89a7a;
  -webkit-overflow-scrolling: touch;
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #f5f9f5;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #3d7a5f;
  transition: all 0.2s ease;
  z-index: 10;
}

.modal-close:hover {
  background: #e8f5e8;
  transform: rotate(90deg);
}

.modal-content h3 {
  font-size: 2rem;
  color: #3d7a5f;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.modal-content p {
  color: #5a8a6c;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.modal-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.modal-content ul li {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: #5a8a6c;
  line-height: 1.7;
}

.modal-content ul li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3d7a5f 0%, #b89a7a 100%);
  margin-top: 0.5rem;
  flex-shrink: 0;
}

/* FAQ Section */
.faq-item.active {
  border-left: 3px solid #3d7a5f;
  padding-left: 1rem;
  background: linear-gradient(90deg, rgba(184, 154, 122, 0.05) 0%, transparent 100%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .fade-in-up {
    animation-delay: 0s !important;
  }
  
  .modal-content {
    padding: 1.5rem;
    max-height: 85vh;
    margin: 1rem;
    max-width: calc(100% - 2rem);
  }
  
  .modal-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .modal-content h4 {
    font-size: 1.1rem;
  }
  
  .modal-content ul {
    padding-left: 0;
  }
  
  .modal-content li {
    margin-bottom: 0.75rem;
  }
  
  /* Hero Section Mobile Fixes */
  section#home {
    padding-top: 5rem !important;
  }
  
  section#home .grid {
    gap: 1rem;
  }
}


/* Hero Section Mobile Specific Styles */
@media (max-width: 640px) {
  section#home {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Dots Background Pattern */
.dots-background {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg width='15' height='15' viewBox='0 0 15 15' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%233d7a5f' fill-opacity='0.4' fill-rule='evenodd'%3E%3Ccircle cx='1.2' cy='1.2' r='1.2'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: radial-gradient(circle, white 10%, transparent 90%);
  -webkit-mask-image: radial-gradient(circle, white 10%, transparent 90%);
  pointer-events: none;
  z-index: 1;
}

/* Consultation Section Decorative Elements */
.consultation-decorative-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.consultation-decorative-elements svg {
  position: absolute;
  pointer-events: none;
}

.decorative-circle-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  right: 5%;
  animation: float 20s ease-in-out infinite;
}

.decorative-wave-1 {
  width: 400px;
  height: 150px;
  top: 20%;
  left: -5%;
  transform: rotate(-15deg);
  animation: float 15s ease-in-out infinite reverse;
}

.decorative-circle-2 {
  width: 200px;
  height: 200px;
  bottom: 15%;
  right: 10%;
  animation: float 18s ease-in-out infinite;
}

.decorative-wave-2 {
  width: 350px;
  height: 120px;
  bottom: 25%;
  left: -3%;
  transform: rotate(10deg);
  animation: float 22s ease-in-out infinite reverse;
}

.decorative-dot-1,
.decorative-dot-2,
.decorative-dot-3 {
  position: absolute;
  border-radius: 50%;
  background: #3d7a5f;
  opacity: 0.1;
}

.decorative-dot-1 {
  width: 120px;
  height: 120px;
  top: 30%;
  right: 15%;
  animation: pulse 8s ease-in-out infinite;
}

.decorative-dot-2 {
  width: 80px;
  height: 80px;
  bottom: 20%;
  left: 8%;
  animation: pulse 10s ease-in-out infinite;
}

.decorative-dot-3 {
  width: 60px;
  height: 60px;
  top: 60%;
  left: 5%;
  animation: pulse 12s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) translateX(0px);
  }
  33% {
    transform: translateY(-20px) translateX(10px);
  }
  66% {
    transform: translateY(10px) translateX(-10px);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.1;
    transform: scale(1);
  }
  50% {
    opacity: 0.15;
    transform: scale(1.1);
  }
}

@media (max-width: 1024px) {
  .consultation-decorative-elements svg,
  .decorative-dot-1,
  .decorative-dot-2,
  .decorative-dot-3 {
    opacity: 0.5;
  }
}

/* Consultation section - increased spacing between paragraphs on desktop */
@media (min-width: 1024px) {
  .consultation-text p {
    margin-bottom: 5rem !important;
  }
  
  .consultation-text p:last-child {
    margin-bottom: 0 !important;
  }
}

