/*
Theme Name: Aithra Boutique Hotel
Theme URI: https://aithra-hotel.com
Author: Aithra Hotel
Description: Elementor-compatible luxury theme for Aithra Boutique Hotel, Tinos.
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: aithra-hotel
*/

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  --aegean: #3B6B8A;
  --ink: #1C2526;
  --stone: #F2EFE9;
  --stone-dark: #8A8780;
  --beige: #E8E3DA;
  --white: #FFFFFF;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Jost', sans-serif;
  --transition: all 0.4s cubic-bezier(0.21, 0.47, 0.32, 0.98);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; padding: 0; margin: 0; }

/* ============================================
   ELEMENTOR OVERRIDES
   ============================================ */

/* Remove default Elementor page padding */
.elementor-section-wrap,
.elementor-inner,
.elementor-container {
  max-width: 100% !important;
}

/* Full-width sections */
.elementor-section.elementor-section-fullwidth > .elementor-container {
  max-width: 100%;
}

/* ============================================
   NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 9999;
  padding: 24px 0;
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(255,255,255,0.93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 0;
  box-shadow: 0 1px 30px rgba(0,0,0,0.06);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .header-inner { padding: 0 24px; }
}

.site-logo { display: flex; flex-direction: column; }

.logo-name {
  font-family: var(--font-serif);
  font-size: 24px;
  letter-spacing: 0.2em;
  font-weight: 300;
  text-transform: uppercase;
  color: var(--white);
  transition: var(--transition);
}

.logo-sub {
  font-size: 8px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
  transition: var(--transition);
}

.site-header.scrolled .logo-name { color: var(--ink); }
.site-header.scrolled .logo-sub  { color: var(--stone-dark); }

.main-nav { display: flex; gap: 40px; }

.main-nav a {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}

.main-nav a:hover { color: var(--white); }
.site-header.scrolled .main-nav a { color: var(--ink); }
.site-header.scrolled .main-nav a:hover { color: var(--aegean); }

.header-cta {
  padding: 13px 22px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
}

.header-cta:hover { background: var(--white); color: var(--ink); }
.site-header.scrolled .header-cta { background: var(--aegean); border-color: var(--aegean); color: var(--white); }
.site-header.scrolled .header-cta:hover { background: var(--ink); border-color: var(--ink); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  padding: 4px;
}

.site-header.scrolled .menu-toggle { color: var(--ink); }
.menu-toggle svg { width: 24px; height: 24px; stroke-width: 1.5; }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--stone);
  display: flex;
  flex-direction: column;
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.21, 0.47, 0.32, 0.98);
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 64px;
}

.mobile-menu-logo {
  font-family: var(--font-serif);
  font-size: 24px;
  letter-spacing: 0.2em;
  color: var(--ink);
}

.mobile-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
}

.mobile-close svg { width: 24px; height: 24px; stroke-width: 1.5; }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  flex: 1;
}

.mobile-nav a {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--ink);
}

.mobile-nav a:hover { color: var(--aegean); }

.mobile-cta {
  display: block;
  width: 100%;
  padding: 16px;
  background: var(--aegean);
  color: var(--white);
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  border: none;
  cursor: pointer;
  margin-top: 32px;
  margin-bottom: 32px;
}

@media (max-width: 900px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
}

/* ============================================
   ELEMENTOR CUSTOM WIDGET STYLES
   ============================================ */

/* --- Hero Section --- */
.aithra-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.aithra-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28,37,38,0.32);
  z-index: 1;
}

.aithra-hero .elementor-background-overlay {
  z-index: 1 !important;
}

.aithra-hero .elementor-widget-wrap {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 24px;
  display: block;
}

.hero-title {
  font-family: var(--font-serif) !important;
  font-size: clamp(48px, 8vw, 90px) !important;
  font-weight: 300 !important;
  color: var(--white) !important;
  line-height: 1.05 !important;
}

.hero-line {
  width: 1px;
  height: 96px;
  background: rgba(255,255,255,0.3);
  margin: 48px auto 0;
}

/* --- Concept Section --- */
.concept-rule {
  width: 96px;
  height: 1px;
  background: var(--aegean);
  margin-bottom: 32px;
}

.concept-title {
  font-family: var(--font-serif) !important;
  font-size: clamp(32px, 3.5vw, 52px) !important;
  color: var(--aegean) !important;
  font-weight: 300 !important;
  line-height: 1.1 !important;
}

.concept-secondary-img img {
  filter: grayscale(30%);
}

/* --- Suite Cards --- */
.suite-card {
  background: var(--white);
  border: 1px solid var(--beige);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  padding: 24px;
  transition: box-shadow 0.4s ease;
  cursor: pointer;
}

.suite-card:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.suite-card .elementor-image img {
  transition: transform 1s cubic-bezier(0.21, 0.47, 0.32, 0.98);
}

.suite-card:hover .elementor-image img {
  transform: scale(1.05);
}

.suite-name {
  font-family: var(--font-serif) !important;
  font-size: 24px !important;
  font-weight: 300 !important;
  color: var(--ink) !important;
}

.suite-sub {
  font-size: 10px !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: var(--stone-dark) !important;
}

.suite-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--beige);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--aegean);
  transition: var(--transition);
}

.suite-card:hover .suite-arrow {
  border-color: var(--aegean);
  background: var(--aegean);
  color: var(--white);
}

/* --- Section Labels & Titles --- */
.aithra-section-label {
  font-size: 10px !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  font-weight: 500 !important;
  color: var(--aegean) !important;
}

.aithra-section-title {
  font-family: var(--font-serif) !important;
  font-weight: 300 !important;
  color: var(--ink) !important;
  line-height: 1.1 !important;
}

.aithra-section-divider {
  border-top: 1px solid var(--beige) !important;
}

/* --- Amenity Icons --- */
.amenity-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--stone);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  color: var(--aegean);
}

.amenity-title {
  font-family: var(--font-serif) !important;
  font-size: 22px !important;
  font-weight: 300 !important;
  color: var(--ink) !important;
}

/* --- CTA / Booking --- */
.booking-card {
  background: var(--white);
  border: 1px solid var(--beige);
  box-shadow: 0 10px 40px rgba(0,0,0,0.04);
  padding: 64px;
  max-width: 768px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .booking-card { padding: 40px 24px; }
}

.aithra-btn,
.elementor-button.aithra-btn {
  background: var(--aegean) !important;
  color: var(--white) !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 16px 32px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  transition: background 0.3s ease !important;
}

.aithra-btn:hover,
.elementor-button.aithra-btn:hover {
  background: var(--ink) !important;
  color: var(--white) !important;
}

/* --- Footer --- */
.footer-logo-name {
  font-family: var(--font-serif);
  font-size: 24px;
  letter-spacing: 0.2em;
  font-weight: 300;
  text-transform: uppercase;
  color: var(--ink);
}

.footer-logo-sub {
  font-size: 9px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--stone-dark);
  margin-top: 6px;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.21, 0.47, 0.32, 0.98),
              transform 0.8s cubic-bezier(0.21, 0.47, 0.32, 0.98);
}

.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }

/* ============================================
   WORDPRESS / ELEMENTOR MISC
   ============================================ */
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); height: 1px;
  margin: -1px; overflow: hidden; padding: 0;
  position: absolute; width: 1px;
}

/* Push content below fixed header */
.elementor-section:first-of-type {
  margin-top: 0 !important;
}
