/* Global reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Verdana', sans-serif;
  background: #f6f3eb;
  color: #333;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* HEADER */
.site-header {
  text-align: center;
  padding: 20px;
  background: #e0c8b0;
  color: white;
  position: relative;
}

.header-image {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  border-bottom: 3px solid #d2ab8d;
}

.site-title {
  font-size: 2.5rem;
  margin-top: 10px;
}

.site-subtitle {
  font-size: 1rem;
  opacity: 0.9;
}

/* MAIN GRID (3 columns) */
.main-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 20px;
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 15px;
}


.welcome-box,
.navigation {
  background: white;
  padding: 10px; /* slightly smaller to reduce extra space */
  border: 2px solid #d2ab8d;
  border-radius: 10px;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.1);

  width: 100%;     /* make it take full available space of its grid/flex column */
  height: auto;    /* let it adjust with content */
  box-sizing: border-box; /* include padding and border in width */
}

.personal-update h2,
.welcome-box h2,
.navigation h2 {
  margin-bottom: 10px;
}

/* Personal Update */
.personal-update {
  text-align: center;
  background: transparent; /* makes the whole section transparent */
  border: none;
  box-shadow: none;
  padding: 10px;
  max-width: 150px; /* smaller width so it’s not huge */
  margin: 0 auto;
}

.avatar-img {
  width: 50px;      /* smaller avatar */
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  background: transparent; /* ensures avatar itself has no background */
}

.avatar-box {
  position: relative;
  display: inline-block;
}

.speech-bubble {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: #fcd4e2; /* change if you want a transparent bubble */
  color: #333;
  padding: 5px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-family: 'Poppins', sans-serif;
  max-width: 120px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Bubble arrow */
.speech-bubble::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #fcd4e2 transparent transparent transparent;
}

/* Navigation */
.navigation {
  text-align: center;
  padding: 15px;
  background: #f7f7f7;
}

.navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 16px;
  max-width: 500px;
  margin: 0 auto;
}

.navigation a {
  display: inline-block;
  padding: 6px 14px;
  background: linear-gradient(180deg, #fcd4e2 0%, #f8a5c2 100%);
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid #d36b92;
  border-radius: 999px;
  box-shadow:
    0 2px 0 #b35278,
    0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* Text shadow to give it that pop look */
.navigation a span,
.navigation{
  text-shadow: 0 1px 0 #b35278;
}

.navigation a:hover {
  transform: translateY(-1px);
  box-shadow:
    0 3px 0 #b35278,
    0 6px 8px rgba(0,0,0,0.15);
}

.navigation a:active {
  transform: translateY(1px);
  box-shadow:
    0 1px 0 #b35278,
    0 3px 5px rgba(0,0,0,0.1);
}


/* QUOTES STRIP */
.quotes-strip {
  background: #e0c8b0;
  color: white;
  text-align: center;
  padding: 10px;
  font-style: italic;
  margin-top: 20px;
}

/* BOTTOM SECTION */
.bottom-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 30px auto;
  gap: 20px;
  padding: 0 15px;
}

/* Chatbox container */
.chat-box {
  position: relative;       /* moves when scrolling */
 margin-left: 0;
  bottom: 20px;          /* distance from bottom of screen */
  left: 0px;            /* distance from left edge */
  width: 280px;          /* small width */
  height: 380px;         /* small height */
  background: white;
  border: 2px solid #d2ab8d;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 999;          /* stays on top of other content */
  display: flex;
  flex-direction: column;
}

/* CBox iframe inside chatbox */
.chat-box iframe {
  flex: 1;               /* fill remaining space */
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
}

/* Optional: responsive for small screens */
@media (max-width: 500px) {
  .chat-box {
    width: 90%;          /* nearly full width on mobile */
    height: 300px;       /* slightly shorter */
    left: 5%;            /* small margin from left edge */
    bottom: 15px;        /* small margin from bottom */
  }
}


.right-column {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.music-box,
.lotus-picture {
  background: white;
  border: 2px solid #d2ab8d;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
}

.lotus-picture img {
  max-width: 100%;
  border-radius: 10px;
}

/* FOOTER */
.site-footer {
  margin-top: auto;
  background: #e0c8b0;
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .main-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .site-title {
    font-size: 2rem;
  }
  .quotes-strip p {
    font-size: 0.9rem;
  }
}
