/* ============================================
   MALIN PLAZA PHUKET - TRAVEL SITE DESIGN
   Bright & Colorful - Tropical Travel Vibes
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Poppins:wght@400;500;600&display=swap');

:root {
  --sun: #FF6B35;
  --ocean: #0077B6;
  --ocean-deep: #023E8A;
  --sky: #48CAE4;
  --sand: #FFF8F0;
  --palm: #2D6A4F;
  --coral: #F77F00;
  --white: #FFFFFF;
  --dark: #1A1A2E;
  --text: #2D3436;
  --muted: #636E72;
  --border: #DFE6E9;
  --card: #FFFFFF;
  --gold: #F9C74F;
}

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

body {
  font-family: 'Poppins', sans-serif;
  background: var(--sand);
  color: var(--text);
  line-height: 1.7;
}

/* ---- NAV ---- */
.nav {
  background: var(--ocean-deep);
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}
.nav-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 8px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 20px;
  transition: all 0.2s;
}
.nav-links a:hover { background: rgba(255,255,255,0.15); color: var(--gold); }
.nav-cta {
  background: var(--sun) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--coral) !important; transform: translateY(-1px); }

/* ---- HERO ---- */
.hero {
  min-height: 88vh;
  background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean) 50%, var(--sky) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1589394815804-964ed0be2eb5?w=1600&q=80') center/cover;
  opacity: 0.2;
}
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
}
.hero-content { position: relative; max-width: 820px; }
.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 em { color: var(--gold); font-style: normal; }
.hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.8;
}
.btn-hero {
  display: inline-block;
  background: var(--sun);
  color: var(--white);
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 8px 24px rgba(255,107,53,0.4);
}
.btn-hero:hover { background: var(--coral); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(255,107,53,0.5); }
.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold);
  display: block;
}
.stat-label { color: rgba(255,255,255,0.7); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; }

/* ---- QUICK INFO STRIP ---- */
.info-strip {
  background: var(--sun);
  padding: 20px 48px;
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}
.info-item { display: flex; align-items: center; gap: 10px; color: var(--white); font-size: 0.9rem; font-weight: 600; }
.info-icon { font-size: 1.2rem; }

/* ---- SECTIONS ---- */
.section { padding: 80px 48px; max-width: 1200px; margin: 0 auto; }
.section-full { padding: 80px 0; }
.section-label {
  display: inline-block;
  background: rgba(255,107,53,0.1);
  color: var(--sun);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.2;
}
.section-title span { color: var(--sun); }
.section-sub { color: var(--muted); font-size: 1.05rem; max-width: 600px; line-height: 1.75; }

/* ---- CARDS ---- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; margin-top: 48px; }
.card {
  background: var(--card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 16px 48px rgba(0,0,0,0.15); }
.card-img { width: 100%; height: 220px; object-fit: cover; display: block; }
.card-body { padding: 24px; }
.card-tag {
  display: inline-block;
  background: rgba(255,107,53,0.1);
  color: var(--sun);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 10px;
  margin-bottom: 10px;
}
.card h3 { font-family: 'Montserrat', sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; line-height: 1.3; }
.card p { color: var(--muted); font-size: 0.88rem; line-height: 1.65; }
.card-link { display: inline-block; margin-top: 16px; color: var(--sun); font-weight: 600; font-size: 0.85rem; }

/* ---- HOTEL CARDS ---- */
.hotel-card {
  background: var(--card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: 300px 1fr;
}
.hotel-card img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 240px; }
.hotel-body { padding: 28px 32px; }
.hotel-badge { display: inline-block; background: var(--gold); color: var(--dark); font-size: 0.7rem; font-weight: 700; padding: 4px 12px; border-radius: 10px; margin-bottom: 8px; }
.hotel-stars { color: #FFB703; font-size: 1rem; margin-bottom: 4px; }
.hotel-price { color: var(--muted); font-size: 0.88rem; margin: 8px 0 16px; }
.hotel-price strong { color: var(--sun); font-size: 1.15rem; }
.hotel-body h3 { font-family: 'Montserrat', sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.hotel-body p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; margin-bottom: 16px; }
.btn-book {
  display: inline-block;
  background: var(--ocean);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-book:hover { background: var(--ocean-deep); transform: translateY(-2px); }

/* ---- FOOD ITEMS ---- */
.food-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; margin-top: 40px; }
.food-item { background: var(--card); border-radius: 16px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,0.07); }
.food-item img { width: 100%; height: 180px; object-fit: cover; }
.food-item-body { padding: 20px; }
.food-item h3 { font-family: 'Montserrat', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.food-item p { color: var(--muted); font-size: 0.85rem; line-height: 1.6; }
.food-price { display: inline-block; background: rgba(45,106,79,0.1); color: var(--palm); font-size: 0.78rem; font-weight: 600; padding: 3px 10px; border-radius: 10px; margin-top: 10px; }

/* ---- ACTIVITIES ---- */
.activity-list { display: flex; flex-direction: column; gap: 32px; margin-top: 40px; }
.activity-item { display: grid; grid-template-columns: 80px 1fr; gap: 24px; align-items: start; }
.activity-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(255,107,53,0.15);
  line-height: 1;
}
.activity-item h3 { font-family: 'Montserrat', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.activity-meta { display: flex; gap: 16px; margin-bottom: 10px; flex-wrap: wrap; }
.activity-tag { background: rgba(0,119,182,0.1); color: var(--ocean); font-size: 0.7rem; font-weight: 600; padding: 3px 10px; border-radius: 10px; }
.activity-dist { color: var(--muted); font-size: 0.78rem; }
.activity-item p { color: var(--muted); font-size: 0.9rem; line-height: 1.75; }

/* ---- RATINGS ---- */
.ratings-box { background: var(--card); border-radius: 20px; padding: 32px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); margin: 32px 0; }
.rating-row { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.rating-row:last-child { border-bottom: none; }
.rating-label { font-size: 0.9rem; font-weight: 600; color: var(--dark); width: 160px; flex-shrink: 0; }
.rating-bar { flex: 1; height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; }
.rating-fill { height: 100%; background: linear-gradient(90deg, var(--sun), var(--coral)); border-radius: 4px; }
.rating-score { font-weight: 700; color: var(--sun); font-size: 0.9rem; width: 48px; text-align: right; }

/* ---- FAQ ---- */
.faq-list { display: flex; flex-direction: column; gap: 0; margin-top: 40px; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.07); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--card);
  transition: background 0.2s;
}
.faq-q:hover { background: var(--sand); }
.faq-q::after { content: '+'; color: var(--sun); font-size: 1.4rem; font-weight: 300; flex-shrink: 0; }
.faq-a { padding: 0 24px 20px; color: var(--muted); font-size: 0.9rem; line-height: 1.8; background: var(--card); display: none; }
.faq-a.open { display: block; }

/* ---- INFO BOX ---- */
.tip-box { background: rgba(255,107,53,0.08); border-left: 4px solid var(--sun); border-radius: 0 12px 12px 0; padding: 20px 24px; margin: 24px 0; }
.tip-box p { color: var(--text); font-size: 0.92rem; line-height: 1.75; margin: 0; }

/* ---- CTA BANNER ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--ocean-deep), var(--ocean));
  padding: 80px 48px;
  text-align: center;
}
.cta-banner h2 { font-family: 'Montserrat', sans-serif; font-size: 2.2rem; font-weight: 900; color: var(--white); margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ---- ARTICLE CONTENT ---- */
.article-hero {
  background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean) 100%);
  padding: 80px 48px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-size: cover;
  background-position: center;
}
.article-hero-content { position: relative; max-width: 800px; margin: 0 auto; }
.breadcrumb { color: rgba(255,255,255,0.6); font-size: 0.8rem; margin-bottom: 16px; }
.breadcrumb a { color: var(--gold); text-decoration: none; }
.article-hero h1 { font-family: 'Montserrat', sans-serif; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; color: var(--white); line-height: 1.2; margin-bottom: 14px; }
.article-hero h1 span { color: var(--gold); }
.article-hero p { color: rgba(255,255,255,0.8); font-size: 1.05rem; line-height: 1.75; }

.article-body { max-width: 860px; margin: 0 auto; padding: 60px 48px; }
.article-body h2 { font-family: 'Montserrat', sans-serif; font-size: 1.75rem; font-weight: 900; color: var(--dark); margin: 48px 0 16px; padding-top: 48px; border-top: 2px solid var(--border); }
.article-body h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.article-body h3 { font-family: 'Montserrat', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--ocean); margin: 28px 0 10px; }
.article-body p { color: var(--text); font-size: 0.96rem; line-height: 1.9; margin-bottom: 18px; }
.article-body a { color: var(--sun); font-weight: 600; text-decoration: none; }
.article-body a:hover { text-decoration: underline; }
.article-body strong { color: var(--dark); }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--sun); font-weight: 600; font-size: 0.88rem; text-decoration: none; margin-bottom: 32px; }

/* ---- INTERNAL LINKS BOX ---- */
.related-box { background: linear-gradient(135deg, var(--ocean-deep), var(--ocean)); border-radius: 20px; padding: 32px 36px; margin: 48px 0; }
.related-box h3 { font-family: 'Montserrat', sans-serif; color: var(--gold); font-size: 1.1rem; margin-bottom: 18px; }
.related-box ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.related-box ul a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 0.9rem; display: flex; align-items: center; gap: 8px; transition: color 0.2s; }
.related-box ul a::before { content: '→'; color: var(--gold); }
.related-box ul a:hover { color: var(--gold); }

/* ---- ADDRESS CARD ---- */
.address-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 32px 0; }
.address-item { background: var(--card); border-radius: 16px; padding: 24px; box-shadow: 0 4px 16px rgba(0,0,0,0.07); }
.address-item h4 { color: var(--sun); font-size: 0.78rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.address-item p { color: var(--text); font-size: 0.9rem; margin: 0; line-height: 1.7; }

/* ---- TRANSPORT CARDS ---- */
.transport-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 28px 0; }
.transport-card { background: var(--card); border-radius: 16px; padding: 24px; box-shadow: 0 4px 16px rgba(0,0,0,0.07); }
.transport-icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.transport-card h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.transport-card p { color: var(--muted); font-size: 0.85rem; line-height: 1.65; margin: 0; }
.transport-price { color: var(--palm); font-weight: 700; font-size: 0.85rem; margin-top: 8px; display: block; }

/* ---- PROS CONS ---- */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 20px 0; }
.pros { background: rgba(45,106,79,0.08); border: 1px solid rgba(45,106,79,0.2); border-radius: 12px; padding: 20px; }
.cons { background: rgba(255,107,53,0.06); border: 1px solid rgba(255,107,53,0.2); border-radius: 12px; padding: 20px; }
.pros h4 { color: var(--palm); font-size: 0.78rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.cons h4 { color: var(--sun); font-size: 0.78rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.pros ul, .cons ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pros li { font-size: 0.87rem; color: var(--text); padding-left: 18px; position: relative; }
.pros li::before { content: '✓'; color: var(--palm); position: absolute; left: 0; font-weight: 700; }
.cons li { font-size: 0.87rem; color: var(--text); padding-left: 18px; position: relative; }
.cons li::before { content: '✗'; color: var(--sun); position: absolute; left: 0; }

/* ---- FOOTER ---- */
footer {
  background: var(--dark);
  padding: 60px 48px 32px;
  border-top: 4px solid var(--sun);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; max-width: 1200px; margin: 0 auto 40px; }
.footer-brand .nav-logo { font-size: 1.3rem; margin-bottom: 16px; display: block; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.85rem; line-height: 1.7; }
.footer-col h4 { color: var(--gold); font-size: 0.75rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--gold); }
.footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 0.78rem; }
.affiliate-note { color: rgba(255,255,255,0.25); font-size: 0.72rem; max-width: 1200px; margin: 12px auto 0; text-align: center; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .section { padding: 56px 20px; }
  .article-body { padding: 40px 20px; }
  .article-hero { padding: 60px 20px 48px; }
  .hotel-card { grid-template-columns: 1fr; }
  .hotel-card img { height: 220px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-stats { flex-direction: column; gap: 24px; }
  .pros-cons { grid-template-columns: 1fr; }
  .address-grid { grid-template-columns: 1fr; }
  .transport-grid { grid-template-columns: 1fr; }
  .info-strip { padding: 16px 20px; gap: 20px; }
  footer { padding: 48px 20px 28px; }
  .about-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  .about-grid img { max-height: 260px; object-fit: cover; }
  .food-grid { grid-template-columns: 1fr !important; }
  .cards-grid { grid-template-columns: 1fr !important; }
  .shop-grid { grid-template-columns: 1fr 1fr !important; }
}
