/* General styling */

body {
  margin: auto;
  background-color: #3f3f74;
  color: #000;
}

.visually-hidden {
  display: none;
}

#page-wrapper {
  margin: 2em auto 3em auto;
  width: 80%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  border-radius: 1rem;
}

#page-wrapper * {
  align-items: center;
}

#content-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  flex-wrap: wrap;
}

#main-content {
  flex: 1;
  min-width: 0;
}

/* Header */
#header {
  display: flex;
  flex-direction: column;
}

#header-img {
  width: 80%;
}

#page-title {
  font-family: fantasy;
  text-transform: capitalize;
  color: #323c39;
  font-size: 5em;
  filter: drop-shadow(4px 4px 4px #000);
  text-decoration: underline dotted red;
  margin: auto;
  margin-bottom: 1rem;
}

.blue-highlight {
  color: #3f3f74;
}

/* Hero */
.welcome-hero {
  text-align: center;
  margin: 1.5rem auto;
  padding: 25px;
  background-color: #fcfcfc;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(51, 255, 0, 0.25);
}

.eyebrow {
  font-family: sans-serif;
  text-transform: uppercase;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #0c1c4a;
  margin: 0 0 0.5rem 0;
}

.experience-badge {
  font-family: sans-serif;
  font-size: 1.15rem;
  font-weight: bold;
  color: #c00;
  margin: 0 0 1rem 0;
}

.tagline {
  font-family: sans-serif;
  font-size: 1.1rem;
  line-height: 1.4;
  color: #333;
  margin: 0;
}

/* Nav */
#menu-items {
  flex: 0 0 180px;
  margin-right: 20px;
}

#menu-items ul {
  display: flex;
  flex-direction: column;
  list-style: none;
}

/* Review widget */
#reviews-section {
  max-width: 1000px;
  margin: 2em auto;
  padding: 0 10px;
  font-family: sans-serif;
}

.reviews-title-block {
  text-align: center;
  margin-bottom: 1.5em;
}

.reviews-title-block h2 {
  display: inline-block;
  margin: 0 15px;
  font-size: 1.4rem;
  color: #333;
}

.stars,
.card-stars {
  color: #ffcc00;
}

.pinterest-grid {
  column-width: 250px;
  column-gap: 20px;
  width: 100%;
}

.review-card {
  background: #fdfdfd;
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 20px;
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.review-card blockquote {
  margin: 12px 0;
  padding: 0;
}

.review-card p {
  margin: 0;
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #444;
}

.review-card cite {
  display: block;
  font-style: normal;
  font-weight: bold;
  font-size: 0.85rem;
  color: #777;
  text-align: right;
}

.reviews-link-wrap {
  text-align: center;
  margin-top: 1em;
}

.reviews-link-wrap a {
  color: #0c1c4a;
  text-decoration: none;
  font-weight: bold;
}

.reviews-link-wrap a:hover {
  text-decoration: underline;
}

/* Contact details */
#contact-card {
  font-style: normal;
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  padding: 15px;
  border-radius: 4px;
  max-width: 350px;
  margin: auto;
}

.contact-line {
  margin-bottom: 8px;
  text-align: center;
}

.contact-line:last-child {
  margin-bottom: 0;
}

.contact-item {
  font-weight: bold;
  color: #333;
}

.contact-link {
  color: #0c1c4a;
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: underline;
}

/* Call to action */
.cta-banner {
  background-color: #0c1c4a; 
  color: #fff;
  padding: 30px;
  border-radius: 8px;
  margin: 2.5rem auto;
  max-width: 900px;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.4), 0 4px 10px rgba(0,0,0,0.15);
  
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cta-text-content {
  flex: 1;
  text-align: left;
}

.cta-text-content h3 {
  margin: 0 0 10px 0;
  font-size: 1.35rem;
  color: #fff;
  font-family: sans-serif;
  font-weight: bold;
  line-height: 1.3;
}

.cta-text-content p {
  margin: 0;
  font-size: 0.95rem;
  color: #ced4da;
  line-height: 1.5;
  font-family: sans-serif;
}

.cta-button-wrap {
  flex-shrink: 0;
}

/* --- The 3D Embossed Button --- */
.embossed-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #5d69b1; 
  padding: 12px 24px;
  text-decoration: none;
  box-sizing: border-box;

  /* The 3D Bevel */
  border-top: 4px solid #8fa0f1;
  border-left: 4px solid #8fa0f1;
  border-right: 4px solid #2e355c;
  border-bottom: 4px solid #2e355c;
}

.embossed-btn:hover {
  background-color: #4e599e; 
  border-top: 4px solid #2e355c;
  border-left: 4px solid #2e355c;
  border-right: 4px solid #7585da;
  border-bottom: 4px solid #7585da;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transform: translateY(2px); 
}

.embossed-btn:active {
  background-color: #3f4984;
  transform: translateY(3px);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5);
}

.btn-primary {
  color: #00ffff;
  font-family: sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.btn-sub {
  color: #33ff00;
  font-family: sans-serif;
  font-weight: bold;
  font-size: 1.05rem;
}

/* Footer */
#page-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 0 10px 0;
  border-top: 1px solid #e0e0e0;
  margin-top: 2rem;
}

.homage-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.4;
  transition: opacity 0.2s ease;
}

.homage-badge:hover {
  opacity: 0.9;
}

.footer-mini-icon {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border: 2px solid #fff;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.homage-badge span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #666;
  font-weight: bold;
}

@media (max-width: 900px) {
  .pinterest-grid {
    column-count: 2;
  }


  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  
  .cta-text-content {
    text-align: center;
    margin-bottom: 10px;
  }
}

@media (max-width: 600px) {
  .pinterest-grid {
    column-count: 1;
  }
}
