/* =============================================================================
   File: css/artix-services.css
   Module: artix_content_services_and_contact_us
   ============================================================================= */

/* ─────────────────────────────────────────────
   GOOGLE FONTS IMPORT
───────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Jost:wght@300;400;500;600&display=swap');

/* ─────────────────────────────────────────────
   DESIGN TOKENS
   (Scoped to .artix-page-wrapper so they don't
    bleed into the rest of the Drupal theme.)
───────────────────────────────────────────── */
.artix-page-wrapper {
  --artix-bg-mid:          #091528;
  --artix-bg-surface:      #0d2040;
  --artix-bg-card:         #0a1d38a3;

  --artix-teal:            #2dd4bf;
  --artix-teal-dim:        #1a9b8a;
  --artix-teal-glow:       rgba(45, 212, 191, 0.15);
  --artix-gold:            #c9a84c;
  --artix-gold-dim:        #a07c30;
  --artix-gold-glow:       rgba(201, 168, 76, 0.12);

  --artix-text-primary:    #e8f4f8;
  --artix-text-body:       #94a3b8;
  --artix-text-tagline:    #e8f4f8;
  --artix-text-muted:      #607a90;
  --artix-text-muted-vivek:#d1d1d1;
  --artix-text-accent:     #2dd4bf;

  --artix-border:          rgba(45, 212, 191, 0.18);
  --artix-border-gold:     rgba(201, 168, 76, 0.25);

  --artix-font-display:    'Cormorant Garamond', 'Didot', 'Palatino Linotype', Georgia, serif;
  --artix-font-body:       'Jost', 'DM Sans', 'Gill Sans', 'Trebuchet MS', sans-serif;
  --artix-font-label:      'Courier New', 'Courier', monospace;

  --artix-radius:          4px;
  --artix-radius-lg:       12px;

  --artix-section-pad:     clamp(40px, 6vw, 100px);
  --artix-inner-max:       1180px;
}

/* ─────────────────────────────────────────────
   BASE RESET  (scoped)
───────────────────────────────────────────── */
.artix-page-wrapper,
.artix-page-wrapper * {
  box-sizing: border-box;
}

/*
.artix-page-wrapper {
  color: var(--artix-text-body);
  font-family: var(--artix-font-body);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}
*/

/* ─────────────────────────────────────────────
   HERO SECTION
───────────────────────────────────────────── */

.artix-page-wrapper .artix-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 60px 24px 40px;
  /*border-bottom: 1px solid var(--artix-border);*/
  margin-bottom: 10px;
}


.artix-page-wrapper .artix-hero__particles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px   1px   at 10% 20%, rgba(45,  212, 191, 0.50) 0%, transparent 100%),
    radial-gradient(1px   1px   at 30% 70%, rgba(201, 168,  76, 0.40) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 55% 15%, rgba(45,  212, 191, 0.30) 0%, transparent 100%),
    radial-gradient(1px   1px   at 75% 55%, rgba(201, 168,  76, 0.30) 0%, transparent 100%),
    radial-gradient(1px   1px   at 90% 30%, rgba(45,  212, 191, 0.40) 0%, transparent 100%),
    radial-gradient(1px   1px   at 45% 85%, rgba(201, 168,  76, 0.25) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 20% 45%, rgba(45,  212, 191, 0.20) 0%, transparent 100%),
    radial-gradient(1px   1px   at 68% 78%, rgba(201, 168,  76, 0.35) 0%, transparent 100%);
  pointer-events: none;
}

.artix-page-wrapper .artix-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  animation: artix-fade-up 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.artix-page-wrapper .artix-hero__eyebrow {
  font-family: var(--artix-font-label);
  font-size: 20px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--artix-teal);
  margin-bottom: 20px;
  opacity: 0.85;
}

.artix-page-wrapper .artix-hero__content h1 {
  font-family: var(--artix-font-display);
  font-weight: 300;
  font-size: clamp(32px, 5vw, 60px);
  color: var(--artix-text-primary);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}

/* ─────────────────────────────────────────────
   PAGE WRAPPER / INNER CONTENT
───────────────────────────────────────────── */
.artix-page-wrapper .artix-page {
  max-width: var(--artix-inner-max);
  margin: 0 auto;
  padding: 0 24px 80px;
}

.artix-page-wrapper .artix-page-content {
  max-width: var(--artix-inner-max);
  margin: 0 auto;
}

/* ─────────────────────────────────────────────
   TYPOGRAPHY
───────────────────────────────────────────── */
.artix-page-wrapper h2 {
  font-family: var(--artix-font-display);
  font-weight: 300;
  font-size: clamp(26px, 3.5vw, 42px);
  color: var(--artix-text-primary);
  line-height: 1.2;
  margin-top: 60px;
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--artix-border);
}

.artix-page-wrapper h3 {
  font-family: var(--artix-font-body);
  font-weight: 500;
  font-size: 18px;
  color: var(--artix-teal);
  margin-top: 0;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

/*
.artix-page-wrapper p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--artix-text-body);
  margin-bottom: 20px;
}
  */

.artix-page-wrapper ul,
.artix-page-wrapper ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.artix-page-wrapper li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--artix-text-body);
  margin-bottom: 8px;
}

.artix-page-wrapper ul li::marker {
  color: var(--artix-teal);
}

.artix-page-wrapper ol li::marker {
  color: var(--artix-gold);
  font-family: var(--artix-font-label);
}

/* ─────────────────────────────────────────────
   SECTIONS
───────────────────────────────────────────── */
.artix-page-wrapper section {
  margin-bottom: 60px;
}

.artix-page-wrapper section.artix-cta {
  margin-top: 80px;
  padding: 48px;
  border: 1px solid var(--artix-border-gold);
  border-radius: var(--artix-radius-lg);
  background: var(--artix-gold-glow);
  text-align: center;
}

.artix-page-wrapper section.artix-cta h2 {
  border-bottom: none;
  margin-top: 0;
  color: var(--artix-gold);
}

/* ─────────────────────────────────────────────
   GRID LAYOUTS
───────────────────────────────────────────── */
.artix-page-wrapper .artix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.artix-page-wrapper .artix-grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* ─────────────────────────────────────────────
   CARDS
───────────────────────────────────────────── */
.artix-page-wrapper .artix-card {
  background: var(--artix-bg-card);
  border: 1px solid var(--artix-border);
  border-radius: var(--artix-radius-lg);
  padding: 32px 28px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.artix-page-wrapper .artix-card:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 212, 191, 0.40);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--artix-teal-glow);
}

.artix-page-wrapper .artix-mini-card {
  background: var(--artix-bg-card);
  border: 1px solid var(--artix-border);
  border-radius: var(--artix-radius-lg);
  padding: 24px 20px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.artix-page-wrapper .artix-mini-card:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 168, 76, 0.40);
}

.artix-page-wrapper .artix-mini-card p {
  font-size: 14px;
  margin-bottom: 0;
}

/* ─────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────── */
.artix-page-wrapper .artix-btn,
.artix-page-wrapper .artix-submit-btn {
  display: inline-block;
  font-family: var(--artix-font-label);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: var(--artix-radius);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.artix-page-wrapper .artix-btn--primary,
.artix-page-wrapper .artix-submit-btn {
  background: linear-gradient(135deg, var(--artix-gold) 0%, var(--artix-gold-dim) 100%);
  color: #0a0d12;
}

.artix-page-wrapper .artix-btn--primary:hover,
.artix-page-wrapper .artix-submit-btn:hover {
  background: linear-gradient(135deg, #e0bd6a 0%, var(--artix-gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--artix-gold-glow);
}

.artix-page-wrapper .artix-btn--outline {
  background: transparent;
  color: var(--artix-text-primary);
  border: 1px solid var(--artix-border);
}

.artix-page-wrapper .artix-btn--outline:hover {
  border-color: var(--artix-teal);
  color: var(--artix-teal);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--artix-teal-glow);
}

/* ─────────────────────────────────────────────
   CONTACT PAGE LAYOUT
───────────────────────────────────────────── */
.artix-page-wrapper .artix-contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
  margin-top: 20px;
}

.artix-page-wrapper .artix-contact-left h1 {
  font-family: var(--artix-font-display);
  font-weight: 300;
  font-size: clamp(28px, 4vw, 48px);
  color: var(--artix-text-primary);
  line-height: 1.2;
  margin-bottom: 20px;
}

.artix-page-wrapper .artix-contact-badge {
  display: inline-block;
  font-family: var(--artix-font-label);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--artix-teal);
  border: 1px solid var(--artix-border);
  padding: 6px 16px;
  border-radius: var(--artix-radius);
  margin-bottom: 24px;
}

.artix-page-wrapper .artix-contact-description {
  font-size: 16px;
  color: var(--artix-text-body);
  line-height: 1.8;
  margin-bottom: 40px;
}

.artix-page-wrapper .artix-contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.artix-page-wrapper .artix-contact-item h3 {
  font-family: var(--artix-font-label);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--artix-gold);
  margin-bottom: 4px;
}

.artix-page-wrapper .artix-contact-item p {
  font-size: 15px;
  color: var(--artix-text-primary);
  margin-bottom: 0;
  line-height: 1.6;
}

/* ─────────────────────────────────────────────
   CONTACT FORM CARD
───────────────────────────────────────────── */
.artix-page-wrapper .artix-contact-form-card {
  background: var(--artix-bg-card);
  border: 1px solid var(--artix-border);
  border-radius: var(--artix-radius-lg);
  padding: 40px;
}

/* ─────────────────────────────────────────────
   DRUPAL FORM ELEMENTS
   (Style Drupal's generated form fields to match)
───────────────────────────────────────────── */
.artix-page-wrapper .form-item {
  margin-bottom: 24px;
}

.artix-page-wrapper .form-item label {
  display: block;
  font-family: var(--artix-font-label);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--artix-text-muted-vivek);
  margin-bottom: 8px;
}

.artix-page-wrapper .form-item label .form-required {
  color: var(--artix-teal);
}

.artix-page-wrapper input[type="text"],
.artix-page-wrapper input[type="email"],
.artix-page-wrapper textarea {
  width: 100%;
  background: rgba(9, 21, 40, 0.6);
  border: 1px solid var(--artix-border);
  border-radius: var(--artix-radius);
  padding: 12px 16px;
  font-family: var(--artix-font-body);
  font-size: 15px;
  color: var(--artix-text-primary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.artix-page-wrapper input[type="text"]:focus,
.artix-page-wrapper input[type="email"]:focus,
.artix-page-wrapper textarea:focus {
  border-color: var(--artix-teal);
  box-shadow: 0 0 0 3px var(--artix-teal-glow);
}

.artix-page-wrapper textarea {
  min-height: 140px;
  resize: vertical;
}

.artix-page-wrapper .form-actions {
  margin-top: 8px;
}

.artix-page-wrapper input[type="submit"],
.artix-page-wrapper .artix-submit-btn {
  background: linear-gradient(135deg, var(--artix-gold) 0%, var(--artix-gold-dim) 100%);
  color: #0a0d12;
  border: none;
  padding: 14px 36px;
  border-radius: var(--artix-radius);
  font-family: var(--artix-font-label);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.artix-page-wrapper input[type="submit"]:hover,
.artix-page-wrapper .artix-submit-btn:hover {
  background: linear-gradient(135deg, #e0bd6a 0%, var(--artix-gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--artix-gold-glow);
}

/* Drupal status messages */
.artix-page-wrapper .messages--status {
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid var(--artix-teal);
  border-radius: var(--artix-radius);
  padding: 16px 20px;
  color: var(--artix-teal);
  margin-bottom: 24px;
  font-size: 15px;
}

/* ─────────────────────────────────────────────
   SCROLL REVEAL (JS-driven)
───────────────────────────────────────────── */
.artix-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.artix-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────────────────────────────────────
   ANIMATIONS
───────────────────────────────────────────── */
@keyframes artix-fade-up {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 960px) {
  .artix-page-wrapper .artix-contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .artix-page-wrapper .artix-page {
    padding: 0 16px 60px;
  }

  .artix-page-wrapper .artix-hero {
    padding: 40px 16px 30px;
  }

  .artix-page-wrapper .artix-contact-form-card {
    padding: 24px 20px;
  }

  .artix-page-wrapper section.artix-cta {
    padding: 32px 20px;
  }
}
.artix-hero__tagline {
  font-family: var(--artix-font-body);
  font-weight: 300;
  font-size: clamp(15px, 2vw, 18px);
  color: var(--artix-text-tagline);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.8;
}
