/*
======================================================================
  base.css for eveninghubstudio.com
  Luxurious, modern, energetic, elegant dark-theme
======================================================================
*/

/*
======================================================================
  Variables
======================================================================
*/
:root {
  /* Color Palette - Dark Luxury Nightlife */
  --color-bg: #05060a; /* primary background: very dark, subtle blue */
  --color-bg-alt: #101320; /* sections / cards background */
  --color-bg-elevated: #181b29; /* elevated surfaces */

  --color-text: #f7f7fb; /* main text */
  --color-text-muted: #a3a7c2; /* secondary text */
  --color-text-soft: #7d82a1; /* soft labels */

  --color-primary: #f5c15a; /* warm gold for CTAs */
  --color-primary-soft: rgba(245, 193, 90, 0.16);
  --color-primary-hover: #ffd878;

  --color-accent-1: #b51e3b; /* burgundy / red for highlights */
  --color-accent-2: #214674; /* deep blue accent */

  --color-success: #38c796;
  --color-warning: #ffb547;
  --color-danger: #ff4b5c;

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

  --color-neutral-50: #f9fafb;
  --color-neutral-100: #f3f4f6;
  --color-neutral-200: #e5e7eb;
  --color-neutral-300: #d1d5db;
  --color-neutral-400: #9ca3af;
  --color-neutral-500: #6b7280;
  --color-neutral-600: #4b5563;
  --color-neutral-700: #374151;
  --color-neutral-800: #1f2933;
  --color-neutral-900: #111827;

  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Roboto", "Segoe UI", sans-serif;
  --font-display: "Poppins", "SF Pro Display", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --font-size-xs: 0.75rem;   /* 12px */
  --font-size-sm: 0.875rem;  /* 14px */
  --font-size-base: 1rem;    /* 16px */
  --font-size-md: 1.0625rem; /* 17px - slightly elevated base */
  --font-size-lg: 1.125rem;  /* 18px */
  --font-size-xl: 1.25rem;   /* 20px */
  --font-size-2xl: 1.5rem;   /* 24px */
  --font-size-3xl: 1.875rem; /* 30px */
  --font-size-4xl: 2.25rem;  /* 36px */
  --font-size-5xl: 3rem;     /* 48px */

  --line-height-tight: 1.2;
  --line-height-snug: 1.35;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.75;

  /* Spacing scale (0–96px) */
  --space-0: 0;
  --space-1: 0.25rem;  /* 4px */
  --space-2: 0.5rem;   /* 8px */
  --space-3: 0.75rem;  /* 12px */
  --space-4: 1rem;     /* 16px */
  --space-5: 1.25rem;  /* 20px */
  --space-6: 1.5rem;   /* 24px */
  --space-7: 1.75rem;  /* 28px */
  --space-8: 2rem;     /* 32px */
  --space-10: 2.5rem;  /* 40px */
  --space-12: 3rem;    /* 48px */
  --space-16: 4rem;    /* 64px */
  --space-20: 5rem;    /* 80px */
  --space-24: 6rem;    /* 96px */

  /* Radius */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;

  /* Shadows (subtle glow for nightlife aesthetic) */
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-strong: 0 24px 80px rgba(0, 0, 0, 0.8);
  --shadow-gold-glow: 0 0 0 1px rgba(245, 193, 90, 0.3), 0 16px 40px rgba(0, 0, 0, 0.7);

  /* Transitions & Motion */
  --transition-fast: 120ms ease-out;
  --transition-normal: 200ms ease-out;
  --transition-slow: 320ms ease-out;

  --focus-ring-color: rgba(245, 193, 90, 0.95);
  --focus-ring-offset: 2px;
  --focus-ring-width: 2px;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-fast: 0ms;
    --transition-normal: 0ms;
    --transition-slow: 0ms;
  }
}

/*
======================================================================
  Reset / Normalize
======================================================================
*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
  padding-left: 0;
}

body {
  min-height: 100vh;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  border: none;
  padding: 0;
  background: none;
}

textarea {
  resize: vertical;
}

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

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/*
======================================================================
  Base Styles
======================================================================
*/
body {
  font-family: var(--font-sans);
  font-size: var(--font-size-md);
  line-height: var(--line-height-normal);
  background: radial-gradient(circle at top left, rgba(181, 30, 59, 0.18), transparent 55%),
              radial-gradient(circle at bottom right, rgba(33, 70, 116, 0.28), transparent 60%),
              var(--color-bg);
  color: var(--color-text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

main {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(var(--font-size-3xl), 4vw, var(--font-size-5xl));
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-4);
}

h2 {
  font-size: clamp(var(--font-size-2xl), 3vw, var(--font-size-4xl));
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-3);
}

h3 {
  font-size: var(--font-size-xl);
  line-height: var(--line-height-snug);
  margin-bottom: var(--space-2);
}

h4 {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-snug);
  margin-bottom: var(--space-2);
}

p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

strong {
  font-weight: 600;
}

small {
  font-size: var(--font-size-sm);
}

a {
  cursor: pointer;
  transition: color var(--transition-normal),
              opacity var(--transition-fast),
              text-shadow var(--transition-fast);
}

a:hover {
  color: var(--color-primary-hover);
  text-shadow: 0 0 18px rgba(245, 193, 90, 0.4);
}

a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 var(--focus-ring-width) var(--focus-ring-color);
  border-radius: var(--radius-xs);
}

hr {
  border: none;
  border-top: 1px solid var(--color-border-subtle);
  margin: var(--space-6) 0;
}

/*
======================================================================
  Accessibility & Focus States
======================================================================
*/
:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: none;
  box-shadow: 0 0 0 var(--focus-ring-width) var(--focus-ring-color);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/*
======================================================================
  Layout Utilities
======================================================================
*/
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
  max-width: 1120px;
}

@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
}

.section {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

.section--tight {
  padding-top: var(--space-10);
  padding-bottom: var(--space-10);
}

/* Flex helpers */
.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-2 {
  gap: var(--space-2);
}

.gap-3 {
  gap: var(--space-3);
}

.gap-4 {
  gap: var(--space-4);
}

.gap-6 {
  gap: var(--space-6);
}

/* Grid helpers */
.grid {
  display: grid;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: var(--space-6);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Width / alignment helpers */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.w-full {
  width: 100%;
}

/* Spacing utilities (commonly needed) */
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.pt-8 { padding-top: var(--space-8); }
.pb-8 { padding-bottom: var(--space-8); }

/*
======================================================================
  Components
======================================================================
*/

/* Buttons */
.button,
.btn {
  --_btn-bg: var(--color-primary);
  --_btn-bg-hover: var(--color-primary-hover);
  --_btn-color: #050509;
  --_btn-border: transparent;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--_btn-border);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 40%) border-box,
              radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.16), transparent 40%) border-box,
              var(--_btn-bg);
  color: var(--_btn-color);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--font-size-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition-normal),
              transform var(--transition-fast),
              box-shadow var(--transition-normal),
              color var(--transition-fast),
              opacity var(--transition-fast);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6);
}

.button--primary,
.btn--primary {
  --_btn-bg: var(--color-primary);
  --_btn-bg-hover: var(--color-primary-hover);
  --_btn-color: #050509;
}

.button--outline,
.btn--outline {
  --_btn-bg: transparent;
  --_btn-bg-hover: rgba(0, 0, 0, 0.3);
  --_btn-color: var(--color-text);
  --_btn-border: var(--color-primary);
  background: radial-gradient(circle at 0 0, rgba(245, 193, 90, 0.18), transparent 55%);
}

.button--ghost,
.btn--ghost {
  --_btn-bg: rgba(255, 255, 255, 0.03);
  --_btn-bg-hover: rgba(255, 255, 255, 0.08);
  --_btn-color: var(--color-text);
  box-shadow: none;
}

.button:hover,
.btn:hover {
  background: var(--_btn-bg-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold-glow);
}

.button:active,
.btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-soft);
}

.button:disabled,
.btn:disabled,
.button[aria-disabled="true"],
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

.button:focus-visible,
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 1px #000, 0 0 0 3px var(--focus-ring-color);
}

/* Inputs, textareas, selects */
.input,
textarea,
select,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-subtle);
  background: rgba(7, 9, 18, 0.96);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  line-height: 1.5;
  transition: border-color var(--transition-fast),
              box-shadow var(--transition-fast),
              background-color var(--transition-fast),
              transform var(--transition-fast);
}

.input::placeholder,
textarea::placeholder,
select::placeholder,
input::placeholder {
  color: var(--color-text-soft);
}

.input:focus,
textarea:focus,
select:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="search"]:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(245, 193, 90, 0.5), 0 0 0 4px rgba(245, 193, 90, 0.14);
  background: rgba(7, 9, 18, 1);
}

input:disabled,
textarea:disabled,
select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

label {
  display: inline-block;
  margin-bottom: 0.25rem;
  font-size: var(--font-size-sm);
  color: var(--color-text);
}

.form-field {
  margin-bottom: var(--space-4);
}

.form-hint {
  font-size: var(--font-size-xs);
  color: var(--color-text-soft);
  margin-top: 0.25rem;
}

.form-error {
  font-size: var(--font-size-xs);
  color: var(--color-danger);
  margin-top: 0.25rem;
}

/* Card component - for services, testimonials, FAQ, etc. */
.card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  background: radial-gradient(circle at top left, rgba(245, 193, 90, 0.06), transparent 55%),
              radial-gradient(circle at bottom right, rgba(181, 30, 59, 0.12), transparent 60%),
              rgba(9, 12, 24, 0.96);
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.card--soft {
  background: rgba(9, 12, 24, 0.9);
  box-shadow: none;
}

.card--outline {
  background: transparent;
  border-style: dashed;
}

.card-header {
  margin-bottom: var(--space-3);
}

.card-title {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-1);
}

.card-subtitle {
  font-size: var(--font-size-sm);
  color: var(--color-text-soft);
}

.card-body {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* Tag / badge (for trust badges, labels) */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(245, 193, 90, 0.55);
  background: rgba(10, 9, 3, 0.96);
  color: var(--color-primary-hover);
  font-size: var(--font-size-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Section headings common pattern (Greek sections) */
.section-label {
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-primary-hover);
  margin-bottom: var(--space-2);
}

.section-title {
  font-size: clamp(var(--font-size-2xl), 3vw, var(--font-size-3xl));
  margin-bottom: var(--space-3);
}

.section-description {
  max-width: 640px;
  color: var(--color-text-muted);
}

/* Hero specific helpers (for large above-the-fold area) */
.hero {
  padding-top: var(--space-20);
  padding-bottom: var(--space-16);
}

.hero-kicker {
  font-size: var(--font-size-sm);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary-hover);
  margin-bottom: var(--space-2);
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  max-width: 640px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

/* Utility for subtle casino-inspired gradient border (e.g., gallery items) */
.frame-glow {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(245, 193, 90, 0.8), rgba(181, 30, 59, 0.8));
}

.frame-glow-inner {
  border-radius: inherit;
  background: #05060a;
  padding: var(--space-3);
}

/* Testimonials / quotes */
.quote {
  position: relative;
  font-style: italic;
  color: var(--color-text-muted);
}

.quote::before {
  content: "\201C";
  position: absolute;
  left: -0.35em;
  top: -0.25em;
  font-size: 2.5rem;
  color: rgba(245, 193, 90, 0.3);
}

/* FAQ accordion basics (structure only, JS will control state) */
.faq-item {
  border-bottom: 1px solid var(--color-border-subtle);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) 0;
  cursor: pointer;
}

.faq-question-text {
  font-size: var(--font-size-base);
  font-weight: 500;
  color: var(--color-text);
}

.faq-answer {
  padding-bottom: var(--space-4);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* Chips / pill for Greek keywords & filters */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text-soft);
  font-size: var(--font-size-xs);
}

/*
======================================================================
  Helper Classes – Color & Background
======================================================================
*/
.bg-dark {
  background-color: var(--color-bg);
}

.bg-dark-alt {
  background-color: var(--color-bg-alt);
}

.bg-elevated {
  background-color: var(--color-bg-elevated);
}

.text-muted {
  color: var(--color-text-muted);
}

.text-soft {
  color: var(--color-text-soft);
}

.text-gold {
  color: var(--color-primary);
}

.text-danger {
  color: var(--color-danger);
}

.text-success {
  color: var(--color-success);
}

/*
======================================================================
  Images & Media Wrappers (gallery, trust badges, etc.)
======================================================================
*/
.media-cover {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.media-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform var(--transition-slow), filter var(--transition-slow);
}

.media-cover:hover img {
  transform: scale(1.06);
  filter: brightness(1.05);
}

/* Prevent animation if user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .media-cover img,
  .media-cover:hover img {
    transform: none !important;
    transition: none !important;
  }
}

/*
======================================================================
  Footer basics
======================================================================
*/
.footer {
  padding-top: var(--space-10);
  padding-bottom: var(--space-8);
  background: #04050a;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-note {
  font-size: var(--font-size-xs);
  color: var(--color-text-soft);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: var(--font-size-xs);
  color: var(--color-text-soft);
}

.footer-links a {
  opacity: 0.75;
}

.footer-links a:hover {
  opacity: 1;
}

/*
======================================================================
  Responsive tweaks
======================================================================
*/
@media (max-width: 767.98px) {
  .hero {
    padding-top: var(--space-16);
    padding-bottom: var(--space-12);
  }

  .section {
    padding-top: var(--space-12);
    padding-bottom: var(--space-12);
  }
}

@media (min-width: 768px) {
  .hero-two-column {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: var(--space-8);
    align-items: center;
  }
}
