/* Define a common width variable */
:root {
  --main-width: 1200px;
}

/* Reset styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  scroll-behavior: smooth;
  background-color: #fff;
  color: #111;
}

/* Header */
header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--main-width);
  margin: 0 auto;
  padding: 10px 20px;
}

.header-left,
.header-nav {
  display: flex;
  align-items: center;
}

.logo {
  max-height: 100px;
  height: auto;
}

/* Navigation Menu */
.header-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 10px 0;
  margin: 0;
}

.header-nav ul li {
  margin: 0 15px;
}

.header-nav ul li a {
  color: #1b9bff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
  font-weight: bold;
}

.header-nav ul li a:hover,
.header-nav ul li a.active {
  color: #ff5722;
}

/* Hero Section */
.hero {
  padding-top: calc(80px + 20px);
  text-align: center;
  margin-bottom: 20px;
}

.hero-bg {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  max-width: var(--main-width);
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  transition: opacity 0.3s ease-in-out;
  border: 2px solid #FF9606;
  border-radius: 20px;
  margin-bottom: 20px;
}

#slogan-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.hero-content {
  max-width: var(--main-width);
  margin: 0 auto 20px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid #FF9606;
  border-radius: 20px;
  text-align: left;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
}

#heroText {
  white-space: pre-line;
  transition: max-height 0.3s ease;
  font-size: 1.1rem;
  line-height: 1.6;
}

.collapsed {
  max-height: 150px;
  overflow: hidden;
}

#toggleHeroBtn {
  margin-top: 20px;
  background: #ff5722;
  color: #fff;
  padding: 12px 24px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

#toggleHeroBtn:hover {
  background: #e64a19;
}

/* Site Container */
.site-container {
  border: 2px solid #FF9606;
  border-radius: 20px;
  margin: 20px auto;
  max-width: var(--main-width);
  overflow: hidden;
}

/* Content Sections */
section {
  padding: 60px 20px;
}

.content {
  max-width: var(--main-width);
  margin: 0 auto;
}

/* About and Contact Sections */
#about-soozypooch, #contact-info {
  background: #f4f4f4;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
}

#about-soozypooch .content,
#contact-info .content {
  background: transparent;
}

/* Diamond-Staggered Circles in Contact Section */
.circles-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto auto;
  gap: 20px;
  margin-top: 40px;
  justify-items: center;
  align-items: center;
}

.circle {
  width: 300px;
  height: 300px;
  border: 18px solid;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.circles-container .circle:nth-child(1) {
  grid-column: 2;
  grid-row: 1;
}
.circles-container .circle:nth-child(2) {
  grid-column: 1;
  grid-row: 2;
}
.circles-container .circle:nth-child(3) {
  grid-column: 3;
  grid-row: 2;
}
.circles-container .circle:nth-child(4) {
  grid-column: 2;
  grid-row: 3;
}

.circle-light {
  border-color: #ADD8E6;
}

.circle-yellow {
  border-color: #FFFF00;
}

/* Scroll To Top Button */
#scrollToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #fff;
  color: #111;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s;
  z-index: 1001;
  border: 1px solid #ccc;
}

#scrollToTop:hover {
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    align-items: center;
    position: relative;
  }
  .header-left {
    width: 100%;
    text-align: center;
  }
  .header-left img {
    width: 100%;
    height: auto;
    max-height: none;
  }
  #menuToggle {
    font-size: 2.5rem;
    background: #ddd;
    border: 2px solid #111;
    padding: 5px 10px;
    border-radius: 5px;
    color: #111;
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 1001;
    cursor: pointer;
  }
  .header-nav {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.9);
    display: none;
    flex-direction: column;
  }
  .header-nav ul {
    flex-direction: column;
    padding: 0;
  }
  .header-nav ul li {
    margin: 5px 0;
  }
  .header-nav.active {
    display: flex;
  }
  .hero-content, .content {
    max-width: 90%;
    padding: 15px;
  }
  .site-container {
    max-width: 90%;
  }
  .circles-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}

/* Quiz Widget Styles */
#quiz-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 300px;
  background-color: #fff;
  border: 2px solid #FF9606;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.2);
  font-family: Verdana, Arial, Helvetica, sans-serif;
  z-index: 1002;
}

/* Quiz Widget Header */
#quiz-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #FF9606;
  margin-bottom: 10px;
  padding: 5px 10px;
}

.quiz-toggle-btn {
  background: transparent;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
}

/* Quiz Content */
#quiz-content {
  padding: 0 10px 10px;
}

.quiz-question {
  font-weight: bold;
  margin-bottom: 10px;
}

.quiz-options button {
  width: 100%;
  margin: 5px 0;
  padding: 8px;
  border: none;
  border-radius: 5px;
  background-color: #ff5722;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s;
}

.quiz-options button:hover {
  background-color: #e64a19;
}

.quiz-feedback {
  margin: 10px 0;
  font-weight: bold;
}

.quiz-next, .quiz-contact {
  width: 100%;
  margin: 5px 0;
  padding: 8px;
  border: none;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
}

.quiz-next {
  background-color: #4CAF50;
}

.quiz-next:hover {
  background-color: #45a049;
}

.quiz-contact {
  background-color: #ff5722;
}

.quiz-contact:hover {
  background-color: #e64a19;
}

/* Spacer Image */
.spacer {
  display: block;
  width: 100%;
  height: auto;
  max-width: var(--main-width);
  margin: 20px auto;
}
