/* ============================================
   PEARBEATS — CLEANED DESIGN SYSTEM
   ============================================ */

/* ========== 1. VARIABLES ========== */
:root {
  --pear-green: #B5C730;
  --pear-green-light: #dbe29c;
  --pear-light: #d4e89e;
  --pear-pale: #eff5d6;
  --pear-dark: #9aa820;
  --pear-bordeaux: #8B4557;
  --pear-bordeaux-light: #B57B8C;
  --white: #fff;
  --charcoal: #1a1a2e;
  --color-text: #222;
  --color-text-muted: #666;
  --color-bg: #fff;
  --gray: #666;
  --gray-light: #eee;
  --cream: #faf8f3;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius: 16px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.4);
  --transition: all 0.3s ease;
}

/* ========== 2. RESET & BASE ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--color-text); line-height: 1.5; background: var(--color-bg); }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--charcoal); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
section { padding: 80px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ========== 3. UTILITIES ========== */
.section-label { display: inline-block; font-size: 0.75rem; letter-spacing: 1px; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: 12px; }
.section-title { font-size: 2rem; margin: 0 0 16px; color: var(--charcoal); }
.section-subtitle { color: var(--color-text-muted); max-width: 600px; margin-bottom: 40px; font-size: 1rem; }

/* ========== 4. BUTTONS ========== */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 22px; border-radius: var(--radius-sm); font-weight: 500; font-size: 0.95rem; cursor: pointer; border: none; transition: var(--transition); }
.btn:hover { transform: translateY(-2px); opacity: 0.92; }
.btn-primary { background: var(--white); color: var(--charcoal); border: 2px solid var(--white); }
.btn-primary:hover { background: transparent; color: var(--white); }
.btn-secondary { background: transparent; border: 2px solid var(--pear-green); color: var(--pear-green); }
.btn-secondary:hover { background: var(--pear-green); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); }
.btn-outline:hover { background: var(--white); color: var(--charcoal); border-color: var(--white); }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.hero-buttons { display: flex; gap: 20px; flex-wrap: wrap; }

/* ========== 5. GRID ========== */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }

/* ========== 6. HERO ========== */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; background: linear-gradient(135deg, var(--pear-green) 0%, var(--pear-dark) 100%); overflow: hidden; padding-top: 80px; }
.hero::before { content: ''; position: absolute; top: -20%; right: -10%; width: 600px; height: 600px; background: var(--pear-light); border-radius: 50%; opacity: 0.3; }
.hero-content { position: relative; z-index: 2; max-width: 720px; padding: 0 24px; }
.hero-tag { display: inline-block; background: rgba(255,255,255,0.25); color: var(--white); padding: 8px 18px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; margin-bottom: 28px; }
.hero h1 { font-size: 4rem; color: var(--white); margin-bottom: 24px; }
.hero h1 em { font-style: italic; color: var(--pear-pale); }
.hero p { font-size: 1.25rem; color: rgba(255,255,255,0.9); margin-bottom: 40px; max-width: 560px; }

/* Hero Scroll */
.hero-scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.7); font-size: 0.8rem; text-align: center; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-scroll svg { margin-top: 0; animation: bounce 2s infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ========== 7. SECTION BACKGROUNDS ========== */
#about { background: var(--white); }
#artists { background: var(--cream); }
#services { background: var(--cream); }
#contact { background: var(--pear-green); }
footer { background: var(--charcoal); }

/* ========== 8. ABOUT SECTION ========== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-text h2 { color: var(--charcoal); font-size: 2rem; margin-bottom: 24px; }
.about-text p { color: var(--gray); margin-bottom: 20px; font-size: 1.05rem; }
.about-stats { display: flex; gap: 40px; margin-top: 40px; }
.stat-item h3 { font-size: 2.8rem; color: var(--pear-bordeaux); margin-bottom: 4px; }
.stat-item p { font-size: 0.9rem; color: var(--gray); margin: 0; }
.about-visual { position: relative; width: 100%; }
.about-visual-card { background: var(--pear-green); border-radius: var(--radius); padding: 60px 40px; text-align: center; color: var(--white); box-shadow: var(--shadow-lg); }
.about-visual-card svg { width: 80px; height: 80px; margin-bottom: 24px; fill: var(--white); opacity: 0.9; }
.about-visual-card h3 { font-size: 1.8rem; margin-bottom: 12px; color: var(--white) !important; }
.about-visual-card p { color: rgba(255,255,255,0.85); font-size: 1rem; }

/* ========== 9. SERVICES & CARDS ========== */
.service-card { background: var(--white); padding: 36px 28px; border-radius: var(--radius); border: 1px solid var(--gray-light); transition: var(--transition); text-align: left; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--pear-green); }
.service-card h3 { font-size: 1.25rem; margin-bottom: 12px; line-height: 1.3; color: var(--charcoal); }
.service-card p { margin-bottom: 0; font-size: 0.95rem; line-height: 1.6; color: var(--gray); }
.icon-circle { width: 56px; height: 56px; background: var(--pear-pale); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.icon-circle svg { width: 28px; height: 28px; fill: var(--pear-bordeaux); }

/* ========== 10. ARTIST CARDS ========== */
.artists-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.artist-card { background: var(--white); border-radius: var(--radius); overflow: hidden; transition: var(--transition); box-shadow: var(--shadow-sm); width: auto; min-width: 280px; max-width: 360px; height: auto; display: flex; flex-direction: column; }
.artist-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-trigger { background: none; border: none; cursor: pointer; padding: 0; width: 100%; text-align: left; font: inherit; color: inherit; }
.artist-card-image { position: relative; width: 100%; height: 240px; background: var(--pear-pale); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.artist-card-image svg { width: 80px; height: 80px; fill: var(--pear-green); opacity: 0.6; }
.artist-badge { position: absolute; top: 16px; left: 16px; background: var(--pear-green); color: var(--white); padding: 6px 14px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; z-index: 2; }
.artist-card-info { padding: 20px; background: var(--white); }
.artist-card-info h3 { margin: 0 0 6px 0; font-size: 1.2rem; font-weight: 600; line-height: 1.3; }
.artist-card-info p.city { margin: 0; font-size: 0.9rem; color: var(--gray); }

/* ========== 11. MODAL ========== */
dialog { display: none !important; border: none !important; border-radius: var(--radius) !important; max-width: 720px !important; width: 90% !important; padding: 0 !important; box-shadow: var(--shadow-lg) !important; background: var(--white) !important; color: var(--charcoal) !important; overflow: hidden !important; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%) !important; position: fixed !important; margin: 0 !important; max-height: 90vh !important; overflow-y: auto !important; }
dialog[open] { display: block !important; animation: fadeIn 0.2s ease-out !important; }
dialog::backdrop { background: rgba(0,0,0,0.55) !important; backdrop-filter: blur(4px) !important; }
@keyframes fadeIn { from { opacity: 0; transform: translate(-50%, -50%) scale(0.95); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.modal-close { position: absolute; top: 12px; right: 12px; background: rgba(0,0,0,0.05); border: none; border-radius: 50%; width: 36px; height: 36px; font-size: 22px; line-height: 1; cursor: pointer; z-index: 10; color: var(--gray); transition: var(--transition); }
.modal-close:hover { background: rgba(0,0,0,0.12); }
.modal-body { padding: 32px; }
.modal-header { margin-bottom: 24px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.modal-header h2 { margin: 0; font-size: 1.5rem; color: var(--charcoal); }
.modal-genre { display: inline-block; padding: 4px 12px; background: var(--pear-green); border-radius: 20px; font-size: 0.8rem; color: var(--white); }
.modal-video { margin: 0 0 24px 0; }
.modal-video iframe { width: 100%; aspect-ratio: 16/9; border: none; border-radius: var(--radius-md); }
.modal-links { display: flex; gap: 12px; flex-wrap: wrap; }
.modal-links .btn-primary { background: var(--pear-green); color: var(--white); border: 2px solid var(--pear-green); }
.modal-links .btn-primary:hover { background: transparent; color: var(--pear-green); }
.modal-image { width: 100%; margin-bottom: 20px; border-radius: 12px; overflow: hidden; }
.modal-image img { width: 100%; height: auto; max-height: 400px; object-fit: cover; display: block;}

/* ========== 12. NAVIGATION ========== */
.navbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--gray-light); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; max-width: 1200px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 0; white-space: nowrap; font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; color: var(--charcoal); }
.logo > * { margin: 0; }
.logo .accent-p { color: var(--pear-bordeaux); transition: var(--transition); }
.logo:hover .accent-p { color: var(--pear-bordeaux-light); }
.logo span { color: var(--pear-green); }
.logo-mark { width: 36px; height: 48px; background: var(--pear-green); border-radius: 35% 35% 50% 50%; transform: rotate(25deg); position: relative; flex-shrink: 0; }
.logo-mark::after { content: ''; position: absolute; top: -8px; left: 50%; transform: translateX(-50%) rotate(-25deg); width: 5px; height: 10px; background: var(--pear-dark); border-radius: 50% 50% 0 0; }
.nav-links { display: flex; gap: 36px; list-style: none; align-items: center; }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: var(--charcoal); position: relative; transition: var(--transition); }
.nav-links a:hover { color: var(--pear-bordeaux); }
.nav-links a::after { background: var(--pear-bordeaux); }
.nav-cta { background: var(--pear-green); color: var(--white) !important; padding: 10px 24px; border-radius: 30px; font-weight: 600; }

/* Language Switcher */
.lang-switch { background: var(--pear-pale) !important; border: 2px solid var(--pear-green) !important; padding: 6px 12px !important; border-radius: 20px !important; font-weight: 600 !important; cursor: pointer !important; font-size: 0.8rem !important; display: inline-flex !important; align-items: center !important; gap: 4px !important; color: var(--charcoal) !important; transition: var(--transition) !important; }
.lang-switch:hover { background: var(--white) !important; border-color: var(--pear-green) !important; color: var(--pear-green) !important; }

/* ========== 13. CONTACT FORM ========== */
.contact { position: relative; overflow: hidden; padding: 100px 0; }
.contact::before { content: ''; position: absolute; top: -10%; left: -5%; width: 400px; height: 400px; background: var(--pear-light); border-radius: 50%; opacity: 0.2; }
.contact-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.contact-info h2 { color: var(--white) !important; font-size: 2.6rem; margin-bottom: 24px; }
.contact-info p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 40px; }
.contact-detail { display: flex; gap: 16px; margin-bottom: 20px; align-items: center; }
.contact-detail svg { width: 22px; height: 22px; fill: var(--white); opacity: 0.8; }
.contact-detail span { color: var(--white); font-size: 1rem; }
.social-links { display: flex; gap: 16px; margin-top: 30px; }
.social-icon { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; background: rgba(255,255,255,0.15); border-radius: 50%; color: var(--white); transition: var(--transition); }
.social-icon:hover { background: var(--white); }
.social-icon:hover svg { fill: var(--pear-green); }
.social-icon svg { width: 20px; height: 20px; fill: var(--white); }
.contact-form-wrapper { background: var(--white); padding: 50px 40px; border-radius: var(--radius); box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.contact-form h3 { margin: 0 0 24px; font-size: 1.3rem; color: var(--charcoal); }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--charcoal); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 14px 16px; border: 2px solid var(--gray-light); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 1rem; outline: none; transition: var(--transition); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--pear-green); background: var(--pear-pale); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-submit { width: 100%; background: var(--pear-green); color: var(--white); padding: 16px; border: none; border-radius: var(--radius-sm); font-size: 1.05rem; font-weight: 700; cursor: pointer; transition: var(--transition); }
.form-submit:hover { background: var(--pear-dark); transform: translateY(-1px); }

/* Formspree Success */
.form-success { text-align: center; padding: 40px 20px; }
.form-success h3 { color: var(--pear-green); font-size: 1.5rem; margin-bottom: 16px; }
.form-success p { color: var(--gray); font-size: 1rem; line-height: 1.6; }

/* ========== 14. FOOTER ========== */
footer { color: rgba(255,255,255,0.7); padding: 60px 0 30px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 0; margin-bottom: 16px; font-family: var(--font-heading); font-size: 1.4rem; color: var(--white) !important; }
.footer-brand .accent-p { color: var(--pear-bordeaux); transition: var(--transition); }
.footer-brand:hover .accent-p { color: var(--pear-bordeaux-light); }
.footer-brand span { color: var(--pear-green); }
.footer-col h4 { font-family: var(--font-body); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--white); margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 0.92rem; transition: var(--transition); }
.footer-col a:hover { color: var(--pear-bordeaux); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; }
.footer-bottom p { color: rgba(255,255,255,0.5); }

/* ========== 15. BORDEAUX ACCENTS ========== */
a:not(.btn):hover { color: var(--pear-bordeaux); }

/* ========== 16. LEGAL PAGES ========== */
.legal-content h2 { font-size: 1.3rem; margin-bottom: 16px; color: var(--charcoal); }
.legal-content h3 { font-size: 1.1rem; color: var(--gray); margin: 24px 0 12px 0; }
.legal-content p, .legal-content ul { line-height: 1.6; color: var(--color-text-muted); }
.legal-content ul { margin-left: 24px; margin-bottom: 16px; }
.legal-content a { color: var(--pear-bordeaux); }

/* ========== 17. RESPONSIVE ========== */
@media (max-width: 900px) {
  .navbar { position: sticky; top:0; }
  .nav-links { display: none; flex-direction: column; width: 100%; background: var(--white); padding: 24px 0; }
  .nav-links.active { display: flex; }
  .nav-links a { padding: 12px 24px; width: 100%; }
  .nav-toggle { display: flex; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
  .nav-toggle span { width: 26px; height: 3px; background: var(--charcoal); border-radius: 2px; }
  .hero h1 { font-size: 2.8rem; }
  .hero-buttons { flex-direction: column; }
  .btn { width: 100%; text-align: center; }
  .grid-3 { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  section { padding: 70px 0; }
  .contact { padding: 70px 0; }
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr !important; gap: 40px; }
  .about-visual, .about-visual-card, .about-text { width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; }
  .about-visual-card { padding: 40px 20px !important; margin: 0 !important; }
  .about-stats { gap: 20px; }
  .stat-item h3 { font-size: 2rem; }
  .container { padding: 0 16px; max-width: 100%; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 2.2rem; }
  .contact-form-wrapper { padding: 30px 20px; }
  .legal-content h2 { font-size: 1.1rem; }
}