/* Flypay — light theme, 3D-style icons */

:root {
  --bg: #fafbfc;
  --bg-card: #ffffff;
  --surface: #ffffff;
  --text: #1a1d23;
  --text-muted: #5c6370;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --border: #e5e7eb;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  /* Service colors for 3D icons */
  --hotel: #0ea5e9;
  --restaurant: #f59e0b;
  --tickets: #10b981;
  --services: #8b5cf6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 1.35rem;
}

.logo-img {
  display: block;
  height: 40px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 28px;
}

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

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

/* Hero */
.hero {
  padding: 72px 0 80px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

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

.hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #0ea5e9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
}

.ask-block {
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.ask-hint {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0 0 16px;
  text-align: left;
}

.ask-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.ask-form input {
  flex: 1;
  min-width: 200px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ask-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.ask-result {
  margin-top: 16px;
  padding: 14px 18px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-sm);
  text-align: left;
}

.ask-result-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.ask-result-link:hover {
  text-decoration: underline;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
  border: none;
  text-decoration: none;
  color: inherit;
}

.btn-icon {
  font-size: 1.1em;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

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

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

/* Section titles */
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  text-align: center;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.section-desc {
  text-align: center;
  color: var(--text-muted);
  margin: 0 0 32px;
}

/* Services — 3D icons */
.services {
  padding: 80px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

.service-icon-wrap {
  margin-bottom: 20px;
}

/* 3D-style icons: layered shadow + slight tilt */
.service-icon.icon-3d {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  font-size: 2.2rem;
  border-radius: 16px;
  box-shadow:
    4px 4px 0 rgba(0,0,0,0.08),
    8px 8px 0 rgba(0,0,0,0.04),
    0 10px 30px rgba(0,0,0,0.12);
  transform: perspective(400px) rotateX(-4deg) rotateY(4deg) translateZ(0);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover .service-icon.icon-3d {
  transform: perspective(400px) rotateX(-2deg) rotateY(2deg) translateY(-2px) translateZ(4px);
  box-shadow:
    6px 6px 0 rgba(0,0,0,0.06),
    12px 12px 0 rgba(0,0,0,0.03),
    0 16px 40px rgba(0,0,0,0.15);
}

.service-card[data-service="hotels"] .service-icon.icon-3d { background: linear-gradient(145deg, #38bdf8 0%, #0ea5e9 100%); }
.service-card[data-service="restaurants"] .service-icon.icon-3d { background: linear-gradient(145deg, #fbbf24 0%, #f59e0b 100%); }
.service-card[data-service="tickets"] .service-icon.icon-3d { background: linear-gradient(145deg, #34d399 0%, #10b981 100%); }
.service-card[data-service="services"] .service-icon.icon-3d { background: linear-gradient(145deg, #a78bfa 0%, #8b5cf6 100%); }

.service-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 20px;
  flex: 1;
}

.service-card .card-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.service-card .card-link:hover {
  text-decoration: underline;
}

.service-card .btn {
  margin-top: auto;
}

.service-card .btn + .btn {
  margin-top: 10px;
}

/* Partners & Contact forms */
.partners {
  padding: 72px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.contact {
  padding: 72px 0 80px;
}

.form-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-card);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-card label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.form-card label span {
  color: var(--text-muted);
  font-weight: 500;
}

.form-card input,
.form-card select,
.form-card textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 1rem;
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-card textarea {
  resize: vertical;
  min-height: 100px;
}

.form-card .btn {
  margin-top: 16px;
}

.form-message {
  max-width: 560px;
  margin: 0 auto 20px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}

.form-message--success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.form-message--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* Footer */
.footer {
  padding: 24px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  text-align: center;
}

.copyright {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}
