/**
 * Main Stylesheet for Amrosia Theme
 * Additional component-specific styles
 */

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Hero Section Styles */
.hero-section {
  position: relative;
  background: linear-gradient(to right, var(--slate-900), var(--slate-800), var(--slate-900));
  color: white;
  padding: 8rem 0 10rem;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: left;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: rgb(255, 255, 255) !important;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 5.25rem;
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: oklch(0.869 0.022 252.894);
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

/* Icon Container */
.icon-container {
  width: 3.5rem;
  height: 3.5rem;
  background-color: #f1f5f9;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background-color 0.3s ease;
}

.card:hover .icon-container {
  background-color: #dbeafe;
}

.icon-container img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Business Cards */
.business-card {
  position: relative;
  cursor: pointer;
}

.business-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.business-card:hover h3 {
  color: var(--blue-600);
}

.business-card p {
  color: var(--slate-600);
  line-height: 1.6;
}

/* Contact Section */
.contact-section {
  background-color: white;
}

.contact-info-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .contact-info-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-info-item {
  text-align: center;
  padding: 2rem;
  background-color: var(--slate-50);
  border-radius: var(--radius-lg);
}

.contact-info-item svg {
  width: 2rem;
  height: 2rem;
  color: var(--blue-600);
  margin: 0 auto 1rem;
}

.contact-info-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--slate-900);
}

.contact-info-item p {
  color: var(--slate-600);
  margin: 0;
}

.contact-info-item a {
  color: var(--blue-600);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-info-item a:hover {
  color: var(--blue-700);
  text-decoration: underline;
}

/* Contact Form */
.contact-form {
  max-width: 42rem;
  margin: 0 auto;
  background-color: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
}

.form-row {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .form-row.two-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-group {
  margin-bottom: 1.5rem;
}

.contact-form button[type="submit"] {
  width: 100%;
}

/* Alert Messages */
.alert {
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.alert-success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #10b981;
}

.alert-error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #ef4444;
}

/* About Stats Card */
.about-stats-card {
  background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
  border-radius: 1.5rem;
  padding: 0;
  color: white;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
}

.about-stats-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(96, 165, 250, 0.3), transparent 50%),
              radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.2), transparent 50%);
  pointer-events: none;
}

.stats-hero {
  text-align: center;
  padding: 3rem 2rem 2.5rem;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
  position: relative;
}

.stats-number {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 1rem;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  letter-spacing: -0.02em;
}

.stats-label {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  line-height: 1.4;
  max-width: 250px;
  margin: 0 auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  position: relative;
}

.stat-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background-color: transparent;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.stat-item:nth-child(2n) {
  border-right: none;
}

.stat-item:nth-child(3),
.stat-item:nth-child(4) {
  border-bottom: none;
}

.stat-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.05);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-item:hover::before {
  opacity: 1;
}

.stat-item:hover {
  transform: scale(1.05);
  z-index: 1;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  line-height: 1;
  letter-spacing: -0.01em;
}

.stat-item .stat-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Mission & Values Images */
.mission-image,
.values-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.mission-image {
  max-width: 28rem;
}

.values-image {
  max-width: 64rem;
}

/* Gradient Callout Box */
.gradient-callout {
  background: linear-gradient(to bottom right, var(--blue-600), var(--blue-700));
  border-radius: 1rem;
  padding: 2rem;
  color: white;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .gradient-callout {
    padding: 3rem;
  }
}

.gradient-callout h3 {
  color: white;
  font-size: 2rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .gradient-callout h3 {
    font-size: 2.5rem;
  }
}

.gradient-callout .subtitle {
  font-size: 1.25rem;
  color: rgba(219, 234, 254, 1);
  margin-bottom: 2rem;
}

.callout-grid {
  display: grid;
  gap: 1.5rem;
  text-align: center;
}

@media (min-width: 640px) {
  .callout-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.callout-item .number {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.callout-item .label {
  color: rgba(219, 234, 254, 1);
}

/* Two Column Layout */
.two-column-layout {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .two-column-layout {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Highlight Box */
.highlight-box {
  background-color: var(--blue-50);
  border-left: 4px solid var(--blue-600);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin-top: 2rem;
}

.highlight-box h4 {
  color: var(--blue-700);
  margin-bottom: 0.75rem;
}

.highlight-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.highlight-box li {
  padding: 0.5rem 0;
  color: var(--slate-700);
  display: flex;
  align-items: center;
}

.highlight-box li::before {
  content: "✓";
  color: var(--blue-600);
  font-weight: bold;
  margin-right: 0.75rem;
}

/* Capabilities List */
.capabilities-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.capabilities-list li {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--slate-700);
}

.capabilities-list svg {
  color: var(--blue-600);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

/* Applications Grid */
.applications-grid {
  display: grid;
  gap: 1rem;
}

.application-card {
  background-color: var(--slate-50);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--blue-600);
  color: var(--slate-700);
}

/* Back Button */
.back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--slate-600);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: color 0.2s;
}

.back-button:hover {
  color: var(--slate-900);
}

.back-button svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Service Detail Header */
.service-detail-header {
  background: linear-gradient(to right, var(--slate-900), var(--slate-800));
  color: white;
  padding: 4rem 0;
  margin-bottom: 4rem;
}

.service-detail-header h1 {
  color: white;
  margin-bottom: 0.5rem;
}

.service-detail-header .tagline {
  font-size: 1.25rem;
  opacity: 0.9;
}

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
}

/* Loading State for Lucide Icons */
.lucide {
  width: 1.5rem;
  height: 1.5rem;
  stroke-width: 2;
}

.icon-container .lucide {
  width: 2rem;
  height: 2rem;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* Spacing Utilities */
.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.space-y-8 > * + * {
  margin-top: 2rem;
}

/* Custom Logo Sizing */
.custom-logo {
  max-height: 50px;
  width: auto;
}
