/*
Theme Name: Etna Blaze Child
Theme URI: https://www.etnablazexcursion.com
Description: Child theme per Etna Blaze Excursion, basato su Hello Elementor. Design vulcanico con palette arancione/antracite, font Bebas Neue + Barlow.
Author: Etna Blaze Excursion
Author URI: https://www.etnablazexcursion.com
Template: hello-elementor
Version: 1.0.0
Text Domain: etna-blaze-child
Tags: elementor, custom, volcano, trekking
*/

/* ═══════════════════════════════════════════════════════
   ETNA BLAZE EXCURSION – Global CSS Variables & Resets
   ═══════════════════════════════════════════════════════ */

:root {
  --eb-orange:       #E8621A;
  --eb-orange-light: #F4832A;
  --eb-orange-dark:  #C24E10;
  --eb-dark:         #111314;
  --eb-dark2:        #1A1D1F;
  --eb-dark3:        #232729;
  --eb-gray:         #8A8F94;
  --eb-light:        #F5F0EB;
  --eb-white:        #FFFFFF;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  font-family: 'Barlow', sans-serif;
  background-color: var(--eb-dark);
  color: var(--eb-light);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: .35;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 2px;
  line-height: 1;
  color: var(--eb-white);
}

p {
  font-family: 'Barlow', sans-serif;
  color: rgba(245, 240, 235, 0.65);
  line-height: 1.8;
}

a {
  color: var(--eb-orange);
  text-decoration: none;
  transition: color .2s;
}

a:hover { color: var(--eb-orange-light); }

/* ── Elementor overrides ── */
.elementor-section,
.elementor-container {
  position: relative;
  z-index: 1;
}

.e-con, .e-con-inner {
  position: relative;
  z-index: 1;
}

/* ════════════════════════════════════════
   HEADER / NAV
   ════════════════════════════════════════ */

#eb-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: rgba(17, 19, 20, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(232, 98, 26, 0.12);
  transition: background .3s, box-shadow .3s;
}

#eb-header.scrolled {
  background: rgba(17, 19, 20, 0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,.4);
}

/* Logo */
.eb-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.eb-logo svg {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.eb-logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.35rem;
  color: var(--eb-white);
  letter-spacing: 2px;
  line-height: 1;
}

.eb-logo-text span {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .62rem;
  letter-spacing: 4px;
  color: var(--eb-orange);
  font-weight: 600;
  text-transform: uppercase;
}

/* Nav links */
.eb-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.eb-nav a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(245, 240, 235, 0.65);
  text-decoration: none;
  transition: color .2s;
  position: relative;
}

.eb-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--eb-orange);
  transition: width .3s;
}

.eb-nav a:hover,
.eb-nav a.active {
  color: var(--eb-orange);
}

.eb-nav a:hover::after,
.eb-nav a.active::after {
  width: 100%;
}

/* CTA button in nav */
.eb-nav .eb-nav-cta {
  background: var(--eb-orange);
  color: var(--eb-white) !important;
  padding: 10px 22px;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}

.eb-nav .eb-nav-cta::after { display: none; }

.eb-nav .eb-nav-cta:hover {
  background: var(--eb-orange-light);
  color: var(--eb-white) !important;
}

/* Hamburger */
.eb-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.eb-hamburger span {
  width: 26px;
  height: 2px;
  background: var(--eb-light);
  display: block;
  transition: .3s;
}

/* Mobile nav */
@media (max-width: 1024px) {
  #eb-header { padding: 0 24px; }

  .eb-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: rgba(17, 19, 20, 0.98);
    padding: 24px 24px;
    border-top: 1px solid rgba(232, 98, 26, 0.1);
    gap: 18px;
  }

  .eb-nav.open { display: flex; }

  .eb-hamburger { display: flex; }
}

/* ════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════ */

#eb-footer {
  background: var(--eb-dark);
  padding: 60px 60px 40px;
  border-top: 1px solid rgba(232, 98, 26, 0.08);
  position: relative;
  z-index: 1;
}

.eb-footer-grid {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Footer Logo */
.eb-footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.eb-footer-logo svg { width: 50px; height: 50px; }

.eb-footer-brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  color: var(--eb-white);
  letter-spacing: 3px;
  line-height: 1;
}

.eb-footer-brand small {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .62rem;
  letter-spacing: 4px;
  color: var(--eb-orange);
}

.eb-footer-tagline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .82rem;
  color: rgba(245, 240, 235, 0.35);
  letter-spacing: 1px;
  margin-top: 16px;
  line-height: 1.7;
}

/* Footer nav columns */
.eb-footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.eb-footer-nav-col h5 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .68rem;
  letter-spacing: 3px;
  color: var(--eb-orange);
  text-transform: uppercase;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(232, 98, 26, 0.18);
}

.eb-footer-nav-col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.eb-footer-nav-col a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .88rem;
  color: rgba(245, 240, 235, 0.42);
  text-decoration: none;
  letter-spacing: 1px;
  transition: color .2s;
}

.eb-footer-nav-col a:hover { color: var(--eb-orange); }

/* Footer contact */
.eb-footer-contact h5 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .68rem;
  letter-spacing: 3px;
  color: var(--eb-orange);
  text-transform: uppercase;
  margin: 0 0 14px;
}

.eb-footer-contact a,
.eb-footer-contact p {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .9rem;
  color: rgba(245, 240, 235, 0.5);
  text-decoration: none;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 8px;
  transition: color .2s;
}

.eb-footer-contact a:hover { color: var(--eb-orange); }

/* Social buttons */
.eb-social-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.eb-social-btn {
  width: 40px; height: 40px;
  background: var(--eb-dark3);
  border: 1px solid rgba(245, 240, 235, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: .95rem;
  transition: all .2s;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}

.eb-social-btn:hover {
  background: var(--eb-orange);
}

/* Copyright bar */
.eb-footer-copy {
  grid-column: 1 / -1;
  text-align: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .72rem;
  letter-spacing: 2px;
  color: rgba(245, 240, 235, 0.2);
  padding-top: 28px;
  border-top: 1px solid rgba(245, 240, 235, 0.04);
  margin-top: 20px;
}

.eb-footer-copy a {
  color: inherit;
  text-decoration: none;
}

.eb-footer-copy a:hover { color: var(--eb-orange); }

/* ════════════════════════════════════════
   FLOATING BOOK BUTTON
   ════════════════════════════════════════ */

.eb-float-book {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 9998;
  background: var(--eb-orange);
  color: var(--eb-white);
  padding: 13px 26px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .92rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  box-shadow: 0 8px 28px rgba(232, 98, 26, 0.5);
  transition: all .3s;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: floatBounce 3s ease-in-out infinite;
}

@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

.eb-float-book:hover {
  background: var(--eb-orange-light);
  color: var(--eb-white);
  animation: none;
  transform: translateY(-2px);
}

/* ════════════════════════════════════════
   ELEMENTOR GLOBAL WIDGET STYLES
   ════════════════════════════════════════ */

/* Push content below fixed header */
.elementor-page { padding-top: 72px; }

/* Section label (arancio con lineetta) */
.eb-section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .72rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--eb-orange);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.eb-section-label::before {
  content: '';
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--eb-orange);
}

/* Orange clip-path button */
.eb-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--eb-orange);
  color: var(--eb-white);
  padding: 15px 34px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .95rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 700;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  transition: all .25s;
  border: none;
  cursor: pointer;
}

.eb-btn-primary:hover {
  background: var(--eb-orange-light);
  color: var(--eb-white);
  transform: translateY(-2px);
}

.eb-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(245, 240, 235, 0.3);
  color: var(--eb-light);
  padding: 14px 34px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .95rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  transition: all .25s;
}

.eb-btn-outline:hover {
  border-color: var(--eb-orange);
  color: var(--eb-orange);
}

/* Info card (arancio border-left) */
.eb-info-card {
  background: var(--eb-dark3);
  padding: 18px 20px;
  border-left: 3px solid var(--eb-orange);
}

.eb-info-card-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .68rem;
  letter-spacing: 2px;
  color: var(--eb-orange);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.eb-info-card-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  color: var(--eb-white);
  font-weight: 700;
}

/* Included list */
.eb-included-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.eb-included-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .9rem;
  color: rgba(245, 240, 235, 0.75);
  padding: 10px 14px;
  background: rgba(245, 240, 235, 0.025);
}

.eb-included-list li::before {
  content: '✓';
  width: 22px; height: 22px;
  background: rgba(232, 98, 26, 0.15);
  border: 1px solid rgba(232, 98, 26, 0.35);
  color: var(--eb-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .68rem;
  font-weight: 700;
  flex-shrink: 0;
  border-radius: 2px;
}

/* Warning box */
.eb-warning {
  background: rgba(232, 98, 26, 0.06);
  border: 1px solid rgba(232, 98, 26, 0.18);
  border-left: 4px solid var(--eb-orange);
  padding: 20px 24px;
}

.eb-warning p {
  font-size: .85rem;
  color: rgba(245, 240, 235, 0.6);
  line-height: 1.75;
  margin: 0;
}

/* Difficulty dots */
.eb-dots {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
}

.eb-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(245, 240, 235, 0.15);
}

.eb-dot.on { background: var(--eb-orange); }

/* Review card */
.eb-review-card {
  background: var(--eb-dark3);
  padding: 28px 26px;
  border-top: 2px solid var(--eb-orange);
  transition: transform .25s;
}

.eb-review-card:hover { transform: translateY(-5px); }

/* Tour card overlay */
.eb-tour-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.eb-tour-card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 26px 24px;
  background: linear-gradient(to top, rgba(17,19,20,.95) 0%, transparent 100%);
}

/* FAQ accordion */
.eb-faq-item { background: var(--eb-dark3); margin-bottom: 2px; }

.eb-faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.02rem;
  letter-spacing: 1px;
  color: var(--eb-white);
  font-weight: 600;
  transition: background .2s;
}

.eb-faq-question:hover { background: rgba(232, 98, 26, 0.07); }
.eb-faq-question.active { color: var(--eb-orange); }

.eb-faq-icon {
  color: var(--eb-orange);
  transition: transform .3s;
  flex-shrink: 0;
  font-style: normal;
}

.eb-faq-question.active .eb-faq-icon { transform: rotate(45deg); }

.eb-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(0.22,1,.36,1), padding .3s;
  padding: 0 24px;
  font-size: .88rem;
  color: rgba(245, 240, 235, 0.6);
  line-height: 1.8;
}

.eb-faq-answer.open {
  max-height: 400px;
  padding: 0 24px 20px;
}

/* Scroll reveal */
.eb-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s cubic-bezier(0.22,1,.36,1),
              transform .75s cubic-bezier(0.22,1,.36,1);
}

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

.eb-delay-1 { transition-delay: .1s; }
.eb-delay-2 { transition-delay: .2s; }
.eb-delay-3 { transition-delay: .3s; }
.eb-delay-4 { transition-delay: .4s; }

/* ════════════════════════════════════════
   ELEMENTOR WIDGET COLOR OVERRIDES
   ════════════════════════════════════════ */

/* Headings inside Elementor */
.elementor-widget-heading .elementor-heading-title {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 2px;
}

/* Text editor */
.elementor-widget-text-editor p {
  font-family: 'Barlow', sans-serif;
  color: rgba(245, 240, 235, 0.65);
  line-height: 1.85;
}

/* Buttons */
.elementor-widget-button .elementor-button {
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  border-radius: 0 !important;
}

/* Icons */
.elementor-widget-icon .elementor-icon {
  color: var(--eb-orange);
}

/* Image box */
.elementor-widget-image-box .elementor-image-box-title {
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 1px;
  color: var(--eb-white);
}

/* Divider */
.elementor-widget-divider .elementor-divider-separator {
  border-color: rgba(232, 98, 26, 0.25);
}

/* ════════════════════════════════════════
   PAGE HERO (inner pages via Elementor)
   ════════════════════════════════════════ */

.eb-page-hero {
  position: relative;
  height: 55vh;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: 60px;
}

.eb-page-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--eb-dark) 0%, rgba(17,19,20,.4) 60%, transparent 100%);
}

.eb-page-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 80px;
}

.eb-breadcrumb {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .72rem;
  letter-spacing: 3px;
  color: var(--eb-orange);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.eb-breadcrumb a {
  color: rgba(245, 240, 235, 0.5);
  text-decoration: none;
}

/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */

@media (max-width: 1024px) {
  #eb-footer { padding: 60px 32px 40px; }
  .eb-footer-grid { grid-template-columns: 1fr; }
  .eb-footer-nav { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  #eb-footer { padding: 50px 20px 30px; }
  .eb-footer-nav { grid-template-columns: 1fr; }
  .eb-float-book { bottom: 16px; right: 16px; padding: 11px 18px; font-size: .82rem; }
  .eb-page-hero-content { padding: 0 20px; }
}
