/*
Theme Name: Triplebee Events
Theme URI: https://triplebeeevents.com
Author: Triplebee Events
Author URI: https://triplebeeevents.com
Description: A luxury wedding planning and event decoration theme for Triplebee Events Lagos. Built for use with Elementor Page Builder.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: Private
License URI: #
Text Domain: triplebee-events
Tags: elementor, wedding, events, luxury, one-page
*/

/* ============================================================
   TRIPLEBEE EVENTS — GLOBAL THEME STYLES
   Compatible with Elementor Free & Pro
   ============================================================ */

/* ── GOOGLE FONTS (loaded via functions.php) ── */

/* ── CSS VARIABLES ── */
:root {
  --tb-gold:        #C9A84C;
  --tb-gold-light:  #E8D48B;
  --tb-gold-pale:   #F5EDD2;
  --tb-ivory:       #FAF6EE;
  --tb-deep:        #1A1209;
  --tb-dark:        #2C1F0E;
  --tb-mid:         #6B4F2A;
  --tb-text:        #3D2C10;
  --tb-white:       #FFFFFF;
  --tb-shadow:      0 8px 40px rgba(44, 31, 14, 0.12);
  --tb-radius:      0px;
  --tb-transition:  all 0.3s ease;
}

/* ── RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
}

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

body {
  font-family: 'Jost', sans-serif;
  background-color: var(--tb-ivory);
  color: var(--tb-text);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1.15;
  color: var(--tb-dark);
}

h1 { font-size: clamp(2.8rem, 7vw, 6rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.3rem; }

em, i { color: var(--tb-gold); }

p {
  font-size: 0.95rem;
  line-height: 1.9;
  font-weight: 300;
  color: var(--tb-mid);
}

a {
  color: var(--tb-gold);
  text-decoration: none;
  transition: var(--tb-transition);
}

a:hover { color: var(--tb-gold-light); }

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

/* ── ELEMENTOR OVERRIDES ── */
.elementor-section,
.elementor-container {
  position: relative;
}

.elementor-widget-text-editor p {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.9;
}

.elementor-widget-heading .elementor-heading-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1.15;
}

/* ── NAVIGATION / HEADER ── */
#masthead,
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(26, 18, 9, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  transition: padding 0.3s ease;
  padding: 0 5vw;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.2rem 0;
  text-decoration: none;
}

.site-branding .logo-bee {
  width: 44px;
  height: 44px;
  background: var(--tb-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.site-branding .brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--tb-gold-light);
  letter-spacing: 0.06em;
  line-height: 1.1;
}

.site-branding .brand-name span {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 0.55rem;
  font-weight: 300;
  letter-spacing: 0.28em;
  color: rgba(232, 212, 139, 0.5);
  text-transform: uppercase;
}

/* Main Navigation */
.main-navigation {
  display: flex;
  align-items: center;
}

.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.main-navigation a {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 237, 210, 0.7);
  text-decoration: none;
  transition: color 0.25s;
  padding: 0.3rem 0;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  color: var(--tb-gold);
}

.main-navigation .menu-btn-cta > a {
  border: 1px solid var(--tb-gold);
  color: var(--tb-gold) !important;
  padding: 0.5rem 1.3rem !important;
  transition: background 0.25s, color 0.25s !important;
}

.main-navigation .menu-btn-cta > a:hover {
  background: var(--tb-gold);
  color: var(--tb-deep) !important;
}

/* ── BUTTONS ── */
.tb-btn-primary,
.elementor-button.tb-primary,
.wp-block-button__link {
  display: inline-block;
  background: var(--tb-gold);
  color: var(--tb-deep) !important;
  border: none;
  padding: 0.95rem 2.4rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
  border-radius: 0;
}

.tb-btn-primary:hover { background: var(--tb-gold-light); transform: translateY(-2px); }

.tb-btn-outline,
.elementor-button.tb-outline {
  display: inline-block;
  background: transparent;
  color: var(--tb-ivory) !important;
  border: 1px solid rgba(245, 237, 210, 0.35);
  padding: 0.95rem 2.4rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.25s, color 0.25s, transform 0.2s;
  border-radius: 0;
}

.tb-btn-outline:hover {
  border-color: var(--tb-gold);
  color: var(--tb-gold) !important;
  transform: translateY(-2px);
}

/* ── SECTION HELPERS ── */
.tb-section-dark  { background-color: var(--tb-deep) !important; }
.tb-section-ivory { background-color: var(--tb-ivory) !important; }
.tb-section-pale  { background-color: var(--tb-gold-pale) !important; }
.tb-section-white { background-color: var(--tb-white) !important; }

.tb-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 0.62rem !important;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--tb-gold) !important;
  margin-bottom: 0.75rem !important;
}

.tb-heading-light {
  font-family: 'Cormorant Garamond', serif !important;
  color: var(--tb-gold-pale) !important;
  font-weight: 300 !important;
}

.tb-heading-dark {
  font-family: 'Cormorant Garamond', serif !important;
  color: var(--tb-dark) !important;
  font-weight: 300 !important;
}

.tb-body-light {
  color: rgba(245, 237, 210, 0.65) !important;
  font-weight: 300;
  line-height: 1.9;
}

.tb-body-dark {
  color: var(--tb-mid) !important;
  font-weight: 300;
  line-height: 1.9;
}

/* ── GOLD DIVIDER ── */
.tb-gold-divider {
  width: 70px;
  height: 1px;
  background: linear-gradient(to right, var(--tb-gold), transparent);
  margin: 1.5rem 0;
}

.tb-gold-divider-center {
  width: 100px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--tb-gold), transparent);
  margin: 1.5rem auto;
}

/* ── HERO SECTION ── */
.tb-hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.tb-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 18, 9, 0.65) 0%,
    rgba(26, 18, 9, 0.3) 40%,
    rgba(26, 18, 9, 0.78) 100%
  );
  z-index: 1;
}

.tb-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 2rem;
}

.tb-hero-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: clamp(3.5rem, 9vw, 8rem) !important;
  font-weight: 300 !important;
  line-height: 1 !important;
  color: var(--tb-ivory) !important;
  margin-bottom: 0.5rem !important;
}

.tb-hero-title em {
  font-style: italic;
  color: var(--tb-gold-light);
}

.tb-hero-subtitle {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: clamp(1rem, 2.5vw, 1.4rem) !important;
  font-style: italic;
  font-weight: 300 !important;
  color: rgba(245, 237, 210, 0.7) !important;
  letter-spacing: 0.05em;
}

/* Animated decorative ring */
.tb-hero-ring {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.18);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: tbSpin 40s linear infinite;
  pointer-events: none;
  z-index: 1;
}

.tb-hero-ring::before {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.1);
}

@keyframes tbSpin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ── SERVICE CARDS ── */
.tb-service-card {
  background: var(--tb-ivory);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.1);
  transition: background 0.3s, box-shadow 0.3s;
}

.tb-service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--tb-gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.tb-service-card:hover {
  background: #FAF0E0;
  box-shadow: var(--tb-shadow);
}

.tb-service-card:hover::after {
  transform: scaleX(1);
}

.tb-service-icon {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  display: block;
}

.tb-service-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--tb-dark);
  margin-bottom: 0.75rem;
}

/* ── GALLERY GRID ── */
.tb-gallery-item {
  overflow: hidden;
  position: relative;
}

.tb-gallery-item img {
  transition: transform 0.6s ease;
  filter: brightness(0.9) saturate(0.85);
}

.tb-gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(1) saturate(1.1);
}

.tb-gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 18, 9, 0);
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tb-gallery-item:hover .tb-gallery-overlay {
  background: rgba(26, 18, 9, 0.3);
}

/* ── STAT BOXES ── */
.tb-stat {
  border-left: 2px solid rgba(201, 168, 76, 0.4);
  padding-left: 1.2rem;
}

.tb-stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--tb-gold);
  line-height: 1;
  display: block;
}

.tb-stat-label {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 237, 210, 0.4);
  display: block;
  margin-top: 0.3rem;
}

/* ── PROCESS STEPS ── */
.tb-step {
  text-align: center;
  padding: 1.5rem;
}

.tb-step-number {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: var(--tb-gold);
  color: var(--tb-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 auto 1.5rem;
}

.tb-step-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--tb-dark);
  margin-bottom: 0.5rem;
}

/* ── TESTIMONIAL CARDS ── */
.tb-testimonial {
  background: var(--tb-white);
  padding: 2.5rem;
  border-bottom: 3px solid var(--tb-gold);
  box-shadow: var(--tb-shadow);
  position: relative;
}

.tb-testimonial-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  color: var(--tb-gold-light);
  line-height: 0.5;
  margin-bottom: 1.2rem;
  display: block;
}

.tb-testimonial-text {
  font-style: italic;
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--tb-mid);
  margin-bottom: 1.5rem;
}

.tb-testimonial-author {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tb-gold);
}

/* ── CONTACT SECTION ── */
.tb-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.tb-contact-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  color: var(--tb-gold);
}

.tb-contact-label {
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--tb-gold);
  display: block;
  margin-bottom: 0.2rem;
}

.tb-contact-value {
  font-size: 0.9rem;
  color: rgba(245, 237, 210, 0.75);
  font-weight: 300;
  display: block;
}

/* ── ELEMENTOR FORM STYLING ── */
.elementor-form .elementor-field-group input,
.elementor-form .elementor-field-group textarea,
.elementor-form .elementor-field-group select {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(201, 168, 76, 0.25) !important;
  border-radius: 0 !important;
  color: rgba(245, 237, 210, 0.85) !important;
  font-family: 'Jost', sans-serif !important;
  font-weight: 300 !important;
  padding: 0.9rem 1.1rem !important;
  transition: border-color 0.25s !important;
}

.elementor-form .elementor-field-group input:focus,
.elementor-form .elementor-field-group textarea:focus {
  border-color: var(--tb-gold) !important;
  outline: none !important;
  box-shadow: none !important;
}

.elementor-form .elementor-field-label {
  font-size: 0.62rem !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  color: rgba(201, 168, 76, 0.7) !important;
  font-weight: 400 !important;
}

.elementor-form .elementor-button {
  background: var(--tb-gold) !important;
  color: var(--tb-deep) !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 0.68rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.24em !important;
  text-transform: uppercase !important;
  padding: 0.95rem 2.4rem !important;
  border-radius: 0 !important;
  border: none !important;
  width: 100%;
  transition: background 0.25s !important;
}

.elementor-form .elementor-button:hover {
  background: var(--tb-gold-light) !important;
}

/* ── SOCIAL LINKS ── */
.tb-social-strip {
  background: #100C05;
  padding: 2rem 5vw;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(201, 168, 76, 0.12);
}

.tb-social-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: rgba(245, 237, 210, 0.45);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.25s;
}

.tb-social-link:hover { color: var(--tb-gold); }

/* ── WHATSAPP FLOATING BUTTON ── */
.tb-whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  background: #25D366;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.45);
  font-size: 1.6rem;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: tbWhatsappPop 0.6s 2.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes tbWhatsappPop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.tb-whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

/* ── FOOTER ── */
.site-footer {
  background: #0D0904;
  padding: 2.5rem 5vw;
  border-top: 1px solid rgba(201, 168, 76, 0.08);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1300px;
  margin: 0 auto;
}

.footer-copy {
  font-size: 0.72rem;
  color: rgba(245, 237, 210, 0.25);
  font-weight: 300;
}

.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(201, 168, 76, 0.4);
}

/* ── PAGE HERO BANNERS (inner pages) ── */
.tb-page-banner {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

.tb-page-banner-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: clamp(2.5rem, 6vw, 5rem) !important;
  font-weight: 300 !important;
  color: var(--tb-ivory) !important;
  position: relative;
  z-index: 2;
}

/* ── SCROLL ANIMATIONS ── */
.tb-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

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

/* ── UTILITY ── */
.tb-text-gold    { color: var(--tb-gold) !important; }
.tb-text-ivory   { color: var(--tb-ivory) !important; }
.tb-text-light   { color: rgba(245, 237, 210, 0.65) !important; }
.tb-text-center  { text-align: center; }
.tb-mt-0 { margin-top: 0 !important; }
.tb-mb-0 { margin-bottom: 0 !important; }
.tb-pt-header { padding-top: 90px; }

/* ── IMAGE FRAMES ── */
.tb-gold-frame {
  position: relative;
  display: inline-block;
}

.tb-gold-frame::after {
  content: '';
  position: absolute;
  inset: -14px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  pointer-events: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .main-navigation ul { gap: 1.5rem; }
}

@media (max-width: 768px) {
  .tb-hero-ring { width: 320px; height: 320px; }
  .site-footer .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .tb-hero-title { font-size: 2.8rem !important; }
  .tb-page-banner { min-height: 35vh; }
}
