/* 
  POP SPACE - Design System 
  Modern Industrial Minimalist
*/

:root {
  /* Color Palette */
  --primary: #ce4281;
  /* Pink */
  --secondary: #00ae89;
  /* Teal */
  --neutral-dark: #2a2a2a;
  /* Dark Gray */
  --neutral-light: #f4f4f4;
  /* Off-White/Concrete */
  --text-main: #333333;
  /* Dark Charcoal */
  --text-white: #ffffff;
  --border-light: #e5e5e5;

  /* Fonts */
  --font-heading: 'Montserrat', 'Noto Sans Thai', sans-serif;
  --font-body: 'Montserrat', 'Noto Sans Thai', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--neutral-light);
  color: var(--text-main);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

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

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: 800px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 50px;
  /* Pill-shaped */
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, background-color 0.3s ease;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-white);
}

.btn-primary:hover {
  background-color: #b5366e;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--text-white);
}

.btn-large {
  padding: 18px 45px;
  font-size: 1.2rem;
}

/* Sections */
section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
}

/* Grid System */
.grid {
  display: grid;
  gap: 30px;
}

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

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

@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }
}

/* Utility */
.text-teal {
  color: var(--secondary);
}

.text-pink {
  color: var(--primary);
}

.bg-dark {
  background-color: var(--neutral-dark);
  color: var(--text-white);
}

.bg-white {
  background-color: #fff;
}

/* Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Delay variants */
.delay-100 {
  transition-delay: 0.1s;
}

.delay-200 {
  transition-delay: 0.2s;
}

.delay-300 {
  transition-delay: 0.3s;
}

/* Parallax Utility */
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (max-width: 1024px) {
  .parallax {
    background-attachment: scroll;
    /* Fixed background can be buggy on mobile */
  }
}

/* Google Review Banner (Large & Centered) */
.google-review-banner {
  padding: 100px 0;
  background-color: #fff;
  text-align: center;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.review-status-large {
  max-width: 700px;
  margin: 0 auto;
}

.google-logo-large img {
  width: 150px;
  margin: 0 auto 20px;
}

.stars-large {
  color: #ffc107;
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  gap: 5px;
}

.banner-highlight {
  font-size: 2.5rem;
  margin-bottom: 15px;
  line-height: 1.2;
}

.banner-stats {
  font-size: 1.3rem;
  color: #666;
  margin-bottom: 40px;
}

/* Testimonials - Showcase Layout */
.testimonials {
  background-color: var(--neutral-light);
}

.testimonial-card-showcase {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  height: 100%;
}

.testimonial-card-showcase:hover {
  transform: translateY(-10px);
}

.showcase-img {
  height: 250px;
  width: 100%;
  overflow: hidden;
}

.showcase-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.testimonial-card-showcase:hover .showcase-img img {
  transform: scale(1.05);
}

.testimonial-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.testimonial-rating {
  color: #ffc107;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.testimonial-text {
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 30px;
  flex-grow: 1;
}

.testimonial-author-v2 h4 {
  margin-bottom: 5px;
  font-size: 1.2rem;
  color: var(--neutral-dark);
}

.testimonial-author-v2 span {
  font-size: 0.9rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Blog Section Styles */
.blog-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  /* Enable stretched link */
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.blog-image {
  height: 180px;
  overflow: hidden;
  position: relative;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-date {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.blog-card h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
  line-height: 1.4;
  color: var(--neutral-dark);
}

.blog-excerpt {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-link {
  margin-top: auto;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--secondary);
}

.blog-link::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}

.blog-link:hover {
  color: var(--primary);
}

/* Loading State */
.loading {
  text-align: center;
  grid-column: 1 / -1;
  font-size: 1.1rem;
  color: #999;
  padding: 60px 0;
}