/* Sarathy Marketing Website Styles */

/* Import Tailwind CSS from CDN - included in HTML files */

/* Custom CSS Variables for Brand Colors */
:root {
  --primary-color: #3b82f6; /* Blue */
  --primary-dark: #1d4ed8;
  --secondary-color: #10b981; /* Green */
  --accent-color: #f59e0b; /* Amber */
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f9fafb;
  --border-light: #e5e7eb;
}

/* Custom Styles */
.hero-gradient {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* FAQ Accordion Styles */
.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-question {
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.faq-question:hover {
  background-color: var(--bg-light);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.open {
  max-height: 500px;
  padding: 1rem 0;
}

/* Icon sizing for emoji */
.placeholder-img {
  font-size: 3rem; /* 48px - makes emojis bigger */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff !important; /* Solid white background */
  border: none !important; /* Remove border */
  opacity: 1 !important; /* Force full opacity */
  box-shadow: none !important; /* Remove any shadow effects */
  position: relative;
  z-index: 1;
}

.placeholder-img::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  border-radius: 50%;
  z-index: -1;
}

/* Mobile Navigation */
.mobile-menu {
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.mobile-menu.open {
  transform: translateX(0);
}

/* Button Styles */
.btn-primary {
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: white;
  color: var(--primary-color);
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--primary-color);
  border-radius: 0.5rem;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-1px);
}

/* App Store Badge Styles */
.store-badge {
  height: 60px;
  width: auto;
  margin: 0.5rem;
  transition: transform 0.2s ease;
}

.store-badge:hover {
  transform: scale(1.05);
}

/* Placeholder Image Styles */
.placeholder-img {
  background-color: #e5e7eb;
  background-image:
    linear-gradient(45deg, #f3f4f6 25%, transparent 25%),
    linear-gradient(-45deg, #f3f4f6 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #f3f4f6 75%),
    linear-gradient(-45deg, transparent 75%, #f3f4f6 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  font-weight: 500;
  border-radius: 0.5rem;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Utilities */
@media (max-width: 768px) {
  .hero-text {
    font-size: 2rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
  .dark-mode {
    --text-dark: #f9fafb;
    --text-light: #d1d5db;
    --bg-light: #1f2937;
    --border-light: #374151;
  }
}