/* Thanet Rooms - colours and font matched to the live ramsgaterooms.co.uk site */

:root {
  --accent: #19806b;
  --accent-dark: #146656;
  --text-dark: #444444;
  --bg-dark: #333333;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Raleway', Arial, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3 {
  font-weight: 700;
  margin: 0 0 0.5em;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: inherit;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-header {
  background: var(--accent);
  color: var(--white);
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn-header:hover {
  background: var(--accent-dark);
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid #eee;
  padding: 18px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-family: 'Raleway', Arial, sans-serif;
  font-weight: 400;
  font-size: 1.9rem;
  text-transform: lowercase;
  text-decoration: none;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 3px;
}

.wordmark-box {
  font-weight: 800;
  color: var(--text-dark);
}

/* Hero */
.hero {
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
  padding: 120px 20px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.2em;
}

.hero-tagline {
  font-size: 1.3rem;
  margin: 0 0 1.5em;
}

/* Icon features strip */
.icon-features {
  padding: 50px 0;
  border-bottom: 1px solid #eee;
}

.icon-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.icon-feature {
  padding: 0 10px;
  border-left: 1px solid #ddd;
}

.icon-feature:first-child {
  border-left: none;
}

.icon-feature-label {
  font-size: 1.05rem;
  color: var(--text-dark);
}

/* Two-column features/utilities block */
.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.features-col {
  padding: 50px 40px;
  color: var(--white);
}

.features-col h2 {
  color: var(--white);
  font-size: 1.5rem;
}

.features-col-green {
  background: var(--accent);
}

.features-col-dark {
  background: var(--bg-dark);
}

.rule {
  border: none;
  border-top: 3px solid var(--white);
  width: 50px;
  margin: 0 0 1.5em;
}

.features-ul-2col {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 30px;
}

.features-ul-2col li {
  margin-bottom: 1em;
  break-inside: avoid;
}

/* Gallery */
.gallery {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 4px;
}

/* Area / about section */
.area {
  padding: 70px 0 20px;
  background: #f8f9fa;
}

.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.area-title {
  text-align: left;
  margin-bottom: 20px;
}

.area-text p {
  margin: 0 0 1.2em;
}

.area-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.area-photos img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 4px;
}

.area-credit {
  max-width: 1100px;
  margin: 24px auto 0;
  padding: 0 20px 30px;
  font-size: 0.75rem;
  color: #6b6b6b;
  text-align: right;
}

.area-credit a {
  color: #6b6b6b;
}

/* Final CTA */
.cta-final {
  background: var(--bg-dark);
  color: var(--white);
  text-align: center;
  padding: 70px 20px;
}

.cta-final h2 {
  color: var(--white);
  font-size: 2rem;
}

.cta-final p {
  margin-bottom: 1.5em;
  font-size: 1.1rem;
}

/* Footer - matches the live ramsgaterooms.co.uk footer (green background, white text/links) */
.site-footer {
  background: var(--accent);
  padding: 24px 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--white);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--white);
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 700px) {
  .wordmark {
    font-size: 1.5rem;
  }

  .btn-header {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .hero {
    padding: 80px 20px;
  }

  .hero h1 {
    font-size: 2.2rem;
    line-height: 1.15;
  }

  .site-footer p {
    line-height: 1.8;
  }

  .icon-features-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
  }

  .icon-feature {
    border-left: none;
  }

  .features-list {
    grid-template-columns: 1fr;
  }

  .features-ul-2col {
    columns: 1;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .area-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .area-title {
    text-align: center;
  }

  .area-credit {
    text-align: center;
  }
}

@media (max-width: 420px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .area-photos {
    grid-template-columns: 1fr;
  }
}
