/*
Theme Name: Night Club Recruitment
Theme URI: https://example.com/night-club-recruitment
Author: Antigravity
Author URI: https://example.com
Description: Un tema WordPress premium e ultra-veloce (SEO focus) per agenzie di recruitment night club.
Version: 2.3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nightclub-recruitment
*/

/* ==========================================================================
   RESET & VARIABLES
   ========================================================================== */
:root {
  /* Colors - Ultra Premium Dark Theme */
  --bg-color: #222225; /* Grigio scuro morbido, nettamente più chiaro del nero */
  --text-color: #f5f5f5;
  --text-muted: #b3b3b3;
  --primary-color: #d4af37; /* Classic Gold */
  --primary-hover: #f5d061; /* Gold luminoso */
  --secondary-color: #2a2a2e; /* Grigio card più chiaro */
  --accent-color: #d90429; /* Red brillante per i dettagli */
  
  /* Gradienti Premium Animati */
  --gold-gradient: linear-gradient(135deg, #9b781a 0%, #d4af37 25%, #f9f047 50%, #d4af37 75%, #9b781a 100%);
  --dark-gradient: linear-gradient(180deg, rgba(34,34,37,0) 0%, rgba(34,34,37,1) 100%);
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.12); /* Pannelli più luminosi */
  --glass-border: 1px solid rgba(255, 255, 255, 0.15);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);

  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-headings: 'Outfit', sans-serif; /* Modern, geometric e d'impatto */
  
  /* Spacing */
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
  --spacing-xxl: 8rem;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.02em; /* Tocco moderno */
}

/* Gold Gradient Text Class with Shimmer Animation */
@keyframes shimmerText {
  to {
    background-position: 200% center;
  }
}

.text-gold-gradient {
  background: var(--gold-gradient);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  animation: shimmerText 3s linear infinite;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }

p {
  margin-bottom: var(--spacing-md);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-hover);
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.section {
  padding: var(--spacing-xl) 0;
  position: relative;
  overflow: hidden;
}

/* ==========================================================================
   COMPONENTS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  background: var(--gold-gradient);
  color: #000;
  font-weight: 700;
  font-family: var(--font-headings);
  border-radius: 50px; /* Pill shape is very modern */
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
  color: #000;
}

/* Glassmorphism Generic Class */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--glass-shadow);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-panel:hover {
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 15px 35px rgba(0,0,0,0.6);
  transform: translateY(-5px);
}

.btn-outline {
  background-color: #fff;
  border: none;
  color: #000;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  background-color: #f1f1f1;
  color: #000;
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.4);
  transform: translateY(-3px) scale(1.02);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(3, 3, 3, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-normal);

  padding: 20px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 1rem;
  flex-wrap: nowrap;
}

/* Logo Premium */
.site-logo {
  font-family: var(--font-headings);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1;
  display: inline-block;
}

.site-logo span {
  color: var(--primary-color);
}

.site-logo:hover {
  color: #fff;
}

.site-branding {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.site-title {
  font-size: 1.5rem;
  font-family: var(--font-headings);
  margin: 0;
}

.site-title a {
  color: #fff;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.main-navigation {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}

.header-cta {
  flex: 0 0 auto;
}

.header-cta .btn {
  white-space: nowrap;
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Dropdown Menus */
.main-navigation ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  color: #fff;
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  white-space: nowrap;
  display: block;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
}

.main-navigation > ul > li > a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 50%;
  background: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.main-navigation a:hover {
  color: var(--primary-color);
}

.main-navigation > ul > li > a:hover::after {
  width: 80%;
}

/* Dropdown specific styles */
.main-navigation ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: -10px;
  background-color: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  min-width: 250px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.8);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-top: 3px solid var(--primary-color);
  border-radius: 0 0 12px 12px;
  flex-direction: column;
  gap: 0;
  padding: 0.5rem 0;
  overflow: hidden;
}

.main-navigation ul li:hover > ul {
  display: flex;
  animation: fadeInDownMenu 0.3s ease forwards;
}

@keyframes fadeInDownMenu {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.main-navigation ul ul li {
  width: 100%;
}

.main-navigation ul ul a {
  padding: 1rem 1.5rem;
  text-transform: none;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  font-weight: 400;
  color: #ccc;
  transition: all 0.3s ease;
}

.main-navigation ul ul a:hover {
  background-color: rgba(255,255,255,0.05);
  color: #fff;
  padding-left: 2rem;
}

/* ==========================================================================
   LAYOUT: CONTENT + SIDEBAR
   ========================================================================== */
/* Protezione Layout per Contenuti Incollati (Gutenberg/Classic Editor) */
.entry-content {
  overflow-wrap: break-word;
  word-wrap: break-word;
  max-width: 100%;
}

.entry-content * {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.entry-content img {
  height: auto !important;
  max-width: 100% !important;
  display: block;
}

/* Reset margin for pasted elements that cause left-shift */
.entry-content div, 
.entry-content p, 
.entry-content table, 
.entry-content figure {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.content-sidebar-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
}

.sidebar-area .widget {
  background: var(--secondary-color);
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.sidebar-area .widget-title {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-area ul {
  list-style: none;
  padding: 0;
}

.sidebar-area li {
  margin-bottom: 1rem;
}

.sidebar-area li a {
  color: #ccc;
  display: flex;
  align-items: center;
}

.sidebar-area li a::before {
  content: '▸';
  color: var(--primary-color);
  margin-right: 8px;
}

.sidebar-area li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

/* Single Article Styling */
.single-article .entry-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #e0e0e0;
  margin-bottom: 1.5rem;
}

.single-article .entry-content h2, 
.single-article .entry-content h3 {
  margin-top: 2.5rem;
}

/* ==========================================================================
   GRIDS & LAYOUTS
   ========================================================================== */
.features-grid, .steps-grid, .testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 2rem;
}

.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 900px) {
  .two-col-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px; /* Compensate for fixed header */
  overflow: hidden;
  background-color: var(--bg-color);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://images.unsplash.com/photo-1566737236500-c8ac43014a67?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  z-index: 1;
  transform: scale(1.05); /* Preparato per parallax */
}

/* Background Glows */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 2;
  pointer-events: none;
  opacity: 0.6;
}

.glow-orb-1 {
  top: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: rgba(212, 175, 55, 0.15); /* Gold glow */
}

.glow-orb-2 {
  bottom: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: rgba(217, 4, 41, 0.15); /* Magenta/Red glow */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark-gradient);
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: var(--spacing-lg);
}

.hero-content h1 {
  font-size: 4.5rem; /* Larger */
  margin-bottom: var(--spacing-md);
  text-transform: uppercase;
  line-height: 1;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-lg);
  color: var(--text-muted);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.text-center { text-align: center; }
.mt-lg { margin-top: var(--spacing-lg); }
.mb-lg { margin-bottom: var(--spacing-lg); }

/* ==========================================================================
   HOMEPAGE SECTIONS (STEPS & FAQ)
   ========================================================================== */

/* Steps Section */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 2rem;
}

.step-card {
  background: var(--bg-color);
  padding: 2.5rem;
  border-radius: 8px;
  text-align: center;
  border-top: 3px solid var(--primary-color);
  transition: transform 0.3s ease;
}

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

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--bg-color);
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--secondary-color);
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  font-family: var(--font-headings);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding-bottom: 1.5rem;
  max-height: 500px;
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  display: inline-block;
}

/* Local SEO Regions Grid */
.regions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr));
  gap: 1rem;
}

.region-card {
  display: block;
  text-align: center;
  padding: 1.2rem;
  background: var(--secondary-color);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  color: #fff;
  transition: all 0.3s ease;
  font-weight: 500;
}

.region-card:hover {
  background: var(--primary-color);
  color: var(--bg-color);
  transform: translateY(-3px);
  border-color: var(--primary-color);
}

.region-card.highlighted {
  border-color: var(--primary-color);
  background: rgba(212, 175, 55, 0.1);
  color: var(--primary-color);
}

.region-card.highlighted:hover {
  background: var(--primary-color);
  color: var(--bg-color);
}

/* ==========================================================================
   BLOG LAYOUT
   ========================================================================== */
.blog-post-card {
  display: flex;
  gap: 2rem;
  padding: 1.5rem;
  border-radius: 12px;
  align-items: center;
  border-left: 4px solid var(--primary-color);
}

.blog-thumbnail {
  flex: 0 0 250px;
  border-radius: 8px;
  overflow: hidden;
}

.blog-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-post-card:hover .blog-img {
  transform: scale(1.05);
}

/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  
  .hero-content h1 { font-size: 2.5rem; }
  
  .menu-toggle {
    display: block;
  }
  
  .site-logo {
    font-size: 1.2rem;
  }
  
  .header-inner {
    height: 60px;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }
  
  .hero-buttons .btn {
    width: 100%;
    min-height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0;
    margin-bottom: 1rem;
  }
  
  .hero-buttons .btn:last-child {
    margin-bottom: 0;
  }
  
  .main-navigation {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: rgba(3,3,3,0.95);
    flex-direction: column;
    display: none; /* Hidden by default on mobile */
  }
  
  .main-navigation.is-open {
    display: block;
  }
  
  .content-sidebar-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .main-navigation ul {
    flex-direction: column;
    padding: var(--spacing-md) 0;
    gap: 0;
  }
  
  .main-navigation li {
    text-align: center;
  }
  
  .main-navigation a {
    display: block;
    padding: 1.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-weight: 800 !important;
    font-size: 1.1rem !important;
    color: #fff !important;
  }
  
  .main-navigation ul ul a {
    display: block;
    padding: 1rem 1.2rem;
    font-weight: 400 !important;
    font-size: 0.95rem !important;
    color: #aaa !important;
    border-bottom: 1px solid rgba(255,255,255,0.02);
    background: rgba(0,0,0,0.4);
  }

  /* Reset dropdowns for mobile */
  .main-navigation ul ul {
    position: static;
    display: none;
    box-shadow: none;
    border-top: none;
    background: transparent;
    padding: 0;
  }
  
  /* Show dropdown on click via JS */
  .main-navigation ul li.is-open > ul {
    display: flex;
  }

}

/* Floating WhatsApp Button */
.whatsapp-floating {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 60px;
	height: 60px;
	background-color: #25d366;
	color: #fff;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 30px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
	z-index: 1000;
	transition: transform 0.3s ease, background-color 0.3s ease;
	text-decoration: none;
}
.whatsapp-floating:hover {
	transform: scale(1.1);
	background-color: #1ebe57;
	color: #fff;
}
.whatsapp-floating svg {
	width: 35px;
	height: 35px;
	fill: currentColor;
}
@media (max-width: 768px) {
	.whatsapp-floating {
		bottom: 20px;
		right: 20px;
		width: 50px;
		height: 50px;
	}
	.whatsapp-floating svg {
		width: 30px;
		height: 30px;
	}
	
	.blog-post-card {
		flex-direction: column;
		gap: 1.5rem;
		padding: 1.2rem;
	}
	.blog-thumbnail {
		width: 100%;
		flex: none;
	}
}

.faq-icon {
	display: inline-block;
	transition: transform 0.3s ease;
}
