/*
Theme Name: YPC Pest Control
Theme URI: http://example.com/ypc-pest-control
Author: Antigravity AI
Author URI: https://google.com
Description: A modern, high-performance, and beautifully designed WordPress theme for pest control services.
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ypc-pest-control
*/

:root {
  /* Logo-inspired premium dark palette */
  --color-dark-bg: #090C0E;
  --color-card-bg: #141A1D;
  --color-card-hover: #1D2529;
  
  --color-gradient-start: #FF4E7E; /* Pink from logo */
  --color-gradient-end: #FF9B00;   /* Orange from logo */
  
  --color-primary: #FF4E7E;
  --color-secondary: #FF9B00;
  
  --color-white: #FFFFFF;
  --color-text-main: #F4F7F6;
  --color-text-muted: #A3C2BF;
  --color-border: #242E32;
  --color-success: #10B981;
  
  --font-headline: 'Archivo Black', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.6);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: var(--color-dark-bg);
  line-height: 1.6;
  padding-bottom: 70px;
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

/* Typography Utilities */
h1, h2, h3, h4 {
  font-family: var(--font-headline);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.15;
}

/* Gradient Text Effect */
.gradient-text {
  background: linear-gradient(135deg, var(--color-gradient-start) 0%, var(--color-gradient-end) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.mono-badge {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  display: inline-block;
}

.mono-badge-gold {
  background-color: rgba(255, 155, 0, 0.15);
  color: #FF9B00;
  border: 1px solid rgba(255, 155, 0, 0.4);
}

.mono-badge-teal {
  background-color: rgba(255, 78, 126, 0.1);
  color: var(--color-primary);
  border: 1px solid rgba(255, 78, 126, 0.3);
}

/* Layout Components */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 60px 0;
}

@media (min-width: 768px) {
  .section-padding {
    padding: 90px 0;
  }
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 48px;
}

.section-header h2 {
  font-size: 2rem;
  color: var(--color-white);
  margin: 12px 0 16px;
}

@media (min-width: 768px) {
  .section-header h2 {
    font-size: 2.5rem;
  }
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  text-decoration: none;
  padding: 16px 28px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  width: 100%;
  text-align: center;
}

@media (min-width: 576px) {
  .btn {
    width: auto;
  }
}

.btn-amber {
  background: linear-gradient(135deg, var(--color-gradient-start) 0%, var(--color-gradient-end) 100%);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(255, 78, 126, 0.4);
}

.btn-amber:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 78, 126, 0.6);
  opacity: 0.95;
}

.btn-teal-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-primary);
}

.btn-teal-outline:hover {
  background: linear-gradient(135deg, var(--color-gradient-start) 0%, var(--color-gradient-end) 100%);
  border-color: transparent;
}

/* Sticky Top Header */
.header {
  position: sticky;
  top: 0;
  background: rgba(9, 12, 14, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--color-border);
  padding: 8px 0;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 80px; /* Made much larger! */
  width: auto;
  border-radius: var(--radius-sm);
  transition: transform 0.2s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-phone {
  display: none;
  align-items: center;
  gap: 8px;
  color: var(--color-white);
  font-weight: 700;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 1.1rem;
}

.header-phone:hover {
  color: var(--color-secondary);
}

@media (min-width: 768px) {
  .header-phone {
    display: flex;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(185deg, #090C0E 0%, #151D22 100%);
  color: var(--color-white);
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.hero-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-title {
  font-size: 2.2rem;
  color: var(--color-white);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  max-width: 600px;
}

/* Hero Image display */
.hero-image-container {
  margin-top: 20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.hero-image-container img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  margin-top: 20px;
}

.stat-number {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-secondary);
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Lead Form Card */
.lead-card {
  background: var(--color-card-bg);
  border-radius: var(--radius-md);
  padding: 32px;
  color: var(--color-text-main);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.lead-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-gradient-start), var(--color-gradient-end));
}

.lead-card h3 {
  font-size: 1.4rem;
  color: var(--color-white);
  margin-bottom: 6px;
}

.lead-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-control {
  width: 100%;
  padding: 14px;
  background-color: var(--color-dark-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-white);
  transition: all 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 5px rgba(255, 78, 126, 0.3);
}

select.form-control {
  background-color: var(--color-dark-bg);
}

select.form-control option {
  background-color: var(--color-dark-bg);
  color: var(--color-white);
}

.form-privacy {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 12px;
}

/* Agitation Banner */
.agitation-strip {
  background-color: #101619;
  border-bottom: 1px solid var(--color-border);
  padding: 40px 0;
}

.agitation-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .agitation-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.agitation-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--color-card-bg);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  transition: transform 0.2s ease;
}

.agitation-item:hover {
  transform: translateY(-2px);
}

.agitation-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.agitation-text h4 {
  font-size: 1rem;
  color: var(--color-white);
  margin-bottom: 6px;
}

.agitation-text p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 78, 126, 0.15);
  border-color: var(--color-primary);
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1.2rem;
  color: var(--color-white);
}

.service-body p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.service-footer-btns {
  display: flex;
  gap: 8px;
  width: 100%;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.service-footer-btns .btn {
  flex: 1;
  padding: 10px 8px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  width: auto;
}

.btn-whatsapp-small {
  background-color: #25D366;
  color: var(--color-white);
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp-small:hover {
  background-color: #20BA5A;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.btn-call-small {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid var(--color-primary);
}

.btn-call-small:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Process Section */
.process-section {
  background: #0d1215;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
  transition: all 0.3s ease;
}

.process-step:hover {
  border-color: var(--color-secondary);
  transform: translateY(-3px);
}

.step-number {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--color-gradient-start) 0%, var(--color-gradient-end) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 12px;
}

.process-step h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--color-white);
}

.process-step p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Stock Image Highlight Section */
.image-highlight-section {
  background: var(--color-dark-bg);
}

.highlight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .highlight-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.highlight-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.highlight-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.highlight-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .highlight-content h2 {
    font-size: 2.5rem;
  }
}

.highlight-content p {
  color: var(--color-text-muted);
  margin-bottom: 24px;
  font-size: 1.1rem;
}

/* Pan India City Grid */
.city-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  background: var(--color-card-bg);
  padding: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

@media (min-width: 576px) {
  .city-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) {
  .city-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.city-item {
  font-size: 0.95rem;
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.city-item::before {
  content: "•";
  color: var(--color-primary);
  font-size: 1.4rem;
}

/* Pricing Plans */
.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 992px) {
  .plans-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.plan-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.plan-card.featured {
  border: 2px solid var(--color-primary);
  box-shadow: 0 10px 30px rgba(255, 78, 126, 0.15);
}

.featured-tag {
  position: absolute;
  top: -14px;
  right: 20px;
  background: linear-gradient(135deg, var(--color-gradient-start) 0%, var(--color-gradient-end) 100%);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
}

.plan-title {
  font-size: 1.4rem;
  color: var(--color-white);
  margin-bottom: 8px;
}

.plan-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  min-height: 40px;
}

.plan-features {
  list-style: none;
  margin: 24px 0 36px;
  flex-grow: 1;
}

.plan-features li {
  font-size: 0.95rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-main);
}

.plan-features li::before {
  content: "✓";
  color: var(--color-success);
  font-weight: bold;
}

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: var(--color-primary);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--color-primary);
}

/* Footer */
.footer {
  background: #07090b;
  color: var(--color-text-muted);
  padding: 50px 0;
  border-top: 1px solid var(--color-border);
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Mobile Sticky Call Bar */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(9, 12, 14, 0.98);
  border-top: 1px solid var(--color-border);
  padding: 12px 18px;
  display: flex;
  gap: 12px;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

@media (min-width: 992px) {
  .mobile-sticky-bar {
    display: none;
  }
}

.mobile-sticky-bar .btn {
  flex: 1;
  padding: 14px;
  font-size: 0.95rem;
}
