/* Wedding Sutra Thailand - Static CSS */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap");

/* ============ CSS Variables ============ */
:root {
  --background: #ffffff;
  --foreground: #1a1a1e;
  --card: #fafafa;
  --card-foreground: #1a1a1e;
  --primary: #d63384;
  --primary-foreground: #fdf2f8;
  --secondary: #525252;
  --muted: #d1d1d6;
  --muted-foreground: #1a1a1e;
  --accent: #fff1f2;
  --accent-foreground: #e11d48;
  --border: #d1d1d6;
  --champagne: #c9a227;
  --blush: #f5e6e0;
  --burgundy: #722f37;
  --ivory: #fffff0;
  --shadow-soft: 0 4px 20px rgba(201, 162, 39, 0.1);
  --shadow-card: 0 8px 30px rgba(44, 30, 20, 0.08);
  --radius: 1.5rem;
}

/* ============ Reset & Base ============ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
}

a {
  text-decoration: none;
  color: inherit;
}

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

ul {
  list-style: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ============ Header ============ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--background);
}

.header-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-repeat: repeat-x;
  background-position: center;
  background-size: auto 100%;
  overflow: hidden;
}

.header-content {
  position: relative;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo img {
  height: 58px;
  width: auto;
  object-fit: contain;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 900;
  color: rgba(26, 26, 30, 0.7);
  transition: all 0.3s;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 2px;
  width: 0;
  background: var(--primary);
  transition: width 0.3s;
}

.nav-link.active::after {
  width: 32px;
}

.nav-link:hover::after {
  width: 16px;
}

.menu-toggle {
  display: block;
  padding: 0.5rem;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
}

.nav-mobile.open {
  display: block;
}

.nav-mobile a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(26, 26, 30, 0.7);
  border-radius: 0.5rem;
  transition: all 0.3s;
}

.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--primary);
  background: rgba(214, 51, 132, 0.05);
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
}

/* ============ Hero Section ============ */
.hero {
  position: relative;
  height: 85vh;
  min-height: 600px;
  overflow: hidden;
  margin-top: 80px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.05);
  transition: all 0.7s ease-out;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 26, 30, 0.8), rgba(26, 26, 30, 0.3), rgba(26, 26, 30, 0.2));
}

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

.hero-text {
  max-width: 42rem;
  text-align: center;
  padding: 0 1rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--background);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(44, 30, 20, 0.5);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease-out forwards;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease-out 0.2s forwards;
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border: none;
  color: var(--background);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-nav.prev {
  left: 1rem;
}

.hero-nav.next {
  right: 1rem;
}

.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
}

.hero-dot {
  height: 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  width: 8px;
}

.hero-dot.active {
  width: 32px;
  background: var(--primary);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  .hero-subtitle {
    font-size: 1.25rem;
  }
  .hero-nav.prev {
    left: 2rem;
  }
  .hero-nav.next {
    right: 2rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

/* ============ Section Styles ============ */
.section {
  padding: 3rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.875rem;
  font-weight: 500;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.section-description {
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 1.5rem auto 0;
}

.accent-line {
  width: 80px;
  height: 2px;
  background: var(--primary);
  margin: 0 auto;
}

@media (min-width: 768px) {
  .section {
    padding: 4rem 0;
  }
  .section-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3rem;
  }
}

/* ============ Featured Section ============ */
.bg-blush {
  background: rgba(245, 230, 224, 0.2);
}

.featured-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .featured-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--card);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.5s ease-out;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
}

.card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease-out;
}

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

.card-content {
  padding: 1.5rem;
}

.card-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(214, 51, 132, 0.1);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  line-height: 1.4;
  transition: color 0.3s;
}

.card:hover .card-title {
  color: var(--primary);
}

.card-link {
  display: flex;
  align-items: center;
  margin-top: 1rem;
  color: var(--primary);
  font-weight: 500;
  font-size: 0.875rem;
}

.card-link svg {
  margin-left: 0.5rem;
  transition: transform 0.3s;
}

.card:hover .card-link svg {
  transform: translateX(8px);
}

/* ============ Destinations Section ============ */
.destinations {
  position: relative;
  overflow: hidden;
}

.destinations-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  pointer-events: none;
  transition: transform 0.3s ease-out;
}

.destinations-content {
  position: relative;
  z-index: 10;
}

.destinations-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .destinations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .destinations-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.destination-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.5s ease-out;
}

.destination-card:hover {
  transform: translateY(-8px);
}

.destination-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.destination-card:hover img {
  transform: scale(1.1);
}

.destination-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 26, 30, 0.9), rgba(26, 26, 30, 0.3), transparent);
}

.destination-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
}

.destination-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--background);
}

@media (min-width: 768px) {
  .destination-name {
    font-size: 1.875rem;
  }
}

/* ============ Video Section ============ */
.video-container {
  max-width: 56rem;
  margin: 0 auto;
}

.video-wrapper {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ============ LGBT Section ============ */
.lgbt-section {
  padding: 5rem 0;
  background: linear-gradient(to bottom right, rgba(255, 241, 242, 0.1), var(--background), rgba(214, 51, 132, 0.05));
}

.lgbt-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .lgbt-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.lgbt-image {
  position: relative;
}

.lgbt-image img {
  aspect-ratio: 4/3;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: var(--shadow-card);
}

.lgbt-decor-1 {
  position: absolute;
  top: -1rem;
  right: -1rem;
  width: 6rem;
  height: 6rem;
  background: linear-gradient(to bottom right, rgba(255, 241, 242, 0.3), rgba(214, 51, 132, 0.3));
  border-radius: 50%;
  filter: blur(24px);
}

.lgbt-decor-2 {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  width: 8rem;
  height: 8rem;
  background: linear-gradient(to bottom right, rgba(214, 51, 132, 0.2), rgba(255, 241, 242, 0.2));
  border-radius: 50%;
  filter: blur(24px);
}

.lgbt-content {
  padding-left: 0;
}

@media (min-width: 1024px) {
  .lgbt-content {
    padding-left: 2rem;
  }
}

.lgbt-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.lgbt-label svg {
  width: 20px;
  height: 20px;
  color: var(--accent-foreground);
  fill: var(--accent-foreground);
}

.lgbt-label span {
  color: var(--accent-foreground);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.875rem;
  font-weight: 600;
}

.lgbt-title {
  font-size: 1.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .lgbt-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .lgbt-title {
    font-size: 3rem;
  }
}

.lgbt-text {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.lgbt-text.large {
  font-size: 1.125rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  opacity: 0.9;
}

.btn svg {
  margin-left: 0.5rem;
  transition: transform 0.3s;
}

.btn:hover svg {
  transform: translateX(4px);
}

/* ============ Footer ============ */
.footer-top {
  background: var(--primary);
  padding: 1.5rem 1rem;
  position: relative;
  overflow: hidden;
}

.footer-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-repeat: repeat-x;
  background-position: center;
  background-size: auto 100%;
}

.footer-top-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-top-content {
    flex-direction: row;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  color: var(--primary-foreground);
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .footer-links {
    justify-content: flex-start;
  }
}

.footer-links a {
  transition: all 0.3s;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-links .divider {
  margin: 0 0.5rem;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--primary-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-foreground);
  transition: all 0.3s;
}

.social-icon:hover {
  transform: scale(1.1);
  border-color: transparent;
  background: white;
}

.social-icon:hover.facebook { color: #1877F2; }
.social-icon:hover.instagram { color: #E4405F; }
.social-icon:hover.youtube { color: #FF0000; }
.social-icon:hover.snapchat { color: #FFFC00; }
.social-icon:hover.pinterest { color: #E60023; }
.social-icon:hover.twitter { color: #1DA1F2; }
.social-icon:hover.google { color: #DB4437; }
.social-icon:hover.tumblr { color: #36465D; }

.social-icon svg {
  width: 14px;
  height: 14px;
}

.footer-bottom {
  background: var(--background);
  padding: 1rem;
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom-content {
    flex-direction: row;
  }
}

.footer-copyright {
  color: var(--muted-foreground);
  font-style: italic;
  font-size: 0.75rem;
  font-weight: 500;
}

.footer-logo img {
  height: 32px;
  width: auto;
}

/* ============ Page Styles ============ */
.page-hero {
  padding: 2rem 0;
  margin-top: 80px;
}

.page-hero .section-header {
  margin-bottom: 0;
}

.page-description {
  color: var(--muted-foreground);
  margin-top: 1.5rem;
  font-size: 1.125rem;
}

@media (min-width: 768px) {
  .page-hero {
    padding: 3rem 0;
  }
}

/* Venues Grid */
.venues-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .venues-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .venues-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.venue-rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.venue-rating svg {
  width: 14px;
  height: 14px;
  fill: #fbbf24;
  color: #fbbf24;
}

.venue-location {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.venue-location svg {
  width: 14px;
  height: 14px;
}

/* Planners Grid */
.planners-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .planners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .planners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.planner-card {
  background: var(--card);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: all 0.5s ease-out;
  border: 1px solid var(--border);
}

.planner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.planner-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.planner-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.planner-location svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.planner-info {
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.planner-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: var(--foreground);
  font-size: 0.875rem;
}

.planner-detail svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
}

.planner-detail a {
  color: var(--foreground);
  transition: color 0.3s;
}

.planner-detail a:hover {
  color: var(--primary);
}

/* ============ Animations ============ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============ Utilities ============ */
.text-center { text-align: center; }
.mt-20 { margin-top: 80px; }
