/*
Theme Name: Aurea Homeopathy
Theme URI: https://example.com/aurea-homeopathy
Author: Aurea Team
Author URI: https://example.com
Description: A clean, minimal, and aesthetic WordPress theme for homeopathy medicine companies. Features yellow and blue tones, product showcase, about section, and all essential informative pages. Fully responsive and lightweight.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aurea-homeopathy
Tags: homeopathy, medical, health, minimal, responsive, yellow, blue, one-column, custom-menu, featured-images
*/

:root {
  --yellow: #FFD54F;
  --yellow-soft: #FFF8E1;
  --yellow-deep: #F9A825;
  --yellow-accent: #FFCA28;
  --blue: #1565C0;
  --blue-deep: #0D47A1;
  --blue-soft: #E3F2FD;
  --blue-mid: #42A5F5;
  --blue-glow: #90CAF9;
  --text: #1A237E;
  --text-muted: #546E7A;
  --white: #FFFFFF;
  --off-white: #FAFBFC;
  --shadow: 0 8px 32px rgba(21, 101, 192, 0.12);
  --shadow-hover: 0 16px 48px rgba(21, 101, 192, 0.18);
  --radius: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--off-white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .serif { font-family: 'Playfair Display', serif; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.fade-up { animation: fadeUp 0.7s ease-out both; }
.float { animation: float 4s ease-in-out infinite; }

/* Navigation */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(21,101,192,0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--blue-deep);
  font-weight: 700; font-size: 1.25rem; letter-spacing: -0.4px;
}
.logo img { width: 40px; height: 40px; object-fit: contain; border-radius: 10px; }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--text-muted); font-weight: 500; font-size: 0.95rem;
  transition: all 0.25s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: linear-gradient(90deg, var(--yellow-deep), var(--blue-mid));
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  color: white !important; padding: 10px 20px; border-radius: 50px;
  font-weight: 600; text-decoration: none; transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(21,101,192,0.25);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(21,101,192,0.35); }
.menu-toggle {
  display: none; background: var(--blue-soft); border: none; width: 44px; height: 44px;
  border-radius: 12px; font-size: 1.4rem; cursor: pointer; color: var(--blue);
  transition: all 0.2s; align-items: center; justify-content: center;
}
.menu-toggle:active { transform: scale(0.95); }

/* Hero */
.hero {
  min-height: 100vh; min-height: 100dvh; display: flex; align-items: center;
  background: linear-gradient(160deg, #FFFDE7 0%, #E3F2FD 40%, #FFF8E1 100%);
  position: relative; overflow: hidden; padding-top: 72px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('assets/images/hero.jpg') center/cover no-repeat;
  opacity: 0.12; mix-blend-mode: soft-light;
}
.hero-content {
  max-width: 1280px; margin: 0 auto; padding: 40px 20px 60px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--yellow-soft), #FFF3E0);
  color: var(--blue-deep); padding: 8px 18px;
  border-radius: 50px; font-size: 0.82rem; font-weight: 700; margin-bottom: 18px;
  border: 1px solid rgba(249,168,37,0.3);
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.08; margin-bottom: 16px; color: var(--blue-deep);
  font-weight: 600;
}
.hero h1 span {
  background: linear-gradient(135deg, var(--yellow-deep), #FFB300);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; font-style: italic;
}
.hero p { font-size: 1.1rem; color: var(--text-muted); max-width: 500px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  background: linear-gradient(135deg, var(--yellow-deep), var(--yellow-accent));
  color: var(--blue-deep); padding: 14px 28px; border-radius: 50px; font-weight: 700;
  text-decoration: none; box-shadow: 0 6px 20px rgba(249,168,37,0.35); transition: all 0.3s;
  display: inline-block; border: none; cursor: pointer; position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  background-size: 200% 100%; animation: shimmer 2s infinite;
  opacity: 0; transition: opacity 0.3s;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 12px 32px rgba(249,168,37,0.45); }
.btn-secondary {
  border: 2px solid var(--blue); color: var(--blue); padding: 12px 26px; border-radius: 50px;
  font-weight: 600; text-decoration: none; transition: all 0.3s; display: inline-block;
  background: rgba(255,255,255,0.6);
}
.btn-secondary:hover { background: var(--blue); color: white; transform: translateY(-2px); }
.hero-visual { position: relative; }
.hero-visual img {
  width: 100%; border-radius: 28px; box-shadow: var(--shadow); object-fit: cover; height: 420px;
  transition: transform 0.5s;
}
.hero-visual:hover img { transform: scale(1.02); }
.floating-card {
  position: absolute; bottom: -16px; left: -16px; background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px); padding: 16px 20px;
  border-radius: 16px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px;
  border: 1px solid rgba(255,255,255,0.8); animation: float 5s ease-in-out infinite;
}
.floating-card strong { display: block; font-size: 0.92rem; color: var(--blue-deep); }
.floating-card span { font-size: 0.78rem; color: var(--text-muted); }

/* Sections */
section { padding: 80px 20px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-header h2 { font-size: clamp(1.9rem, 5vw, 2.8rem); margin-bottom: 12px; color: var(--blue-deep); }
.section-header p { color: var(--text-muted); font-size: 1rem; }
.eyebrow {
  color: var(--yellow-deep); font-weight: 700; font-size: 0.78rem; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 8px; display: block;
}

/* Trust */
.trust { background: white; padding: 32px 20px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.trust-item h3 {
  font-size: 1.7rem; background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 4px;
}
.trust-item p { font-size: 0.85rem; color: var(--text-muted); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-img { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.about-img img { width: 100%; height: 480px; object-fit: cover; display: block; transition: transform 0.6s; }
.about-img:hover img { transform: scale(1.04); }
.about-content h2 { font-size: 2.3rem; margin-bottom: 16px; }
.about-content p { margin-bottom: 14px; color: var(--text-muted); }
.about-points { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.about-point { display: flex; gap: 14px; align-items: flex-start; }
.point-icon {
  width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(135deg, var(--yellow-soft), #FFF3E0);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--yellow-deep); font-size: 1.1rem; box-shadow: 0 4px 12px rgba(249,168,37,0.2);
}

/* Products */
.products { background: linear-gradient(180deg, var(--blue-soft) 0%, #FFFFFF 100%); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card {
  background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); border: 1px solid transparent;
}
.product-card:hover {
  transform: translateY(-10px); box-shadow: var(--shadow-hover);
  border-color: rgba(66,165,245,0.3);
}
.product-img { height: 240px; background: linear-gradient(180deg, #f8f9fa, #fff); overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product-card:hover .product-img img { transform: scale(1.06); }
.product-info { padding: 20px; }
.product-info h3 { font-size: 1.2rem; margin-bottom: 6px; color: var(--blue-deep); }
.product-info .potency { color: var(--blue-mid); font-size: 0.82rem; font-weight: 700; margin-bottom: 8px; }
.product-info p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 12px; }
.product-tag {
  display: inline-block; background: linear-gradient(135deg, var(--yellow-soft), #FFF8E1);
  color: var(--blue-deep); padding: 5px 14px; border-radius: 50px; font-size: 0.72rem; font-weight: 700;
  border: 1px solid rgba(249,168,37,0.25);
}

/* Principles */
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.principle-card {
  background: white; padding: 32px 24px; border-radius: var(--radius); text-align: center;
  border: 1px solid rgba(21,101,192,0.06); transition: all 0.35s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.principle-card:hover {
  border-color: var(--yellow-accent); transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(249,168,37,0.15);
}
.principle-icon {
  width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 20px;
  background: linear-gradient(135deg, var(--blue-soft), var(--yellow-soft));
  display: flex; align-items: center; justify-content: center; font-size: 1.7rem;
  box-shadow: 0 6px 16px rgba(21,101,192,0.1);
}
.principle-card h3 { margin-bottom: 10px; font-size: 1.25rem; color: var(--blue-deep); }

/* Testimonials */
.testimonials {
  background: linear-gradient(160deg, var(--blue-deep) 0%, #1976D2 100%);
  color: white; position: relative;
}
.testimonials::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255,213,79,0.15), transparent 50%);
}
.testimonials .section-header h2, .testimonials .eyebrow { color: white; }
.testimonials .section-header p { color: rgba(255,255,255,0.8); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.testi-card {
  background: rgba(255,255,255,0.1); backdrop-filter: blur(16px);
  padding: 26px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.15);
  transition: transform 0.3s;
}
.testi-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.15); }
.testi-card p { font-style: italic; margin-bottom: 16px; line-height: 1.7; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-author strong { display: block; }
.stars { color: var(--yellow); letter-spacing: 2px; margin-bottom: 10px; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #e8eef3; }
.faq-question {
  width: 100%; background: none; border: none; padding: 18px 0; text-align: left;
  font-size: 1.05rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  color: var(--text); font-family: inherit; transition: color 0.2s;
}
.faq-question:hover { color: var(--blue); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; color: var(--text-muted); }
.faq-answer.open { max-height: 220px; padding-bottom: 14px; }
.faq-icon { transition: transform 0.3s; font-size: 1.3rem; color: var(--blue-mid); }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.contact-info h2 { font-size: 2.2rem; margin-bottom: 14px; }
.contact-detail { display: flex; gap: 14px; margin-bottom: 16px; align-items: flex-start; }
.contact-form {
  background: white; padding: 32px; border-radius: 24px; box-shadow: var(--shadow);
  border: 1px solid rgba(21,101,192,0.06);
}
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.88rem; color: var(--blue-deep); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 13px 16px; border: 1.5px solid #e0e6ed; border-radius: 14px;
  font-family: inherit; font-size: 1rem; transition: all 0.25s; background: #fafbfc;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--blue-mid); background: white;
  box-shadow: 0 0 0 4px rgba(66,165,245,0.12);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Footer */
footer {
  background: linear-gradient(180deg, var(--blue-deep), #0A3D7A); color: rgba(255,255,255,0.85);
  padding: 50px 20px 24px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.footer-logo { display: flex; align-items: center; gap: 10px; color: white; font-weight: 700; font-size: 1.15rem; margin-bottom: 12px; text-decoration: none; }
.footer-logo img { width: 34px; height: 34px; border-radius: 8px; }
footer h4 { color: white; margin-bottom: 14px; font-family: 'Outfit', sans-serif; font-size: 1rem; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; }
footer a { color: rgba(255,255,255,0.75); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--yellow); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px; text-align: center; font-size: 0.82rem; }

/* Mobile enhancements */
@media (max-width: 1024px) {
  .hero-content, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .product-grid, .principles-grid, .testi-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { order: -1; }
  .hero-visual img { height: 320px; }
  .about-img img { height: 360px; }
}

@media (max-width: 768px) {
  .nav-inner { padding: 12px 16px; }
  .logo { font-size: 1.1rem; }
  .logo img { width: 36px; height: 36px; }
  .nav-cta { display: none; }
  .nav-links {
    display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
    flex-direction: column; padding: 32px 24px; gap: 8px;
    z-index: 999; overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    font-size: 1.15rem; padding: 14px 0; border-bottom: 1px solid #f0f4f8;
    width: 100%;
  }
  .nav-links a::after { display: none; }
  .menu-toggle { display: flex; }
  .product-grid, .principles-grid, .testi-grid, .trust-grid, .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  section { padding: 60px 16px; }
  .hero { padding-top: 64px; }
  .hero-content { padding: 24px 16px 48px; }
  .hero h1 { font-size: 2.3rem; }
  .hero p { font-size: 1rem; }
  .hero-visual img { height: 260px; border-radius: 20px; }
  .floating-card { left: 12px; bottom: 12px; padding: 12px 16px; }
  .section-header { margin-bottom: 36px; }
  .section-header h2 { font-size: 1.85rem; }
  .product-img { height: 220px; }
  .about-img img { height: 280px; }
  .contact-form { padding: 24px 18px; }
  .btn-primary, .btn-secondary { width: 100%; text-align: center; padding: 14px 20px; }
  .hero-actions { flex-direction: column; }
  .trust { padding: 28px 16px; }
  .trust-item h3 { font-size: 1.5rem; }
  footer { padding: 40px 16px 20px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-badge { font-size: 0.75rem; padding: 6px 14px; }
  .product-info { padding: 16px; }
  .principle-card { padding: 24px 18px; }
  .testi-card { padding: 20px; }
}

/* WordPress helpers */
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.screen-reader-text { position: absolute; left: -9999px; }
