
/* ============================================================
   Global — variables, reset, base elements
   ============================================================ */

:root {
  --bg:           #e4f0f6;
  --text:         #795548;
  --text-light:   #8d6e63;
  --accent:       #5b92b5;
  --accent-dark:  #3d6e8a;
  --white:        #ffffff;
  --radius:       8px;
  --max-width:    1100px;
  --gap:          2rem;
}

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

/* applied during window resize to prevent transition flicker at breakpoints */
.resize-no-transition * {
  transition: none !important;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.05rem;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-dark);
}

h1, h2, h3 {
  line-height: 1.3;
}

main h1 {
  padding-bottom: 1rem;
}

.btn-primary,
.btn-book {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background-color: var(--accent);
  color: var(--white);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: background-color 0.2s;
}

.btn-primary:hover,
.btn-book:hover {
  background-color: var(--accent-dark);
  color: var(--white);
}

/* ============================================================
   Components
   ============================================================ */


header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background-color: var(--white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  z-index: 10;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
}

.site-logo {
  height: 48px;
  width: auto;
}

.site-name {
  font-family: Georgia, serif;
  font-size: 1.1rem;
  font-weight: normal;
  color: var(--text);
}

header nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

header nav a {
  font-family: system-ui, sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
}

header nav a:hover {
  color: var(--accent);
}

header nav a.active {
  color: #5d4037;
  font-weight: 600;
}

/* ── Hamburger button ───────────────────────────────────────── */

.hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

/* overflow: hidden clips the oversized bars into a square.
   bars are width = 32 × √2 ≈ 46px so the 45° diagonal
   reaches exactly corner-to-corner of the 32×32 icon box. */
.hamburger-icon {
  position: relative;
  width: 32px;
  height: 32px;
  overflow: hidden;
}

.bar {
  position: absolute;
  left: 0;
  width: 46px;
  height: 2px;
  background-color: var(--text);
  border-radius: 99px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity  0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.bar-top {
  top: 0;
  transform-origin: 0% 50%;
}

.bar-mid {
  top: 15px;
  transform-origin: 16px 50%;
}

.bar-bot {
  top: 30px;
  transform-origin: 0% 50%;
}

.hamburger[aria-expanded="true"] .bar-top {
  transform: rotate(45deg);
}

.hamburger[aria-expanded="true"] .bar-mid {
  transform: rotate(45deg);
  opacity: 0;
}

.hamburger[aria-expanded="true"] .bar-bot {
  transform: rotate(-45deg);
}

/* ── Mobile nav ─────────────────────────────────────────────── */

@media (max-width: 700px) {
  .site-name {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  header nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: var(--white);
    padding: 1rem 2rem 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(-6px);
    visibility: hidden;
    pointer-events: none;
    transition: opacity    0.35s cubic-bezier(0.4, 0, 0.2, 1),
                transform  0.35s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0s    0.35s;
  }

  header nav.open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition: opacity    0.35s cubic-bezier(0.4, 0, 0.2, 1),
                transform  0.35s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0s;
  }

  header nav ul {
    flex-direction: column;
    gap: 0;
  }

  header nav li {
    border-top: 1px solid var(--text);
  }

  header nav li:last-child {
    border-bottom: 1px solid var(--text);
  }

  header nav a {
    display: block;
    padding: 0.85rem 0;
    font-size: 1.05rem;
  }
}



footer {
  padding: 2rem;
  background-color: var(--white);
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 0.75rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.social-logo {
  height: 28px;
  width: auto;
  display: block;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.social-links a:hover .social-logo {
  opacity: 1;
}

.copyright {
  font-size: 0.85rem;
  color: var(--text-light);
  font-family: system-ui, sans-serif;
}



.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: blur(4px);
  transform: scale(1.04);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 2rem;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
}

.hero-content h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.hero-intro {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.hero-sub {
  margin-bottom: 1.75rem;
  color: var(--text-light);
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  margin: 3rem 0;
  padding: 0 2rem;
}

.gallery-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.gallery-item img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
}

@media (min-width: 701px) {
  .gallery-item img {
    width: 220px;
    height: 220px;
  }
}



.about {
  max-width: var(--max-width);
  margin: 4rem auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.about-content {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 2.5rem;
  width: 100%;
  max-width: 900px;
}

.about-photo-wrap {
  width: 280px;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about-bio {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (max-width: 700px) {
  .about-content {
    flex-direction: column;
    align-items: center;
  }

  .about-photo-wrap {
    width: 100%;
    max-width: 320px;
    height: 280px;
  }
}



.services {
  max-width: var(--max-width);
  margin: 4rem auto;
  padding: 0 2rem;
}

.services h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
}

.service-card {
  flex: 1 1 320px;
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.07);
}

.service-card h2 {
  font-size: 1.4rem;
}

.service-card p {
  flex: 1;
  color: var(--text-light);
}



.contact {
  max-width: 600px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.contact h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-photo-wrap {
  width: 100%;
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
}

.contact-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.contact-form-wrap {
  display: flex;
  flex-direction: column;
}

.contact-intro {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-family: system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  padding: 0.65rem 0.85rem;
  border: 1px solid #c5bdb9;
  border-radius: var(--radius);
  background-color: var(--white);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent);
  border-color: transparent;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

