/*
 * Goldlio — Craft Cannabis Custom Styles
 * Inspired by premium craft brands (Cookies, Jungle Boys, Alien Labs)
 * Applied on top of Hostinger AI Theme + Elementor
 */

/* ═══ Google Fonts Import ═══ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* ═══ CSS Variables (overrides Elementor globals) ═══ */
:root {
  --gl-gold: #c9a84c;
  --gl-gold-light: #dfc06a;
  --gl-gold-dark: #a88a2e;
  --gl-forest: #1a3a2a;
  --gl-forest-light: #2a5a3a;
  --gl-black: #0a0a0a;
  --gl-surface: #111111;
  --gl-surface-hover: #1a1a1a;
  --gl-text: #f5f0e8;
  --gl-text-muted: #8a8a8a;
  --gl-border: rgba(201, 168, 76, 0.2);
  --gl-border-hover: rgba(201, 168, 76, 0.5);
  --gl-shadow: 0 8px 32px rgba(0,0,0,0.4);
  --gl-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══ Full Page Black Background ═══ */
html, body,
body.elementor-page,
body .elementor,
.elementor-inner,
.elementor-section-wrap {
  background-color: #0a0a0a !important;
  background: #0a0a0a !important;
}

/* Elementor content backgrounds only (NOT header/nav) */
.elementor-element.elementor-section,
.elementor-element .elementor-container.elementor-container,
.elementor-widget-wrap > .elementor-element {
  background-color: transparent !important;
}

/* Override Hostinger gray backgrounds — keep header/nav unaffected */
.has-color-1-background-color {
  background-color: #0a0a0a !important;
}

/* Header/menu bar */
.hostinger-ai-menu {
  background-color: #0a0a0a !important;
}

/* ═══ Fix Nav Link Colors (was color-2: #000000 — invisible on black) ═══ */
.wp-block-navigation a,
.wp-block-navigation-item__content,
.wp-block-navigation .wp-block-navigation-item {
  color: var(--gl-text) !important;
}

.wp-block-navigation a:hover,
.wp-block-navigation-item__content:hover {
  color: var(--gl-gold) !important;
}

/* Fix other invisible text */
.has-color-2-color {
  color: var(--gl-text) !important;
}

/* ═══ Base Typography ═══ */
body, .elementor-widget-text-editor, p, li {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6,
.elementor-heading-title,
.wp-block-heading {
  font-family: 'Playfair Display', serif !important;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem) !important; }
h2 { font-size: clamp(2rem, 3.5vw, 3.2rem) !important; }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.2rem) !important; }

/* ═══ Navigation ═══ */
.wp-block-navigation, 
.elementor-nav-menu,
.site-header .main-navigation {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
}

.wp-block-navigation a,
.elementor-nav-menu a {
  position: relative;
  transition: var(--gl-transition);
}

.wp-block-navigation a::after,
.elementor-nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gl-gold);
  transition: var(--gl-transition);
}

.wp-block-navigation a:hover::after,
.elementor-nav-menu a:hover::after {
  width: 100%;
}

/* ═══ Site Title / Logo ═══ */
.wp-block-site-title a {
  font-family: 'Playfair Display', serif !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gl-text) !important;
}

/* Goldlio logo — transparent PNG, no background */
.hostinger-ai-site-title a {
  display: block !important;
  width: 260px !important;
  height: 72px !important;
  background: url('https://goldlio.ca/wp-content/themes/hostinger-ai-theme/assets/goldlio-logo-hdr.png') no-repeat center !important;
  background-size: contain !important;
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
  border: none !important;
  outline: none !important;
}

/* ═══ Hero Section ═══ */
.elementor-element-ddccf30 {
  position: relative;
}

.elementor-element-ddccf30::before {
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.85) 0%,
    rgba(26, 58, 42, 0.4) 50%,
    rgba(10, 10, 10, 0.6) 100%
  ) !important;
  mix-blend-mode: normal;
}

/* Gold accent line in hero */
.elementor-element-2085031 .elementor-heading-title {
  position: relative;
  display: inline-block;
}

.elementor-element-2085031 .elementor-heading-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gl-gold);
  margin: 1.5rem auto 0;
}

/* ═══ Hero Button (Inquire CTA) ═══ */
.elementor-element-61ba7db .elementor-button {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.15em !important;
  font-size: 0.8rem !important;
  border: 1px solid var(--gl-gold) !important;
  background: transparent !important;
  position: relative;
  overflow: hidden;
  transition: var(--gl-transition) !important;
}

.elementor-element-61ba7db .elementor-button:hover {
  background: var(--gl-gold) !important;
  color: var(--gl-black) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.3);
}

/* ═══ "Our Craft" Section ═══ */
/* Features grid cards */
.elementor-element-36a0b95 {
  background: var(--gl-black) !important;
}

.elementor-element-9f7db66 .elementor-heading-title {
  position: relative;
  padding-bottom: 1rem;
}

.elementor-element-9f7db66 .elementor-heading-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gl-gold);
}

/* Feature cards — the image/icon sections */
.elementor-element-f2b9264 {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gl-border);
  transition: var(--gl-transition);
  min-height: 500px !important;
}

.elementor-element-f2b9264:hover {
  border-color: var(--gl-gold);
  box-shadow: var(--gl-shadow);
  transform: translateY(-4px);
}

.elementor-element-f2b9264::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.95) 0%,
    rgba(10, 10, 10, 0.3) 50%,
    transparent 100%
  );
  z-index: 1;
}

.elementor-element-f2b9264 > * {
  position: relative;
  z-index: 2;
}

/* ═══ All Buttons (Global) ═══ */
.elementor-button {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.15em !important;
  border-radius: 0 !important;
  transition: var(--gl-transition) !important;
  border: 1px solid transparent !important;
}

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

/* ═══ Section Dividers ═══ */
.elementor-divider {
  border-top: 1px solid var(--gl-border) !important;
}

/* ═══ Stars / Reviews Section ═══ */
/* Style for the 5-star rating */
.elementor-star-rating {
  color: var(--gl-gold) !important;
  font-size: 1.2rem !important;
  letter-spacing: 0.2em;
}

/* ═══ Newsletter / CTA Section ═══ */
.elementor-cta,
.wp-block-cover {
  border: 1px solid var(--gl-border);
}

/* ═══ Footer ═══ */
.site-footer,
.footer-widgets,
.wp-block-group.wp-elements-footer {
  background: var(--gl-black) !important;
  border-top: 1px solid var(--gl-border);
}

.site-footer a,
.footer-widgets a {
  color: var(--gl-text-muted) !important;
  transition: var(--gl-transition);
}

.site-footer a:hover,
.footer-widgets a:hover {
  color: var(--gl-gold) !important;
}

/* ═══ Input Fields (Newsletter) ═══ */
input[type="email"],
input[type="text"],
input[type="url"] {
  background: var(--gl-surface) !important;
  border: 1px solid var(--gl-border) !important;
  border-radius: 0 !important;
  padding: 1rem 1.5rem !important;
  font-family: 'Montserrat', sans-serif !important;
  color: var(--gl-text) !important;
  transition: var(--gl-transition);
}

input[type="email"]:focus,
input[type="text"]:focus {
  border-color: var(--gl-gold) !important;
  outline: none;
  box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.1);
}

input[type="submit"],
button[type="submit"] {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.15em !important;
  background: var(--gl-gold) !important;
  color: var(--gl-black) !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 1rem 2rem !important;
  transition: var(--gl-transition);
  cursor: pointer;
}

input[type="submit"]:hover,
button[type="submit"]:hover {
  background: var(--gl-gold-light) !important;
  transform: translateY(-2px);
}

/* ═══ Links ═══ */
a {
  color: var(--gl-gold);
  text-decoration: none;
  transition: var(--gl-transition);
}

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

/* ═══ Social Icons ═══ */
.wp-block-social-link a {
  transition: var(--gl-transition);
}

.wp-block-social-link:hover {
  transform: scale(1.15);
}

/* ═══ Smooth Scrolling ═══ */
html {
  scroll-behavior: smooth;
}

/* ═══ Selection ═══ */
::selection {
  background: var(--gl-gold);
  color: var(--gl-black);
}

/* ═══ Mobile Responsiveness ═══ */
@media (max-width: 768px) {
  .elementor-element-36a0b95 {
    grid-template-columns: 1fr !important;
  }
  
  .elementor-element-f2b9264 {
    min-height: 350px !important;
  }
  
  h1 { font-size: 2rem !important; }
  h2 { font-size: 1.6rem !important; }
}

/* ═══ Scrollbar Styling ═══ */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--gl-black);
}
::-webkit-scrollbar-thumb {
  background: var(--gl-border);
  border-radius: 0;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gl-gold-dark);
}

/* Header logo image (from header.html replacement) */
figure.custom-logo img {
  max-width: 260px !important;
  height: auto !important;
}
