/*
Theme Name: Krevataki Mou
Theme URI: https://example.com/krevataki-mou
Author: Victoria
Author URI: https://example.com
Description: Custom theme for Krevataki Mou – beach sunbed rentals.
Version: 1.0
Text Domain: krevataki-mou
*/

/* Google Fonts:
   - Quicksand: hero title (Rent. Relax. Review. Repeat.)
   - National Park: main body text
   - Capriola: headings, nav & UI labels
*/
@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=National+Park:wght@200..800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Architects+Daughter&family=Capriola&display=swap");

/* Capriola regular utility class (used for logo text) */
.capriola-regular {
  font-family: "Capriola", sans-serif;
  font-weight: 400;
  font-style: normal;
}

:root {
  --km-blue: #28a4ff;
  --km-blue-dark: #1E81CE; /* softer, beachy navbar blue */
  --km-white: #ffffff;
  --km-text: #102026;
  --km-bg: #f5f7fb;
}

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

/* Base body text = National Park */
body {
  margin: 0;
  font-family: "National Park", sans-serif;
  font-style: normal;
  color: var(--km-text);
  background: var(--km-bg);
}

/* Make all controls inherit the main font */
button,
input,
select,
textarea {
  font-family: inherit;
}

/* Headings + branding = Capriola */
h1,
h2,
h3,
h4,
h5,
h6,
.km-nav__brand {
  font-family: "Capriola", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* ---------- NAVBAR ---------- */

.km-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 5vw;
  transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

/* Align menu links nicely */
.km-nav__nav ul > li > a {
  display: inline-flex;
  align-items: center;
}

/* Logo style + vertical alignment to match menu items */
.km-nav__brand {
  display: inline-flex;
  align-items: center;
  font-size: 1.6rem;          /* logo size */
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  padding-top: 25px;          /* match menu items */
  padding-bottom: 4px;        /* match menu items */
}

.km-nav__brand a {
  text-decoration: none;
  color: inherit;
}

/* --- FORCE NAV MENU HORIZONTAL --- */
.km-nav__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 24px;
  align-items: center;
}

.km-nav__nav ul > li {
  display: inline-flex;
  align-items: center;
}

.km-nav__nav ul > li > a {
  text-decoration: none;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-top: 25px;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  color: inherit;
  font-family: "Capriola", sans-serif;
}

/* Transparent on home, white text */
.km-nav--transparent {
  background: transparent;
  color: var(--km-white);
}

.km-nav--transparent .km-nav__brand a,
.km-nav--transparent .km-nav__nav a {
  color: #ffffff !important;
}

/* Solid for inner pages AND scrolled state */
.km-nav--solid,
.km-nav--scrolled {
  background: var(--km-blue-dark);
  color: var(--km-white);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.km-nav--solid .km-nav__brand a,
.km-nav--solid .km-nav__nav a,
.km-nav--scrolled .km-nav__brand a,
.km-nav--scrolled .km-nav__nav a {
  color: var(--km-white);
}

/* Underline for current page */
.km-nav__menu .current-menu-item > a,
.km-nav__menu .current_page_item > a {
/*   border-bottom-color: var(--km-blue-dark); */
	 border-bottom-color: var(--km-white);

}

/* ---------- HERO ---------- */

.km-hero {
  position: relative;
  min-height: 100vh;
  color: var(--km-white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.km-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.km-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1;
}

.km-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 960px;
  padding: 0 1.5rem;
  color: var(--km-white);
}

.km-hero__title {
  font-family: "Quicksand", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif !important;
  font-size: clamp(2.4rem, 4vw + 1rem, 3.8rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  line-height: 1.3;
}

/* ---------- HERO SEARCH BAR ---------- */

.km-hero-search {
  max-width: 1100px;
  margin: 1.75rem auto 0;
}

.km-hero-search__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 18px 24px;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
}

.km-hero-search__field {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.km-hero-search__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
}

.km-hero-search__field-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
}

.km-hero-search__label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #9aa3b5;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: left;
  font-family: "Capriola", sans-serif;
}

.km-hero-search__select,
.km-hero-search__date {
  border: none;
  outline: none;
  background: transparent;
  font-size: 1rem;
  color: #263238;
  width: 100%;
}

.km-hero-search__select:focus,
.km-hero-search__date:focus {
  outline: none;
}

.km-hero-search__divider {
  width: 1px;
  height: 40px;
  background: rgba(0, 0, 0, 0.06);
}

.km-hero-search__submit {
  border: none;
  border-radius: 999px;
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(90deg, #2c7cd9, #2fa3e8);
  color: #ffffff;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  font-family: "Capriola", sans-serif;
}

.km-hero-search__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  opacity: 0.95;
}

/* ---------- GENERIC BUTTON ---------- */

.km-btn-primary {
  border-radius: 999px;
  border: 2px solid transparent;
  padding: 12px 28px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  cursor: pointer;
  background: var(--km-blue);
  color: var(--km-white);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  font-family: "Capriola", sans-serif;
}

.km-btn-primary:hover {
  background: var(--km-blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

/* ---------- PAGE ---------- */

.km-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 120px 1.5rem 64px;
}

/* ---------- 🌊 BREADCRUMBS (NEW) ---------- */

.km-breadcrumbs {
  font-family: "Capriola", sans-serif;
  font-size: 0.9rem;
  margin-bottom: 20px;
  color: #6b7a84;
  display: block;
}

.km-breadcrumbs a {
  color: var(--km-blue-dark);
  text-decoration: none;
}

.km-breadcrumbs a:hover {
  text-decoration: underline;
}

.km-breadcrumbs span {
  margin: 0 6px;
  color: #94a3b8;
}

/* ---------- FOOTER ---------- */

.km-footer {
  padding: 32px 5vw 24px;
  text-align: center;
  font-size: 0.85rem;
  color: #6b7a84;
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 720px) {
  .km-nav {
    padding-inline: 4vw;
  }

  .km-nav__menu {
    gap: 16px;
    font-size: 0.85rem;
  }

  .km-hero__title {
    letter-spacing: 0.16em;
  }

  .km-hero-search__inner {
    flex-direction: column;
    align-items: stretch;
    border-radius: 24px;
  }

  .km-hero-search__divider {
    display: none;
  }

  .km-hero-search__submit {
    width: 100%;
    text-align: center;
  }
}
