/*
Theme Name: Jodhpur Wood
Theme URI: https://yourdomain.com/jodhpur-wood
Author: Custom Marwar Crafts
Author URI: https://yourdomain.com
Description: A luxury royal Rajasthani solid wood furniture theme powered by Advanced Custom Fields (ACF) and Tailwind CSS.
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: jodhpur-wood
Tags: e-commerce, custom-menu, featured-images, flexible-header, theme-options, full-width-template
*/

/* 
  ------------------------------------------------------------------
  Base Color Utility Classes & Custom Overrides
  Primary Electric Blue: #25C3FF
  ------------------------------------------------------------------ 
*/

:root {
  --jodhpur-blue: #25C3FF;
  --jodhpur-blue-dark: #0097D1;
  --jodhpur-blue-light: #E8F8FF;
  --sandstone-base: #FAF6EE;
  --sandstone-yellow: #F3E5C8;
  --sandstone-gold: #C29043;
  --terracotta: #B84A28;
  --royal-wood: #1F1712;
}

/* Base Body Styles */
body {
  background-color: var(--sandstone-base);
  color: var(--royal-wood);
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Selection Color Highlight */
::selection {
  background-color: var(--jodhpur-blue);
  color: var(--royal-wood);
}

/* Jharokha Arch Utility Frames */
.jharokha-arch {
  clip-path: polygon(0% 100%, 0% 25%, 15% 15%, 30% 5%, 50% 0%, 70% 5%, 85% 15%, 100% 25%, 100% 100%);
}

.jharokha-arch-soft {
  border-radius: 60% 60% 16px 16px / 35% 35% 16px 16px;
}

/* Indian Lattice Pattern (Jaali) Background Overlay */
.jaali-pattern {
  background-image: radial-gradient(#C29043 0.6px, transparent 0.6px), radial-gradient(#C29043 0.6px, #FAF6EE 0.6px);
  background-size: 24px 24px;
  background-position: 0 0, 12px 12px;
  opacity: 0.15;
}

/* WooCommerce & Native WordPress Alignment Fixes */
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
}

.alignleft {
  float: left;
  margin-right: 1.5rem;
}

.wp-caption {
  max-width: 100%;
  margin-bottom: 1.5rem;
}

.wp-caption-text {
  font-size: 0.75rem;
  color: #6b7280;
  text-align: center;
  margin-top: 0.5rem;
}

/* Contact Form 7 Footer Newsletter Overrides */
.wpcf7 form.invalid .wpcf7-response-output, 
.wpcf7 form.sent .wpcf7-response-output {
  margin: 0.5rem 0 0 0 !important;
  padding: 0.5rem !important;
  font-size: 0.75rem !important;
  border-radius: 0.5rem !important;
}

/* Remove default CF7 paragraph wrappers */
.footer-newsletter-form p {
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  width: 100% !important;
}

.footer-newsletter-form .wpcf7-form-control-wrap {
  display: block !important;
  width: 100% !important;
}

/* Maintain rounded corners when inline */
.footer-newsletter-form input[type="email"] {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.footer-newsletter-form input[type="submit"] {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  cursor: pointer;
}


/* Gutenberg Inner Page Typography Overrides */
.max-w-4xl h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1F1712;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid rgba(194, 144, 67, 0.3);
    padding-bottom: 0.25rem;
}

.max-w-4xl h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1F1712;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.max-w-4xl ul {
    list-style-type: disc;
    padding-left: 1.25rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.max-w-4xl blockquote {
    border-left: 4px solid #25C3FF;
    background-color: #FAF6EE;
    padding: 1rem 1.25rem;
    font-style: italic;
    border-radius: 0 0.5rem 0.5rem 0;
    margin: 1.5rem 0;
}


/* Traditional Jharoka Arch Adjustments */
article.group {
    background-image: radial-gradient(circle at top, rgba(194, 144, 67, 0.05) 0%, transparent 70%);
}

/* Post Detail Body Styling */
article h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1F1712;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 1px dashed rgba(194, 144, 67, 0.4);
    padding-bottom: 0.5rem;
}

article h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: #1F1712;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

article blockquote {
    border-left: 4px solid #25C3FF;
    background-color: #FAF6EE;
    padding: 1.25rem;
    font-style: italic;
    border-radius: 0 0.75rem 0.75rem 0;
    margin: 1.5rem 0;
    color: #1F1712;
}

article img {
    border-radius: 0.75rem;
    border: 1px solid rgba(194, 144, 67, 0.3);
    margin: 1.5rem 0;
}