/*
Theme Name: Grand Hotel Edit
Author: WordPress Telex
Description: A deeply cinematic luxury interior design theme inspired by Parisian grand hotels, golden hour light, and the art of living beautifully. Features a midnight-and-gold palette with refined serif typography.
Version: 0.1.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: grand-hotel-edit
Tags: block-theme, full-site-editing, dark, luxury

Grand Hotel Edit - Where heritage meets the art of living beautifully.
*/

/* Gold ornamental divider */
.gold-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem auto;
}

.gold-divider::before,
.gold-divider::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c0a170, transparent);
}

.gold-divider-diamond {
  width: 6px;
  height: 6px;
  background: #c0a170;
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* Hero frame overlay */
.hero-frame-overlay {
  position: relative;
}

.hero-frame-overlay::before {
  content: "";
  position: absolute;
  inset: 1.2rem;
  border: 1px solid rgba(184, 150, 62, 0.15);
  z-index: 2;
  pointer-events: none;
}

/* Hero section styling */
.hero-cover .wp-block-cover__inner-container {
  z-index: 10;
}

/* Gold accent underline for headings */
.gold-underline {
  position: relative;
  display: inline-block;
}

.gold-underline::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: #c0a170;
  margin: 1rem auto 0;
}

/* Prelude label styling */
.prelude-label {
  font-size: 0.85rem !important;
  letter-spacing: 0.45em !important;
  text-transform: uppercase;
  opacity: 0.9;
}

/* Hero tagline italic */
.hero-tagline-text {
  font-style: italic;
  opacity: 0.8;
  letter-spacing: 0.04em;
}

/* Service cards */
.service-card {
  border: 1px solid rgb(0 0 0 / 15%);
  padding: 2.5rem 2rem !important;
  position: relative;
  transition:
    border-color 0.4s ease,
    transform 0.4s ease;
}

.service-card:hover {
  border-color: rgba(184, 150, 62, 0.4);
  transform: translateY(-4px);
}

.service-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background: #000000;
}

/* Service card number */
.service-number {
  font-size: 3rem !important;
  font-style: italic;
  opacity: 0.3;
  line-height: 1 !important;
}

/* Equal cards layout */
.equal-cards > .wp-block-column {
  display: flex;
  flex-direction: column;
  flex-grow: 0;
}

.equal-cards > .wp-block-column > .wp-block-group {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.equal-cards .cta-bottom {
  margin-top: auto;
  justify-content: center;
}

/* Portfolio grid images */
.portfolio-grid img {
  transition:
    transform 0.6s ease,
    filter 0.6s ease;
  filter: brightness(0.85) saturate(0.9);
}

.portfolio-grid img:hover {
  transform: scale(1.03);
  filter: brightness(1) saturate(1);
}

.portfolio-grid .wp-block-image {
  overflow: hidden;
}

/* Testimonial quote styling */
.testimonial-quote {
  position: relative;
  padding-left: 2rem !important;
  border-left: 2px solid rgb(115 115 115 / 40%) !important;
}

/* Section gold border top */
.section-gold-top {
  position: relative;
}

.section-gold-top::before {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: #c0a170;
  margin: 0 auto 2rem;
}

/* Header nav styling */
.site-header-nav a {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

.site-header-nav a:hover {
  opacity: 1;
}

/* Header layout responsive */
.site-header {
  z-index: 100;
}

.site-header .wp-block-navigation {
  gap: 2rem;
}

.site-header .wp-block-navigation a {
  color: #f0e6d0;
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

.site-header .wp-block-navigation a:hover {
  opacity: 1;
  color: #c0a170;
}

/* Navigation overlay (mobile hamburger) */
.site-header .wp-block-navigation__responsive-container.is-menu-open {
  background-color: #0d0b09 !important;
  padding: 2rem;
}

.site-header
  .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation-item
  a {
  color: #f0e6d0 !important;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  padding: 0.75rem 0;
}

.site-header
  .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation-item
  a:hover {
  color: #c0a170 !important;
}

/* Mobile hamburger icon color */
.site-header .wp-block-navigation__responsive-container-open svg {
  fill: #f0e6d0;
}

.site-header .wp-block-navigation__responsive-container-close svg {
  fill: #f0e6d0;
}

/* Ensure header items align center vertically */
.site-header > .wp-block-group__inner-container,
.site-header.wp-block-group {
  align-items: center;
}

@media (max-width: 768px) {
  .site-header.wp-block-group {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
}

/* CTA button gold style */
.wp-block-button.is-style-gold-cta .wp-block-button__link {
  background-color: #fefcfc !important;
  color: #0d0b09;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 1rem 3rem;
  border-radius: 2px;
  font-family: "Cormorant Garamond", "Palatino Linotype", "Book Antiqua", serif;
  transition: background-color 0.3s ease;
}

.wp-block-button.is-style-gold-cta .wp-block-button__link:hover {
  background-color: #fdfcfb !important;
}

/* Outline CTA */
.wp-block-button.is-style-outline-gold .wp-block-button__link {
  background-color: transparent !important;
  color: #0b0b0b !important;
  border: 1px solid #080808 !important;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 0.85rem 2.5rem;
  border-radius: 2px;
  font-family: "Cormorant Garamond", "Palatino Linotype", "Book Antiqua", serif;
  transition: all 0.3s ease;
}

.wp-block-button.is-style-outline-gold .wp-block-button__link:hover {
  background-color: #0d0d0d !important;
  color: #0d0b09 !important;
}

/* Header CTA small */
.wp-block-button.is-style-header-cta .wp-block-button__link {
  background-color: #121212 !important;
  color: #0d0b09 !important;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.6rem 1.6rem;
  border-radius: 0;
  font-family: "Cormorant Garamond", "Palatino Linotype", "Book Antiqua", serif;
}

/* Scroll indicator animation */
@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.8;
  }
}

.scroll-indicator {
  animation: scrollPulse 2s ease-in-out infinite;
}

/* Section fade-in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-section {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Footer styling */
.site-footer a {
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: #050505 !important;
}

/* Footer credit links */
.footer-credit a {
  color: #111111 !important;
  text-decoration: underline;
  text-decoration-color: rgba(184, 150, 62, 0.3);
  text-underline-offset: 3px;
}

.footer-credit a:hover {
  text-decoration-color: #0d0d0d;
}

/* Ensure no top margin on site blocks footer */
.wp-site-blocks > footer {
  margin-block-start: 0;
}

/* Philosophy section ornamental corners */
.philosophy-frame {
  position: relative;
}

.philosophy-frame::before,
.philosophy-frame::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  border-color: rgba(184, 150, 62, 0.25);
  border-style: solid;
  border-width: 0;
}

.philosophy-frame::before {
  top: 0;
  left: 0;
  border-top-width: 1px;
  border-left-width: 1px;
}

.philosophy-frame::after {
  bottom: 0;
  right: 0;
  border-bottom-width: 1px;
  border-right-width: 1px;
}

/* Number accent for services */
.service-roman {
  font-family: "Cormorant Garamond", "Palatino Linotype", serif;
  font-size: 3.5rem !important;
  font-style: italic;
  line-height: 1 !important;
  color: rgba(184, 150, 62, 0.25) !important;
}

/* Contact section background texture */
.contact-section {
  background-image:
    radial-gradient(
      ellipse at 30% 50%,
      rgba(184, 150, 62, 0.04) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse at 70% 50%,
      rgba(201, 168, 154, 0.03) 0%,
      transparent 50%
    );
}

/* Why Choose feature items */
.why-choose-item {
  border-bottom: 1px solid rgba(184, 150, 62, 0.12);
  padding-bottom: 2rem !important;
  transition: border-color 0.4s ease;
}

.why-choose-item:hover {
  border-bottom-color: rgba(184, 150, 62, 0.35);
}

.why-choose-item:last-child {
  border-bottom: none;
}

/* Room collection cards */
.room-card {
  overflow: hidden;
  position: relative;
  transition: transform 0.5s ease;
}

.room-card:hover {
  transform: translateY(-3px);
}

.room-card img {
  transition:
    transform 0.6s ease,
    filter 0.6s ease;
  filter: brightness(0.85) saturate(0.9);
}

.room-card:hover img {
  transform: scale(1.03);
  filter: brightness(1) saturate(1);
}

/* Special features grid */
.special-feature {
  border: 1px solid rgb(255 255 255 / 12%);
  padding: 2rem !important;
  position: relative;
  transition:
    border-color 0.4s ease,
    background-color 0.4s ease;
}

.special-feature:hover {
  border-color: rgb(225 225 225 / 50%);
  background-color: rgb(0 0 0 / 3%);
}

.special-feature::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 1px;
  background: #080808;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.special-feature:hover::after {
  opacity: 1;
}

/* Process step styling */
.process-step {
  position: relative;
  padding-left: 0 !important;
}

.process-step-number {
  font-family: "Cormorant Garamond", "Palatino Linotype", serif;
  font-size: 4rem !important;
  font-weight: 300;
  line-height: 1 !important;
  color: rgb(103 103 103 / 15%) !important;
  transition: color 0.4s ease;
}

.process-step:hover .process-step-number {
  color: rgb(10 10 10 / 35%) !important;
}

.process-connector {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, rgba(184, 150, 62, 0.3), transparent);
  margin: 0 auto;
}

/* FAQ accordion styles */
.faq-item {
  border-bottom: 1px solid rgba(184, 150, 62, 0.12);
  padding: 1.5rem 0 !important;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(184, 150, 62, 0.35);
}

.faq-item:first-child {
  border-top: 1px solid rgba(184, 150, 62, 0.12);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .service-card {
    padding: 2rem 1.5rem !important;
  }

  .hero-frame-overlay::before {
    inset: 0.6rem;
  }

  .philosophy-frame::before,
  .philosophy-frame::after {
    width: 20px;
    height: 20px;
  }

  .process-step-number {
    font-size: 3rem !important;
  }

  .special-feature {
    padding: 1.5rem !important;
  }
}

/*header button for mobile width*/
@media (max-width: 767px) {
  .headbutton {
    width: 195px;
    float: right;
    padding: 0px;
  }
  .myheadlinep {
    font-size: 60px !important;
  }
  .section-heding-p {
    font-size: 23px !important;
  }
  .phhide {
    display: none !important;
  }
  .wp-container-core-columns-is-layout-6b276c36 {
    gap: 0.5em 2rem !important;
  }
  .wp-container-core-columns-is-layout-f356f086 {
    gap: 1em 1rem !important;
  }
  .wp-block-spacer.myblockspacer {
    height: 0px !important;
  }
  .wp-container-core-columns-is-layout-b23a18ed {
    gap: 1em 2rem !important;
  }
  .wp-container-core-columns-is-layout-47432679 {
    gap: 1em 1.5rem;
  }
  .wp-container-core-columns-is-layout-c5150b4a {
    gap: 0.3rem !important;
  }
  img.custom-logo {
    width: 60px;
  }
  a.wp-block-button__link.wp-element-button {
    letter-spacing: 0.1rem;
    line-height: 1.3;
    padding-right: 10px;
    padding-left: 10px;
  }
}

::selection {
  background: #090909;
  color: #ffffff;
}

/* Gold Fill Buttons */
.headbutton .wp-block-button__link,
.is-style-gold-cta .wp-block-button__link {
  background: linear-gradient(90deg, #888888, #393939, #000000) !important;
  color: #ffffff !important;
  border: none !important;
}

.is-style-outline-gold .wp-block-button__link:hover {
  background: linear-gradient(90deg, #888888, #393939, #000000) !important;
  color: #fff !important;
}

.wp-block-accordion-heading__toggle:hover
  .wp-block-accordion-heading__toggle-title {
  text-decoration: none;
}

.has-gold-color {
  color: #ffffff !important;
}
:root :where(.wp-block-separator) {
    border-color: rgb(255 255 255 / 30%);
    color: rgb(255 255 255 / 30%);
}