/*
Theme Name: Hair Restore Tirana
Theme URI: https://hair-restore.com
Author: Hair Restore Tirana
Description: Premium Hair Transplant Clinic Theme with multi-language support (EN/GR/IT). Black and gold luxury design with WhatsApp booking form.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hair-restore
*/

/* ======= BASE ======= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background-color: #0A0A0A; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif; color: #fff; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ======= NAVBAR ======= */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(10,10,10,0.75);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}
#navbar.scrolled {
  background: rgba(10,10,10,0.98);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
  border-bottom: 1px solid rgba(212,175,55,0.2);
}
.navbar-inner { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; height: 80px; }
.navbar-logo { display: flex; align-items: center; gap: 2px; }
.navbar-logo .logo-gold { font-size: 1.25rem; font-weight: 700; color: #D4AF37; letter-spacing: 0.15em; }
.navbar-logo .logo-white { font-size: 1.25rem; font-weight: 700; color: #fff; letter-spacing: 0.15em; }
.navbar-logo:hover .logo-gold { color: #E5C75E; }

.nav-links { display: none; align-items: center; gap: 2rem; }
@media (min-width: 1024px) { .nav-links { display: flex; } }

.nav-link {
  position: relative; color: #d1d5db; font-size: 0.875rem; font-weight: 500;
  letter-spacing: 0.05em; transition: color 0.2s;
}
.nav-link:hover { color: #D4AF37; }
.nav-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px; background: #D4AF37; transition: width 0.3s;
}
.nav-link:hover::after { width: 100%; }

.nav-link-btn {
  padding: 0.5rem 1.25rem; border-radius: 9999px;
  background: linear-gradient(to right, #D4AF37, #B8962E);
  color: #000; font-size: 0.875rem; font-weight: 600;
  transition: all 0.2s; position: relative; overflow: hidden;
}
.nav-link-btn:hover { background: linear-gradient(to right, #E5C75E, #D4AF37); }
.nav-link-btn::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}
.nav-link-btn:hover::before { left: 100%; }

.navbar-right { display: flex; align-items: center; gap: 0.75rem; }

/* Language Switcher */
.lang-switcher {
  display: flex; align-items: center; gap: 2px;
  border: 1px solid rgba(212,175,55,0.4); border-radius: 9999px;
  padding: 4px 6px; background: rgba(17,17,17,0.8);
}
.lang-btn {
  padding: 2px 10px; border-radius: 9999px; font-size: 0.7rem; font-weight: 700;
  color: #9ca3af; transition: all 0.2s; cursor: pointer; border: none; background: none;
}
.lang-btn:hover { color: #D4AF37; }
.lang-btn.active { background: #D4AF37; color: #000; }
.lang-sep { color: rgba(212,175,55,0.3); font-size: 10px; }

/* Mobile Menu */
.hamburger-btn {
  display: flex; padding: 8px; color: #9ca3af; transition: color 0.2s;
}
@media (min-width: 1024px) { .hamburger-btn { display: none; } }
.hamburger-btn:hover { color: #D4AF37; }

#mobile-menu {
  display: none; background: #0A0A0A;
  border-top: 1px solid rgba(212,175,55,0.2); padding: 0.75rem 0;
}
#mobile-menu.open { display: block; }
.mobile-nav-link {
  display: block; padding: 0.875rem 1.5rem;
  color: #d1d5db; font-size: 0.875rem; font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
.mobile-nav-link:hover { color: #D4AF37; background: #111; }
.mobile-nav-link.highlight { color: #D4AF37; font-weight: 600; }

/* ======= HERO ======= */
.hero-gradient {
  background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 50%, #0A0A0A 100%);
  position: relative;
}
.noise-overlay { position: relative; }
.noise-overlay::before {
  content: ''; position: absolute; inset: 0; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0;
}
.section-inner { position: relative; z-index: 1; }

.luxury-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; border-radius: 9999px;
  background: rgba(212,175,55,0.1); border: 1px solid rgba(212,175,55,0.3);
  color: #D4AF37; font-size: 0.875rem; font-weight: 500;
  backdrop-filter: blur(10px);
}

.gold-glow { box-shadow: 0 0 60px rgba(212,175,55,0.3); }
.image-container { position: relative; overflow: hidden; }
.image-container img { transition: transform 0.6s ease; width: 100%; height: 100%; object-fit: cover; }
.image-container:hover img { transform: scale(1.05); }

.stats-card {
  position: absolute; bottom: -24px; left: -24px;
  background: #111; border-radius: 1rem; padding: 1.5rem;
  border: 1px solid rgba(212,175,55,0.3);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* ======= SECTIONS ======= */
.section-surface { background: #0F0F0F; }
.section-dark { background: #0A0A0A; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.section-py { padding: 6rem 0; }
@media (min-width: 1024px) { .section-py { padding: 8rem 0; } }

.section-label {
  display: inline-block; padding: 6px 16px; border-radius: 9999px;
  background: rgba(212,175,55,0.1); border: 1px solid rgba(212,175,55,0.3);
  color: #D4AF37; font-size: 0.875rem; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
}
.section-title { font-size: clamp(1.875rem, 4vw, 3rem); font-weight: 700; color: #fff; line-height: 1.2; }
.section-desc { font-size: 1.125rem; color: #9ca3af; line-height: 1.7; }

/* ======= CARDS ======= */
.luxury-card {
  background: #111; border: 1px solid #2A2A2A; border-radius: 1rem;
  transition: all 0.3s ease; padding: 2rem;
}
.luxury-card:hover {
  border-color: rgba(212,175,55,0.5);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  transform: translateY(-5px);
}
.step-number {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(212,175,55,0.15); border: 2px solid rgba(212,175,55,0.3);
  display: flex; align-items: center; justify-content: center;
  color: #D4AF37; margin-bottom: 1.5rem; font-size: 1.25rem;
}

/* ======= TIMELINE ======= */
.timeline-wrapper { position: relative; }
.timeline-line {
  position: absolute; left: 7px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, #D4AF37 0%, rgba(212,175,55,0.2) 100%);
}
.timeline-item { display: flex; gap: 1.5rem; padding-bottom: 2rem; }
.timeline-dot {
  width: 16px; height: 16px; border-radius: 50%; background: #D4AF37;
  border: 3px solid #0A0A0A; box-shadow: 0 0 20px rgba(212,175,55,0.5);
  position: relative; z-index: 1; flex-shrink: 0; margin-top: 4px;
}
.timeline-period { color: #D4AF37; font-weight: 600; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; }
.timeline-title { color: #fff; font-size: 1.125rem; font-weight: 600; margin: 0.5rem 0; }
.timeline-desc { color: #9ca3af; }

/* ======= CHECK ICON ======= */
.check-icon {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: rgba(212,175,55,0.2); border: 2px solid #D4AF37;
  display: flex; align-items: center; justify-content: center;
  color: #D4AF37; font-size: 0.75rem;
}

/* ======= PRICING ======= */
.pricing-card {
  background: linear-gradient(135deg, #111 0%, #1A1A1A 100%);
  border: 2px solid rgba(212,175,55,0.3); border-radius: 1.5rem;
  padding: 3rem; box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.price-value {
  font-size: clamp(3.5rem, 8vw, 4.5rem); font-weight: 700;
  background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ======= FORM ======= */
.form-card {
  background: #111; border: 2px solid rgba(212,175,55,0.3);
  border-radius: 1.25rem; padding: 2rem; box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; color: #fff; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.5rem; }
.form-input {
  width: 100%; height: 48px; padding: 0 1rem;
  background: #1A1A1A; border: 1px solid #2A2A2A; border-radius: 0.5rem;
  color: #fff; font-size: 0.875rem; transition: border-color 0.2s;
  outline: none;
}
.form-input:focus { border-color: #D4AF37; }
.form-select {
  width: 100%; height: 48px; padding: 0 1rem;
  background: #1A1A1A; border: 1px solid #2A2A2A; border-radius: 0.5rem;
  color: #fff; font-size: 0.875rem; transition: border-color 0.2s;
  outline: none; cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23D4AF37' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  padding-right: 2.5rem;
}
.form-select:focus { border-color: #D4AF37; }
.form-select option { background: #1A1A1A; color: #fff; }
.form-error {
  display: none; background: rgba(127,29,29,0.4);
  border: 1px solid rgba(239,68,68,0.5); border-radius: 0.5rem;
  padding: 0.75rem 1rem; color: #f87171; font-size: 0.875rem;
  margin-bottom: 1rem;
}

/* ======= BUTTONS ======= */
.btn-gold {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: linear-gradient(to right, #D4AF37, #B8962E);
  color: #000; font-size: 1.0625rem; font-weight: 600; padding: 1rem 2rem;
  border-radius: 0.5rem; border: none; cursor: pointer;
  transition: all 0.2s; position: relative; overflow: hidden; width: 100%;
}
.btn-gold:hover { background: linear-gradient(to right, #E5C75E, #D4AF37); }
.btn-gold::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.5s;
}
.btn-gold:hover::before { left: 100%; }

.contact-item { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.contact-icon {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: rgba(212,175,55,0.2); display: flex; align-items: center; justify-content: center;
  color: #D4AF37; font-size: 1.125rem;
}
.contact-label { color: #6b7280; font-size: 0.75rem; }
.contact-value { color: #fff; font-weight: 600; font-size: 0.9375rem; }

/* ======= FOOTER ======= */
#site-footer {
  background: #050505; border-top: 1px solid rgba(212,175,55,0.2);
  padding: 2.5rem 1.5rem;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center;
}
@media (min-width: 768px) {
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer-logo .logo-gold { font-size: 1.1rem; font-weight: 700; color: #D4AF37; letter-spacing: 0.15em; }
.footer-logo .logo-white { font-size: 1.1rem; font-weight: 700; color: #fff; letter-spacing: 0.15em; }
.footer-tagline { color: #6b7280; font-size: 0.875rem; }
.footer-copy { color: #4b5563; font-size: 0.8125rem; }

/* ======= ANIMATIONS ======= */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(212,175,55,0.4); }
  50% { box-shadow: 0 0 40px rgba(212,175,55,0.7); }
}
.animate-pulse-glow { animation: pulse-glow 2s ease-in-out infinite; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.animate-float { animation: float 3s ease-in-out infinite; }

.fade-in { opacity: 0; transform: translateX(-30px); transition: opacity 0.9s ease, transform 0.9s ease; }
.fade-in.visible { opacity: 1; transform: translateX(0); }
.fade-in-right { opacity: 0; transform: translateX(30px); transition: opacity 0.9s ease 0.3s, transform 0.9s ease 0.3s; }
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

/* ======= GRID HELPERS ======= */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: center; }
@media (min-width: 1024px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.order-first-mobile { order: 1; }
.order-last-mobile { order: 2; }
@media (min-width: 1024px) { .order-first-mobile { order: 2; } .order-last-mobile { order: 1; } }

/* ======= TEXT HELPERS ======= */
.text-gold { color: #D4AF37; }
.text-muted { color: #9ca3af; }
.text-white { color: #fff; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.text-center { text-align: center; }
.max-w-2xl { max-width: 42rem; margin-left: auto; margin-right: auto; }
.max-w-3xl { max-width: 48rem; margin-left: auto; margin-right: auto; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0A0A0A; }
::-webkit-scrollbar-thumb { background: #D4AF37; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #E5C75E; }

/* Aspect ratios */
.aspect-4-3 { aspect-ratio: 4/3; }
.aspect-square { aspect-ratio: 1/1; }
.aspect-video { aspect-ratio: 16/9; }
.rounded-2xl { border-radius: 1rem; }
.overflow-hidden { overflow: hidden; }
