/* ?? Cedar Backgrounds */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: url('/images/cedar-desktop.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #fff;
}

@media (max-width: 800px) {
  body {
    background: url('/images/cedar-tablet.jpg') no-repeat center center fixed;
    background-size: cover;
  }
}

@media (max-width: 500px) {
  body {
    background: url('/images/cedar-mobile.jpg') no-repeat center center fixed;
    background-size: cover;
  }
}

/* ?? Header Layout */
header {
  background: rgba(0, 0, 0, 0.6);
  padding: 1em 0;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1em;
}

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

/* ?? Link Styling */
a {
  color: #f5f5f5;
  text-decoration: none;
}

a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.cedar a {
  color: #ffefc2; /* warm, light tone */
  text-decoration: underline;
  font-weight: 500;
}

.cedar a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ??? Desktop Navigation */
.desktop-nav {
  display: flex;
}

.desktop-nav ul {
  display: flex;
  gap: 1em;
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

/* ?? Burger Icon (Mobile Only) */
.burger {
  display: none;
}

.burger-icon {
  height: 32px;
  width: 32px;
  cursor: pointer;
}

/* ?? Mobile Navigation */
.mobile-nav {
  display: none;
}

#mobile-nav-links {
  display: none;
  list-style: none;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.8);
  position: absolute;
  top: 4em;
  right: 1em;
  padding: 1em;
  border-radius: 8px;
}

#mobile-nav-links.show {
  display: flex;
}

.mobile-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 0.5em;
}

/* ?? Responsive Navigation Rules */
@media (max-width: 600px) {
  .desktop-nav {
    display: none;
  }

  .burger {
    display: block;
  }

  .mobile-nav {
    display: block;
  }
}

/* ?? Main Content */
main {
  padding: 2em;
  background: rgba(0, 0, 0, 0.5);
  max-width: 800px;
  margin: 2em auto;
  border-radius: 8px;
}

/* ?? Forms */
form input,
form textarea {
  width: 100%;
  margin-bottom: 1em;
  padding: 0.5em;
  border: none;
  border-radius: 4px;
  font-size: 1em;
}

form button {
  background: #8B4513;
  color: #fff;
  padding: 0.7em 1.5em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1em;
}

/* ?? Footer */
footer {
  text-align: center;
  padding: 1em;
  background: rgba(0, 0, 0, 0.6);
  font-size: 0.9em;
}

/* ?? Video Section */
.video-section {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}

.video-image {
  flex: 1 1 300px;
  max-width: 400px;
}

.video-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  object-fit: contain;
}

.video-text {
  flex: 2 1 400px;
  color: #f0e6d2;
  font-size: 1.1rem;
  line-height: 1.6;
}

.video-text a {
  color: #ffefc2; /* warm, light tone */
  text-decoration: underline;
  font-weight: 600;
}

.video-text a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ?? Responsive Video Layout */
@media (max-width: 768px) {
  .video-section {
    flex-direction: column;
  }

  .video-image,
  .video-text {
    width: 100%;
    max-width: 100%;
  }

  .video-image {
    margin: 0 auto;
    text-align: center;
  }
}

/* ?? Buttons */
.button {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: #5a4c3b;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #7a654d;
}

.bespoke h1, .bespoke h2 {
  color: #fff;
}

.bespoke p, .bespoke li {
  color: #f0e6d2;
}

.bespoke a {
  color: #ffefc2;
  text-decoration: underline;
  font-weight: 600;
}

.success-message {
  margin-top: 1em;
  padding: 1em;
  background-color: #3d5a3d;
  color: #fff;
  border-radius: 6px;
}

label[for="captcha"] {
  display: block;
  margin: 1em 0 0.5em;
  font-weight: 500;
  color: #f0e6d2;
}

.not-found {
  text-align: center;
  padding: 4rem 2rem;
}
.not-found ul {
  list-style: none;
  padding: 0;
}
.not-found li {
  margin: 1rem 0;
}
.not-found a {
  color: #4a3f2c;
  text-decoration: underline;
}

/* Product Section Layout */
.product-block {
  margin-bottom: 2rem;
}

.product-title {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #fff;
}

.product-title a {
  color: #ffefc2;
  text-decoration: underline;
  font-weight: 600;
}

.product-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}

.product-image {
  flex: 0 0 auto;
  width: 300px;
}

.product-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.product-info {
  flex: 1 1 300px;
  color: #f0e6d2;
}

.product-meta {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-meta li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.product-link {
  margin-top: 1rem;
}

.product-link a {
  color: #ffefc2;
  text-decoration: underline;
  font-weight: 500;
}

.product-link a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Mobile layout */
@media (max-width: 768px) {
  .product-layout {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .product-image {
    width: 100%;
    max-width: 300px;
  }

  .product-info {
    max-width: 100%;
    margin-top: 1rem;
  }
}

.product-intro {
  max-width: 800px;
  margin: 1rem auto 2rem;
  font-size: 1.1rem;
  color: #f0e6d2;
  line-height: 1.6;
  text-align: center;
}

.get-in-touch {
  background: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  margin-top: 3rem;
  border-radius: 8px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.get-in-touch h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.get-in-touch p {
  color: #f0e6d2;
  font-size: 1.1rem;
}

.get-in-touch a {
  color: #ffefc2;
  text-decoration: underline;
  font-weight: 600;
}

.get-in-touch a:hover {
  color: #ffffff;
}
