/**
 * Destination Wedding Calculator Styles
 * 
 * Separate CSS file for the wedding calculator tool to keep style.css manageable
 * Follows the same design patterns as other tools (Cost Estimator, Itinerary, Comparison)
 *
 * @package TravelSuggest
 * @since 1.0.0
 */

/* ========================================
   HERO SECTION
   ======================================== */

/* Hero wrapper */
body.page-template-template-destination-wedding-calculator .wedding-calculator-hero-wrapper {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.page-template-template-destination-wedding-calculator .wedding-calculator-hero {
  position: relative;
  width: 100%;
  height: 48vh; /* 20% shorter than 60vh */
  min-height: 304px; /* 20% shorter than 380px */
  max-height: 512px; /* 20% shorter than 640px */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* Parallax effect */
  border-radius: 0;
  overflow: hidden;
  margin: 0;
  box-shadow: none;
}

body.page-template-template-destination-wedding-calculator .wedding-calculator-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.65) 100%);
  z-index: 1;
}

body.page-template-template-destination-wedding-calculator .wedding-calculator-hero .hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: flex-end;
}

body.page-template-template-destination-wedding-calculator .wedding-calculator-hero .hero-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 44px 24px;
}

body.page-template-template-destination-wedding-calculator .wedding-calculator-hero .hero-title {
  color: #fff;
  margin: 0 0 10px 0;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 10px 30px rgba(0,0,0,0.45);
}

body.page-template-template-destination-wedding-calculator .wedding-calculator-hero .hero-subtitle {
  color: rgba(255,255,255,0.95);
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  margin: 0;
}

/* ========================================
   CONTAINER & SECTIONS
   ======================================== */

body.page-template-template-destination-wedding-calculator .wedding-calculator-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

body.page-template-template-destination-wedding-calculator .wedding-section {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 32px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   FORM STYLES
   ======================================== */

body.page-template-template-destination-wedding-calculator .form-row {
  margin-bottom: 24px;
}

body.page-template-template-destination-wedding-calculator .form-row-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

body.page-template-template-destination-wedding-calculator .form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-primary);
  font-size: 1rem;
}

body.page-template-template-destination-wedding-calculator .form-group .required {
  color: var(--color-secondary);
  margin-left: 4px;
}

body.page-template-template-destination-wedding-calculator .form-group input[type="text"],
body.page-template-template-destination-wedding-calculator .form-group input[type="date"],
body.page-template-template-destination-wedding-calculator .form-group input[type="number"],
body.page-template-template-destination-wedding-calculator .form-group select,
body.page-template-template-destination-wedding-calculator .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font-primary);
  transition: all 0.2s ease;
}

body.page-template-template-destination-wedding-calculator .form-group input:focus,
body.page-template-template-destination-wedding-calculator .form-group select:focus,
body.page-template-template-destination-wedding-calculator .form-group textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(248, 150, 30, 0.1);
}

body.page-template-template-destination-wedding-calculator .form-group textarea {
  resize: vertical;
  min-height: 100px;
}

body.page-template-template-destination-wedding-calculator .form-help-text {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 6px;
  margin-bottom: 0;
}

/* Guest Inputs */
body.page-template-template-destination-wedding-calculator .guest-inputs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

body.page-template-template-destination-wedding-calculator .guest-input-group {
  display: flex;
  flex-direction: column;
}

body.page-template-template-destination-wedding-calculator .guest-input-group label {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: #374151;
}

body.page-template-template-destination-wedding-calculator .guest-input-group input {
  padding: 10px 12px;
  text-align: center;
  font-weight: 600;
}

/* Cost Categories */
body.page-template-template-destination-wedding-calculator .cost-categories,
body.page-template-template-destination-wedding-calculator .additional-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px;
}

body.page-template-template-destination-wedding-calculator .category-checkbox,
body.page-template-template-destination-wedding-calculator .service-checkbox {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

body.page-template-template-destination-wedding-calculator .category-checkbox:hover,
body.page-template-template-destination-wedding-calculator .service-checkbox:hover {
  background: #fff7ed;
  border-color: var(--color-secondary);
}

body.page-template-template-destination-wedding-calculator .category-checkbox input[type="checkbox"],
body.page-template-template-destination-wedding-calculator .service-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  cursor: pointer;
  flex-shrink: 0;
}

body.page-template-template-destination-wedding-calculator .category-checkbox span,
body.page-template-template-destination-wedding-calculator .service-checkbox span {
  font-size: 0.9375rem;
  color: #374151;
  font-weight: 500;
}

/* Submit Button */
body.page-template-template-destination-wedding-calculator .form-actions {
  margin-top: 32px;
  text-align: center;
}

body.page-template-template-destination-wedding-calculator .submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 48px;
  background: linear-gradient(135deg, var(--color-secondary) 0%, #f59e0b 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(248, 150, 30, 0.3);
}

body.page-template-template-destination-wedding-calculator .submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(248, 150, 30, 0.4);
}

body.page-template-template-destination-wedding-calculator .submit-button:active {
  transform: translateY(0);
}

body.page-template-template-destination-wedding-calculator .submit-button.loading .button-text {
  display: none;
}

body.page-template-template-destination-wedding-calculator .submit-button.loading .button-spinner {
  display: block !important;
}

body.page-template-template-destination-wedding-calculator .button-spinner svg {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ========================================
   LOADING STATE
   ======================================== */

body.page-template-template-destination-wedding-calculator .wedding-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  text-align: center;
}

body.page-template-template-destination-wedding-calculator .spinner-container {
  text-align: center;
}

body.page-template-template-destination-wedding-calculator .loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid #f3f4f6;
  border-top-color: var(--color-secondary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 24px;
}

body.page-template-template-destination-wedding-calculator .spinner-container h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 12px 0;
}

body.page-template-template-destination-wedding-calculator .spinner-container p {
  font-size: 1rem;
  color: #6b7280;
  margin: 0;
}

/* ========================================
   DISPLAY SECTION
   ======================================== */

body.page-template-template-destination-wedding-calculator .wedding-display-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}

body.page-template-template-destination-wedding-calculator .section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
  letter-spacing: -0.02em;
}

body.page-template-template-destination-wedding-calculator .wedding-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

body.page-template-template-destination-wedding-calculator .action-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

body.page-template-template-destination-wedding-calculator .action-button.primary {
  background: linear-gradient(135deg, var(--color-secondary) 0%, #f59e0b 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(248, 150, 30, 0.25);
}

body.page-template-template-destination-wedding-calculator .action-button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(248, 150, 30, 0.35);
}

body.page-template-template-destination-wedding-calculator .action-button.secondary {
  background: #ffffff;
  color: #374151;
  border-color: #d1d5db;
}

body.page-template-template-destination-wedding-calculator .action-button.secondary:hover {
  background: #f9fafb;
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

/* Wedding Content */
body.page-template-template-destination-wedding-calculator .wedding-content {
  /* Content will be dynamically generated */
}

/* Wedding Summary */
body.page-template-template-destination-wedding-calculator .wedding-summary {
  text-align: center;
  margin-bottom: 48px;
  padding: 32px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border-radius: 12px;
  border: 2px solid #fed7aa;
  box-shadow: 0 4px 16px rgba(248, 150, 30, 0.1);
  position: relative;
  overflow: hidden;
}

body.page-template-template-destination-wedding-calculator .wedding-summary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

body.page-template-template-destination-wedding-calculator .summary-destination {
  font-size: 2rem;
  font-weight: 800;
  color: #1f2937;
  margin: 0 0 8px 0;
}

body.page-template-template-destination-wedding-calculator .summary-date {
  font-size: 1.125rem;
  color: #6b7280;
  margin: 0 0 20px 0;
}

body.page-template-template-destination-wedding-calculator .summary-meta {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 20px;
}

body.page-template-template-destination-wedding-calculator .meta-item {
  font-size: 0.9375rem;
  color: #374151;
}

body.page-template-template-destination-wedding-calculator .meta-label {
  font-weight: 600;
  color: #1f2937;
}

/* Total Cost Display */
body.page-template-template-destination-wedding-calculator .total-cost-display {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: #ffffff;
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 40px;
  box-shadow: 0 8px 24px rgba(248, 150, 30, 0.25);
}

body.page-template-template-destination-wedding-calculator .total-cost-label {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 12px 0;
  opacity: 0.95;
}

body.page-template-template-destination-wedding-calculator .total-cost-amount {
  font-size: 3.5rem;
  font-weight: 800;
  margin: 0;
  line-height: 1;
}

body.page-template-template-destination-wedding-calculator .cost-range {
  font-size: 1rem;
  margin-top: 12px;
  opacity: 0.9;
}

/* Cost Breakdown */
body.page-template-template-destination-wedding-calculator .cost-breakdown {
  margin-bottom: 40px;
}

body.page-template-template-destination-wedding-calculator .breakdown-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 24px 0;
}

body.page-template-template-destination-wedding-calculator .breakdown-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.page-template-template-destination-wedding-calculator .breakdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  transition: all 0.2s ease;
}

body.page-template-template-destination-wedding-calculator .breakdown-item:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 2px 8px rgba(248, 150, 30, 0.15);
  transform: translateX(4px);
}

body.page-template-template-destination-wedding-calculator .item-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: #1f2937;
  font-size: 1rem;
}

body.page-template-template-destination-wedding-calculator .item-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border-radius: 8px;
  color: var(--color-secondary);
  flex-shrink: 0;
}

body.page-template-template-destination-wedding-calculator .item-cost {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-secondary);
}

body.page-template-template-destination-wedding-calculator .item-description {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 4px;
  padding-left: 44px;
}

/* Recommendations Section */
body.page-template-template-destination-wedding-calculator .recommendations-section {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 32px;
}

body.page-template-template-destination-wedding-calculator .recommendations-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 24px 0;
}

body.page-template-template-destination-wedding-calculator .recommendation-item {
  padding: 20px;
  background: #f9fafb;
  border-left: 4px solid var(--color-secondary);
  border-radius: 8px;
  margin-bottom: 16px;
}

body.page-template-template-destination-wedding-calculator .recommendation-item:last-child {
  margin-bottom: 0;
}

body.page-template-template-destination-wedding-calculator .recommendation-item h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 8px 0;
}

body.page-template-template-destination-wedding-calculator .recommendation-item p {
  font-size: 0.9375rem;
  color: #374151;
  margin: 0;
  line-height: 1.6;
}

/* ========================================
   SEO CONTENT SECTIONS
   ======================================== */

body.page-template-template-destination-wedding-calculator .wedding-content-sections {
  max-width: 960px;
  margin: 48px auto 0;
  padding: 0;
}

body.page-template-template-destination-wedding-calculator .content-section {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 32px;
}

body.page-template-template-destination-wedding-calculator .content-section h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 32px 0;
  text-align: center;
}

/* Steps Container */
body.page-template-template-destination-wedding-calculator .steps-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

body.page-template-template-destination-wedding-calculator .step-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: #f9fafb;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}

body.page-template-template-destination-wedding-calculator .step-item:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 4px 12px rgba(248, 150, 30, 0.1);
  transform: translateY(-2px);
}

body.page-template-template-destination-wedding-calculator .step-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-secondary) 0%, #f59e0b 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

body.page-template-template-destination-wedding-calculator .step-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 8px 0;
}

body.page-template-template-destination-wedding-calculator .step-content p {
  font-size: 0.9375rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
}

/* Benefits Grid */
body.page-template-template-destination-wedding-calculator .benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

body.page-template-template-destination-wedding-calculator .benefit-card {
  padding: 24px;
  background: #f9fafb;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  text-align: center;
  transition: all 0.2s ease;
}

body.page-template-template-destination-wedding-calculator .benefit-card:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 4px 12px rgba(248, 150, 30, 0.1);
  transform: translateY(-2px);
}

body.page-template-template-destination-wedding-calculator .benefit-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--color-secondary);
}

body.page-template-template-destination-wedding-calculator .benefit-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 12px 0;
}

body.page-template-template-destination-wedding-calculator .benefit-card p {
  font-size: 0.9375rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
}

/* FAQ Section */
body.page-template-template-destination-wedding-calculator .faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

body.page-template-template-destination-wedding-calculator .faq-item {
  padding: 24px;
  background: #f9fafb;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

body.page-template-template-destination-wedding-calculator .faq-item h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 12px 0;
}

body.page-template-template-destination-wedding-calculator .faq-item p {
  font-size: 0.9375rem;
  color: #374151;
  margin: 0;
  line-height: 1.6;
}

/* Tips Grid */
body.page-template-template-destination-wedding-calculator .tips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

body.page-template-template-destination-wedding-calculator .tip-card {
  padding: 20px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border-radius: 12px;
  border: 1px solid #fed7aa;
}

body.page-template-template-destination-wedding-calculator .tip-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 8px 0;
}

body.page-template-template-destination-wedding-calculator .tip-card p {
  font-size: 0.875rem;
  color: #374151;
  margin: 0;
  line-height: 1.6;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (max-width: 768px) {
  /* Hero */
  body.page-template-template-destination-wedding-calculator .wedding-calculator-hero {
    height: 36.8vh;
    min-height: 256px;
    background-attachment: scroll;
  }

  body.page-template-template-destination-wedding-calculator .wedding-calculator-hero .hero-container {
    padding: 0 18px 28px 18px;
  }

  /* Sections */
  body.page-template-template-destination-wedding-calculator .wedding-section {
    padding: 20px;
    border-radius: 8px;
  }

  /* Form */
  body.page-template-template-destination-wedding-calculator .form-row-two-col {
    grid-template-columns: 1fr;
  }

  body.page-template-template-destination-wedding-calculator .guest-inputs {
    grid-template-columns: 1fr;
  }

  body.page-template-template-destination-wedding-calculator .cost-categories,
  body.page-template-template-destination-wedding-calculator .additional-services {
    grid-template-columns: 1fr;
  }

  /* Display Header */
  body.page-template-template-destination-wedding-calculator .wedding-display-header {
    flex-direction: column;
    align-items: flex-start;
  }

  body.page-template-template-destination-wedding-calculator .wedding-actions {
    width: 100%;
  }

  body.page-template-template-destination-wedding-calculator .action-button {
    flex: 1;
  }

  /* Summary */
  body.page-template-template-destination-wedding-calculator .summary-meta {
    flex-direction: column;
    gap: 12px;
  }

  /* Total Cost */
  body.page-template-template-destination-wedding-calculator .total-cost-amount {
    font-size: 2.5rem;
  }

  /* SEO Sections */
  body.page-template-template-destination-wedding-calculator .wedding-content-sections {
    margin-top: 32px;
  }

  body.page-template-template-destination-wedding-calculator .content-section {
    padding: 32px 24px;
    margin-bottom: 24px;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  body.page-template-template-destination-wedding-calculator .steps-container,
  body.page-template-template-destination-wedding-calculator .benefits-grid,
  body.page-template-template-destination-wedding-calculator .tips-grid {
    grid-template-columns: 1fr;
  }

  body.page-template-template-destination-wedding-calculator .step-item {
    flex-direction: column;
    text-align: center;
  }

  body.page-template-template-destination-wedding-calculator .step-number {
    margin: 0 auto;
  }
}

