/* ==========================================================================
   PYROSERVIS - Professional Event Production & Pyrotechnics
   Corporate & High-End Agency Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Colors - Sophisticated Charcoal & Real Pyro Accents */
  --bg-primary: #0b0d11;
  --bg-secondary: #12151c;
  --bg-tertiary: #191d26;
  --bg-elevated: #202532;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --accent: #ff5722;
  --accent-hover: #f4511e;
  --accent-gold: #ffb300;

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.35);
  --transition: all 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: #fff;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

p {
  color: var(--text-secondary);
}

.section-label {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 12px;
}

.page-header {
  padding: 140px 0 60px;
  background: linear-gradient(180deg, #161a23 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}

.page-header h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 16px;
}

.page-header p {
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  box-shadow: 0 4px 16px rgba(255, 87, 34, 0.35);
}

.btn-secondary {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.btn-secondary:hover {
  background-color: var(--bg-elevated);
  border-color: var(--border-strong);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.88rem;
}

/* Header & Top Bar */
.top-bar {
  background-color: #08090d;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-contacts {
  display: flex;
  gap: 24px;
}

.top-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
}

.top-contacts a:hover {
  color: #fff;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 4px;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  margin-left: 8px;
}

.lang-btn {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 3px 8px;
  border-radius: 12px;
  text-decoration: none;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.lang-btn:hover {
  color: #fff;
}

.lang-btn.active {
  background: var(--accent);
  color: #fff;
}

.header {
  position: sticky;
  top: 0;
  background-color: rgba(11, 13, 17, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  padding: 16px 0;
}

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

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

.brand-img {
  height: 42px;
  width: auto;
  display: block;
  transition: var(--transition);
}

.brand-logo:hover .brand-img {
  transform: translateY(-1px);
  filter: drop-shadow(0 4px 14px rgba(255, 87, 34, 0.45));
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #fff;
}

.brand-tag {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
  border-bottom: 2px solid var(--accent);
}

.header-action {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

/* Hero Section (Homepage) */
.home-hero {
  padding: 100px 0 80px;
  position: relative;
  background: linear-gradient(180deg, rgba(22, 26, 35, 0.7) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  margin-bottom: 20px;
}

.hero-text h1 span {
  color: var(--accent);
}

.hero-text p {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 32px;
  color: #cbd5e1;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-features-list {
  display: flex;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.hero-feature-item {
  display: flex;
  flex-direction: column;
}

.hero-feature-item strong {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: #fff;
}

.hero-feature-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
}

.hero-experience-badge {
  position: absolute;
  bottom: -20px;
  left: 30px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-strong);
  padding: 16px 22px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

.hero-experience-badge strong {
  font-family: var(--font-heading);
  display: block;
  font-size: 1.5rem;
  color: var(--accent);
}

.hero-experience-badge span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Sections */
.section {
  padding: 90px 0;
}

.section-bg {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  margin-bottom: 48px;
}

.section-header.center {
  text-align: center;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.service-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.service-card-media {
  height: 220px;
  width: 100%;
  overflow: hidden;
  background-color: #1a1e28;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card-media img {
  transform: scale(1.05);
}

.service-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.service-card-content p {
  font-size: 0.95rem;
  margin-bottom: 18px;
  flex-grow: 1;
}

.service-specs {
  list-style: none;
  margin-bottom: 20px;
  font-size: 0.88rem;
}

.service-specs li {
  padding: 5px 0;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
}

.service-specs li i {
  color: var(--accent);
  font-size: 0.8rem;
}

/* Equipment Specs Table / Cards */
.equipment-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
}

.equipment-item {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 20px;
}

.equipment-thumb {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background-color: #171b24;
}

.equipment-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.equipment-details h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.equipment-meta {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.equipment-details p {
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-card {
  position: relative;
  height: 240px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-card:hover img {
  transform: scale(1.06);
}

.gallery-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 9, 13, 0.95) 100%);
}

.gallery-card-info h4 {
  font-size: 1rem;
  color: #fff;
}

.gallery-card-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* About Page Styles */
.about-history-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 80px;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-left: 2px solid var(--border-strong);
  padding-left: 24px;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -31px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--accent);
  border: 2px solid var(--bg-primary);
}

.timeline-year {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.timeline-item h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 0.92rem;
}

/* Contact Page Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
}

.contact-info-panel {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
}

.contact-method {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.contact-method h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-method p, .contact-method a {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

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

.contact-form-panel {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px;
}

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

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  background-color: var(--bg-elevated);
}

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

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

/* Callout CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #1b202c 0%, var(--bg-secondary) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-banner-content h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.cta-banner-content p {
  font-size: 1.05rem;
}

/* Footer */
.footer {
  background-color: #07080b;
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-top: 14px;
}

.footer-heading {
  font-size: 1rem;
  margin-bottom: 18px;
  color: #fff;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-nav a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-contact-item i {
  color: var(--accent);
  margin-top: 4px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Floating WhatsApp Button */
.floating-wa-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.8rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 99;
  transition: var(--transition);
}

.floating-wa-btn:hover {
  transform: scale(1.08);
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
  .hero-grid, .about-history-grid, .contact-grid, .cta-banner {
    grid-template-columns: 1fr;
  }
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .top-contacts {
    display: none;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .hero-features-list {
    flex-direction: column;
    gap: 14px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background-color: var(--bg-secondary);
  border-left: 1px solid var(--border-strong);
  padding: 60px 24px;
  z-index: 200;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-drawer.active {
  right: 0;
}

.drawer-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}
