/*
Theme Name: GoThaiTrip Demo
Theme URI: https://demo.gothaitrip.com
Author: TongBlog
Description: Minimal travel affiliate theme
Version: 2.1
*/

/* ===== Variables: Premium Palette ===== */
:root {
  /* Brand Colors */
  --primary: #FF324D; /* More vibrant red-pink */
  --primary-dark: #cc2038;
  --secondary: #2E86C1; /* Professional Blue */
  
  /* Neutral Colors */
  --text: #2c3e50;
  --text-light: #5f7d95;
  --text-lighter: #95a5a6;
  
  /* Backgrounds */
  --bg: #f8fbff; /* Very subtle cool white */
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.85);
  
  /* UI Elements */
  --border: #eef2f7;
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  
  /* Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Base Reset ===== */
* { box-sizing: border-box; }

body { 
  font-family: 'Noto Sans Thai', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; 
  line-height: 1.7; 
  color: var(--text);
  background: var(--bg);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }

h1, h2, h3, h4, h5, h6 { 
  font-family: 'Noto Sans Thai', sans-serif;
  font-weight: 600; 
  line-height: 1.25; 
  color: var(--text);
  margin: 0 0 1rem; 
  letter-spacing: 0.01em;
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; width: 100%; }

/* ===== Global Components ===== */
.btn-primary-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, #FF6B6B 100%);
  border: none;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(255, 50, 77, 0.3);
}

.btn-primary-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(255, 50, 77, 0.4);
  color: white;
}

/* ===== Header ===== */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

/* .navbar { padding: 0.5rem 0; } */
.navbar-brand { 
  font-size: 1.5rem; 
  font-weight: 800; 
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-link { 
  color: var(--text); 
  font-weight: 400;
  /* padding: 0.25rem 0.50rem; */
  border-radius: var(--radius-sm);
}
.nav-link:hover,
.nav-link.active { 
  color: var(--primary);
  background: rgba(255, 50, 77, 0.05);
}
.nav-link.active {
  font-weight: 700;
  background: rgba(255, 50, 77, 0.1);
}

/* ===== Language Switcher ===== */
.lang-dropdown {
  min-width: 120px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.75rem;
  font-size: 0.875rem;
  cursor: pointer;
  background: var(--white);
  color: var(--text);
  font-family: inherit;
}
.lang-dropdown:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 50, 77, 0.1);
}

/* ===== Footer ===== */
.site-footer {
  background: #1e293b;
  color: #94a3b8;
  padding: 4rem 0 2rem;
  margin-top: 6rem;
}
.site-footer h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
}
.site-footer a {
  color: #cad5e1;
  display: block;
  margin-bottom: 0.75rem;
}
.site-footer a:hover {
  color: var(--primary);
  transform: translateX(5px);
}
.footer-copyright {
  text-align: center;
  padding-top: 3rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.875rem;
}

/* ===== Responsive Utilities ===== */
/* Accessibility: High Contrast Success */
.text-success-dark {
  color: #146c43 !important;
}

.btn-outline-success {
  color: #146c43 !important;
  border-color: #146c43 !important;
}

.btn-outline-success:hover {
  background-color: #146c43 !important;
  border-color: #146c43 !important;
  color: #fff !important;
}

/* ===== Decorative & Utility Helpers ===== */
.opacity-5 { opacity: 0.05 !important; }
.opacity-10 { opacity: 0.10 !important; }
.opacity-15 { opacity: 0.15 !important; }
.opacity-20 { opacity: 0.20 !important; }
.pointer-events-none, .pe-none { pointer-events: none !important; }

