/*!
 * Mykonos reskin for the Holleta theme.
 * Physiotherapy / kinesiotherapy practice, Patras, Greece.
 * Crisp whitewash + Aegean blue, sun-washed accents. Styling only —
 * no content, markup, pages or menus are changed by this file.
 *
 * Loaded via holleta_scripts() in functions.php, after css/main.css, so these
 * rules win the cascade without needing !important.
 */

/* =========================================================================
   Design tokens
   ========================================================================= */
:root {
  --myk-blue: #1E6FB5;        /* primary Aegean blue */
  --myk-blue-deep: #0B4F8A;   /* hover / deep sea */
  --myk-blue-soft: #DCEEF8;   /* sky tint, soft sections */
  --myk-blue-line: #C7E2F2;   /* hairlines on tinted bg */
  --myk-white: #FFFFFF;       /* whitewash */
  --myk-paper: #F7FAFC;       /* off-white page bg */
  --myk-ink: #1B2A38;         /* body ink */
  --myk-ink-soft: #51606C;    /* muted text */
  --myk-sun: #E8B04B;         /* sun accent, used sparingly */
  --myk-line: #E4EBF1;        /* neutral hairline */
  --myk-radius: 14px;
  --myk-radius-pill: 999px;
  --myk-shadow: 0 12px 30px -12px rgba(11, 79, 138, 0.28);
  --myk-shadow-sm: 0 6px 16px -10px rgba(11, 79, 138, 0.30);
}

/* -------------------------------------------------------------------------
   Base canvas
   ------------------------------------------------------------------------- */
body {
  background-color: var(--myk-paper);
  color: var(--myk-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#page {
  background-color: var(--myk-paper) !important; /* overrides inline bg_color rule from header.php */
}

a {
  color: var(--myk-blue);
  transition: color 0.18s ease;
}

a:hover,
a:focus {
  color: var(--myk-blue-deep);
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  color: var(--myk-ink);
  letter-spacing: -0.01em;
}

::selection {
  background: var(--myk-blue);
  color: #fff;
}

/* -------------------------------------------------------------------------
   Header
   ------------------------------------------------------------------------- */
.site-header {
  background-color: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--myk-line);
  box-shadow: 0 2px 18px -14px rgba(11, 79, 138, 0.5);
}

.site-header .header-top {
  background-color: var(--myk-blue);
  color: #fff;
}

.site-header .header-top a,
.site-header .header-top .right {
  color: #fff;
}

.site-header .header-top a:hover {
  color: var(--myk-blue-soft);
}

/* Navigation links */
.navigation .menu > li > a,
.navigation .menu > li > a span {
  color: var(--myk-ink);
  font-weight: 600;
}

.navigation .menu > li > a:hover span,
.navigation .menu > li.current-menu-item > a span {
  color: var(--myk-blue);
}

/* Animated underline on nav items */
.navigation .menu > li > a span {
  position: relative;
}

.navigation .menu > li > a span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--myk-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.navigation .menu > li > a:hover span::after,
.navigation .menu > li.current-menu-item > a span::after {
  transform: scaleX(1);
}

/* Hamburger / sidebar toggles */
.nav-butter span,
.sidebar-butter span {
  background-color: var(--myk-blue);
}

/* -------------------------------------------------------------------------
   Buttons & calls to action
   ------------------------------------------------------------------------- */
.btn,
button,
input[type="button"],
input[type="submit"],
.wp-block-button__link,
.yprm-button,
a.button,
.button {
  background-color: var(--myk-blue);
  color: #fff;
  border: none;
  border-radius: var(--myk-radius-pill);
  box-shadow: var(--myk-shadow-sm);
  transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover,
button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover,
.yprm-button:hover,
a.button:hover,
.button:hover {
  background-color: var(--myk-blue-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--myk-shadow);
}

/* Secondary / outline buttons */
.btn.btn-outline,
.button.alt-outline {
  background: transparent;
  color: var(--myk-blue);
  box-shadow: inset 0 0 0 2px var(--myk-blue);
}

.btn.btn-outline:hover,
.button.alt-outline:hover {
  background: var(--myk-blue);
  color: #fff;
}

/* -------------------------------------------------------------------------
   Forms (contact / search)
   ------------------------------------------------------------------------- */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="number"],
input[type="password"],
textarea,
select,
.wpcf7-form-control {
  background: #fff;
  border: 1px solid var(--myk-line);
  border-radius: 10px;
  color: var(--myk-ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus,
.wpcf7-form-control:focus {
  border-color: var(--myk-blue);
  box-shadow: 0 0 0 3px var(--myk-blue-soft);
  outline: none;
}

/* -------------------------------------------------------------------------
   Sections, cards, and surfaces
   ------------------------------------------------------------------------- */
.widget,
.card,
.post-card {
  border-radius: var(--myk-radius);
}

.entry-content blockquote {
  border-left: 4px solid var(--myk-blue);
  background: var(--myk-blue-soft);
  padding: 18px 22px;
  color: var(--myk-ink);
  border-radius: var(--myk-radius);
}

/* Soft sky section helper — add class "myk-soft" to a row/section in the editor */
.myk-soft {
  background: var(--myk-blue-soft);
  border-top: 1px solid var(--myk-blue-line);
  border-bottom: 1px solid var(--myk-blue-line);
}

/* Soften the theme's dark dividers */
hr,
.divider {
  border-color: var(--myk-line);
  background: var(--myk-line);
}

/* -------------------------------------------------------------------------
   Hero / banner — keep overlay text readable
   ------------------------------------------------------------------------- */
.page-header .title,
.hero .title {
  color: #fff;
}

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--myk-ink);
  color: #B9C6D2;
}

.site-footer a {
  color: #DCEEF8;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer .widget-title,
.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6 {
  color: #fff;
}

.site-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  color: #8A9AA8;
}

/* -------------------------------------------------------------------------
   Misc accents
   ------------------------------------------------------------------------- */
.scroll-to-top,
.scroll-top {
  background-color: var(--myk-blue);
  color: #fff;
}

.tagcloud a,
.tags a {
  border: 1px solid var(--myk-line);
  border-radius: var(--myk-radius-pill);
  color: var(--myk-ink-soft);
}

.tagcloud a:hover,
.tags a:hover {
  background: var(--myk-blue);
  color: #fff;
  border-color: var(--myk-blue);
}

/* Magic cursor accent (parent uses a custom cursor) */
.mouse-cursor.cursor-inner {
  background-color: var(--myk-blue);
}

.mouse-cursor.cursor-outer {
  border-color: var(--myk-blue);
}
