/*
Theme Name: Sky High Designs — Flatsome Child
Theme URI: https://skyhighdesigns.com
Template: flatsome
Author: Sky High Designs
Author URI: https://skyhighdesigns.com
Description: Sky High Designs agency theme — Flatsome child theme. Fully compatible with Flatsome UX Builder. Dark agency design matching skyhighdesigns.com with Bebas Neue, Syne, and DM Sans fonts.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: skyhigh-flatsome
Tags: flatsome, child-theme, agency, dark, portfolio
*/

/* =============================================
   IMPORT PARENT THEME
   (Required for Flatsome child themes)
============================================= */
@import url("../flatsome/style.css");

/* =============================================
   GOOGLE FONTS — Same as skyhighdesigns.com
============================================= */
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Syne:wght@400;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap");

/* =============================================
   CSS VARIABLES
============================================= */
:root {
  --sky:         #0057FF;
  --sky-light:   #3D7FFF;
  --sky-dark:    #0038BB;
  --ink:         #000000;
  --ink-soft:    #0f0f0f;
  --silver:      #8892B0;
  --white:       #FFFFFF;
  --accent:      #00E5FF;
  --warm:        #FF6B35;
  --font-display: 'Bebas Neue', sans-serif;
  --font-heading: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}

/* =============================================
   FLATSOME GLOBAL OVERRIDES
============================================= */

/* Body & Background */
body,
.body-inner,
#wrapper {
  background-color: var(--ink) !important;
  color: var(--white) !important;
  font-family: var(--font-body) !important;
}

/* Typography */
body,
p,
.is-small,
.is-large {
  font-family: var(--font-body) !important;
  color: var(--white);
}

h1, h2, h3, h4, h5, h6,
.is-style-h1, .is-style-h2,
.title, .section-title {
  font-family: var(--font-heading) !important;
  font-weight: 800 !important;
  color: var(--white) !important;
  letter-spacing: -1.5px;
  line-height: 1.05;
}

a { color: var(--sky-light); transition: color 0.3s; }
a:hover { color: var(--accent); }

/* =============================================
   FLATSOME HEADER OVERRIDE
   — Transparent on top, Black on scroll
============================================= */

/* Step 1: Flatsome Header Transparent ON karein
   Flatsome Options > Header > Transparent Header > Enable
   Yeh CSS uske saath kaam karta hai */

#header,
#header .header-inner,
.header-bg {
  background-color: transparent !important;
  background: transparent !important;
  border-bottom: none !important;
  box-shadow: none !important;
  transition: background-color 0.4s ease, box-shadow 0.4s ease !important;
}

/* Top bar bhi transparent */
#top-bar {
  background-color: transparent !important;
}

/* Flatsome ka apna transparent class */
#header.header-transparent,
#header.header-transparent .header-inner,
.header-transparent .header-bg {
  background-color: transparent !important;
  background: transparent !important;
}

/* ── Scroll hone par — Pure Black ho jaye ── */
#header.is-sticky,
#header.sticky-header,
.header-sticky #header,
#header.scrolled {
  background-color: #000000 !important;
  background: #000000 !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  box-shadow: 0 4px 30px rgba(0,0,0,0.9) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

/* Nav link colors */
#header .nav > li > a,
.header-nav-main > ul > li > a,
.nav > li > a {
  font-family: var(--font-body) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: var(--white) !important;
  transition: color 0.3s !important;
}

#header .nav > li > a:hover,
.nav > li > a:hover,
#header .nav > li.current-menu-item > a {
  color: var(--accent) !important;
}

/* Logo */
.header-logo a,
.site-title a {
  font-family: var(--font-display) !important;
  font-size: 26px !important;
  letter-spacing: 3px !important;
  color: var(--white) !important;
  font-weight: 400 !important;
  text-transform: uppercase !important;
}

/* =============================================
   FLATSOME NAVIGATION — DROPDOWN
============================================= */
.nav-dropdown,
ul.dropdown {
  background: var(--ink-soft) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-top: 2px solid var(--sky) !important;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5) !important;
}
.nav-dropdown li a,
ul.dropdown li a {
  color: var(--silver) !important;
  font-size: 13px !important;
}
.nav-dropdown li a:hover,
ul.dropdown li a:hover {
  background: rgba(0,87,255,0.1) !important;
  color: var(--accent) !important;
}

/* =============================================
   FLATSOME BUTTONS
============================================= */
.button,
.btn,
button[type="submit"],
input[type="submit"],
.woocommerce button.button,
.woocommerce .checkout-button {
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  border-radius: 5px !important;
  letter-spacing: 0.5px !important;
  transition: all 0.3s !important;
}

/* Primary Button */
.button.primary,
.button.color.primary,
.button:not(.secondary):not(.white):not(.outline),
.ux-btn,
.ux-btn.primary {
  background-color: var(--sky) !important;
  border-color: var(--sky) !important;
  color: var(--white) !important;
}
.button.primary:hover,
.ux-btn.primary:hover,
.button:not(.secondary):not(.white):not(.outline):hover {
  background-color: var(--sky-light) !important;
  border-color: var(--sky-light) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 30px rgba(0,87,255,0.3) !important;
}

/* Ghost / Outline Button */
.button.outline,
.button.secondary,
.ux-btn.outline {
  background: transparent !important;
  border: 2px solid rgba(255,255,255,0.2) !important;
  color: var(--white) !important;
}
.button.outline:hover,
.ux-btn.outline:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
  background: transparent !important;
}

/* =============================================
   FLATSOME SECTIONS / ROWS
============================================= */
.section,
.row,
.ux-section {
  background-color: var(--ink);
}

/* Dark section variant */
.section.dark,
.bg-dark,
.ux-section.dark {
  background-color: #0f0f0f !important;
  color: var(--white) !important;
}

/* Blue section variant */
.section.primary,
.bg-primary,
.ux-section.primary {
  background-color: var(--sky) !important;
}

/* =============================================
   FLATSOME UX BUILDER — CUSTOM STYLES
   (These classes are used in UX Builder blocks)
============================================= */

/* ── Eyebrow Label ── */
.skyhigh-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent) !important; font-weight: 600;
  font-family: var(--font-body) !important;
  margin-bottom: 16px;
}
.skyhigh-eyebrow::before {
  content: ''; display: block;
  width: 24px; height: 1px; background: var(--accent);
  flex-shrink: 0;
}

/* ── Hero Section ── */
.skyhigh-hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 130px 60px 80px;
  background-color: #000000;
}
.skyhigh-hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 65% 40%, rgba(0,87,255,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(0,229,255,0.08) 0%, transparent 60%);
}
.skyhigh-hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}
.skyhigh-hero-content {
  position: relative; z-index: 1;
  max-width: 860px;
}
.skyhigh-hero-title {
  font-family: var(--font-heading) !important;
  font-size: clamp(52px, 7vw, 96px) !important;
  font-weight: 800 !important;
  line-height: 1.0 !important;
  letter-spacing: -2px !important;
  color: var(--white) !important;
  margin-bottom: 24px !important;
}
.skyhigh-hero-title .highlight {
  color: var(--sky) !important;
  position: relative; display: inline-block;
}
.skyhigh-hero-title .highlight::after {
  content: '';
  position: absolute; left: 0; bottom: 4px; right: 0;
  height: 6px; background: var(--accent); opacity: 0.25; border-radius: 2px;
}
.skyhigh-hero-desc {
  font-size: 18px; line-height: 1.7;
  color: var(--silver); max-width: 520px;
  font-weight: 300; margin-bottom: 44px;
}
.skyhigh-hero-actions {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
}
.skyhigh-hero-stats {
  position: absolute; right: 60px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 20px; z-index: 1;
}
.skyhigh-stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 20px 28px;
  text-align: center; backdrop-filter: blur(10px);
  transition: transform 0.3s, border-color 0.3s;
}
.skyhigh-stat-card:hover { transform: translateY(-4px); border-color: var(--sky); }
.skyhigh-stat-number {
  font-family: var(--font-display) !important;
  font-size: 40px; color: var(--accent); line-height: 1; display: block;
}
.skyhigh-stat-label {
  font-size: 10px; color: var(--silver);
  letter-spacing: 1.5px; text-transform: uppercase; margin-top: 4px; display: block;
}

/* ── Ticker ── */
.skyhigh-ticker {
  background: var(--sky) !important;
  padding: 13px 0; overflow: hidden; width: 100%;
}
.skyhigh-ticker-track {
  display: flex; gap: 60px;
  animation: skyhighTicker 22s linear infinite;
  white-space: nowrap; width: max-content;
}
.skyhigh-ticker-item {
  font-family: var(--font-display) !important;
  font-size: 16px; letter-spacing: 3px;
  color: rgba(255,255,255,0.85);
  flex-shrink: 0; display: flex; align-items: center; gap: 20px;
}
.skyhigh-ticker-item::after { content: '✦'; color: rgba(255,255,255,0.35); }

/* ── Service Cards ── */
.skyhigh-service-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 44px 36px;
  position: relative; overflow: hidden;
  transition: background 0.4s, border-color 0.3s;
  height: 100%;
}
.skyhigh-service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--sky), var(--accent));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s;
}
.skyhigh-service-card:hover { background: rgba(0,87,255,0.07) !important; }
.skyhigh-service-card:hover::before { transform: scaleX(1); }
.skyhigh-service-num {
  font-family: var(--font-display) !important;
  font-size: 12px; letter-spacing: 2px; color: var(--silver);
  margin-bottom: 26px; display: block;
}
.skyhigh-service-icon { font-size: 34px; margin-bottom: 16px; display: block; }
.skyhigh-service-name {
  font-family: var(--font-heading) !important;
  font-size: 21px; font-weight: 700 !important;
  color: var(--white) !important; margin-bottom: 12px; display: block;
}
.skyhigh-service-desc {
  font-size: 14px; line-height: 1.7; color: var(--silver); font-weight: 300;
}

/* ── Project / Portfolio Cards ── */
.skyhigh-project-card {
  border-radius: 12px; overflow: hidden;
  position: relative; aspect-ratio: 16/10;
  cursor: pointer; transition: transform 0.4s;
  background: #0f0f0f;
}
.skyhigh-project-card:hover { transform: scale(1.02); }
.skyhigh-project-card.featured { aspect-ratio: 21/9; }
.skyhigh-project-thumb {
  position: absolute; inset: 0; transition: transform 0.5s;
}
.skyhigh-project-card:hover .skyhigh-project-thumb { transform: scale(1.05); }
.skyhigh-project-thumb img { width: 100%; height: 100%; object-fit: cover; }
.skyhigh-project-thumb.g1 { background: linear-gradient(135deg,#0057FF,#00E5FF); }
.skyhigh-project-thumb.g2 { background: linear-gradient(135deg,#1A0050,#7000FF); }
.skyhigh-project-thumb.g3 { background: linear-gradient(135deg,#003020,#00FF87); }
.skyhigh-project-thumb.g4 { background: linear-gradient(135deg,#500010,#FF4060); }
.skyhigh-project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,10,28,0.88) 0%, transparent 60%);
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 30px;
}
.skyhigh-project-tag {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 6px;
}
.skyhigh-project-title {
  font-family: var(--font-heading) !important;
  font-size: 22px; font-weight: 700 !important; color: var(--white) !important;
}

/* ── Process Steps ── */
.skyhigh-process-wrap {
  display: grid; grid-template-columns: repeat(4,1fr);
  position: relative; gap: 0;
}
.skyhigh-process-wrap::before {
  content: ''; position: absolute; top: 27px; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sky), transparent);
}
.skyhigh-process-step { text-align: center; padding: 0 20px; }
.skyhigh-step-num {
  width: 54px; height: 54px;
  border: 2px solid var(--sky); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  font-family: var(--font-display) !important; font-size: 20px; color: var(--sky);
  background: #000000; position: relative; z-index: 1;
  transition: all 0.3s;
}
.skyhigh-process-step:hover .skyhigh-step-num {
  background: var(--sky); color: var(--white);
  box-shadow: 0 0 28px rgba(0,87,255,0.4);
}
.skyhigh-step-title {
  font-family: var(--font-heading) !important;
  font-size: 17px; font-weight: 700 !important; margin-bottom: 10px; color: var(--white) !important;
}
.skyhigh-step-desc { font-size: 13px; color: var(--silver); line-height: 1.6; }

/* ── Testimonial Cards ── */
.skyhigh-testi-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 34px;
  transition: all 0.3s; height: 100%;
}
.skyhigh-testi-card:hover { border-color: var(--sky); transform: translateY(-4px); }
.skyhigh-testi-stars { color: var(--accent); font-size: 16px; margin-bottom: 18px; }
.skyhigh-testi-text {
  font-size: 15px; line-height: 1.75; color: var(--silver);
  font-style: italic; font-weight: 300; margin-bottom: 26px;
}
.skyhigh-testi-author { display: flex; align-items: center; gap: 13px; }
.skyhigh-testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading) !important; font-weight: 800 !important;
  font-size: 15px; color: var(--white); flex-shrink: 0;
}
.av-blue   { background: linear-gradient(135deg,#0057FF,#00E5FF); }
.av-purple { background: linear-gradient(135deg,#7000FF,#FF6B35); }
.av-green  { background: linear-gradient(135deg,#00C853,#00E5FF); }
.skyhigh-testi-name {
  font-family: var(--font-heading) !important;
  font-weight: 700 !important; font-size: 14px; color: var(--white) !important;
}
.skyhigh-testi-role { font-size: 12px; color: var(--silver); }

/* ── CTA Section ── */
.skyhigh-cta-section {
  text-align: center; position: relative;
  padding: 110px 60px; overflow: hidden;
  background: #000000 !important;
}
.skyhigh-cta-section::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(0,87,255,0.2) 0%, transparent 70%);
}
.skyhigh-cta-title {
  font-family: var(--font-heading) !important;
  font-size: clamp(40px,5vw,72px) !important;
  font-weight: 800 !important; letter-spacing: -2px !important;
  color: var(--white) !important;
  line-height: 1.05 !important; margin-bottom: 22px; position: relative;
}
.skyhigh-cta-desc {
  font-size: 18px; color: var(--silver);
  max-width: 500px; margin: 0 auto 44px;
  line-height: 1.7; font-weight: 300; position: relative;
}

/* ── Custom Cursor ── */
.skyhigh-cursor {
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  mix-blend-mode: difference;
}
.skyhigh-cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(0,229,255,0.5);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transition: width 0.2s, height 0.2s, border-color 0.2s;
}

/* =============================================
   FLATSOME FOOTER OVERRIDE
============================================= */
#footer,
.footer-bg,
.footer-bottom,
.absolute-footer {
  background-color: #080808 !important;
  border-top: 1px solid rgba(255,255,255,0.07) !important;
  color: var(--silver) !important;
}
#footer h4, #footer h3, #footer .widget-title {
  font-family: var(--font-heading) !important;
  font-weight: 700 !important; color: var(--white) !important;
}
#footer a { color: var(--silver) !important; }
#footer a:hover { color: var(--white) !important; }
.footer-logo a {
  font-family: var(--font-display) !important;
  font-size: 22px !important; letter-spacing: 3px !important;
  color: var(--white) !important;
}

/* =============================================
   FLATSOME FORMS OVERRIDE
============================================= */
input[type="text"], input[type="email"], input[type="tel"],
input[type="url"], input[type="search"], input[type="password"],
textarea, select,
.ux-form-field input, .ux-form-field textarea {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 6px !important;
  color: var(--white) !important;
  font-family: var(--font-body) !important;
  padding: 13px 17px !important;
  transition: border-color 0.3s;
}
input[type="text"]:focus, input[type="email"]:focus,
textarea:focus, select:focus {
  border-color: var(--sky) !important;
  outline: none !important;
  box-shadow: none !important;
}
input::placeholder, textarea::placeholder {
  color: rgba(255,255,255,0.25) !important;
}
label {
  color: var(--silver) !important;
  font-size: 12px !important; letter-spacing: 1.5px !important;
  text-transform: uppercase !important; font-weight: 500 !important;
}

/* =============================================
   WOOCOMMERCE (if used)
============================================= */
.woocommerce .products .product,
.woocommerce ul.products li.product {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 12px !important;
  transition: all 0.3s !important;
}
.woocommerce .products .product:hover {
  border-color: var(--sky) !important;
  transform: translateY(-4px) !important;
}
.woocommerce .price, .woocommerce .amount {
  color: var(--accent) !important;
  font-family: var(--font-display) !important;
}
.woocommerce-message,
.woocommerce-info {
  background: rgba(0,87,255,0.1) !important;
  border-top-color: var(--sky) !important;
  color: var(--white) !important;
}

/* =============================================
   SCROLL ANIMATIONS
============================================= */
.skyhigh-fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.skyhigh-fade-up.visible { opacity: 1; transform: translateY(0); }

/* =============================================
   KEYFRAMES
============================================= */
@keyframes skyhighTicker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
  .skyhigh-hero-stats { display: none; }
  .skyhigh-process-wrap { grid-template-columns: repeat(2,1fr); gap: 40px; }
  .skyhigh-process-wrap::before { display: none; }
}
@media (max-width: 768px) {
  .skyhigh-hero { padding: 110px 24px 70px; }
  .skyhigh-hero-actions { flex-direction: column; align-items: flex-start; }
  .skyhigh-cta-section { padding: 80px 24px; }
  .skyhigh-process-wrap { grid-template-columns: 1fr; }
}
