/*
Theme Name: SK Room Agent Child
Theme URI: https://example.com/
Description: Lightweight responsive child theme for Hello Elementor. Provides only a custom header and footer inspired by the SK Room Agent design.
Author: Bagus Web Solutions
Template: hello-elementor
Version: 1.1.0
Text Domain: sk-room-agent-child
Requires at least: 6.5
Requires PHP: 7.4
*/

:root {
  --sk-primary: #0F5C5E;
  --sk-primary-dark: #08494B;
  --sk-primary-deep: #063F41;
  --sk-secondary: #F4A621;
  --sk-secondary-hover: #DE9418;
  --sk-white: #FFFFFF;
  --sk-text: #102A2B;
  --sk-muted: #607071;
  --sk-border: #E4ECEC;
  --sk-surface: #F7FAFA;
  --sk-header-height: 72px;
  --sk-container: 1180px;
  --sk-shadow: 0 10px 30px rgba(15, 92, 94, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--sk-text); background: var(--sk-white); }
img { max-width: 100%; height: auto; }
a { color: inherit; }
.sk-site-main { min-height: 1px; }

/* =========================================================
   HEADER
   ========================================================= */
.sk-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid rgba(15,92,94,.08);
  transition: box-shadow .22s ease, background .22s ease;
}

.sk-site-header.is-scrolled {
  background: rgba(255,255,255,.995);
  box-shadow: var(--sk-shadow);
}

.sk-header-inner {
  width: min(var(--sk-container), calc(100% - 48px));
  min-height: var(--sk-header-height);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(230px,1fr) auto auto;
  align-items: center;
  gap: 32px;
}

.sk-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  width: fit-content;
  text-decoration: none;
}

.sk-brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  line-height: 0;
}

.sk-brand-logo-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 58px;
  max-height: 48px;
  object-fit: contain;
}

.sk-brand-mark {
  display: block;
  width: 48px;
  height: 44px;
  flex: 0 0 auto;
}

.sk-brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sk-brand-title {
  color: var(--sk-primary-deep);
  font-size: 17px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: .14em;
  white-space: nowrap;
}

.sk-brand-tagline {
  margin-top: 3px;
  color: var(--sk-muted);
  font-size: 8px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sk-primary-nav { justify-self: center; }
.sk-primary-nav ul,
.sk-fallback-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 31px;
}

.sk-primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #1B2626;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  transition: color .2s ease;
}

.sk-primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  border-radius: 999px;
  background: var(--sk-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}

.sk-primary-nav a:hover,
.sk-primary-nav a:focus-visible,
.sk-primary-nav .current-menu-item > a,
.sk-primary-nav .current_page_item > a { color: var(--sk-primary); }

.sk-primary-nav a:hover::after,
.sk-primary-nav a:focus-visible::after,
.sk-primary-nav .current-menu-item > a::after,
.sk-primary-nav .current_page_item > a::after { transform: scaleX(1); }

.sk-header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
}

.sk-whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  color: var(--sk-white);
  background: var(--sk-primary);
  box-shadow: 0 6px 18px rgba(15,92,94,.16);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.sk-whatsapp-button:hover,
.sk-whatsapp-button:focus-visible {
  color: var(--sk-white);
  background: var(--sk-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 9px 22px rgba(15,92,94,.22);
}

.sk-whatsapp-button.is-disabled { opacity: .72; pointer-events: none; }
.sk-whatsapp-button svg { width: 18px; height: 18px; flex: 0 0 auto; }

.sk-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--sk-border);
  border-radius: 9px;
  background: var(--sk-white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.sk-menu-toggle-box { width: 22px; display: grid; gap: 5px; }
.sk-menu-toggle-line {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--sk-primary-deep);
  transition: transform .22s ease, opacity .22s ease;
}

.sk-menu-toggle[aria-expanded="true"] .sk-menu-toggle-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sk-menu-toggle[aria-expanded="true"] .sk-menu-toggle-line:nth-child(2) { opacity: 0; }
.sk-menu-toggle[aria-expanded="true"] .sk-menu-toggle-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.sk-mobile-menu {
  display: none;
  border-top: 1px solid var(--sk-border);
  background: var(--sk-white);
  box-shadow: 0 18px 30px rgba(15,92,94,.10);
}
.sk-mobile-menu.is-open { display: block; }
.sk-mobile-menu-inner {
  width: min(var(--sk-container), calc(100% - 40px));
  margin: 0 auto;
  padding: 16px 0 20px;
}
.sk-mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.sk-mobile-menu a:not(.sk-whatsapp-button) {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--sk-text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
}
.sk-mobile-menu a:not(.sk-whatsapp-button):hover,
.sk-mobile-menu a:not(.sk-whatsapp-button):focus-visible,
.sk-mobile-menu .current-menu-item > a,
.sk-mobile-menu .current_page_item > a {
  color: var(--sk-primary);
  background: rgba(15,92,94,.07);
}
.sk-mobile-whatsapp { margin-top: 12px; }
.sk-mobile-whatsapp .sk-whatsapp-button { width: 100%; min-height: 48px; }

/* =========================================================
   FOOTER — CTA band intentionally removed.
   ========================================================= */
.sk-site-footer {
  color: var(--sk-white);
  background: var(--sk-primary-deep);
}

.sk-footer-main {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% -20%, rgba(244,166,33,.10), transparent 34%),
    linear-gradient(135deg, #063F41 0%, #075052 100%);
}

.sk-footer-main::after {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -160px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.05);
  box-shadow: 0 0 0 48px rgba(255,255,255,.012), 0 0 0 95px rgba(255,255,255,.009);
  pointer-events: none;
}

.sk-footer-main-inner {
  position: relative;
  z-index: 1;
  width: min(var(--sk-container), calc(100% - 48px));
  margin: 0 auto;
  padding: 46px 0 32px;
  display: grid;
  grid-template-columns: minmax(280px,1.45fr) minmax(150px,.8fr) minmax(220px,1fr);
  gap: 54px;
}

.sk-footer-brand-link { color: var(--sk-white); }
.sk-footer-brand .sk-brand-title { color: var(--sk-white); }
.sk-footer-brand .sk-brand-tagline { color: rgba(255,255,255,.62); }
.sk-footer-brand .sk-brand-logo-image { filter: none; }

.sk-footer-about {
  margin: 17px 0 0;
  max-width: 390px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  line-height: 1.7;
}

.sk-footer-heading {
  margin: 0 0 15px;
  color: var(--sk-secondary);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sk-footer-nav ul,
.sk-footer-nav .sk-fallback-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.sk-footer-nav a,
.sk-footer-contact a {
  color: rgba(255,255,255,.82);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.5;
  transition: color .2s ease;
}
.sk-footer-nav a:hover,
.sk-footer-nav a:focus-visible,
.sk-footer-contact a:hover,
.sk-footer-contact a:focus-visible { color: var(--sk-secondary); }

.sk-footer-contact { display: grid; gap: 11px; }
.sk-footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: rgba(255,255,255,.82);
  font-size: 13px;
  line-height: 1.5;
  min-width: 0;
}
.sk-footer-contact-row svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--sk-secondary);
}
.sk-footer-contact-row a,
.sk-footer-contact-row span { overflow-wrap: anywhere; }

.sk-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  background: #05383A;
}
.sk-footer-bottom-inner {
  width: min(var(--sk-container), calc(100% - 48px));
  min-height: 54px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255,255,255,.58);
  font-size: 12px;
}

/* =========================================================
   TABLET
   ========================================================= */
@media (max-width: 1024px) {
  .sk-header-inner {
    width: min(var(--sk-container), calc(100% - 36px));
    grid-template-columns: minmax(0,1fr) auto;
    gap: 20px;
  }
  .sk-primary-nav,
  .sk-header-actions > .sk-whatsapp-button { display: none; }
  .sk-menu-toggle { display: inline-flex; }

  .sk-footer-main-inner,
  .sk-footer-bottom-inner { width: min(var(--sk-container), calc(100% - 36px)); }
  .sk-footer-main-inner {
    grid-template-columns: 1.25fr .72fr 1fr;
    gap: 34px;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 767px) {
  :root { --sk-header-height: 64px; }

  .sk-header-inner {
    width: calc(100% - 28px);
    min-height: var(--sk-header-height);
  }
  .sk-brand { gap: 9px; }
  .sk-brand-logo-image { max-width: 48px; max-height: 42px; }
  .sk-brand-mark { width: 40px; height: 37px; }
  .sk-brand-title { font-size: 14px; letter-spacing: .11em; }
  .sk-brand-tagline { font-size: 7px; letter-spacing: .12em; }
  .sk-mobile-menu-inner { width: calc(100% - 28px); }

  .sk-footer-main-inner {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 38px 0 28px;
  }
  .sk-footer-about { max-width: 100%; }

  .sk-footer-bottom-inner {
    width: calc(100% - 32px);
    min-height: 0;
    padding: 18px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */
@media (max-width: 390px) {
  .sk-header-inner { width: calc(100% - 22px); }
  .sk-brand { gap: 7px; }
  .sk-brand-logo-image { max-width: 42px; max-height: 38px; }
  .sk-brand-mark { width: 36px; height: 34px; }
  .sk-brand-title { font-size: 12px; letter-spacing: .07em; }
  .sk-brand-tagline { display: none; }
  .sk-menu-toggle { width: 42px; height: 42px; }
  .sk-footer-main-inner,
  .sk-footer-bottom-inner { width: calc(100% - 26px); }
}
