/* Custom CSS for Simone Guzzo Aesthetics */

/* Import custom fonts */
@font-face {
  font-family: "Kiona";
  src: url("/assets/fonts/Kiona-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Le Major";
  src: url("/assets/fonts/LeMajor-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Sephir";
  src: url("/assets/fonts/Sephir-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

/* Root variables for brand colors */
:root {
  --rose-light: #e3c1c3;
  --brown-dark: #643d40;
  --brown-medium: #8b5a5f;
  --rose-pale: #f5e8e9;
}

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

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-10px) rotate(1deg);
  }
  66% {
    transform: translateY(5px) rotate(-1deg);
  }
}

/* Animation classes */
.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.6s ease-out;
}

.animate-fade-in-right {
  animation: fadeInRight 0.6s ease-out;
}

.animate-pulse-slow {
  animation: pulse 3s ease-in-out infinite;
}

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

/* Header effects */
.header-blur {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, var(--rose-light), var(--brown-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Custom button effects */
.btn-rose {
  background: linear-gradient(135deg, var(--rose-light), var(--brown-medium));
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-rose::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.btn-rose:hover::before {
  left: 100%;
}

.btn-rose:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(227, 193, 195, 0.3);
}

/* Card hover effects */
.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(100, 61, 64, 0.1);
}

/* Image overlay effects */
.image-overlay {
  position: relative;
  overflow: hidden;
}

.image-overlay::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(227, 193, 195, 0.1),
    rgba(245, 232, 233, 0.1)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-overlay:hover::after {
  opacity: 1;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--rose-pale);
}

::-webkit-scrollbar-thumb {
  background: var(--rose-light);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brown-medium);
}

/* Loading animation */
.loading-dots {
  display: inline-block;
}

.loading-dots::after {
  content: "";
  animation: dots 1.5s steps(5, end) infinite;
}

@keyframes dots {
  0%,
  20% {
    color: rgba(0, 0, 0, 0);
    text-shadow: 0.25em 0 0 rgba(0, 0, 0, 0), 0.5em 0 0 rgba(0, 0, 0, 0);
  }
  40% {
    color: var(--rose-light);
    text-shadow: 0.25em 0 0 rgba(0, 0, 0, 0), 0.5em 0 0 rgba(0, 0, 0, 0);
  }
  60% {
    text-shadow: 0.25em 0 0 var(--rose-light), 0.5em 0 0 rgba(0, 0, 0, 0);
  }
  80%,
  100% {
    text-shadow: 0.25em 0 0 var(--rose-light), 0.5em 0 0 var(--rose-light);
  }
}

/* Form enhancements */
.form-input {
  transition: all 0.3s ease;
  border-color: var(--rose-light);
}

.form-input:focus {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(227, 193, 195, 0.2);
  border-color: var(--brown-dark);
}

/* Gallery filter effects */
.gallery-item {
  transition: all 0.3s ease;
}

.gallery-item.hidden {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}

.gallery-item.visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* FAQ accordion effects */
.faq-question svg {
  transition: transform 0.3s ease;
}

.faq-question.active svg {
  transform: rotate(180deg);
}

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

.faq-answer.open {
  max-height: 500px;
}

/* Mobile menu animation */
.mobile-menu {
  transition: all 0.3s ease;
  transform: translateY(-10px);
  opacity: 0;
}

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

/* Testimonial cards */
.testimonial-card {
  background: linear-gradient(
    135deg,
    rgba(245, 232, 233, 0.5),
    rgba(255, 255, 255, 0.8)
  );
  backdrop-filter: blur(10px);
  border: 1px solid rgba(227, 193, 195, 0.2);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(100, 61, 64, 0.1);
}

/* Service cards */
.service-card {
  background: linear-gradient(135deg, #ffffff, #fafafa);
  border: 1px solid rgba(227, 193, 195, 0.1);
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: var(--rose-light);
  box-shadow: 0 15px 35px rgba(227, 193, 195, 0.15);
  transform: translateY(-5px);
}

/* Hero section enhancements */
.hero-bg {
  background: linear-gradient(
    135deg,
    rgba(245, 232, 233, 0.3),
    rgba(255, 255, 255, 0.9)
  );
  position: relative;
}

.hero-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 20% 80%,
      rgba(227, 193, 195, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(245, 232, 233, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
}

/* Floating elements */
.floating-element {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(227, 193, 195, 0.1),
    rgba(245, 232, 233, 0.1)
  );
  filter: blur(1px);
  animation: float 8s ease-in-out infinite;
}

.floating-element:nth-child(2) {
  animation-delay: -2s;
  animation-duration: 6s;
}

.floating-element:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 10s;
}

/* Contact form enhancements */
.contact-form {
  background: linear-gradient(135deg, #ffffff, #fefefe);
  border: 1px solid rgba(227, 193, 195, 0.1);
}

/* Price tag effects */
.price-tag {
  background: linear-gradient(135deg, var(--rose-light), var(--brown-medium));
  color: white;
  position: relative;
}

.price-tag::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid var(--brown-medium);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

/* Logo styling */
.logo-container img {
  filter: drop-shadow(0 2px 4px rgba(100, 61, 64, 0.1));
  transition: all 0.3s ease;
}

.logo-container:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 8px rgba(100, 61, 64, 0.2));
}

/* Brand element styling */
.brand-element {
  opacity: 0.6;
  transition: all 0.3s ease;
}

.brand-element:hover {
  opacity: 0.8;
  transform: scale(1.1);
}

/* Typography enhancements */
.font-sephir {
  font-family: "Sephir", serif;
  letter-spacing: 0.02em;
}

.font-major {
  font-family: "Le Major", serif;
  letter-spacing: 0.01em;
}

.font-kiona {
  font-family: "Kiona", sans-serif;
  letter-spacing: 0.01em;
}

/* Enhanced button styles */
.btn-primary {
  background: linear-gradient(135deg, var(--rose-light), var(--brown-medium));
  color: var(--brown-dark);
  border: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--brown-dark), var(--brown-medium));
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(227, 193, 195, 0.4);
}

.btn-secondary {
  border: 2px solid var(--rose-light);
  color: var(--rose-light);
  background: transparent;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--rose-light);
  color: var(--brown-dark);
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-bg::before {
    background-image: radial-gradient(
      circle at 50% 50%,
      rgba(227, 193, 195, 0.05) 0%,
      transparent 50%
    );
  }

  .floating-element {
    display: none;
  }

  .card-hover:hover {
    transform: none;
  }

  .logo-container img {
    width: 40px;
    height: 40px;
  }
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }

  .bg-gradient-to-br,
  .bg-gradient-to-r {
    background: white !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .gradient-text {
    -webkit-text-fill-color: var(--brown-dark);
    color: var(--brown-dark);
  }

  .floating-element {
    display: none;
  }

  .testimonial-card,
  .service-card {
    border: 2px solid var(--brown-dark);
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .floating-element {
    animation: none;
  }

  .animate-float {
    animation: none;
  }
}

/* Focus styles for accessibility */
.focus-visible:focus {
  outline: 2px solid var(--rose-light);
  outline-offset: 2px;
}

/* Custom selection colors */
::selection {
  background-color: rgba(227, 193, 195, 0.3);
  color: var(--brown-dark);
}

::-moz-selection {
  background-color: rgba(227, 193, 195, 0.3);
  color: var(--brown-dark);
}

/* Enhanced navigation */
nav a {
  position: relative;
  transition: all 0.3s ease;
}

nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background-color: var(--rose-light);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

nav a:hover::after {
  width: 100%;
}

/* Footer enhancements */
footer {
  background: linear-gradient(135deg, var(--brown-dark), #4a2d30);
}

footer .logo-container img {
  filter: brightness(0) invert(1);
}

/* Section dividers */
.section-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--rose-light),
    transparent
  );
  margin: 2rem 0;
}

/* Enhanced shadows */
.shadow-brand {
  box-shadow: 0 4px 6px -1px rgba(100, 61, 64, 0.1),
    0 2px 4px -1px rgba(100, 61, 64, 0.06);
}

.shadow-brand-lg {
  box-shadow: 0 10px 15px -3px rgba(100, 61, 64, 0.1),
    0 4px 6px -2px rgba(100, 61, 64, 0.05);
}

/* Loading states */
.loading {
  opacity: 0.7;
  pointer-events: none;
  position: relative;
}

.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--rose-light);
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
