/*
Theme Name: KaPeLa Grill & Bar Theme
Theme URI: https://grill-zagora.hr
Author: Karlo Sokac
Author URI: https://grill-zagora.hr
Description: Modern, SEO-optimized, super-fast full-page premium theme for KaPeLa Grill & Bar.
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: kapela-theme
Tags: dark, responsive-layout, clean, custom-menu, portfolio, translation-ready, full-width-template
*/

/* Custom Base Theme Variables and Styles corresponding to index.css */
@import url('https://fonts.googleapis.com/css2?family=Libre+Caslon+Text:ital,wght@0,400;0,700;1,400&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --font-serif: "Libre Caslon Text", serif;
  --font-sans: "Manrope", sans-serif;

  --color-primary: #C5A46A;
  --color-primary-container: #a78853;
  --color-on-primary-container: #4c3715;
  --color-surface: #131313;
  --color-surface-variant: #353534;
  --color-on-surface: #e5e2e1;
  --color-on-surface-variant: #d8c3ad;
  --color-background: #131313;
  --color-tertiary: #dfbc8a;
  --color-outline: #a08e7a;
  --color-outline-variant: #534434;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--color-background);
  color: var(--color-on-surface);
  font-family: var(--font-sans);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Glass panel background style */
.glass-panel {
  background: rgba(32, 31, 31, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px border-solid rgba(255, 255, 255, 0.1);
}

.text-glow {
  text-shadow: 0 0 15px rgba(197, 164, 106, 0.4);
}

/* Custom Webkit scrollbar for premium dark appearance */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #0f0f0f;
}
::-webkit-scrollbar-thumb {
  background: #2c251b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* Custom flip book styles */
.flip-book {
  perspective: 2500px;
}
.flip-sheet {
  transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  transform-style: preserve-3d;
  transform-origin: left center;
}
.flip-page {
  backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.flip-page-back {
  transform: rotateY(180deg);
}

/* Spark Particle animation */
@keyframes sparkUp {
  0% {
    transform: translateY(110%) scale(0.5);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    transform: translateY(-10%) scale(1.1) translateX(40px);
    opacity: 0;
  }
}

.spark-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px #C5A46A;
}

/* Standard WP classes comfortability */
.aligncenter {
  display: block;
  margin: 1.5em auto;
}
.wp-caption {
  background: #1c1c1c;
  border: 1px solid #2a2a2a;
  max-width: 100%;
  padding: 5px;
  text-align: center;
}
.wp-caption-text {
  font-size: 0.85em;
  margin: 0.5em 0;
  color: #a0a0a0;
}
