/*
Theme Name: YOM Events Final All Clickable
Theme URI: https://example.com/yom-events
Author: YOM EVENTS
Author URI: https://example.com
Description: Premium black and gold WordPress theme for YOM EVENTS event management services.
Version: 1.3.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: yom-events-final-chatbot
*/

:root {
  --bg: #050505;
  --panel: #101010;
  --panel-soft: #171512;
  --text: #fffaf0;
  --muted: #cfc5b5;
  --gold: #d9a441;
  --gold-bright: #f6d27b;
  --gold-deep: #94651e;
  --line: rgba(246, 210, 123, 0.22);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

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

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

.yom-site {
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 5%, rgba(217, 164, 65, 0.14), transparent 34rem),
    radial-gradient(circle at 90% 20%, rgba(148, 101, 30, 0.12), transparent 30rem),
    #050505;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgba(246, 210, 123, 0.14);
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  max-width: min(280px, 32vw);
  max-height: 54px;
  width: auto;
  object-fit: contain;
}

.brand-logo {
  object-fit: contain;
}

.brand-fallback {
  display: grid;
  gap: 0;
}

.brand-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  font-weight: 700;
  line-height: 1;
  color: var(--gold-bright);
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #f5ead6;
  font-size: 0.94rem;
  font-weight: 600;
}

.site-nav a {
  opacity: 0.86;
  transition: color 180ms ease, opacity 180ms ease;
}

.site-nav a:hover {
  color: var(--gold-bright);
  opacity: 1;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  color: #1a1205;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold), var(--gold-deep));
  box-shadow: 0 16px 40px rgba(217, 164, 65, 0.22);
}

.btn-outline {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline:hover {
  border-color: rgba(246, 210, 123, 0.52);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 92vh;
  padding: 132px 0 84px;
  background-image:
    linear-gradient(90deg, rgba(5, 5, 5, 0.92), rgba(5, 5, 5, 0.72), rgba(5, 5, 5, 0.5)),
    var(--hero-image);
  background-position: center;
  background-size: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.65fr);
  gap: 42px;
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--gold-bright);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold-bright);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 840px;
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
}

h3 {
  font-size: 1.12rem;
  line-height: 1.25;
}

.lead {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(23, 21, 18, 0.9), rgba(10, 10, 10, 0.74));
  box-shadow: var(--shadow);
}

.hero-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-bright);
  font-size: 2.1rem;
  line-height: 1;
}

.hero-card span {
  color: var(--muted);
}

.section {
  padding: 92px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 34px;
}

.section-head p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
}

.about-media,
.gallery-tile {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.about-media::after,
.gallery-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.74));
}

.about-copy {
  padding: 28px 0;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.feature-list li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #f8edd9;
  background: rgba(255, 255, 255, 0.035);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    #0d0d0d;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(246, 210, 123, 0.6);
  box-shadow: 0 24px 60px rgba(217, 164, 65, 0.14);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border: 1px solid rgba(246, 210, 123, 0.44);
  border-radius: var(--radius);
  color: #1b1205;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  font-weight: 900;
}

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.service-card .text-link {
  margin-top: auto;
  color: var(--gold-bright);
  font-weight: 800;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.why-item {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-soft);
}

.why-item span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-bright);
  font-size: 1.4rem;
  font-weight: 900;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gallery-tile {
  min-height: 290px;
}

.gallery-caption {
  position: absolute;
  inset: auto 18px 18px;
  z-index: 2;
  color: #fff;
  font-weight: 800;
}

.map-wrap {
  margin-top: 22px;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.cta-band {
  position: relative;
  padding: 70px;
  overflow: hidden;
  border: 1px solid rgba(246, 210, 123, 0.35);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(217, 164, 65, 0.2), transparent 42%),
    linear-gradient(180deg, #171512, #090909);
  box-shadow: var(--shadow);
}

.cta-band p {
  max-width: 720px;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
}

.contact-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.contact-card .label {
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-card .value {
  margin: 6px 0 20px;
  color: var(--text);
  font-size: 1.45rem;
  font-weight: 800;
}

.site-footer {
  padding: 50px 0;
  border-top: 1px solid var(--line);
  background: #030303;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--gold-bright);
}

.footer-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--gold-bright);
  font-weight: 900;
  background: rgba(255, 255, 255, 0.04);
}

.float-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #041308;
  background: #25d366;
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.32);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.yom-chatbot {
  position: fixed;
  right: 18px;
  bottom: 88px;
  z-index: 999999;
  pointer-events: auto;
}

.chatbot-toggle {
  position: relative;
  z-index: 1000000;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid rgba(246, 210, 123, 0.55);
  border-radius: var(--radius);
  color: #1a1205;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(217, 164, 65, 0.22);
  cursor: pointer;
  pointer-events: auto;
}

.chatbot-panel {
  position: absolute;
  z-index: 1000001;
  right: 0;
  bottom: 58px;
  display: none;
  width: min(350px, calc(100vw - 28px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0b0b0b;
  box-shadow: var(--shadow);
}

.yom-chatbot.is-open .chatbot-panel {
  display: block;
}

.chatbot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(246, 210, 123, 0.22), rgba(255, 255, 255, 0.04));
}

.chatbot-head strong,
.chatbot-head span {
  display: block;
}

.chatbot-head span {
  color: var(--muted);
  font-size: 0.82rem;
}

.chatbot-close {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.chatbot-messages {
  display: grid;
  gap: 10px;
  max-height: 280px;
  overflow-y: auto;
  padding: 14px;
}

.bot-msg,
.user-msg {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  line-height: 1.4;
}

.bot-msg {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.user-msg {
  justify-self: end;
  color: #1a1205;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  font-weight: 700;
}

.chatbot-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 14px 14px;
}

.chatbot-quick button {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
}

.chatbot-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--line);
}

.chatbot-form input {
  min-width: 0;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  pointer-events: auto;
}

.chatbot-form button {
  border: 0;
  border-radius: var(--radius);
  color: #1a1205;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  font-weight: 900;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
}

.chatbot-whatsapp-fallback {
  display: block;
  margin: 0 14px 14px;
  padding: 12px;
  border-radius: var(--radius);
  color: #041308;
  background: #25d366;
  font-weight: 900;
  text-align: center;
  pointer-events: auto;
  touch-action: manipulation;
}

.entry-content {
  padding: 130px 0 80px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .site-nav {
    position: absolute;
    top: 82px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(7, 7, 7, 0.96);
  }

  .site-nav.is-open {
    display: flex;
  }

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

  .nav-actions .btn {
    display: none;
  }

  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .nav-wrap {
    min-height: 72px;
  }

  .brand img {
    max-width: min(210px, 54vw);
    max-height: 46px;
  }

  .site-nav {
    top: 72px;
  }

  .container {
    width: min(100% - 24px, 1160px);
  }

  .hero {
    min-height: auto;
    padding: 118px 0 62px;
  }

  .hero-card,
  .cta-band,
  .contact-card {
    padding: 22px;
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    display: block;
  }

  .cards-grid,
  .why-grid,
  .gallery-grid,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .brand-tagline {
    display: none;
  }

  .yom-chatbot {
    right: 12px;
    bottom: 82px;
  }
}
