/* Custom CSS for Dr. Alexandra Tóth Website */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@300;400;500;600&family=Plus+Jakarta+Sans:wght@300;400;500;600&display=swap');

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  background-color: #fcfaf2;
  color: #2d2d2d;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background-color: #d6d3d1;
  color: #1a1a1a;
}

/* iOS Safari Backdrop Blur Fix */
.backdrop-blur-md {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.backdrop-blur-sm {
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

/* Prevent horizontal scroll on mobile */
.overflow-x-hidden {
  overflow-x: hidden;
}

/* Typography */
.font-serif {
  font-family: 'Instrument Serif', 'Playfair Display', serif;
}

.font-sans {
  font-family: 'Inter', sans-serif;
}

.font-jakarta {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Custom Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}


@keyframes float {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-20px) scale(1.02);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 1s ease-out forwards;
}

.animate-fade-in {
  animation: fadeIn 1s ease-out forwards;
}

.animate-fade-in-up-delay-1 {
  animation: fadeInUp 1s ease-out 0.2s forwards;
  opacity: 0;
}

.animate-fade-in-up-delay-2 {
  animation: fadeInUp 1s ease-out 0.4s forwards;
  opacity: 0;
}

.animate-fade-in-up-delay-3 {
  animation: fadeInUp 1s ease-out 0.6s forwards;
  opacity: 0;
}


.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* Hero Section Styles */
.hero-section {
  background-color: #fdfcf8;
}

/* Benefits Section */
.benefits-section {
  background: linear-gradient(180deg, #fff5ee 0%, #fdfcf8 100%);
}

/* Consultation Section */
.consultation-section {
  background: linear-gradient(180deg, #fdfcf8 0%, #f5f0eb 100%);
}

/* Neurografika Section */
.neurografika-section {
  background: linear-gradient(180deg, #f5f0eb 0%, #fdfcf8 100%);
}

/* Glass Card */
.glass-card {
  background-color: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.04) !important;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04), 0 2px 8px -1px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.08);
}

/* About Me Section */
.about-me-section {
  background: #ffffff;
}

.hero-watercolor-bg {
  background:
    radial-gradient(ellipse 80% 50% at 70% 40%, rgba(168, 50, 91, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(255, 182, 193, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 60% 30%, rgba(255, 192, 203, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse 40% 30% at 75% 70%, rgba(168, 50, 91, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 90% 50%, rgba(255, 182, 193, 0.2) 0%, transparent 50%);
  filter: blur(60px);
  pointer-events: none;
}

.hero-cta-btn {
  background: linear-gradient(to right, #8a1d5a 0%, #d81b60 100%);
  border: 2px solid #ffffff;
  box-shadow: 0 15px 40px rgba(138, 29, 90, 0.4), 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  -webkit-appearance: none;
  appearance: none;
}

.hero-cta-btn:hover {
  background: linear-gradient(to right, #a02269 0%, #f02170 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 50px rgba(138, 29, 90, 0.5), 0 8px 20px rgba(0, 0, 0, 0.15);
}

.hero-image-placeholder {
  background:
    linear-gradient(135deg, rgba(244, 164, 96, 0.2) 0%, rgba(255, 182, 193, 0.3) 50%, rgba(152, 251, 152, 0.2) 100%),
    radial-gradient(circle at 30% 20%, rgba(255, 228, 181, 0.4) 0%, transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(221, 160, 221, 0.3) 0%, transparent 40%);
  border: 2px dashed rgba(168, 50, 91, 0.2);
}

/* Decorative Blur Circle */
.hero-blur-circle {
  position: absolute;
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, #e7e5e4 0%, #d6d3d1 100%);
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  z-index: 0;
}

/* Navigation Styles */


.nav-link {
  position: relative;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: #1a1a1a;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

/* Button Styles */
.btn-primary {
  background-color: #1a1a1a;
  color: #fdfcf8;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #2a2a2a;
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.btn-outline {
  border: 1px solid #d6d3d1;
  background-color: transparent;
  color: #1a1a1a;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background-color: #f5f5f4;
  border-color: #a8a29e;
}

/* Service Card Styles */
.service-card {
  border: 1px solid #e7e5e4;
  background-color: #fdfcf8;
  transition: all 0.4s ease;
}

.service-card:hover {
  border-color: #d6d3d1;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.service-card:hover .service-arrow {
  transform: translateX(4px);
}

.service-arrow {
  transition: transform 0.3s ease;
}

/* Stats Card */
.stat-card {
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
}


/* Dark Section */
.dark-section {
  background-color: #1a1a1a;
  color: #fdfcf8;
}


/* Footer */
.footer-link {
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: #fdfcf8;
}

/* Logo Circle */
.logo-circle {
  border: 1px solid #1a1a1a;
  transition: all 0.3s ease;
}

.logo-circle:hover {
  background-color: #1a1a1a;
  color: #fdfcf8;
}

/* Main Container Frame */
.main-frame {
  border-radius: 2rem;
  overflow: hidden;
}

/* Image Placeholder Styles */
.image-placeholder {
  background: linear-gradient(135deg, #e7e5e4 0%, #d6d3d1 100%);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-blur-circle {
    width: 300px;
    height: 300px;
  }

  .marquee-content {
    animation-duration: 15s;
  }
}

/* Smooth Reveal on Scroll (if JS added later) */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Cookie Consent Popup */
.cookie-consent-popup {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: 95%;
  max-width: 850px;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 2.5rem;
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 768px) {
  .cookie-consent-popup {
    flex-direction: row;
    align-items: center;
    padding: 2rem;
  }
}

.cookie-consent-popup.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.cookie-icon-box {
  width: 60px;
  height: 60px;
  background: rgba(168, 50, 91, 0.1);
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cookie-btn-accept {
  background: linear-gradient(to right, #8a1d5a 0%, #d81b60 100%);
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 2rem;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  min-width: 140px;
  cursor: pointer;
  border: none;
}

.cookie-btn-view {
  border: 1px solid rgba(168, 50, 91, 0.3);
  color: #a8325b;
  padding: 0.8rem 2rem;
  border-radius: 2rem;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
  min-width: 140px;
  cursor: pointer;
  background: transparent;
}

.cookie-btn-reject {
  background: rgba(0, 0, 0, 0.05);
  color: #666;
  padding: 0.8rem 2rem;
  border-radius: 2rem;
  font-weight: 400;
  text-align: center;
  transition: all 0.3s ease;
  min-width: 140px;
  cursor: pointer;
  border: none;
}

.cookie-btn-accept:hover,
.cookie-btn-view:hover,
.cookie-btn-reject:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}