/*
 Theme Name:   BeyondEye
 Theme URI:    https://www.beyondeye.de
 Description:  Premium Augenarztpraxis Theme — basierend auf Hello Elementor. Warm Luxury Design mit Navy, Gold & Warm White Palette.
 Author:       Frame Design Studio
 Author URI:   https://framedesign.eu
 Template:     hello-elementor
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  beyondeye
 Requires at least: 6.0
 Tested up to: 6.8
 Requires PHP: 7.4
*/


/* ═══════════════════════════════════════════════════════
   BEYONDEYE — Global Design System
   Palette: Navy + Gold + Warm White
   Typography: Cormorant Garamond + Manrope
   ═══════════════════════════════════════════════════════ */

:root {
  /* Core palette */
  --navy:         #0b1d3a;
  --navy-deep:    #061229;
  --navy-light:   #132c52;
  --gold:         #c5a66f;
  --gold-light:   #d4bc91;
  --gold-pale:    #e8d8bc;
  --cream:        #faf7f2;
  --warm-white:   #fefcf9;
  --text-dark:    #1a1a1a;
  --text-body:    #4a4540;
  --text-light:   #7a756e;
  --border-light: #e8e2d8;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'Manrope', 'Segoe UI', system-ui, sans-serif;
}

/* ─── Base ─── */
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-body);
  background: var(--warm-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Global link reset ─── */
a {
  transition: color 0.3s ease;
}

/* ─── Utility: Gold decorative line ─── */
.gold-line {
  width: 48px;
  height: 1.5px;
  background: var(--gold);
  display: block;
}

/* ═══════════════════════════════════════
   HEADER OVERRIDES (Elementor Theme Builder)
   ═══════════════════════════════════════ */

/* Glassmorphism effect on sticky header */
.elementor-sticky--active .elementor-section,
.elementor-sticky--active .e-con {
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

/* Nav link hover underline */
.beyondeye-nav-link {
  position: relative;
  padding-bottom: 4px;
}
.beyondeye-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.beyondeye-nav-link:hover::after {
  width: 100%;
}

/* ═══════════════════════════════════════
   SERVICE CARDS HOVER
   ═══════════════════════════════════════ */
.service-card {
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover {
  background: var(--navy) !important;
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(11, 29, 58, 0.15);
}

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

.service-card:hover .elementor-heading-title,
.service-card:hover h3 {
  color: #fff !important;
}

.service-card:hover .elementor-widget-text-editor,
.service-card:hover p {
  color: rgba(255, 255, 255, 0.6) !important;
}

.service-card:hover .elementor-button-text,
.service-card:hover a {
  color: var(--gold-light) !important;
}

.service-card:hover .service-card__number {
  color: rgba(197, 166, 111, 0.2) !important;
}

/* ═══════════════════════════════════════
   TEAM CARDS HOVER
   ═══════════════════════════════════════ */
.team-card__image {
  overflow: hidden;
}

.team-card__image img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-card:hover img {
  transform: scale(1.05);
}

.team-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 29, 58, 0.9) 0%, rgba(11, 29, 58, 0.4) 40%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 32px;
}

.team-card:hover .team-card__overlay {
  opacity: 1;
}

/* ═══════════════════════════════════════
   ABOUT SECTION — Gold frame offset
   ═══════════════════════════════════════ */
.about-image-frame {
  position: relative;
}

.about-image-frame::after {
  content: '';
  position: absolute;
  top: -16px;
  right: -16px;
  width: 100%;
  height: 100%;
  border: 1.5px solid var(--gold);
  pointer-events: none;
  z-index: -1;
}

/* ═══════════════════════════════════════
   BLOG CARDS HOVER
   ═══════════════════════════════════════ */
.blog-card__image {
  overflow: hidden;
}

.blog-card__image img {
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.04);
}

/* ═══════════════════════════════════════
   FLOATING ACTION BUTTONS
   ═══════════════════════════════════════ */
.floating-actions {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(11, 29, 58, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.floating-btn--phone { background: var(--navy); color: #fff; }
.floating-btn--email  { background: var(--gold); color: var(--navy-deep); }
.floating-btn--booking { background: #fff; color: var(--navy); border: 1.5px solid var(--border-light); }

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(11, 29, 58, 0.3);
}

/* ═══════════════════════════════════════
   FOOTER FORM STYLES
   ═══════════════════════════════════════ */
.footer-form input,
.footer-form select,
.footer-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-body);
  font-size: 0.88rem;
  padding: 12px 16px;
  transition: border-color 0.3s ease;
  outline: none;
}

.footer-form input:focus,
.footer-form select:focus,
.footer-form textarea:focus {
  border-color: var(--gold);
}

.footer-form label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

/* ═══════════════════════════════════════
   SCROLL REVEAL ANIMATION
   (use with Elementor Motion Effects or custom JS)
   ═══════════════════════════════════════ */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* ═══════════════════════════════════════
   RESPONSIVE TWEAKS
   ═══════════════════════════════════════ */
@media (max-width: 767px) {
  .floating-actions {
    right: 16px;
    bottom: 16px;
    gap: 10px;
  }

  .floating-btn {
    width: 48px;
    height: 48px;
  }
}
