/*
Theme Name: Thiruvarur Directory
Theme URI: https://example.com/thiruvarur-directory
Author: Antigravity
Author URI: https://example.com
Description: A custom business directory theme for Thiruvarur, inspired by Justdial.
Version: 1.0.0
Text Domain: thiruvarur-directory
*/

:root {
  /* Brand Colors */
  --color-primary: #0076d7;
  /* Justdial Blue */
  --color-secondary: #ff7e00;
  /* Justdial Orange */
  --color-text-main: #333333;
  --color-text-light: #666666;
  --color-bg-light: #f5f5f5;
  --color-white: #ffffff;
  --color-border: #e0e0e0;

  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  color: var(--color-text-main);
  line-height: 1.5;
  margin: 0;
  padding: 0;
  background-color: var(--color-bg-light);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Header Utilities */
.btn {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.text-primary {
  color: var(--color-primary);
}

.text-secondary {
  color: var(--color-secondary);
}

/* Animation Utility */
.animate-fade-in {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Pricing Page Styles */
.pricing-header-section {
  text-align: center;
  padding: 40px 0;
}

.section-subtitle {
  color: var(--color-text-light);
  font-size: 1.1rem;
  margin-top: 10px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
  align-items: stretch;
}

.pricing-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  padding: 40px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.pricing-card.popular {
  border: 2px solid var(--color-primary);
  background: linear-gradient(to bottom, #fff, #f0f9ff);
  transform: scale(1.05);
  z-index: 10;
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-8px);
}

.pricing-card.premium {
  border: 2px solid var(--color-secondary);
  background: linear-gradient(to bottom, #fff, #fffbf0);
}

.pricing-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-primary), #2563eb);
  color: #fff;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
}

.pricing-card.premium .pricing-badge {
  background: linear-gradient(135deg, var(--color-secondary), #ea580c);
  box-shadow: 0 4px 6px rgba(234, 88, 12, 0.2);
}

.pricing-header h3 {
  color: var(--color-text-main);
  font-size: 1.75rem;
  /* Adjusted for balance */
  margin: 0 0 10px;
  font-weight: 800;
}

.pricing-price {
  font-size: 3rem;
  /* Reduced from 3.5rem to 3rem */
  font-weight: 800;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  margin: 15px 0;
}

.pricing-card.premium .pricing-price {
  color: var(--color-secondary);
}

.pricing-price .currency {
  font-size: 1.5rem;
  /* Reduced */
  margin-right: 4px;
  margin-top: -10px;
  color: inherit;
  opacity: 0.8;
}

@media (max-width: 576px) {
  .pricing-header h3 {
    font-size: 1.5rem;
  }

  .pricing-price {
    font-size: 2.5rem;
  }

  .pricing-price .currency {
    font-size: 1.25rem;
  }
}

.pricing-header h3 {
  color: var(--color-text-main);
  font-size: 2rem;
  margin: 0 0 10px;
  font-weight: 800;
}

.pricing-price {
  font-size: 3.5rem;
  /* Large highlighted price */
  font-weight: 800;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin: 15px 0;
}

.pricing-card.premium .pricing-price {
  color: var(--color-secondary);
}

.pricing-price .currency {
  font-size: 2rem;
  margin-right: 4px;
  margin-top: -15px;
  color: inherit;
  opacity: 0.8;
}

.pricing-features ul li {
  margin-bottom: 16px;
}


.pricing-features ul {
  padding: 0;
  margin: 0;
  list-style: none;
  /* Ensure no bullets */
}

.pricing-features ul li {
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  /* Aligns icon with the first line of text */
  color: var(--color-text-main);
  font-size: 0.95rem;
  line-height: 1.5;
  /* Good line height for readability */
}

.pricing-features ul li i {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border-radius: 50%;
  min-width: 24px;
  /* Ensure icon doesn't shrink */
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  font-size: 0.8rem;
  margin-top: 3px;
  /* Slight optical adjustment for flex-start */
  flex-shrink: 0;
  /* Prevent icon from shrinking */
}

.pricing-features ul li i.fa-times {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.pricing-features ul li i.fa-check {
  color: #10b981;
  /* Ensure green color persists */
}

/* Ensure no default styles interfere */
.pricing-features ul li.disabled {
  color: #9ca3af;
  text-decoration: none;
  /* Remove strikethrough if user prefers, or keep */
}

.pricing-features ul li.disabled i {
  filter: grayscale(100%);
  opacity: 0.6;
}

.pricing-features ul li.disabled {
  color: #ccc;
  text-decoration: line-through;
}

.pricing-features ul li.disabled i {
  color: #ccc;
}

/* Button variants for pricing */
.btn-outline-primary {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
  text-align: center;
}

.btn-outline-primary:hover {
  background: var(--color-primary);
  color: #fff;
}

.full-width {
  width: 100%;
  display: block;
  text-align: center;
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-card.popular {
    transform: none;
  }

  .pricing-card.popular:hover {
    transform: translateY(-5px);
  }
}