@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');
@import 'tailwindcss/base';
@import 'tailwindcss/components';
@import 'tailwindcss/utilities';

/* Nuvel Skin and Laser Brand Colors */
:root {
  --nuvel-tan: #D4B08A;
  --nuvel-purple: #673ab6;
  --nuvel-dark: #2C2C2C;
  --nuvel-gray: #6B7280;
  --nuvel-light-gray: #F9FAFB;
}

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

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--nuvel-dark);
  background-color: white;
}

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

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

/* Brand Colors */
.nuvel-tan {
  color: var(--nuvel-tan);
}

.bg-nuvel-tan {
  background-color: var(--nuvel-tan);
}

.nuvel-purple {
  color: var(--nuvel-purple);
}

.bg-nuvel-purple {
  background-color: var(--nuvel-purple);
}

.nuvel-dark {
  color: var(--nuvel-dark);
}

.bg-nuvel-dark {
  background-color: var(--nuvel-dark);
}

.nuvel-gray {
  color: var(--nuvel-gray);
}

.bg-nuvel-gray {
  background-color: var(--nuvel-gray);
}

.bg-nuvel-light-gray {
  background-color: var(--nuvel-light-gray);
}

/* Hover states */
.hover\:bg-nuvel-tan\/90:hover {
  background-color: rgba(212, 176, 138, 0.9);
}

.hover\:text-nuvel-tan:hover {
  color: var(--nuvel-tan);
}

.hover\:text-nuvel-purple:hover {
  color: var(--nuvel-purple);
}

.hover\:bg-nuvel-tan:hover {
  background-color: var(--nuvel-tan);
}

.hover\:text-white:hover {
  color: white;
}

.hover\:bg-white:hover {
  background-color: white;
}

.hover\:text-nuvel-dark:hover {
  color: var(--nuvel-dark);
}

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

/* Backdrop blur support */
.backdrop-blur-sm {
  backdrop-filter: blur(4px);
}

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

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

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Button styles */
.btn-primary {
  @apply bg-nuvel-tan hover:bg-nuvel-tan/90 text-white px-6 py-3 rounded-lg font-medium transition-all duration-200 hover:shadow-lg;
}

.btn-secondary {
  @apply border-2 border-nuvel-tan text-nuvel-tan hover:bg-nuvel-tan hover:text-white px-6 py-3 rounded-lg font-medium transition-all duration-200;
}

.btn-outline {
  @apply border-2 border-white text-white hover:bg-white hover:text-nuvel-dark px-6 py-3 rounded-lg font-medium transition-all duration-200;
}

/* Card styles */
.card {
  @apply bg-white rounded-2xl shadow-lg hover:shadow-xl transition-all duration-300;
}

.card-hover-scale {
  @apply transform hover:scale-105 transition-transform duration-300;
}

/* Form styles */
.form-input {
  @apply w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-nuvel-tan focus:border-nuvel-tan transition-colors;
}

.form-textarea {
  @apply w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-nuvel-tan focus:border-nuvel-tan transition-colors resize-none;
}

.form-select {
  @apply w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-nuvel-tan focus:border-nuvel-tan transition-colors;
}

/* Navigation styles */
.nav-link {
  @apply text-nuvel-dark hover:text-nuvel-tan transition-colors duration-200 font-medium;
}

.nav-link-active {
  @apply text-nuvel-tan;
}

/* Mobile menu styles */
.mobile-menu {
  @apply fixed inset-0 bg-white z-50 transform transition-transform duration-300 ease-in-out;
}

.mobile-menu.closed {
  @apply translate-x-full;
}

.mobile-menu.open {
  @apply translate-x-0;
}

/* Header styles */
.header-fixed {
  @apply fixed top-0 left-0 right-0 bg-white/95 backdrop-blur-sm border-b border-gray-100 z-40 transition-all duration-200;
}

/* Hero section styles */
.hero-gradient {
  background: linear-gradient(135deg, rgba(212, 176, 138, 0.1) 0%, rgba(139, 122, 168, 0.1) 100%);
}

/* Treatment filter styles */
.treatment-filter.active {
  @apply bg-nuvel-tan text-white;
}

.treatment-filter:not(.active) {
  @apply bg-white text-nuvel-dark hover:bg-nuvel-tan hover:text-white;
}

/* Blog filter styles */
.blog-filter.active {
  @apply bg-nuvel-tan text-white;
}

.blog-filter:not(.active) {
  @apply bg-white text-nuvel-dark hover:bg-nuvel-tan hover:text-white;
}

/* Result filter styles */
.result-filter.active {
  @apply bg-nuvel-tan text-white;
}

.result-filter:not(.active) {
  @apply bg-white text-nuvel-dark hover:bg-nuvel-tan hover:text-white;
}

/* Image hover effects */
.image-hover-zoom {
  @apply overflow-hidden;
}

.image-hover-zoom img {
  @apply transition-transform duration-300 hover:scale-105;
}

/* Loading states */
.skeleton {
  @apply animate-pulse bg-gray-200 rounded;
}

.skeleton-text {
  @apply h-4 bg-gray-200 rounded animate-pulse;
}

.skeleton-avatar {
  @apply w-12 h-12 bg-gray-200 rounded-full animate-pulse;
}

/* Alert styles */
.alert {
  @apply px-4 py-3 rounded border mb-4;
}

.alert-success {
  @apply bg-green-100 border-green-400 text-green-700;
}

.alert-error {
  @apply bg-red-100 border-red-400 text-red-700;
}

.alert-warning {
  @apply bg-yellow-100 border-yellow-400 text-yellow-700;
}

.alert-info {
  @apply bg-blue-100 border-blue-400 text-blue-700;
}

/* Badge styles */
.badge {
  @apply inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium;
}

.badge-primary {
  @apply bg-nuvel-tan text-white;
}

.badge-secondary {
  @apply bg-gray-100 text-gray-800;
}

.badge-success {
  @apply bg-green-100 text-green-800;
}

.badge-warning {
  @apply bg-yellow-100 text-yellow-800;
}

.badge-error {
  @apply bg-red-100 text-red-800;
}

/* Statistics/counter styles */
.stat-number {
  @apply text-3xl md:text-4xl font-bold text-nuvel-dark;
}

.stat-label {
  @apply text-sm md:text-base text-nuvel-gray;
}

/* Footer styles */
.footer-link {
  @apply text-gray-400 hover:text-white transition-colors duration-200;
}

/* Responsive utilities */
@media (max-width: 640px) {
  .container {
    @apply px-4;
  }
  
  .hero-title {
    @apply text-4xl;
  }
  
  .section-title {
    @apply text-3xl;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .container {
    @apply px-6;
  }
  
  .hero-title {
    @apply text-5xl;
  }
  
  .section-title {
    @apply text-4xl;
  }
}

@media (min-width: 1025px) {
  .container {
    @apply px-8;
  }
  
  .hero-title {
    @apply text-6xl;
  }
  
  .section-title {
    @apply text-5xl;
  }
}

/* Focus states for accessibility */
.focus-visible\:ring-nuvel-tan:focus-visible {
  --tw-ring-color: var(--nuvel-tan);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  @apply outline-none ring-2 ring-nuvel-tan ring-offset-2;
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }
  
  .print-only {
    display: block !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
}

/* Dark mode support (if needed) */
@media (prefers-color-scheme: dark) {
  .dark-mode-auto {
    background-color: #1a1a1a;
    color: #ffffff;
  }
  
  .dark-mode-auto .card {
    background-color: #2a2a2a;
    border-color: #404040;
  }
}

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

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

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

::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 176, 138, 0.8);
}

/* Selection styles */
::selection {
  background-color: var(--nuvel-tan);
  color: white;
}

::-moz-selection {
  background-color: var(--nuvel-tan);
  color: white;
}

/* Utility classes for common patterns */
.text-shadow {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.text-shadow-lg {
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.bg-gradient-primary {
  background: linear-gradient(135deg, var(--nuvel-tan) 0%, var(--nuvel-purple) 100%);
}

.bg-gradient-hero {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
}

/* Animation delays for staggered effects */
.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-400 {
  animation-delay: 0.4s;
}

.delay-500 {
  animation-delay: 0.5s;
}

/* Accessibility improvements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-to-content {
  @apply absolute top-0 left-0 bg-nuvel-tan text-white px-4 py-2 rounded-br transform -translate-y-full focus:translate-y-0 transition-transform;
}

.mobile-menu.closed {
  /* display: none; */
}

#menu-quick-links-menu, #menu-footer-menu {
  a {
    opacity: .5;

    &:hover {
      opacity: 1;
    }    
  }
}

 #menu-footer-menu {
  li {
    /* margin-left: 16px; */
    @apply text-md;
  }
  a {
    /* font-size: 13px; */
  }
 }

 iframe {
  width: 100%;
 }

 .gform_button.button {
  background-color: var(--nuvel-tan) !important;
 }

 .gform_heading {
  display: none !important;
 }

 .custom-logo-link {
  img {
    max-width: 200px;

    @media(max-width: 992px) {
      max-width: 150px;
    }
  }
 }

 footer {
  .custom-logo {
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
  }
 }

.post-content {
	p {
		margin-bottom: 1rem;
	}
	
	h1, h2, h3, h4, h5, h6 {
		font-size: revert;
    	font-weight: revert;
		margin-bottom: 1rem;
	}
	img {
		height: auto !important;
		width: auto;
	}
	
	ul, ol {
		padding-left: 2rem;
		margin-bottom: 1rem;
	}
	
	ol {
		list-style: num;

	}
	ul {
		list-style: disc;
		
	}
}


.header-block.has-video {
	@apply bg-black overflow-hidden;


	@media (max-width: 500px) {
		min-height: 70vh !important;
	}

	.block-header__video {
		@apply z-0 bg-black;
		
		@media (max-width: 500px) {

			iframe  {
				min-height: 100vh !important;
			}
		}

		.video-container {
			top: 0px;
			bottom: 0px;
			left: 0px;
			right: 0px;
			position: absolute;
			width: 100%;
			overflow: hidden;
		}

		.video-container iframe,
		.video-container object,
		.video-container embed {
			position: absolute;
			top: -10%;
			left: 0;
			min-width: 100%;
			min-height: 100vh;


			/*left: -500px !important;*/
			left: 50% !important;
			transform: translateX(-50%);
		}

		@media (orientation: landscape) {
			.video-container iframe,
			.video-container object,
			.video-container embed {
				width: calc(100vmin / (9 / 16));
				height: calc(100vmax * (9 / 16));
			}
		}

		@media (orientation: portrait) {
			.video-container iframe,
			.video-container object,
			.video-container embed {
				width: calc(100vmax / (9 / 16));
			}
		}
	}
}
@media (max-width: 767px) {
	.header-block.has-video {
		.video-container iframe,
		.video-container object,
		.video-container embed {
			position: absolute;
			/*left: -500px !important;*/
			left: 50% !important;
			transform: translateX(-50%);
		}
	}
}

.bg-gray {
  background: #f6f6f6;
}

.featured-image {
  width: 100%;
  min-height: 400px;
  overflow: hidden;

  &.treatments {
    min-height: 300px;
  }

  &.blogs {
    min-height: 200px;
  }

  &.results {
    min-height: 180px;
  }
  
  img {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

.ti-footer.source-Google {
    /* margin-top: 12px !important;
    padding: 57px 30px !important;
    background: #fff;
    border-radius: 11px;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.1);

  .ti-row {
    background-color: #fff;
  } */
}

@media(max-width: 992px) {
  header {
    ul.submenu {
        height: 0;
        padding: 0;
        opacity: 0 !important;
        transition: .3s;

        &.show {
          height: auto;
          opacity: 1 !important;
        }

        li {
          padding-left: 1rem;
        }
    }
  }
}

.menu-item-has-children {
  .submenu {
    margin-top: 1rem;
  }
}

.has-mega-menu {
  position: initial !important;

  & > .submenu {
    
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
/*     min-width: 1300px; */
	  width: 100%;
    max-width: 1300px;
    left: 50%;
    transform: translate(-50%);
    padding: 10px;
	margin-top: 0;

    & li {
      & > a {
        background: #fff;
        color: var(--nuvel-tan);
        text-transform: uppercase;
        min-height: 60px;
        padding: 10px 5px;
      }
    }

    & li > .submenu {
      position: relative !important;
      top: 0;
      background: transparent;
      box-shadow: none !important;
      margin-top: 0rem;


      & li {

        a {
          color: var(--nuvel-dark);
          text-transform: unset;
          min-height: auto;
          font-size: 13px;
          border-top: 1px solid #eee;
          padding: 10px 0;
          padding-left: 5px;

          &:hover {
            color: var(--nuvel-tan);
          }
        }

        &:first-child {
          a {
            border-top: 0;
          }
        }
      }
    }
  }
}

.back-item {
  margin-bottom: 1rem !important;
}

@media(max-width: 992px) {
  #menu-primary-menu-1 {
    display: block;

    li {
      margin: 0;

      &.menu-item-has-children {
        position: initial !important;
        .submenu {
          width: 100%;
          box-shadow: none;
          margin: 0;
          position: absolute;
          top: 0;
          left: 0;
          height: 0;
          opacity: 0 !important;
          visibility: hidden !important;
          z-index: 1;
          /* top: 19%; */
          top: 80px;
          padding: 1rem 1.4rem;
          /* box-shadow: 5px 0px 8px rgba(0, 0, 0, 0.05); */
          border-radius: 0;

          li {
            padding-left: 0;
          }

          a {
            font-size: 16px;

            &:hover {
              background: #fff;
              color: var(--nuvel-tan);
            }
          }

        }
      }

      &.menu-item-has-children:not(.has-mega-menu) {

        .submenu {
          &.show {
            min-height: 100vh;
            opacity: 1 !important;
            visibility: visible !important;

          }
        }

      }


      &.has-mega-menu  {
        .submenu {
          z-index: 1;
          display: block;
          min-width: auto;
          max-width: none;
          transform: none;
          height: 0;
          width: 100% !important;
          visibility: hidden !important;

          li {
            padding: 0;
            /* border-top: 1px solid #eee; */

            &:first-child {
              border: 0;
            }

            a {
              min-height: auto;
            }

            .submenu {
              opacity: 0 !important;
              height: 0;
              visibility: hidden !important;
              display: none;
              /* display: grid;
              grid-template-columns: repeat(2, minmax(0, 1fr)); */
              padding: 0;

              li, a {
                /* border: 0 !important; */
              }

              li {
                padding: 0;
              }


              &.sub-show {
                height: auto;
                opacity: 1 !important;
                visibility: visible !important;
                display: block;
                top: 0;
              }
            }
          }



          &.show {
            min-height: 100vh;
            opacity: 1 !important;
            visibility: visible !important;

          }
        }
      }
    }
  }
}

.back_main {
  display: flex;
  align-items: center;
  color: var(--nuvel-tan);
  svg {
    width: 15px;
    height: 20px;
    margin-right: 10px;
  }
}

.single-treatment {
	.blog-details, .blog-navigations {
		display: none;
	}
}