/*
Theme Name: VYDA Hotels & Resorts
Theme URI: https://vyda.vercel.app/
Author: VYDA Hospitality
Author URI: https://vyda.vercel.app/
Description: Luxury boutique hospitality WordPress theme cloned with precision from VYDA Hotels. Features rich animations, responsive hero sections, interactive galleries, booking modals, and elegant typography.
Version: 1.0.2
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vyda-theme
Tags: luxury, hotel, hospitality, resort, travel, boutique, responsive-layout, custom-menu, featured-images, full-width-template
*/

/* Core Custom Styles */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,460;9..144,500;9..144,600&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --color-ivory: #F8F3E9;
  --color-ivory-deep: #F1E9D8;
  --color-sand: #E4D5B7;
  --color-sand-line: #DCCBA6;
  --color-espresso: #241A12;
  --color-espresso-soft: #3A2B1E;
  --color-charcoal: #1C1A17;
  --color-vyda-blue: #290068;
  --color-vyda-blue-soft: #3D1A8A;
  --color-champagne: #B4864C;
  --color-champagne-light: #D8B679;
  --color-champagne-text: #8D693B;
  --color-ink: #2A2119;
  --color-white-warm: #FFFDF8;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--color-ivory);
  color: var(--color-ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Header & WordPress Admin Bar Compatibility */
#main-header {
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}

body.admin-bar #main-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar #main-header {
    top: 46px;
  }
}

@media screen and (max-width: 600px) {
  #wpadminbar {
    position: fixed !important;
    top: 0 !important;
  }
  body.admin-bar #main-header {
    top: 46px;
  }
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 460;
  letter-spacing: -0.01em;
  color: var(--color-vyda-blue);
}

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-champagne-text);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--color-champagne-text);
  flex-shrink: 0;
}
.eyebrow.on-dark {
  color: var(--color-ivory-deep);
}
.eyebrow.on-dark::before {
  background: var(--color-ivory-deep);
}

/* Hero Overlay */
.hero-overlay {
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.3) 30%,
    rgba(0, 0, 0, 0.5) 65%,
    rgba(0, 0, 0, 0.72) 100%
  );
}

.hero-heading {
  color: var(--color-white-warm) !important;
  font-weight: 500;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.5),
    0 4px 24px rgba(0, 0, 0, 0.4);
}

.hero-sub {
  color: var(--color-ivory-deep) !important;
  font-weight: 400;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-eyebrow {
  color: var(--color-ivory-deep) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-eyebrow::before {
  background: var(--color-ivory-deep) !important;
}

/* Arch Frame */
.arch-frame {
  clip-path: polygon(0 6%, 0 100%, 100% 100%, 100% 6%, 50% 0%);
}

/* Mobile responsive fixes */
@media (max-width: 640px) {
  .hero-heading {
    font-size: 2.1rem !important;
    line-height: 1.1 !important;
  }
  .arch-frame {
    clip-path: none;
    border-radius: 4px;
  }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #F8F3E9;
}
::-webkit-scrollbar-thumb {
  background: #B4864C;
  border-radius: 3px;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
