/* =========================================================
   NEW STYLE — GRĂDINA ZOOLOGICĂ SAFARI CONSTANȚA
   Design premium · Responsive · Variabile CSS
   ========================================================= */

:root {
  --primary: #1b7a3d;
  --primary-dark: #145c2c;
  --primary-light: #2ea85a;
  --accent: #f2b705;
  --accent-dark: #d19e00;
  --dark: #14221a;
  --dark-soft: #1f3326;
  --text: #2c3a30;
  --muted: #66776b;
  --bg: #f6faf7;
  --white: #ffffff;
  --border: #e0e9e2;
  --radius: 14px;
  --shadow: 0 12px 32px rgba(20, 50, 30, 0.10);
  --shadow-lg: 0 24px 48px rgba(20, 50, 30, 0.16);
  --font-head: 'Georgia', 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--primary); color: #fff; padding: 10px 16px;
  border-radius: 0 0 8px 0; z-index: 200;
}
.skip-link:focus { left: 0; }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 44px; height: 44px; }
.brand-text {
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 700;
  color: var(--dark); letter-spacing: -0.5px;
}
.brand-accent { color: var(--primary); }

.main-nav ul { display: flex; gap: 28px; list-style: none; }
.main-nav a {
  font-weight: 500; color: var(--text); padding: 6px 2px;
  border-bottom: 2px solid transparent; position: relative;
}
.main-nav a:hover { color: var(--primary); }
.main-nav a.active { color: var(--primary); border-bottom-color: var(--primary); }

.btn-cta {
  background: var(--primary); color: #fff; padding: 11px 22px;
  border-radius: 999px; font-weight: 600; transition: .25s;
  box-shadow: 0 6px 16px rgba(27,122,61,.28);
}
.btn-cta:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 34px; height: 34px; flex-direction: column; justify-content: center; gap: 6px;
}
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--dark); border-radius: 3px; transition: .3s; }

/* ============ BUTOANE ============ */
.btn-primary, .btn-secondary, .btn-outline {
  display: inline-block; padding: 13px 30px; border-radius: 999px;
  font-weight: 600; font-size: .98rem; transition: .25s; text-align: center;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(27,122,61,.3); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); }
.btn-secondary { background: #fff; color: var(--primary); border: 2px solid var(--primary); }
.btn-secondary:hover { background: var(--primary); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-lg { padding: 16px 40px; font-size: 1.05rem; }
.btn-full { width: 100%; }

/* ============ HERO ============ */
.hero {
  background: linear-gradient(135deg, #145c2c 0%, #1b7a3d 55%, #2ea85a 100%);
  color: #fff; padding: 90px 0 70px; position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; right: -60px; bottom: -60px;
  width: 340px; height: 340px; border-radius: 50%;
  background: rgba(242,183,5,.14); opacity: .8;
}
.hero-inner { position: relative; z-index: 2; max-width: 820px; }
.hero-eyebrow {
  display: inline-block; background: rgba(242,183,5,.2); color: #ffe08a;
  padding: 6px 16px; border-radius: 999px; font-weight: 600; font-size: .85rem;
  letter-spacing: .5px; margin-bottom: 24px;
}
.hero h1 { font-family: var(--font-head); font-size: clamp(2.2rem, 4.5vw, 3.4rem); line-height: 1.15; margin-bottom: 20px; }
.hero p { font-size: 1.12rem; opacity: .94; max-width: 680px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stats div { text-align: center; }
.hero-stats strong {
  display: block; font-family: var(--font-head); font-size: 2.2rem; color: var(--accent);
}
.hero-stats span { font-size: .9rem; opacity: .85; }

/* ============ SECȚIUNI ============ */
section { padding: 70px 0; }
h2 {
  font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--dark); margin-bottom: 14px; line-height: 1.2;
}
.section-sub { color: var(--muted); margin-bottom: 38px; font-size: 1.05rem; max-width: 640px; }

/* Highlights — cards */
.highlights { background: var(--white); }
.cards-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px;
}
.card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; transition: .3s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-icon { font-size: 2.4rem; margin-bottom: 14px; }
.card h3 { font-family: var(--font-head); font-size: 1.25rem; margin-bottom: 10px; color: var(--dark); }

/* Intro */
.intro { background: var(--bg); }
.intro-grid {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; align-items: center;
}
.intro-text p { margin-bottom: 16px; }
.intro-visual { display: flex; flex-direction: column; gap: 16px; }
.visual-box {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; text-align: center; box-shadow: var(--shadow);
}
.visual-box strong { display: block; font-family: var(--font-head); font-size: 2.2rem; color: var(--primary); }
.visual-box span { color: var(--muted); }

/* Featured animals */
.featured-animals { background: var(--dark-soft); color: #fff; }
.featured-animals h2 { color: #fff; }
.featured-animals .section-sub { color: rgba(255,255,255,.7); }
.animals-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; margin-bottom: 40px;
}
.animal-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); overflow: hidden; transition: .3s;
}
.animal-card:hover { background: rgba(255,255,255,.12); transform: translateY(-5px); }
.animal-photo {
  height: 160px; display: flex; align-items: center; justify-content: center;
  font-size: 4rem; background: linear-gradient(135deg, rgba(27,122,61,.5), rgba(47,170,90,.3));
}
.animal-card figcaption { padding: 20px; }
.animal-card h3 { font-family: var(--font-head); font-size: 1.2rem; margin-bottom: 8px; color: var(--accent); }
.animal-card p { font-size: .92rem; opacity: .85; }
.featured-animals .btn-outline { border-color: var(--accent); color: var(--accent); }
.featured-animals .btn-outline:hover { background: var(--accent); color: var(--dark); }

/* Price cards */
.tickets-preview { background: var(--white); }
.price-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-bottom: 40px;
}
.price-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; text-align: center; transition: .3s;
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.price-card-highlight {
  background: linear-gradient(160deg, var(--primary), var(--primary-dark)); color: #fff;
  border-color: transparent; box-shadow: var(--shadow-lg);
}
.price-card h3 { font-family: var(--font-head); font-size: 1.15rem; margin-bottom: 16px; }
.price-card-highlight h3 { color: #fff; }
.price { font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; margin-bottom: 18px; }
.currency { font-size: 1rem; font-weight: 400; vertical-align: super; margin-right: 4px; color: var(--muted); }
.price-card-highlight .currency { color: rgba(255,255,255,.8); }
.price-card ul { list-style: none; text-align: left; }
.price-card li { padding: 7px 0 7px 24px; position: relative; font-size: .92rem; }
.price-card li::before {
  content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 700;
}
.price-card-highlight li::before { color: var(--accent); }

/* Testimonials */
.testimonials { background: var(--bg); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px;
}
.quote { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.stars { color: var(--accent); font-size: 1.1rem; letter-spacing: 3px; margin-bottom: 14px; }
.quote p { font-style: italic; margin-bottom: 16px; }
.quote cite { font-style: normal; font-weight: 600; color: var(--primary); }

/* FAQ */
.faq { background: var(--white); }
details {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 22px; margin-bottom: 14px;
}
summary { cursor: pointer; font-weight: 600; color: var(--dark); list-style: none; position: relative; padding-right: 30px; }
summary::after { content: '+'; position: absolute; right: 0; font-size: 1.4rem; color: var(--primary); }
details[open] summary::after { content: '−'; }
details p { margin-top: 12px; color: var(--muted); }

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--dark); text-align: center;
}
.cta h2 { color: var(--dark); }
.cta p { margin-bottom: 30px; font-size: 1.05rem; }
.cta .btn-primary { background: var(--dark); color: #fff; }
.cta .btn-primary:hover { background: #000; }

/* ============ PAGINI INTERIOARE ============ */
.page-hero {
  background: linear-gradient(135deg, #145c2c, #1b7a3d);
  color: #fff; padding: 70px 0 50px;
}
.page-hero h1 { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 12px; }
.page-hero p { max-width: 720px; opacity: .9; }

.species-section { background: var(--white); }
.species-alt { background: var(--bg); }
.species-grid { display: flex; flex-direction: column; gap: 28px; }
.species-card {
  display: grid; grid-template-columns: 160px 1fr; gap: 24px;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; align-items: center; transition: .3s;
}
.species-card:hover { box-shadow: var(--shadow); }
.species-photo {
  width: 160px; height: 160px; border-radius: 14px; display: flex;
  align-items: center; justify-content: center; font-size: 4rem;
  background: linear-gradient(135deg, rgba(27,122,61,.15), rgba(242,183,5,.15));
}
.species-info h3 { font-family: var(--font-head); font-size: 1.3rem; color: var(--dark); margin-bottom: 4px; }
.habitat-label {
  display: inline-block; background: var(--primary-light); color: #fff;
  font-size: .75rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; margin-bottom: 10px;
}
.species-info p { margin-bottom: 6px; font-size: .96rem; }
.feeding-time { color: var(--primary); font-weight: 500; }
.species-alt .btn-outline { margin-top: 36px; }

/* Tickets full */
.tickets-full { background: var(--bg); }
.abonamente { background: var(--white); }
.how-to-buy { background: var(--bg); }
.steps-list {
  list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 14px; max-width: 720px;
}
.steps-list li {
  counter-increment: step; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 20px 18px 70px; position: relative;
}
.steps-list li::before {
  content: counter(step); position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.important-info { background: var(--white); }
.info-list { list-style: none; display: flex; flex-direction: column; gap: 10px; max-width: 780px; }
.info-list li { background: var(--bg); border: 1px solid var(--border); padding: 14px 18px; border-radius: 10px; }

/* Contact */
.contact-section { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info h2 { margin-bottom: 26px; }
.info-item { margin-bottom: 22px; }
.info-item strong { display: block; color: var(--primary); margin-bottom: 4px; }
.contact-form-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.contact-form label { display: block; font-weight: 600; margin: 14px 0 6px; color: var(--dark); font-size: .92rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border);
  border-radius: 10px; font-family: inherit; font-size: .95rem; background: #fbfdfc;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(27,122,61,.15);
}
.contact-form button { margin-top: 20px; border: none; cursor: pointer; }

.map-section { background: var(--white); }
.map-placeholder {
  background: linear-gradient(135deg, #e8f2e9, #dceadf);
  border: 2px dashed var(--primary-light); border-radius: var(--radius);
  padding: 60px 20px; text-align: center; margin-top: 30px;
}
.map-pin { font-size: 3rem; display: block; margin-bottom: 12px; }
.map-content h3 { font-family: var(--font-head); color: var(--dark); margin-bottom: 8px; }
.map-content p { color: var(--muted); margin-bottom: 6px; }
.map-content .btn-outline { margin-top: 18px; }

/* 404 */
.error-section { background: linear-gradient(135deg, #f6faf7, #e8f2e9); min-height: 60vh; display: flex; align-items: center; text-align: center; }
.error-inner { max-width: 600px; }
.error-code { font-family: var(--font-head); font-size: 6rem; color: var(--primary); font-weight: 700; line-height: 1; display: block; margin-bottom: 8px; }
.error-inner h1 { font-family: var(--font-head); margin-bottom: 14px; }
.error-inner p { color: var(--muted); max-width: 460px; margin: 0 auto 10px; }
.error-actions { margin-top: 26px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============ FOOTER ============ */
.site-footer { background: var(--dark); color: rgba(255,255,255,.85); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; padding-bottom: 40px; }
.footer-col h4 { color: #fff; font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 16px; }
.footer-col p { font-size: .92rem; margin-bottom: 8px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,.8); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; }
.footer-bottom p { font-size: .88rem; color: rgba(255,255,255,.6); }
.footer-credit { font-size: .82rem; margin-top: 6px; opacity: .7; }
.footer-credit a { color: rgba(255,255,255,.85); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .species-card { grid-template-columns: 120px 1fr; }
  .species-photo { width: 120px; height: 120px; font-size: 3rem; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--border); display: none; padding: 10px 20px 20px;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 6px; }
  .main-nav a { display: block; padding: 12px 8px; border-bottom: 1px solid var(--border); }
  .main-nav a.active { border-bottom-color: var(--primary); }
  .header-inner .btn-cta { display: none; }
  .hero { padding: 60px 0 50px; }
  .hero-stats { gap: 24px; }
  .hero-stats strong { font-size: 1.7rem; }
  .cards-grid, .animals-grid, .price-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .species-card { grid-template-columns: 1fr; text-align: center; }
  .species-photo { width: 100%; height: 180px; font-size: 4rem; }
  section { padding: 55px 0; }
}
