/* Pano Data - Static Site Styles */

/* ===== CSS Variables ===== */
:root {
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --accent: #14b8a6;
  --accent-dark: #0d9488;
  --background: #ffffff;
  --foreground: #0f172a;
  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  --border: #e2e8f0;
  --card: #ffffff;
  --radius: 0.75rem;
  --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --gradient-hero: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-elevated: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--foreground);
  background: var(--background);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

@media (min-width: 1024px) {
  h1 { font-size: 4rem; }
  h2 { font-size: 3rem; }
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-muted {
  color: var(--muted-foreground);
}

.text-center {
  text-align: center;
}

/* ===== Layout ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

.grid-2 {
  display: grid;
  gap: 2rem;
}

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

.grid-3 {
  display: grid;
  gap: 2rem;
}

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

/* ===== Components ===== */

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-card);
}

.btn-primary:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-2px);
}

.btn-secondary {
  background: #e5e7eb;
  color: #1e3a8a;
}

.btn-secondary:hover {
  background: #d1d5db;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-full {
  width: 100%;
}

/* Card */
.card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-4px);
}

.card-body {
  padding: 2rem;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.logo img {
  height: 2rem;
  width: auto;
}

.nav {
  display: none;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
    align-items: center;
  }
}

.nav a {
  color: var(--muted-foreground);
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--foreground);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu {
  display: none;
  padding: 1rem 0;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  color: var(--muted-foreground);
  font-weight: 500;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: 5rem;
}

.hero-content {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-text {
  max-width: 600px;
}

.hero-text h1 {
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  color: var(--muted-foreground);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-elevated);
}

/* Hero cards (replaces image on homepage) */
.hero-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mini-service-card {
  border: none;
}

.mini-service-card .card-body {
  padding: 1.5rem;
}

.mini-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.mini-card-header h3 {
  font-size: 1.25rem;
  margin: 0;
}

.service-icon-sm {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.mini-service-card p {
  opacity: 0.9;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.mini-service-card ul {
  opacity: 0.8;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.mini-service-card li {
  margin-bottom: 0.25rem;
}

/* Decorative orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  animation: pulse 4s ease-in-out infinite;
}

.orb-1 {
  top: 5rem;
  right: 5rem;
  width: 24rem;
  height: 24rem;
  background: var(--primary);
  opacity: 0.1;
}

.orb-2 {
  bottom: 5rem;
  left: 5rem;
  width: 20rem;
  height: 20rem;
  background: var(--accent);
  opacity: 0.1;
  animation-delay: 1s;
}

.orb-accent {
  top: 5rem;
  left: 5rem;
  width: 24rem;
  height: 24rem;
  background: var(--accent);
  opacity: 0.1;
}

@keyframes pulse {
  0%, 100% { opacity: 0.1; }
  50% { opacity: 0.2; }
}

/* ===== Service Cards ===== */
.service-card-primary {
  background: var(--gradient-primary);
  color: white;
}

.service-card-accent {
  background: var(--accent);
  color: white;
}

/* ===== Why Section ===== */
.why-section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header p {
  color: var(--muted-foreground);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 1rem auto 0;
}

.why-card {
  text-align: center;
  padding: 2rem;
}

.why-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 1.5rem;
}

.why-card h3 {
  margin-bottom: 1rem;
}

.why-card p {
  color: var(--muted-foreground);
}

.why-section-simple {
  padding: 6rem 0;
}

.why-card-simple {
  padding: 2rem;
}

.why-card-simple h3 {
  margin-bottom: 1rem;
}

.why-card-simple p {
  color: var(--muted-foreground);
}

.why-list-card {
  padding: 2rem 3rem;
}

.why-list {
  display: grid;
  gap: 1rem;
}

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

.why-list li {
  color: var(--muted-foreground);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

/* ===== CTA Section ===== */
.cta {
  padding: 6rem 0;
  background: var(--gradient-hero);
}

.cta-box {
  background: var(--gradient-primary);
  border-radius: 1.5rem;
  padding: 4rem 2rem;
  text-align: center;
  color: white;
  box-shadow: var(--shadow-elevated);
}

.cta-box h2 {
  margin-bottom: 1rem;
}

.cta-box p {
  opacity: 0.9;
  margin-bottom: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.cta-link .cta-box {
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-link:hover .cta-box {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ===== Footer ===== */
.footer {
  background: var(--muted);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.footer-brand p {
  color: var(--muted-foreground);
  max-width: 300px;
  margin-top: 1rem;
}

.footer h4 {
  margin-bottom: 1rem;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer a {
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.footer a:hover {
  color: var(--foreground);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  text-align: center;
  color: var(--muted-foreground);
}

/* ===== Page-specific Styles ===== */

/* Detail pages hero */
.page-hero {
  position: relative;
  padding: 8rem 0 4rem;
  background: var(--gradient-hero);
  overflow: hidden;
}

.page-hero-content {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .page-hero-content {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-desc {
  font-size: 1.25rem;
  margin: 1.5rem 0;
}

/* Services list on detail pages */
.services-list {
  padding: 6rem 0;
  background: var(--muted);
}

.service-item {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: white;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-card);
}

.service-item-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 0.75rem;
  background: rgba(59, 130, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  font-size: 1.5rem;
}

.service-item h3 {
  margin-bottom: 1rem;
}

.service-item ul {
  color: var(--muted-foreground);
}

.service-item li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.service-item li::before {
  content: "✓";
  color: var(--primary);
  font-weight: bold;
}

/* Advisory cards */
.advisory-card {
  padding: 2rem;
}

.advisory-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: rgba(20, 184, 166, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.advisory-card h3 {
  margin-bottom: 1rem;
}

.advisory-card ul {
  color: var(--muted-foreground);
}

.advisory-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.advisory-card li::before {
  content: "✓";
  color: var(--accent);
  font-weight: bold;
}

/* Page CTA */
.page-cta {
  padding: 6rem 0;
  text-align: center;
}

.page-cta.primary {
  background: var(--gradient-primary);
  color: white;
}

.page-cta.accent {
  background: var(--accent);
  color: white;
}

.page-cta h2 {
  margin-bottom: 1.5rem;
}

/* ===== Contact Page ===== */
.contact-hero {
  padding: 8rem 0 4rem;
}

.contact-section {
  padding: 6rem 0;
}

.contact-form-wrapper {
  max-width: 500px;
  margin: 0 auto;
}

.contact-card {
  padding: 2rem;
}

@media (min-width: 768px) {
  .contact-card {
    padding: 3rem;
  }
}

.contact-header {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
}

.contact-header h2 {
  margin-bottom: 0.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.error-message {
  color: #dc2626;
  font-size: 0.875rem;
  padding: 0.75rem;
  background: #fef2f2;
  border-radius: var(--radius);
}

.form-success {
  text-align: center;
  padding: 2rem;
}

.success-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  font-weight: bold;
}

.form-success h2 {
  margin-bottom: 0.5rem;
}

.form-success p {
  margin-bottom: 1.5rem;
}

/* ===== Utilities ===== */
.mt-6 { margin-top: 1.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }

/* ===== Animations ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { 
    opacity: 0;
    transform: translateY(20px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

.animate-slide-up {
  animation: slideUp 0.6s ease-out;
}
