/* ============================================================
   Clydfan Cottage – Clean Theme
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Ubuntu', Helvetica, Arial, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  color: #29292B;
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #FF0080; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #29292B; }
hr { border: none; border-top: 1px solid #ddd; margin: 1.5em 0; }

/* --- Layout --- */
.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 10%;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 400;
  line-height: 1.3;
  color: #29292B;
}
h1 { font-size: 1.8rem; margin-bottom: 0.5em; }
h2 { font-size: 1.4rem; margin-bottom: 0.5em; }
h3 { font-size: 1.15rem; margin-bottom: 0.4em; }
h4 { font-size: 1rem; margin-bottom: 0.3em; }
p { margin-bottom: 1em; }

/* --- Screen Reader --- */
.screen-reader-text {
  clip: rect(1px,1px,1px,1px);
  position: absolute;
  height: 1px; width: 1px;
  overflow: hidden;
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  background: #29292B;
  border-bottom: none;
}
.custom-header {
  padding: 1em 0;
}
.site-branding .wrap {
  display: flex;
  align-items: center;
  gap: 1em;
}
.custom-logo-link { flex-shrink: 0; }
.custom-logo {
  width: 80px;
  height: auto;
  display: block;
}
.site-branding-text { flex: 1; }
.site-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 400;
  margin: 0;
  line-height: 1.2;
}
.site-title a { color: #fff; }
.site-title a:hover { color: #FF0080; }
.site-description {
  font-family: 'Ubuntu', Helvetica, Arial, sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  margin: 0.2em 0 0;
}

/* Book button in header */
.header-book-btn {
  margin-left: auto;
  flex-shrink: 0;
  background: #FF0080;
  color: #fff;
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 5px;
  white-space: nowrap;
  transition: background-color 0.2s;
}
.header-book-btn:hover,
.header-book-btn:focus {
  background: #29292B;
  color: #fff;
}

/* ============================================================
   Navigation
   ============================================================ */
.navigation-top {
  background: #29292B;
}
.navigation-top .wrap {
  padding: 0;
}
.main-navigation ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}
.main-navigation li {
  position: relative;
}
.main-navigation a {
  display: block;
  padding: 0.8em 3em;
  color: #fff;
  font-family: 'Ubuntu', Helvetica, Arial, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 0.2s;
}
.main-navigation a:hover,
.main-navigation a:focus {
  background: #FF0080;
  color: #fff;
}

/* Dropdown */
.main-navigation .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #29292B;
  min-width: 200px;
  z-index: 100;
  list-style: none;
  padding: 0;
}
.main-navigation li:hover > .sub-menu {
  display: block;
}
.main-navigation .sub-menu a {
  padding: 0.6em 1.2em;
  font-size: 0.75rem;
}

/* Dropdown arrow icon */
.icon-angle-down {
  width: 0.8em;
  height: 0.8em;
  margin-left: 0.3em;
  vertical-align: middle;
  fill: currentColor;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-family: 'Ubuntu', Helvetica, Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.8em 1.2em;
  cursor: pointer;
  width: 100%;
  text-align: left;
}
.menu-toggle .icon-bars { fill: #fff; width: 1em; height: 1em; margin-right: 0.4em; vertical-align: middle; }
.menu-toggle .icon-close { display: none; fill: #fff; width: 1em; height: 1em; margin-right: 0.4em; vertical-align: middle; }
.main-navigation.toggled .menu-toggle .icon-bars { display: none; }
.main-navigation.toggled .menu-toggle .icon-close { display: inline; }

/* ============================================================
   Content Area
   ============================================================ */
.site-content {
  padding: 1.5em 0 0;
  background: #fff;
}
.entry-header {
  margin-bottom: 1em;
}
.entry-title {
  font-size: 1.6rem;
  text-align: center;
}
.entry-content {
  max-width: 800px;
  margin: 0 auto;
}

/* ============================================================
   Home Page Panels
   ============================================================ */
.panel-image {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.panel-image-prop {
  padding-top: 60%;
}
.panel-content {
  padding: 2em 0;
}
.panel-content .entry-content {
  text-align: center;
}

/* ============================================================
   Image Slider (Flexslider)
   ============================================================ */
.flexslider {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}
.flexslider .slides {
  list-style: none;
  margin: 0;
  padding: 0;
}
.flexslider .slides li {
  position: relative;
}
.flexslider .slides img {
  width: 100%;
  display: block;
}
.flex-direction-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}
.flex-direction-nav a {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.5);
  color: #fff;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-size: 1.4rem;
  border-radius: 50%;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  opacity: 0;
  transition: opacity 0.3s, background 0.2s;
}
.flexslider:hover .flex-direction-nav a {
  opacity: 1;
}
.flex-direction-nav a:hover { background: rgba(0,0,0,0.8); color: #fff; }
.flex-direction-nav .flex-prev { left: 15px; }
.flex-direction-nav .flex-next { right: 15px; }
.flex-control-nav {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  text-align: center;
  padding: 0;
  list-style: none;
  margin: 0;
  z-index: 10;
}
.flex-control-nav li { display: inline-block; margin: 0 4px; }
.flex-control-nav a {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  text-indent: -9999px;
  cursor: pointer;
  transition: background 0.2s;
}
.flex-control-nav a.flex-active,
.flex-control-nav a:hover { background: #fff; }

/* Metaslider compatibility */
.metaslider { margin: 0 auto; }
.metaslider ul { list-style: none; margin: 0; padding: 0; }

/* ============================================================
   Contact Form
   ============================================================ */
.enquiry-intro {
  max-width: 600px;
  margin: 0 auto 1.5em;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #555;
}
.enquiry-intro p { margin: 0; }

.contact-form {
  max-width: 600px;
  margin: 0 auto 2em;
}
.contact-form label {
  display: block;
  font-family: 'Ubuntu', Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.3em;
  color: #29292B;
}
.contact-form .form-row {
  display: flex;
  gap: 1em;
}
.contact-form .form-field { flex: 1; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: 'Ubuntu', Helvetica, Arial, sans-serif;
  font-size: 1rem;
  color: #29292B;
  background: #fff;
  transition: border-color 0.2s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #aaa; }
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: #FF0080;
}
.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}
.contact-form button[type="submit"] {
  display: inline-block;
  background: #FF0080;
  color: #fff;
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 32px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s;
}
.contact-form button:hover,
.contact-form button:focus {
  background: #29292B;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: #29292B;
  color: #aaa;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.8em;
  padding: 1.5em 0;
}
.footer-info p { margin: 0 0 0.3em; font-size: 0.9rem; }
.footer-copy { font-size: 0.8rem; }

/* Social icons */
.social-links-menu {
  list-style: none;
  display: flex;
  gap: 1em;
  margin: 0;
  padding: 0;
}
.social-links-menu a {
  color: #aaa;
  transition: color 0.2s;
}
.social-links-menu a:hover { color: #FF0080; }
.social-links-menu svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* ============================================================
   Icons Row (Home & About pages)
   ============================================================ */
.alignnone { display: inline-block; vertical-align: middle; }

/* ============================================================
   Reviews
   ============================================================ */
.entry-content h3 { margin-top: 0.5em; }

/* ============================================================
   Responsive
   ============================================================ */
@media screen and (max-width: 767px) {
  /* Gutters */
  .wrap {
    padding: 0 5%;
  }

  /* Header */
  .site-branding .wrap {
    flex-wrap: wrap;
  }
  .header-book-btn {
    margin: 0.5em auto 0;
    font-size: 0.8rem;
    padding: 8px 20px;
  }
  .custom-logo {
    width: 60px;
    height: 60px;
  }
  .site-title { font-size: 1.2rem; }

  /* Navigation - mobile */
  .menu-toggle { display: none; }
  .main-navigation ul { display: flex; flex-wrap: wrap; justify-content: center; }
  .main-navigation a {
    padding: 0.5em 0.8em;
    font-size: 0.7rem;
  }

  /* Content */
  .entry-content { padding: 0 0.5em; }

  /* Form */
  .contact-form .form-row {
    flex-direction: column;
    gap: 0;
  }
  .contact-form textarea {
    min-height: 100px;
  }
  .contact-form button[type="submit"] {
    font-size: 0.85rem;
    padding: 10px 24px;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1em;
  }

  /* Panels */
  .panel-image-prop { padding-top: 75% !important; }

  /* Hero */
  .hero-desktop {
    display: none !important;
  }
  .hero-mobile {
    display: block !important;
  }
  .hero-mobile .navigation-top {
    background: #29292B;
  }
  .hero-mobile .main-navigation ul {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: space-evenly !important;
    width: 100%;
  }
  .hero-mobile .menu-item-book {
    margin-left: 0 !important;
  }
  .hero-mobile .main-navigation a {
    padding: 0.5em 0.8em;
    font-size: 0.7rem;
  }
  .hero-mobile .menu-toggle {
    display: none;
  }
  .hero-mobile .site-header--hero {
    display: none;
  }
  .hero-mobile-header {
    display: flex;
    align-items: center;
    gap: 0.8em;
    background: #29292B;
    padding: 0.6em 1em;
  }
  .hero-mobile-logo {
    height: 40px;
    width: auto;
  }
  .hero-mobile-title {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 1rem;
    color: #fff;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .hero-mobile-desc {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.8);
  }
}

@media screen and (max-width: 480px) {
  .site-title { font-size: 1rem; }
  .site-description { font-size: 0.75rem; }
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.2rem; }
}

/* ============================================================
   FAQ Collapsible Sections
   ============================================================ */
details {
  margin-bottom: 0.5em;
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 0;
  background: #fafafa;
}
details summary {
  padding: 0.8em 1em;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 2em;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: '+';
  position: absolute;
  right: 1em;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: #999;
  transition: transform 0.2s;
}
details[open] summary::after {
  content: '−';
  color: #FF0080;
}
details > *:not(summary) {
  padding: 0 1em 0.8em;
}

/* ============================================================
   Review Cards
   ============================================================ */
.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2em;
  max-width: 800px;
  margin: 1.5em auto;
}
.review-card {
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 1.2em 1.4em;
  background: #fafafa;
}
.review-quote {
  font-style: italic;
  line-height: 1.5;
  margin: 0 0 0.6em;
  color: #333;
}
.review-author {
  font-weight: 600;
  font-size: 0.9rem;
  color: #FF0080;
  margin: 0;
}

@media screen and (max-width: 767px) {
  .review-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   FAQ Cards
   ============================================================ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2em;
  max-width: 800px;
  margin: 1.5em auto;
}
.faq-card {
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 1.2em 1.4em;
  background: #fff;
}
.faq-card h3 {
  font-size: 1rem;
  color: #FF0080;
  margin: 0 0 0.8em;
}
.faq-card details {
  border-color: #e8e8e8;
  background: #fafafa;
}
.faq-card details:last-of-type {
  margin-bottom: 0;
}

@media screen and (max-width: 767px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Nav Book Button
   ============================================================ */
.menu-item-book {
  margin-left: auto;
}
.menu-item-book a {
  background: #FF0080;
  border-radius: 4px;
  margin: 0.4em 0.5em;
  padding: 0.5em 1.2em !important;
  font-weight: 600;
}
.menu-item-book a:hover,
.menu-item-book a:focus {
  background: #fff;
  color: #FF0080;
}

/* ============================================================
   Hero (Homepage)
   ============================================================ */
/* Desktop hero */
.hero-desktop {
  position: relative;
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.5) 0%,
    rgba(0,0,0,0.1) 40%,
    rgba(0,0,0,0.15) 100%
  );
  z-index: 1;
}

/* Mobile hero */
.hero-mobile {
  display: none;
}
.hero-mobile-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Hero header overrides */
.site-header--hero {
  position: relative;
  z-index: 10;
  background: transparent;
}
.site-header--hero .site-title a {
  color: #fff;
}
.site-header--hero .site-description {
  color: rgba(255,255,255,0.7);
}
.site-header--hero .custom-logo {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

/* Hero nav overrides */
.hero-desktop .navigation-top {
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  z-index: 10;
  position: relative;
}


/* ============================================================
   Directions Map
   ============================================================ */
.map-embed {
  width: 100%;
  line-height: 0;
}
.map-embed iframe {
  width: 100%;
  height: 450px;
  border: 0;
}
@media screen and (max-width: 767px) {
  .map-embed iframe {
    height: 300px;
  }
}


/* ============================================================
   Nav Icons
   ============================================================ */
.nav-icon {
  width: 1.1em;
  height: 1.1em;
  vertical-align: middle;
  display: inline-block;
}
.nav-icon-label {
  display: none;
}
@media screen and (max-width: 767px) {
  .main-navigation .menu-item:not(.menu-item-book) a {
    padding: 0.8em 1.8em;
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav-icon {
    width: 1.8em;
    height: 1.8em;
  }
}
@media screen and (min-width: 768px) {
  .nav-icon-label {
    display: inline;
    margin-left: 0.3em;
  }
}


/* ============================================================
   Photo Gallery
   ============================================================ */
.photo-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px;
  max-width: 1200px;
  margin: 0 auto;
}
.photo-gallery img,
.photo-gallery iframe {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: opacity 0.2s;
}
.photo-gallery iframe {
  aspect-ratio: 1/1;
  min-height: 250px;
}
.photo-gallery img:hover {
  opacity: 0.85;
}
.video-embed {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  max-width: 1200px;
  margin: 1em auto 2em;
}
.video-embed iframe {
  width: 100%;
  height: 300px;
}
@media screen and (max-width: 767px) {
  .video-embed {
    grid-template-columns: 1fr;
  }
}
@media screen and (max-width: 767px) {
  .photo-gallery {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}


/* ============================================================
   Homepage Features Grid
   ============================================================ */
.features-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2em 3em;
  padding: 2em 1em;
  max-width: 900px;
  margin: 0 auto;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
}
.feature-icon {
  width: 2.5em;
  height: 2.5em;
  color: #FF0080;
}
.feature-label {
  font-family: 'Ubuntu', Helvetica, Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #555;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5em 1em;
    padding: 1.5em 0.5em;
  }
  .feature-icon {
    width: 2em;
    height: 2em;
  }
  .feature-label {
    font-size: 0.9rem;
  }
}


/* ============================================================
   Hero Tagline Overlay
   ============================================================ */
.hero-tagline {
  position: absolute;
  top: 140px;
  left: 0;
  right: 0;
  z-index: 10;
  text-align: center;
  font-family: 'Ubuntu', Helvetica, Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 300;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  padding: 0 1em;
}
.hero-mobile-image-wrap {
  position: relative;
}
.hero-mobile-image-wrap .hero-tagline {
  top: 0.8em;
  font-size: 1.3rem;
}

.home-description {
  text-align: center;
  max-width: 640px;
  margin: 1.5em auto 2em;
  font-family: 'Ubuntu', Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  padding: 0 1em;
}
