/*
Theme Name: Drone Reality Novinka V10
Theme URI: https://dronereality.cz
Author: Radovan Mrkus
Author URI: https://dronereality.cz
Description: Profesionální WordPress téma pro Drone Reality — prezentace služeb dronového focení a videa nemovitostí.
Version: 1.3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dronereality-novinka-v10
Tags: one-page, custom-logo, custom-colors, featured-images
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --background: 220 20% 97%;
  --foreground: 220 25% 10%;
  --card: 0 0% 100%;
  --card-foreground: 220 25% 10%;
  --primary: 310 70% 65%;
  --primary-foreground: 0 0% 100%;
  --muted: 220 15% 94%;
  --muted-foreground: 220 10% 46%;
  --border: 220 15% 90%;
  --surface-dark: 260 20% 8%;
  --surface-dark-foreground: 260 15% 92%;
  --gold: 310 70% 65%;
  --gold-light: 280 60% 72%;
  --accent-gradient-from: 340 80% 65%;
  --accent-gradient-to: 260 70% 60%;
  --radius: 0.75rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  text-wrap: balance;
  overflow-wrap: break-word;
}
p { text-wrap: pretty; overflow-wrap: break-word; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Utility classes */
.text-gold { color: hsl(var(--gold)); }
.bg-surface-dark { background-color: hsl(var(--surface-dark)); }
.text-surface-dark-fg { color: hsl(var(--surface-dark-foreground)); }
.text-accent-gradient {
  background: linear-gradient(135deg, hsl(var(--accent-gradient-from)), hsl(var(--accent-gradient-to)));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bg-accent-gradient {
  background: linear-gradient(135deg, hsl(var(--accent-gradient-from)), hsl(var(--accent-gradient-to)));
}
.bg-card { background: hsl(var(--card)); }
.text-muted { color: hsl(var(--muted-foreground)); }

/* Buttons */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, hsl(var(--accent-gradient-from)), hsl(var(--accent-gradient-to)));
  color: #fff;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  transition: opacity 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { opacity: 0.9; }
.btn-primary:active { transform: scale(0.97); }

.btn-outline {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  transition: all 0.2s;
}
.btn-outline:hover {
  border-color: hsl(var(--gold));
  color: hsl(var(--gold));
}

/* Nav */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.3s, box-shadow 0.3s;
  background: transparent;
}
.site-nav.scrolled {
  background: hsla(var(--surface-dark), 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 1.5rem; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.7); transition: color 0.2s; }
.nav-links a:hover { color: hsl(var(--gold)); }
.nav-logo { display: inline-flex; align-items: center; }
.nav-logo img { height: 2rem; width: auto; max-width: 132px; object-fit: contain; display: block; }
.nav-cta {
  font-size: 0.875rem; font-weight: 600; padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
}
.mobile-toggle { display: none; background: none; border: none; color: rgba(255,255,255,0.8); cursor: pointer; }
.mobile-menu { display: none; }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; padding-top: 5rem; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img, .hero-bg video { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: hsl(var(--surface-dark)); opacity: 0.6; }
.hero-gradient { position: absolute; inset: 0; background: linear-gradient(to top, hsl(var(--surface-dark)), transparent, hsla(var(--surface-dark), 0.4)); }
.hero-content { position: relative; z-index: 10; max-width: 42rem; text-align: center; }
.hero-content .eyebrow { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 1.5rem; }
.hero-content h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; color: #fff; margin-bottom: 1.5rem; }
.hero-content .subtitle { font-size: clamp(1rem, 2vw, 1.25rem); color: rgba(255,255,255,0.7); margin-bottom: 2.5rem; line-height: 1.6; }
.hero-content .meta { color: rgba(255,255,255,0.5); font-size: 0.875rem; letter-spacing: 0.05em; margin-bottom: 2.5rem; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* Sections */
.section { padding: 6rem 0; }
.section-dark { background: hsl(var(--surface-dark)); }
.section-muted { background: hsl(var(--muted)); }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header .label { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 0.75rem; }
.section-header h2 { font-size: clamp(1.875rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em; }

/* text-center helper */
.text-center { text-align: center; }

/* Services grid */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.service-card {
  background: hsl(var(--card));
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  transition: box-shadow 0.3s;
}
.service-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.service-icon {
  width: 2.75rem; height: 2.75rem; border-radius: 0.5rem;
  background: hsla(var(--gold), 0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  color: hsl(var(--gold));
}
.service-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.service-card p { color: hsl(var(--muted-foreground)); font-size: 0.875rem; line-height: 1.6; }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 2rem; max-width: 48rem; margin: 0 auto 4rem; text-align: center; }
.stat-value { font-family: 'Space Grotesk', sans-serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
.stat-label { color: hsl(var(--muted-foreground)); font-size: 0.875rem; font-weight: 500; margin-top: 0.5rem; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; max-width: 72rem; margin: 0 auto; }
.pricing-card {
  display: flex; flex-direction: column;
  background: hsl(var(--card)); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03); transition: box-shadow 0.3s;
}
.pricing-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.pricing-card.highlight { outline: 2px solid hsl(var(--gold)); }
.pricing-card .card-img { height: 9rem; overflow: hidden; position: relative; }
.pricing-card .card-img img { width: 100%; height: 100%; object-fit: cover; }
.pricing-card .card-body { padding: 1.5rem; padding-top: 0.5rem; flex: 1; display: flex; flex-direction: column; }
.pricing-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 1rem; }
.price-old { color: hsl(var(--muted-foreground)); font-size: 0.875rem; text-decoration: line-through; margin-right: 0.5rem; }
.price-badge { display: inline-block; background: hsla(var(--gold), 0.15); color: hsl(var(--gold)); font-size: 0.75rem; font-weight: 700; padding: 0.125rem 0.375rem; border-radius: 0.25rem; }
.price-current { font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; font-weight: 700; margin-top: 0.25rem; }
.feature-list { list-style: none; margin: 1.25rem 0; flex: 1; }
.feature-list li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; padding: 0.25rem 0; }
.feature-list .check { color: hsl(var(--gold)); flex-shrink: 0; margin-top: 0.125rem; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.gallery-item { overflow: hidden; border-radius: var(--radius); cursor: pointer; border: 0; padding: 0; background: transparent; }
.gallery-item img { width: 100%; height: 16rem; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.05); }

/* Video grid */
.video-grid { display: grid; gap: 2rem; max-width: 56rem; margin: 0 auto; }
.video-card { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 16/9; background: rgba(0,0,0,0.4); }
.video-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

/* Coverage */
.coverage-map img { width: 100%; height: auto; border-radius: var(--radius); }
.region-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 2rem; }
.region-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; font-weight: 500; padding: 0.625rem 1rem; border-radius: 0.5rem;
  background: hsl(var(--card)); box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.region-tag-highlight { background: linear-gradient(135deg, hsl(var(--accent-gradient-from)), hsl(var(--accent-gradient-to))); color: #fff !important; font-weight: 600; }

/* About */
.about-grid { display: flex; flex-wrap: wrap; gap: 3rem; align-items: center; }
.about-portrait { flex-shrink: 0; position: relative; }
.about-portrait img { width: 16rem; height: 20rem; object-fit: cover; object-position: top; border-radius: 1rem; box-shadow: 0 16px 48px rgba(0,0,0,0.2); }
.about-text { flex: 1; min-width: 280px; }
.about-text p { color: hsl(var(--muted-foreground)); line-height: 1.7; margin-bottom: 1.25rem; }
.about-stats { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 2rem; }

/* Audiences */
.audiences-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.audience-card {
  background: hsla(var(--gold), 0.05); border-radius: var(--radius); padding: 1.25rem;
  transition: background 0.3s;
}
.audience-card:hover { background: hsla(var(--gold), 0.1); }
.audience-icon {
  width: 2.25rem; height: 2.25rem; border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.audience-card h4 { font-size: 0.875rem; font-weight: 600; margin-top: 0.75rem; margin-bottom: 0.25rem; }
.audience-card p { color: hsl(var(--muted-foreground)); font-size: 0.75rem; line-height: 1.5; }

/* Contact */
.contact-links { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; }
.contact-link {
  display: flex; align-items: center; gap: 0.75rem;
  background: rgba(255,255,255,0.05); border-radius: var(--radius);
  padding: 1rem 1.5rem; transition: background 0.2s;
  color: #fff;
}
.contact-link:hover { background: rgba(255,255,255,0.1); }
.contact-link svg { color: hsl(var(--gold)); width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.contact-link span { font-size: 0.875rem; font-weight: 500; }

/* Footer */
.site-footer { background: hsl(var(--surface-dark)); border-top: 1px solid rgba(255,255,255,0.05); padding: 2rem 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-left { display: flex; align-items: center; gap: 0.75rem; }
.footer-left img { height: 1.6rem; width: auto; max-width: 108px; object-fit: contain; display: block; opacity: 0.72; }
.footer-left p { color: rgba(255,255,255,0.7); font-size: 0.875rem; }
.social-links { display: flex; gap: 1rem; }
.social-links a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.social-links a:hover { color: hsl(var(--gold)); }
.social-links svg { width: 1.25rem; height: 1.25rem; }
.contact-location { margin-top: 1.5rem; display: inline-flex; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.7); font-size: 0.875rem; }
.contact-location svg { width: 1rem; height: 1rem; }

/* Partners marquee */
.partners-section { overflow: hidden; }
.marquee-wrap { overflow: hidden; width: 100%; }
.marquee-track { display: flex; align-items: center; gap: 4rem; width: max-content; animation: marquee 20s linear infinite; }
.partner-logo { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; filter: grayscale(1); opacity: 0.6; transition: opacity 0.3s, filter 0.3s; }
.partner-logo:hover { filter: grayscale(0); opacity: 1; }
.partner-logo img { height: 3rem; width: auto; object-fit: contain; }

/* Virtual staging */
.staging-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; max-width: 72rem; margin: 0 auto; }
.staging-card video { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 1rem; box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
.staging-card .staging-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; margin-top: 1.25rem; margin-bottom: 0.25rem; }
.staging-card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.375rem; }
.staging-card p { color: hsl(var(--muted-foreground)); font-size: 0.875rem; line-height: 1.6; max-width: 24rem; margin: 0 auto; }

/* Scroll reveal */
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(20px); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.reveal { opacity: 0; }
.reveal.visible { animation: reveal-up 0.7s cubic-bezier(0.16,1,0.3,1) both; }

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .mobile-menu.open { display: block; background: hsla(var(--surface-dark),0.98); backdrop-filter: blur(12px); padding: 0.5rem 1.5rem 1.5rem; border-top: 1px solid rgba(255,255,255,0.05); }
  .mobile-menu a { display: block; padding: 0.75rem 0; font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.7); }
  .mobile-menu a:hover { color: hsl(var(--gold)); }
  .hero-content { padding: 0 1rem; }
  .hero { padding-top: 5rem; }
  .nav-logo img { height: 1.8rem; max-width: 118px; }
  .footer-left img { height: 1.45rem; max-width: 98px; }
  .partner-logo img { height: 2.5rem; }
  .about-grid { flex-direction: column; text-align: center; }
  .about-portrait img { width: 12rem; height: 15rem; }
}

/* Hero video teaser */
.hero-video-card {
  position: relative;
  width: 200px;
  aspect-ratio: 9/16;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
  cursor: pointer;
  outline: 1px solid rgba(255,255,255,0.1);
}
.hero-video-card .hero-video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.hero-video-card:hover .hero-video-thumb { transform: scale(1.05); }
.hero-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(var(--accent-gradient-from)), hsl(var(--accent-gradient-to)));
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}
.hero-play-btn:hover { transform: translate(-50%, -50%) scale(1.1); }
.hero-video-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 16px 64px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  font-size: 2.5rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 0.5rem;
  opacity: 0.7;
  transition: opacity 0.2s, background 0.2s;
}
.lightbox-prev:hover, .lightbox-next:hover { opacity: 1; background: rgba(255,255,255,0.2); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-caption { position: absolute; left: 0; right: 0; bottom: 1.5rem; text-align: center; color: rgba(255,255,255,0.7); font-size: 0.875rem; padding: 0 1rem; }

/* Mobile nav always has dark background */
@media (max-width: 767px) {
  .site-nav {
    background: hsla(var(--surface-dark), 0.95) !important;
    backdrop-filter: blur(12px) !important;
  }
}

/* Portrait glow & badge */
.about-portrait {
  position: relative;
}
.about-portrait::before {
  content: '';
  position: absolute;
  inset: -0.75rem;
  background: linear-gradient(135deg, hsl(var(--accent-gradient-from)), hsl(var(--accent-gradient-to)));
  border-radius: 1.25rem;
  opacity: 0.2;
  filter: blur(6px);
}
.about-portrait::after {
  content: '';
  position: absolute;
  inset: -0.25rem;
  background: linear-gradient(135deg, hsl(var(--accent-gradient-from)), hsl(var(--accent-gradient-to)));
  border-radius: 1.1rem;
  opacity: 0.1;
}
.about-portrait img {
  position: relative;
  z-index: 1;
}
.portrait-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  z-index: 2;
  background: linear-gradient(135deg, hsl(var(--accent-gradient-from)), hsl(var(--accent-gradient-to)));
  color: #fff;
  border-radius: 0.75rem;
  padding: 0.625rem 1rem;
  box-shadow: 0 8px 24px hsla(var(--gold), 0.2);
}
.portrait-badge p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Mobile navbar always dark */
@media (max-width: 767px) {
  .site-nav {
    background: hsla(var(--surface-dark), 0.95) !important;
    backdrop-filter: blur(12px);
  }
  .hero {
    padding-top: 6rem;
  }
}
