/*
Theme Name: KingFlowers Orchid
Theme URI: https://example.com/kingflowers-orchid
Author: Ben for Mr.Tom
Description: WordPress theme giới thiệu và bán hoa lan hồ điệp cho KingFlowers.
Version: 1.3.0
Text Domain: kingflowers-orchid
*/

:root {
  --bg: #fffaf8;
  --surface: #ffffff;
  --surface-alt: #fdf4f1;
  --primary: #d45a67;
  --primary-dark: #8f3644;
  --text: #2b2020;
  --muted: #7b6666;
  --line: #f1d8da;
  --shadow: 0 18px 40px rgba(180, 96, 107, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Be Vietnam Pro", sans-serif;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  background: rgba(255, 254, 253, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #f6e3e3;
  position: sticky;
  top: 0;
  z-index: 20;
}
.nav {
  display: flex; justify-content: space-between; align-items: center; padding: 14px 0;
}
.brand { font-size: 1.4rem; font-weight: 800; color: var(--primary-dark); text-decoration: none; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a { text-decoration: none; font-weight: 600; color: var(--primary-dark); font-size: 0.95rem; }
.nav-links a:hover { color: var(--primary); }

/* Hero */
.hero-home {
  padding: 80px 0 60px;
  background: url('assets/images/hero.jpg') center/cover no-repeat;
  position: relative;
}
.hero-home::before { content: ''; position: absolute; inset: 0; background: rgba(255,250,248,0.85); }
.hero-home > * { position: relative; z-index: 2; }
.hero-grid {
  display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 48px; align-items: center;
}
.eyebrow { color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; margin-bottom: 12px; display: block; }
h1,h2,h3 { margin: 0; color: var(--text); }
h1 { font-size: clamp(2.4rem, 4vw, 4.2rem); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.3rem; font-weight: 700; line-height: 1.4; margin-bottom: 12px; }

.lead { font-size: 1.1rem; color: var(--muted); line-height: 1.8; margin: 20px 0 32px; }
.section-copy, .collection-content p, .product-card p, .testimonial-card p, .blog-card p, .contact-card p {
  color: var(--muted); line-height: 1.7; font-size: 0.98rem;
}
.strong-copy { font-size: 1.05rem; }

/* Buttons */
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; justify-content: center; align-items: center; border-radius: 8px; padding: 14px 28px;
  font-weight: 700; text-decoration: none; border: 0; cursor: pointer; transition: all 0.2s ease;
}
.btn-primary { background: var(--primary-dark); color: #fff; }
.btn-primary:hover { background: var(--primary); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(212,90,103,0.3); }
.btn-secondary { background: #fff; color: var(--primary-dark); border: 1px solid #f1d8da; }
.btn-secondary:hover { background: #fdf4f1; }
.btn-full { width: 100%; }

/* Cards */
.hero-card, .collection-card, .product-card, .testimonial-card, .blog-card, .contact-card {
  background: var(--surface); border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.03); transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-card { padding: 32px; border: 1px solid var(--line); }
.collection-card:hover, .product-card:hover, .blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.06); }

.hero-badge {
  display: inline-block; background: #fde8ea; color: var(--primary-dark); padding: 6px 14px; border-radius: 4px;
  font-size: 0.8rem; font-weight: 700; margin-bottom: 20px;
}

/* Sections */
.section { padding: 90px 0; }
.section-alt { background: var(--surface-alt); border-top: 1px solid #fbecec; border-bottom: 1px solid #fbecec; }
.section-head { margin-bottom: 40px; }
.center-head { text-align: center; max-width: 800px; margin: 0 auto 48px; }

/* Grids */
.collection-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.collection-card { overflow: hidden; border: 1px solid #f6e3e3; }
.collection-image { height: 380px; }
.collection-content { padding: 32px; }

.product-grid-extended { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card { overflow: hidden; border: 1px solid #f6e3e3; display: flex; flex-direction: column; }
.product-image { height: 280px; border-radius: 0; }
.product-body { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
.product-body p { flex-grow: 1; }
.product-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; padding-top: 20px; border-top: 1px solid #f6e3e3; }
.product-bottom span { font-weight: 800; color: var(--primary-dark); font-size: 1.1rem; }
.product-bottom a { font-weight: 700; color: var(--primary); text-decoration: none; }
.product-bottom a:hover { text-decoration: underline; }

.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-image { min-height: 500px; border-radius: 16px; box-shadow: 0 20px 40px rgba(0,0,0,0.06); background: url('assets/images/about.jpg') center/cover; }

.gallery-five { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.gallery-item { min-height: 280px; border-radius: 12px; }

/* Testimonials */
.testimonial-slider-look { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; overflow-x: auto; padding: 10px 4px 20px; scroll-snap-type: x mandatory; }
.testimonial-card { padding: 32px 24px; border: 1px solid #f6e3e3; min-width: 300px; scroll-snap-align: start; }
.testimonial-card p { font-style: italic; margin-bottom: 20px; }
.testimonial-card strong { color: var(--text); font-weight: 700; display: block; font-size: 0.95rem; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.blog-card { padding: 20px; border: 1px solid #f6e3e3; }
.blog-image { height: 200px; margin-bottom: 20px; border-radius: 8px; }

/* CTA */
.center-action { text-align: center; margin-top: 40px; }
.cta-box {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
  background: var(--primary-dark); color: #fff; padding: 48px; border-radius: 20px;
}
.cta-box h2 { color: #fff; }
.cta-box .eyebrow { color: #fbe6e8; }
.cta-box p { color: rgba(255,255,255,0.85); font-size: 1.05rem; }
.contact-card { padding: 32px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); box-shadow: none; backdrop-filter: blur(4px); }
.contact-card p { color: #fff; margin-bottom: 12px; }
.contact-card strong { opacity: 0.8; display: inline-block; width: 80px; }
.contact-card .btn { margin-top: 16px; }

/* Floating Contact */
.floating-contact {
  position: fixed; right: 24px; bottom: 24px; display: grid; gap: 12px; z-index: 30;
}
.floating-contact a {
  background: var(--primary-dark); color: white; padding: 14px 20px; border-radius: 999px; text-decoration: none; font-weight: 700; box-shadow: 0 4px 12px rgba(143,54,68,0.3); display: flex; align-items: center; gap: 8px; transition: transform 0.2s ease;
}
.floating-contact a:hover { transform: scale(1.05); }

/* Images Placeholders */
.orchid-white { background: url('assets/images/orchid_white.jpg') center/cover; }
.orchid-yellow { background: url('assets/images/orchid_yellow.jpg') center/cover; }
.orchid-purple { background: url('assets/images/orchid_purple.jpg') center/cover; }
.service-soft { background: url('assets/images/hero.jpg') center/cover; }
.service-fruit { background: url('assets/images/fruit.jpg') center/cover; }

/* Footer */
.site-footer { padding: 40px 0; color: var(--muted); text-align: center; border-top: 1px solid #f6e3e3; font-size: 0.9rem; }

/* Mobile */
@media (max-width: 1080px) {
  .product-grid-extended, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-five { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav { flex-direction: column; gap: 16px; padding: 20px 0; }
  .nav-links { justify-content: center; gap: 16px; }
  .hero-home { padding: 40px 0; }
  .hero-grid, .collection-grid, .product-grid-extended, .about-split, .blog-grid, .cta-box { grid-template-columns: 1fr; gap: 32px; }
  .gallery-five { grid-template-columns: repeat(2, 1fr); }
  .collection-image { height: 260px; }
  .about-image { min-height: 300px; height: 300px; }
  .floating-contact { right: 16px; bottom: 16px; }
  .section { padding: 60px 0; }
  .cta-box { padding: 32px 24px; }
}
@media (max-width: 480px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .gallery-five { grid-template-columns: 1fr; }
  .testimonial-card { min-width: 260px; }
}
