/* ============================================
   Karelia Lodge - Styles
   ============================================ */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-text: #545454;
  --color-heading: #212121;
  --color-white: #fff;
  --color-black: #000;
  --color-gold: #ebbd50;
  --color-breadcrumb-bg: #6c7a87;
  --color-footer-bg: #303030;
  --color-footer-bottom-bg: #282828;
  --color-side-menu-bg: #303030;
  --color-border: #e5e5e5;
  --font-body: 'Nunito Sans', sans-serif;
  --font-heading: 'Nunito Sans', sans-serif;
  --transition: 0.3s ease;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--color-heading);
  line-height: 1.3;
}

/* ---------- Side Menu ---------- */
.side-menu {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100%;
  background: var(--color-side-menu-bg);
  z-index: 10000;
  transition: right 0.4s ease;
  overflow-y: auto;
}

.side-menu.open {
  right: 0;
}

.side-menu-close {
  text-align: right;
  padding: 15px 20px;
}

.side-menu-close-btn {
  color: #fff;
  font-size: 36px;
  text-decoration: none;
  line-height: 1;
}

.side-menu-close-btn:hover {
  color: var(--color-gold);
}

.side-menu-content {
  padding: 0 40px 40px;
}

.side-menu-info h4 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 10px;
  margin-top: 25px;
}

.side-menu-info p {
  color: #aaa;
  font-size: 14px;
  line-height: 1.8;
}

.side-menu-info a {
  color: #ccc;
}

.side-menu-info a:hover {
  color: var(--color-gold);
}

.side-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
}

.side-menu-overlay.open {
  display: block;
}

/* ---------- Top Bar ---------- */
.top-bar {
  background: rgb(108, 122, 135);
  font-size: 11px;
  color: #fff;
  padding: 0;
  height: 46px;
  line-height: 46px;
}

.top-bar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar a {
  color: #fff;
}

.top-bar a:hover {
  color: #49bcbf;
}

.top-bar i {
  margin-right: 5px;
  font-size: 11px;
}

/* ---------- Site Header ---------- */
.site-header {
  background: var(--color-white);
  position: relative;
  z-index: 100;
}

.logo-area {
  padding: 30px 0;
  text-align: center;
}

.logo-area-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 15px;
}

.logo-link {
  display: inline-block;
}

.logo-img {
  height: 60px;
  width: auto;
}

.menu-area {
  border-bottom: 1px solid var(--color-border);
}

.menu-area-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.menu-left,
.menu-right {
  width: 50px;
  display: flex;
  align-items: center;
}

.menu-right {
  justify-content: flex-end;
}

.menu-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.search-opener {
  color: var(--color-heading);
  font-size: 16px;
}

.search-opener:hover {
  color: var(--color-gold);
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-menu li a {
  display: block;
  padding: 18px 18px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-heading);
  position: relative;
  transition: color var(--transition);
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: var(--color-gold);
}

.nav-menu li a.active {
  border-bottom: 1px solid var(--color-gold);
}

.nav-menu li a i {
  margin-right: 5px;
}

/* Hamburger icon */
.hamburger-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  width: 22px;
}

.hamburger-icon span {
  display: block;
  height: 2px;
  background: var(--color-heading);
  transition: all var(--transition);
}

.side-menu-opener {
  display: flex;
  align-items: center;
}

.side-menu-opener:hover .hamburger-icon span {
  background: var(--color-gold);
}

/* ---------- Sticky Header ---------- */
.sticky-header {
  position: fixed;
  top: -80px;
  left: 0;
  right: 0;
  background: var(--color-white);
  z-index: 9000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: top 0.3s ease;
}

.sticky-header.visible {
  top: 0;
}

.sticky-header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.sticky-logo-img {
  height: 40px;
  width: auto;
}

.sticky-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.sticky-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.sticky-right .search-opener {
  font-size: 14px;
}

.sticky-right .hamburger-icon {
  width: 20px;
  gap: 4px;
}

.sticky-right .hamburger-icon span {
  height: 2px;
}

/* ---------- Mobile Header ---------- */
.mobile-header {
  display: none;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  z-index: 100;
}

.mobile-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
}

.mobile-menu-opener a {
  color: var(--color-heading);
}

.mobile-logo-img {
  height: 40px;
  width: auto;
}

.mobile-nav {
  display: none;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav ul {
  list-style: none;
}

.mobile-nav ul li a {
  display: block;
  padding: 12px 20px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-heading);
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav ul li a:hover,
.mobile-nav ul li a.active {
  color: var(--color-gold);
}

/* ---------- Hero Slider ---------- */
.hero-slider {
  position: relative;
  height: 700px;
  overflow: hidden;
}

.slider-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slider-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.slider-slide.active {
  opacity: 1;
}

.slider-bullets {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-bullet {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background var(--transition);
}

.slider-bullet.active {
  background: var(--color-white);
}

/* ---------- Intro Section (Home) ---------- */
.intro-section {
  padding: 80px 0;
  text-align: center;
  background: var(--color-white);
}

.intro-inner {
  max-width: 800px;
  margin: 0 auto;
}

.intro-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 400;
  color: var(--color-heading);
  line-height: 1.6;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.intro-text {
  font-size: 18px;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 30px;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all var(--transition);
  cursor: pointer;
}

.btn-solid {
  background: #32373c;
  color: var(--color-white);
  padding: 18px 50px;
  border: none;
  border-radius: 0;
}

.btn-solid:hover {
  background: var(--color-gold);
  color: var(--color-white);
}

.btn-outline {
  border-top: 1px solid #121212;
  border-bottom: 1px solid #121212;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
  color: #121212;
  padding: 13px 35px;
  background: transparent;
  border-radius: 0;
}

.btn-outline:hover {
  background: #212121;
  color: var(--color-white);
  border-color: #212121;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-icon i {
  font-size: 10px;
}

/* ---------- Parallax Divider ---------- */
.parallax-divider {
  height: 400px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* ---------- Split Section ---------- */
.split-section {
  display: flex;
  min-height: 500px;
}

.split-section-border {
  border-top: 1px solid var(--color-border);
}

.split-image {
  width: 42%;
  background-size: cover;
  background-position: center;
  min-height: 500px;
}

.split-content {
  width: 58%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7% 0%;
  text-align: center;
}

.split-content-inner {
  max-width: 80%;
}

.split-title {
  font-family: var(--font-body);
  font-size: 45px;
  font-weight: 300;
  color: var(--color-heading);
  margin-bottom: 20px;
  line-height: 1.3;
}

.title-before {
  font-weight: 700;
}

.split-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 30px;
}

.split-features {
  margin-bottom: 30px;
  display: flex;
  gap: 20px;
}

.split-feature {
  flex: 1;
  text-align: center;
  padding: 0 7%;
}

.split-feature h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 400;
  color: var(--color-heading);
  margin-bottom: 3px;
}

.split-feature p {
  font-size: 14px;
  color: var(--color-text);
}

/* ---------- Content Bottom CTA (Gold Bar) ---------- */
.content-bottom-cta {
  background: var(--color-gold);
  padding: 25px 0;
  text-align: center;
}

.content-bottom-cta h4 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  color: var(--color-white);
  margin: 0;
}

.content-bottom-cta a {
  color: var(--color-white);
}

.content-bottom-cta a:hover {
  color: var(--color-heading);
}

.content-bottom-cta i {
  margin-left: 8px;
  font-size: 14px;
}

/* ---------- Breadcrumb Bar ---------- */
.breadcrumb-bar {
  background: var(--color-breadcrumb-bg);
  padding: 15px 0;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-bar a {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-bar a:hover {
  color: var(--color-white);
}

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

.gallery-section-alt {
  background: #f9f9f9;
}

.gallery-section-title {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 400;
  color: var(--color-heading);
  text-align: center;
  margin-bottom: 20px;
}

.gallery-section-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 35px;
}

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

.gallery-item {
  display: block;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  opacity: 0.9;
}

/* ---------- Key Features Section ---------- */
.key-features-section {
  padding: 60px 0;
  background: var(--color-white);
}

.key-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.key-feature {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 25px;
  border-bottom: 1px solid var(--color-border);
}

.key-feature:nth-child(-n+3) {
  border-top: 1px solid var(--color-border);
}

.key-feature:nth-child(3n+1) {
  border-right: 1px solid var(--color-border);
}

.key-feature:nth-child(3n) {
  border-left: 1px solid var(--color-border);
}

.key-feature i {
  font-size: 24px;
  color: var(--color-gold);
  width: 30px;
  text-align: center;
  flex-shrink: 0;
}

.key-feature span {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-heading);
}

/* ---------- Nearby Section ---------- */
.nearby-section {
  padding: 60px 0;
  background: #f9f9f9;
}

.nearby-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.nearby-card {
  background: var(--color-white);
  overflow: hidden;
  text-align: center;
  transition: box-shadow var(--transition);
  display: block;
  color: inherit;
}

.nearby-card:hover {
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.nearby-card img {
  width: 125px;
  height: 125px;
  margin: 20px auto 0;
}

.nearby-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 400;
  color: var(--color-heading);
  padding: 15px 15px 5px;
}

.nearby-card p {
  font-size: 13px;
  color: var(--color-text);
  padding: 0 15px 20px;
}

/* ---------- Experience Packs Page ---------- */
.experience-title-section {
  padding: 60px 0 40px;
  text-align: center;
}

.experience-main-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 400;
  color: var(--color-heading);
  margin-bottom: 15px;
}

.experience-subtitle {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text);
  max-width: 700px;
  margin: 0 auto;
}

.experience-subtitle a {
  color: var(--color-heading);
  font-weight: 400;
}

.experience-subtitle a:hover {
  color: var(--color-gold);
}

.products-section {
  padding: 0 0 60px;
}

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

.product-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.product-image-link {
  display: block;
  overflow: hidden;
}

.product-image-link img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-image-link:hover img {
  transform: scale(1.05);
}

.product-info {
  padding: 25px;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 12px;
}

.product-title a {
  color: var(--color-heading);
}

.product-title a:hover {
  color: var(--color-gold);
}

.product-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 20px;
}

/* ---------- Contact Form ---------- */
.contact-form-section {
  padding: 60px 0;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-heading);
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  font-family: var(--font-body);
  font-size: 14px;
  border: 1px solid var(--color-border);
  outline: none;
  transition: border-color var(--transition);
  background: var(--color-white);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--color-gold);
}

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

.contact-form .hp-field {
  position: absolute;
  left: -9999px;
}

.form-status {
  font-size: 14px;
  margin-top: 10px;
  font-weight: 400;
}

.form-status.success {
  color: #27ae60;
}

.form-status.error {
  color: #e74c3c;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-footer-bg);
  color: #aaa;
}

.footer-top {
  padding: 50px 0 40px;
}

.footer-top-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-col {
  flex: 1;
}

.footer-col-left {
  text-align: left;
}

.footer-col-center {
  text-align: center;
}

.footer-col-right {
  text-align: right;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.8;
}

.footer-col a {
  color: #aaa;
}

.footer-col a:hover {
  color: var(--color-white);
}

.footer-logo {
  height: 50px;
  width: auto;
  margin: 0 auto 15px;
}

.footer-bottom {
  background: var(--color-footer-bottom-bg);
  padding: 20px 0;
}

.footer-bottom-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 15px;
  text-align: center;
}

.copyright {
  font-size: 12px;
  color: #777;
  line-height: 1.8;
}

.copyright a {
  color: #999;
}

.copyright a:hover {
  color: var(--color-white);
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--color-heading);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 8000;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--color-gold);
  color: var(--color-white);
}

/* ---------- Lightbox ---------- */
.lightbox-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 20000;
  align-items: center;
  justify-content: center;
}

.lightbox-overlay.open {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--color-white);
  font-size: 40px;
  text-decoration: none;
  z-index: 20001;
}

.lightbox-close:hover {
  color: var(--color-gold);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-white);
  font-size: 30px;
  padding: 20px;
  z-index: 20001;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover {
  color: var(--color-gold);
}

.lightbox-img {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .split-section {
    flex-direction: column;
  }

  .split-image {
    width: 100%;
    min-height: 350px;
  }

  .split-content {
    width: 100%;
    padding: 40px 30px;
  }

  .split-features {
    flex-direction: column;
  }

  .split-feature {
    padding: 0;
  }

  .gallery-grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }

  .key-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .key-feature:nth-child(-n+3) {
    border-top: none;
  }

  .key-feature:nth-child(-n+2) {
    border-top: 1px solid var(--color-border);
  }

  .key-feature:nth-child(3n+1) {
    border-right: none;
  }

  .key-feature:nth-child(3n) {
    border-left: none;
  }

  .key-feature:nth-child(odd) {
    border-right: 1px solid var(--color-border);
  }

  .nearby-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero-slider {
    height: 500px;
  }

  .parallax-divider {
    height: 300px;
    background-attachment: scroll;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .site-header {
    display: none;
  }

  .sticky-header {
    display: none !important;
  }

  .mobile-header {
    display: block;
  }

  .hero-slider {
    height: 400px;
  }

  .split-image {
    min-height: 250px;
  }

  .split-content {
    padding: 30px 20px;
  }

  .split-title {
    font-size: 28px;
  }

  .gallery-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .key-feature {
    border-right: none !important;
    border-left: none !important;
  }

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

  .footer-top-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer-col-left,
  .footer-col-right {
    text-align: center;
  }

  .intro-section {
    padding: 50px 0;
  }

  .intro-title {
    font-size: 20px;
  }

  .experience-main-title {
    font-size: 28px;
  }

  .parallax-divider {
    height: 200px;
    background-attachment: scroll;
  }

  .side-menu {
    width: 300px;
    right: -300px;
  }

  .gallery-section-title {
    font-size: 24px;
  }
}

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

  .hero-slider {
    height: 300px;
  }

  .container {
    padding: 0 10px;
  }
}
