/*
Theme Name: Vantage — Obsidian Luxe
Theme URI: https://example.com/vantage
Author: Vantage Studio
Author URI: https://example.com
Description: A premium, cinematic Full Site Editing block theme for photographers and videographers. Every section — logo, hero, copy, images, video, stats, services, portfolio, testimonials, contact — is editable from the WordPress Site Editor and Customizer. No plugins required.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vantage
Tags: full-site-editing, block-templates, portfolio, photography, one-column, custom-colors, custom-logo, custom-menu, editor-style, featured-images, block-styles, wide-blocks
*/

/* Front-end + editor enhancements. Block styles are driven by theme.json. */

:root {
  --vt-gold: #c5a059;
  --vt-bg: #0b0b0c;
  --vt-fg: #ece9e2;
  --vt-muted: #8d8a84;
  --vt-border: #1c1b1a;
  --vt-surface: #131211;
}

html { scroll-behavior: smooth; }

body {
  background: var(--vt-bg);
  color: var(--vt-fg);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .vt-display {
  font-family: 'Syne', 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.vt-eyebrow {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--vt-muted);
}

.vt-stroke {
  -webkit-text-stroke: 1px var(--vt-gold);
  color: transparent;
  font-style: italic;
}

/* Header */
.vt-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: color-mix(in oklab, var(--vt-bg) 70%, transparent);
  border-bottom: 1px solid var(--vt-border);
}
.vt-header-inner {
  max-width: 110rem; margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.vt-logo a { color: var(--vt-fg); text-decoration: none; font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.25rem; letter-spacing: 0.02em; }
.vt-logo img { max-height: 36px; width: auto; }
.vt-nav ul { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0; }
.vt-nav a { color: var(--vt-fg); text-decoration: none; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; transition: color .2s; }
.vt-nav a:hover { color: var(--vt-gold); }
.vt-cta {
  background: var(--vt-gold); color: #111 !important;
  padding: 0.85rem 1.5rem; font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase;
  font-weight: 600; text-decoration: none; transition: background .25s;
}
.vt-cta:hover { background: var(--vt-fg); }
.vt-menu-toggle { display: none; background: none; border: 0; color: var(--vt-fg); cursor: pointer; }
@media (max-width: 860px) {
  .vt-nav { display: none; }
  .vt-nav.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--vt-bg); border-bottom: 1px solid var(--vt-border); padding: 1.5rem; }
  .vt-nav.is-open ul { flex-direction: column; gap: 1rem; }
  .vt-menu-toggle { display: block; }
}

/* Footer */
.vt-footer { border-top: 1px solid var(--vt-border); padding: 4rem 1.5rem 2rem; margin-top: 6rem; }
.vt-footer-inner { max-width: 110rem; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
.vt-footer h4 { font-size: 10px; letter-spacing: 0.22em; color: var(--vt-muted); margin: 0 0 1rem; }
.vt-footer a { color: var(--vt-fg); text-decoration: none; display: block; padding: .25rem 0; font-size: 14px; }
.vt-footer a:hover { color: var(--vt-gold); }
.vt-footer-bottom { max-width: 110rem; margin: 3rem auto 0; padding-top: 2rem; border-top: 1px solid var(--vt-border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 12px; color: var(--vt-muted); }
@media (max-width: 720px) { .vt-footer-inner { grid-template-columns: 1fr 1fr; } }

/* Animations */
@keyframes vt-fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes vt-ken-burns { from { transform: scale(1); } to { transform: scale(1.12); } }
@keyframes vt-pulse-ring { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.8); opacity: 0; } }

.vt-reveal { opacity: 0; }
.vt-reveal.is-visible { animation: vt-fade-up .9s cubic-bezier(.2,.8,.2,1) forwards; }

.vt-hero-media { animation: vt-ken-burns 14s ease-out forwards; }

/* WhatsApp floating button */
.vt-whatsapp {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 60;
  width: 56px; height: 56px; border-radius: 999px;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 20px 50px -12px rgba(0,0,0,.6); text-decoration: none;
  transition: transform .25s;
}
.vt-whatsapp:hover { transform: scale(1.08); }
.vt-whatsapp::before {
  content: ""; position: absolute; inset: 0; border-radius: 999px; background: #25D366;
  animation: vt-pulse-ring 2s ease-out infinite; z-index: -1;
}
.vt-whatsapp svg { width: 28px; height: 28px; fill: currentColor; }

/* Gallery hover zoom */
.wp-block-gallery .wp-block-image img,
.wp-block-image img { transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.wp-block-gallery .wp-block-image:hover img,
.wp-block-image:hover img { transform: scale(1.06); }

/* Video play overlay button */
.vt-video-card { position: relative; overflow: hidden; }
.vt-video-card .vt-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.7));
  opacity: 0; transition: opacity .3s;
}
.vt-video-card:hover .vt-play { opacity: 1; }
.vt-video-card .vt-play span {
  width: 72px; height: 72px; border-radius: 999px; border: 1px solid var(--vt-gold);
  display: flex; align-items: center; justify-content: center; color: var(--vt-gold);
  font-size: 22px;
}

/* Editor */
.editor-styles-wrapper { background: var(--vt-bg); color: var(--vt-fg); }
