/*
Theme Name: Dr Pravin Kumar
Theme URI: https://drpravinkumar.com/
Author: Antigravity AI
Author URI: https://drpravinkumar.com/
Description: A premium, highly customizable WordPress theme for Medical Aesthetics & Skin Specialists, fully responsive with scroll reveal animations and Customizer settings.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dr-pravin-theme
Tags: medical, aesthetics, skin-specialist, clean, premium, custom-background, custom-menu, portfolio, one-column
*/

/* Custom Styles for Dr Pravin Kumar Website - Bootstrap 5 Bridge */

:root {
  --color-cream: oklch(95.3% .012 95);
  --color-rust: oklch(58% .09 40);
  --color-taupe: oklch(60% .02 60);
  --color-cocoa: rgb(105, 61, 20);
  --color-ink: oklch(22% .02 50);

  --font-sans: "Mulish", "Canva Sans", "Noto Sans", ui-sans-serif, system-ui, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-script: "Pinyon Script", "Dancing Script", cursive;
  --font-hand: "Homemade Apple", "Caveat", cursive;
}

body {
  background-color: var(--color-cream);
  color: var(--color-ink);
  font-family: var(--font-sans);
}

/* WordPress Default Styling Alignments & Widgets */
.aligncenter {
  display: block;
  margin: 1.5rem auto;
}
.alignleft {
  float: left;
  margin: 0.5rem 1.5rem 1.5rem 0;
}
.alignright {
  float: right;
  margin: 0.5rem 0 1.5rem 1.5rem;
}
.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%;
  padding: 5px 3px 10px;
  text-align: center;
}
.wp-caption img {
  margin: 0;
  max-width: 100%;
  height: auto;
}
.wp-caption-text {
  font-size: 0.85rem;
  margin: 5px 0 0;
}

/* Custom background & text utility classes */
.bg-cream { background-color: var(--color-cream) !important; }
.bg-cocoa { background-color: var(--color-cocoa) !important; }
.text-ink { color: var(--color-ink) !important; }
.text-rust { color: var(--color-rust) !important; }
.text-taupe { color: var(--color-taupe) !important; }
.text-cocoa { color: var(--color-cocoa) !important; }
.text-cream-80 { color: rgba(242, 240, 231, 0.8) !important; }
.text-white-90 { color: rgba(255, 255, 255, 0.9) !important; }
.text-rust-80 { color: rgba(168, 103, 81, 0.8) !important; }
.text-rust-90 { color: rgba(168, 103, 81, 0.9) !important; }
.text-cocoa-70 { color: rgba(77, 48, 32, 0.7) !important; }
.text-cocoa-80 { color: rgba(77, 48, 32, 0.8) !important; }
.text-taupe-60 { color: rgba(138, 126, 117, 0.6) !important; }
.text-taupe-70 { color: rgba(138, 126, 117, 0.7) !important; }

/* Custom font utilities */
.font-sans { font-family: var(--font-sans) !important; }
.font-serif { font-family: var(--font-serif) !important; }
.font-script { font-family: var(--font-script) !important; }
.font-hand { font-family: var(--font-hand) !important; }
.font-stencil { font-family: "Stardos Stencil", Georgia, serif !important; }

/* Custom letter-spacing utilities */
.tracking-wider { letter-spacing: 0.05em !important; }
.tracking-widest { letter-spacing: 0.1em !important; }
.tracking-custom-03 { letter-spacing: 0.3em !important; }
.tracking-custom-025 { letter-spacing: 0.25em !important; }
.tracking-custom-02 { letter-spacing: 0.2em !important; }

/* Custom line-height */
.lh-105 { line-height: 1.05 !important; }

/* Custom responsive spacing */
.py-24 {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}
.py-32 {
  padding-top: 8rem !important;
  padding-bottom: 8rem !important;
}
.pb-10 { padding-bottom: 2.5rem !important; }
.pb-16 { padding-bottom: 4rem !important; }
.pt-8 { padding-top: 2rem !important; }
.mt-8 { margin-top: 2rem !important; }
.mt-14 { margin-top: 3.5rem !important; }
.mt-16 { margin-top: 4rem !important; }
.mb-12 { margin-bottom: 3rem !important; }

/* Tailwind-style space-y stack layout mapping */
.space-y-1 > :not(:last-child) {
  margin-bottom: 0.25rem !important;
}
.space-y-8 > :not(:last-child) {
  margin-bottom: 2rem !important;
}
.space-y-16 > :not(:last-child) {
  margin-bottom: 2rem !important;
}

/* Custom max widths */
.max-w-2xl { max-width: 42rem !important; }
.max-w-md { max-width: 28rem !important; }

/* Custom aspect ratio and transforms */
.aspect-4-5 { aspect-ratio: 4/5 !important; }
.aspect-3-4 { aspect-ratio: 3/4 !important; }
.rotate-n1 { transform: rotate(-1deg) !important; }
.rotate-2 { transform: rotate(2deg) !important; }

/* Hero Overlay background */
.hero-overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.4) 100%) !important;
}

/* Custom responsive typography sizes matching original Tailwind utility values */
.text-10 {
  font-size: 10px !important;
}

.text-hero {
  font-size: 3rem !important;
}
.logo {
  height: 127.776px;
  overflow: hidden;
}
.logo img {
  width: 200px;
  margin-top: -20px;
}
.consultation-img img {
  height: 387px;
  width: auto !important;
}
.with-signature {
  font-size: 8rem;
  line-height: 39px;
}
.man-image img {
  width: 100%;
}
.font-weight-600 {
  font-weight: 600;
}
.tableofConentlogo .placelogo img {
  height: 300px;
}
.acrodhead {
  color: #868888;
  font-size: 36px;
  border-bottom: 1px solid #868888;
  padding: 0 0 18px;
  text-align: left;
}
.accordionsText .accordion-button {
  background: transparent !important;
}
.accordionsText .accordion-item {
  background: transparent;
}
.colorlogo-img img {
  width: 110px;
}
.colorlogo-img {
  text-align: center;
}
.custom-tabs-bar ul li button {
  background: #693d142b;
  border-radius: 25px !important;
  margin-right: 5px;
  min-width: 130px;
  color: #693d14 !important;
  border-color: transparent !important;
}
.custom-tabs-bar ul{
  border-color: transparent !important;
}
.custom-tabs-bar ul li button.active {
  background: #693d14 !important;
  color: #fff !important;
}
.custom-tabs-bar .tab-content {
  margin-top: 15px;
  border: 1px solid #dbd1c3 !important;
}
@media (min-width: 768px) {
  .text-hero {
    font-size: 4.5rem !important;
  }
}
@media (min-width: 1024px) {
  .text-hero {
    font-size: 6rem !important;
  }
}

.text-section-header {
  font-size: 3rem !important;
}
@media (min-width: 768px) {
  .text-section-header {
    font-size: 3.75rem !important;
  }
}

.text-6xl-7xl {
  font-size: 3.75rem !important;
}
@media (min-width: 768px) {
  .text-6xl-7xl {
    font-size: 4.5rem !important;
  }
}

.text-6xl-8xl {
  font-size: 3.75rem !important;
}
@media (min-width: 768px) {
  .text-6xl-8xl {
    font-size: 6rem !important;
  }
}

.text-7xl-8xl {
  font-size: 4.5rem !important;
}
@media (min-width: 768px) {
  .text-7xl-8xl {
    font-size: 6rem !important;
  }
}

.text-2xl-4xl {
  font-size: 1.5rem !important;
}
@media (min-width: 768px) {
  .text-2xl-4xl {
    font-size: 2.25rem !important;
  }
}

.text-base-lg {
  font-size: 1rem !important;
}
@media (min-width: 768px) {
  .text-base-lg {
    font-size: 1.125rem !important;
  }
}

.text-xs {
  font-size: 0.75rem !important;
}

.text-sm {
  font-size: 0.875rem !important;
}

.text-md-base {
  font-size: 0.875rem !important;
}
@media (min-width: 768px) {
  .text-md-base {
    font-size: 1rem !important;
  }
}

.text-md-lg {
  font-size: 1rem !important;
}
@media (min-width: 768px) {
  .text-md-lg {
    font-size: 1.125rem !important;
  }
}

.hover-white {
  transition: color 0.15s ease-in-out;
}
.hover-white:hover {
  color: #ffffff !important;
}

.text-2xl-3xl {
  font-size: 1.5rem !important;
}
@media (min-width: 768px) {
  .text-2xl-3xl {
    font-size: 1.875rem !important;
  }
}

.text-3xl-5xl {
  font-size: 1.875rem !important;
}
@media (min-width: 768px) {
  .text-3xl-5xl {
    font-size: 3rem !important;
  }
}

.text-4xl-5xl {
  font-size: 2.25rem !important;
}
@media (min-width: 768px) {
  .text-4xl-5xl {
    font-size: 3rem !important;
  }
}

/* Custom rounded corner values */
.rounded-sm {
  border-radius: 0.125rem !important;
}

/* ==========================================
   Scroll Reveal Animations
   ========================================== */

/* Base animation setup for single elements */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

/* Active class applied by IntersectionObserver */
.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger container parent */
.stagger-container {
  /* No visual properties, holds observer context */
}

/* Elements inside a stagger container */
.stagger-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.stagger-item.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   Contact Form Styles
   ========================================== */

.contact-form-container {
  background-color: transparent;
}

.contact-form .form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.contact-form .form-control-custom {
  display: block;
  width: 100%;
  padding: 0.75rem 0.5rem;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--color-ink);
  background-color: transparent;
  background-clip: padding-box;
  border: none;
  border-bottom: 1px solid rgba(77, 48, 32, 0.3); /* cocoa light border */
  border-radius: 0;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  font-family: var(--font-sans);
}

.contact-form .form-control-custom:focus {
  outline: none;
  border-bottom-color: var(--color-rust);
  box-shadow: none;
}

.contact-form label.label-custom {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-cocoa);
  margin-bottom: 0.25rem;
  font-family: var(--font-sans);
  font-weight: 600;
}

.contact-form .btn-submit {
  display: inline-block;
  background-color: var(--color-cocoa);
  color: var(--color-cream);
  border: 1px solid var(--color-cocoa);
  padding: 0.75rem 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 1rem;
}

.contact-form .btn-submit:hover {
  background-color: transparent;
  color: var(--color-cocoa);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(77, 48, 32, 0.15);
}

.contact-form .btn-submit:active {
  transform: translateY(0);
}

.form-success-message {
  display: none;
  color: var(--color-rust);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  margin-top: 1rem;
  transition: opacity 0.5s ease;
  opacity: 0;
}

.form-success-message.show {
  display: block;
  opacity: 1;
}

/* Custom styles for normal pages/posts */
.site-content-wrapper {
  max-width: 800px;
  margin: 120px auto 60px;
  padding: 0 20px;
}
.page-title {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--color-cocoa);
  margin-bottom: 2rem;
  text-align: center;
}
.post-meta {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--color-taupe);
  margin-bottom: 2rem;
  text-align: center;
  text-transform: uppercase;
}
.entry-content {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-ink);
}
.entry-content p {
  margin-bottom: 1.5rem;
}
.entry-content h2, .entry-content h3, .entry-content h4 {
  font-family: var(--font-serif);
  color: var(--color-cocoa);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* Header menu styling */
.header-nav {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.header-nav li a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  font-weight: 500;
  transition: color 0.2s ease;
}
.header-nav li a:hover {
  color: #fff;
}
.header-nav li.current-menu-item a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  padding-bottom: 2px;
}

/* Admin/Edit styles */
.accordion-collapse.show {
  visibility: visible;
}
