/* Theme stylesheet (source-as-production) — edit this file; WordPress enqueues it. */

:root {
  --color-background: #ebe2d8;
  --color-background-light: #f7f2ec;
  --color-background-dark: #2b2a29;
  --color-text: #575049;
  --color-text-hover: #3b3732;
  --color-accent: #a34f41;
  --color-accent-hover: #7f3d32;
  --color-muted: #e6e6e6;
  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-titles: "Faculty Glyphic", sans-serif;
  --header-height: 70px;
}

/* Reset and base styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-base);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text);
  background-color: #fff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--color-text-hover);
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  font-family: var(--font-titles);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 1.5px;
}

h1 {
  font-size: 2.5rem;
}
@media (min-width: 768px) {
  h1 {
    font-size: 3rem;
  }
}

h2 {
  font-size: 2rem;
}
@media (min-width: 768px) {
  h2 {
    font-size: 2.5rem;
  }
}

h3 {
  font-size: 1.75rem;
}
@media (min-width: 768px) {
  h3 {
    font-size: 2rem;
  }
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
}

.text-sm {
  font-size: 0.875rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

.btn {
  border-radius: 0;
  padding: 10px 16px;
  text-transform: uppercase;
  font-weight: bold;
  color: var(--color-text);
  border: 1px solid var(--color-text);
  cursor: pointer;
  background: transparent;
}
.btn:hover {
  background-color: var(--color-accent);
  color: white;
  border: 1px solid var(--color-accent);
}
.btn.btn-primary {
  background-color: var(--color-accent);
  border: 1px solid var(--color-accent);
  color: white;
}
.btn.btn-primary:hover {
  background-color: var(--color-accent-hover);
  border: 1px solid var(--color-accent-hover);
}

/* Layout and containers */
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  max-width: 100%;
}
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

.container-fluid {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

#site-header {
  display: flex;
  position: fixed;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
  width: 100%;
  padding: 0 20px;
  z-index: 200;
  background-color: transparent;
  transition: 0.3s ease;
  box-shadow: 0 0 200px rgba(0, 0, 0, 0);
}
#site-header #menu-toggle {
  padding: 7px 16px;
}
#site-header #menu-toggle svg {
  width: 18px;
  display: block;
}
#site-header .site-logo {
  height: 50px;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
}
#site-header.scrolled {
  background-color: var(--color-background);
  box-shadow: 0 0 200px rgba(0, 0, 0, 0.2);
}

#site-sidebar {
  position: fixed;
  padding: calc(var(--header-height) + 40px) 40px 40px;
  inset: 0;
  z-index: 100;
  width: 100vw;
  background-color: var(--color-background);
  display: flex;
  flex-direction: column;
  transition-duration: 0.5s;
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 0 200px rgba(0, 0, 0, 0.2);
}
#site-sidebar.open {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}
@media (min-width: 768px) {
  #site-sidebar {
    width: 45vw;
  }
}
#site-sidebar nav {
  flex-grow: 1;
  overflow: auto;
}
#site-sidebar nav ul {
  list-style: none;
  padding: 0;
}
#site-sidebar nav ul .sub-menu {
  opacity: 0.65;
  padding-left: 1.5rem;
}
#site-sidebar nav ul li {
  text-transform: uppercase;
  font-size: 1.2rem;
}
#site-sidebar nav ul li a {
  text-decoration: none;
}
#site-sidebar #site-sidebar-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
#site-sidebar #site-sidebar-footer .site-logo-footer {
  margin-top: 1.5rem;
  width: 40px;
}

#site-right-sidebar .book-panel {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  padding: 1rem;
}
#site-right-sidebar .book-panel .btn {
  width: 280px;
}
#site-right-sidebar {
  position: fixed;
  padding: calc(var(--header-height) + 40px) 40px 40px;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: 100;
  background-color: var(--color-background);
  transition-duration: 0.5s;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 0 200px rgba(0, 0, 0, 0.2);
}
#site-right-sidebar.open {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}

.site-loader {
  position: fixed;
  z-index: 9999;
  inset: 0;
  color: var(--color-accent);
  background: var(--color-background);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  border: 20px solid var(--color-accent);
}
.site-loader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.site-loader .loader-logo {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-loader .loader-logo svg {
  opacity: 0;
  width: 100%;
  height: 100%;
  display: block;
  transform: scale(1.4);
  filter: blur(4px);
  transition: transform 0.5s ease-out, filter 0.5s ease-out, opacity 0.5s ease-out;
}
.site-loader .loader-logo svg.is-ready {
  opacity: 1;
  transform: scale(0.9);
  filter: blur(0);
}
.site-loader.is-leaving {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.site-footer {
  margin-top: 40px;
}
.site-footer .footer-sec-1 {
  background-color: var(--color-background-dark);
  padding: 40px;
  color: white;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}
@media (max-width: 1024px) {
  .site-footer .footer-sec-1 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .site-footer .footer-sec-1 {
    grid-template-columns: 1fr;
  }
}
.site-footer .footer-columns > * + * {
  margin-top: 2rem;
}
.site-footer .footer-columns h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.site-footer .footer-columns p {
  line-height: 1.6;
  margin-bottom: 0.5rem;
}
.site-footer .footer-columns a {
  color: white;
  transition: color 0.3s ease;
}
.site-footer .footer-columns a:hover {
  color: var(--color-muted);
}
.site-footer .footer-columns img {
  max-width: 120px;
  height: auto;
  margin-bottom: 1rem;
}
.site-footer .footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer .footer-menu li {
  margin-bottom: 0.5rem;
}
.site-footer .footer-menu li a {
  color: white;
  transition: color 0.3s ease;
}
.site-footer .footer-menu li a:hover {
  color: var(--color-muted);
}
.site-footer .footer-sec-2 {
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 90px;
  flex-wrap: wrap;
}
.site-footer .footer-sec-2 img {
  max-height: 90px;
}
.site-footer .footer-sec-3 {
  padding: 40px;
  text-align: center;
}

.site-hero {
  position: relative;
  top: calc(var(--header-height) * -1);
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
.site-hero .site-hero-content {
  position: absolute;
  text-align: center;
  color: white;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(-80px);
  gap: 3rem;
}
.site-hero .site-hero-content .site-hero-logo {
  width: 160px;
}
.site-hero .site-hero-content h1 {
  font-size: 2rem;
}
@media (min-width: 768px) {
  .site-hero .site-hero-content h1 {
    font-size: 3rem;
  }
}
.site-hero .site-hero-content h1.hero-text-motion {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 2s ease-out, transform 2s ease-out;
}
.site-hero .site-hero-content h1.hero-text-motion.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.site-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.site-hero img.hero-image-motion {
  transform-origin: center center;
  will-change: transform;
}
.site-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}
.site-hero .site-hero-overlay {
  position: absolute;
  bottom: 30px;
  text-align: center;
  color: white;
  z-index: 2;
}
.site-hero .site-hero-overlay::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  top: -60px;
  height: 30px;
  background-color: white;
  animation: scroll 2s infinite;
}
@keyframes scroll {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(0);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
}

.page-hero {
  padding: 100px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.page-hero .page-hero-decorator {
  position: absolute;
  width: 1px;
  top: 60px;
  bottom: 60px;
  background-color: var(--color-text);
}
.page-hero .page-hero-content {
  padding: 10px;
  max-width: 600px;
  background-color: var(--color-background);
  z-index: 10;
}

.big-image {
  width: 100%;
  height: 60vh;
}
@media screen and (min-width: 768px) {
  .big-image {
    height: 100vh;
  }
}
.big-image {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  will-change: padding, transform;
}
.big-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: filter;
}
.big-image .big-image-content {
  color: white;
  position: absolute;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.big-image .big-image-content h2 {
  font-size: 3rem;
}
@media screen and (min-width: 768px) {
  .big-image .big-image-content h2 {
    font-size: 4rem;
  }
}
.big-image .big-image-content h2 {
  margin-bottom: 1rem;
}
.big-image .big-image-content .big-image-text {
  font-size: 1.25rem;
  margin: 30px 0;
}
.big-image .big-image-content .big-image-actions {
  display: flex;
  gap: 1rem;
}
.big-image .big-image-content .big-image-actions button {
  padding: 10px 20px;
  border: 1px solid white;
  cursor: pointer;
}

.rooms-block {
  padding: 0 40px;
}
.rooms-block .rooms-block-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media screen and (min-width: 768px) {
  .rooms-block .rooms-block-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.rooms-block .rooms-block-grid .rooms-block-grid-tile .rooms-block-grid-tile-image {
  width: 100%;
  height: 400px;
  display: flex;
  align-content: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.rooms-block .rooms-block-grid .rooms-block-grid-tile .rooms-block-grid-tile-image .rooms-block-grid-tile-image-overlay {
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.3);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.rooms-block .rooms-block-grid .rooms-block-grid-tile .rooms-block-grid-tile-image:hover .rooms-block-grid-tile-image-overlay {
  opacity: 1;
  transition: all 0.3s ease-in-out;
}
.rooms-block .rooms-block-grid .rooms-block-grid-tile .rooms-block-grid-tile-image img {
  object-fit: cover;
}
.rooms-block .rooms-block-grid .rooms-block-grid-tile .rooms-block-grid-tile-content {
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body {
  overflow-x: hidden;
  background-color: var(--color-background);
  color: var(--color-text);
}

#site-main {
  padding-top: var(--header-height);
  min-height: 100vh;
}

.wp-block-heading {
  max-width: 1280px;
  margin: 40px auto;
}

.menu-block {
  background-color: var(--color-text);
  color: var(--color-background);
  margin: 10px auto;
  padding: 30px;
  text-align: center;
  max-width: 80vw;
}
.menu-block h4 {
  margin: 30px 0;
}

.room-gallery-note {
  font-size: 0.8rem;
  text-align: center;
}
.room-gallery {
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}
.room-gallery-item {
  width: 40%;
}

.error-404 {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.wp-element-button {
  border-radius: 0;
  padding: 10px 16px;
  text-transform: uppercase;
  font-weight: bold;
  color: var(--color-text);
  border: 1px solid var(--color-text);
  background: transparent;
}

@media (prefers-reduced-motion: reduce) {
  .site-loader .loader-logo svg,
  .site-loader.is-leaving,
  .site-hero .site-hero-content h1.hero-text-motion {
    transition: none;
  }
}
