/*
Theme Name: Znzik
Theme URI: https://znzik.com
Author: Znzik
Author URI: https://znzik.com
Description: Morocco's #1 Activity Booking Platform — Custom WordPress theme for Znzik
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: znzik
Tags: travel, booking, activities, morocco
*/

/* ============================================
   ZNZIK.COM — Global Stylesheet
   Morocco's #1 Activity Booking Platform
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

:root {
  --ocean: #0077b6;
  --ocean-deep: #023e8a;
  --ocean-light: #00b4d8;
  --sand: #f4a261;
  --sand-light: #fdf0e0;
  --coral: #e76f51;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --dark: #0d1b2a;
  --dark-2: #1b2838;
  --gray: #6c757d;
  --gray-light: #e9ecef;
  --success: #2d9c6e;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,119,182,0.10);
  --shadow-lg: 0 12px 48px rgba(2,62,138,0.15);
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}
h1, h2, h3, h4, h5 {
  font-family: 'Syne', sans-serif;
  line-height: 1.2;
  font-weight: 700;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── NAVBAR ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,119,182,0.08);
  padding: 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ocean-deep);
  letter-spacing: -1px;
}
.nav-logo span { color: var(--sand); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-2);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active, .nav-links .current-menu-item > a {
  background: var(--sand-light);
  color: var(--ocean-deep);
}
.nav-cta {
  background: var(--ocean) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--ocean-deep) !important; transform: translateY(-1px); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}
.btn-primary { background: var(--ocean); color: var(--white); }
.btn-primary:hover { background: var(--ocean-deep); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,119,182,0.3); }
.btn-secondary { background: var(--sand); color: var(--white); }
.btn-secondary:hover { background: var(--coral); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.15); }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean) 60%, var(--ocean-light) 100%);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}
.hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 20px; }
.hero p { font-size: 1.15rem; opacity: 0.88; max-width: 520px; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── SECTION ── */
.section { padding: 80px 0; }
.section-alt { background: var(--off-white); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 12px; }
.section-header p { color: var(--gray); font-size: 1.05rem; max-width: 540px; margin: 0 auto; }
.section-tag {
  display: inline-block;
  background: var(--sand-light);
  color: var(--ocean-deep);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

/* ── CARDS ── */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(0,119,182,0.06);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--ocean-deep), var(--ocean-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.card-body { padding: 24px; }
.card-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card-body p { color: var(--gray); font-size: 0.92rem; margin-bottom: 16px; }
.card-price { font-weight: 700; color: var(--ocean); font-size: 1.1rem; }

/* ── FEATURES ── */
.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-light);
  transition: var(--transition);
}
.feature-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 52px; height: 52px;
  min-width: 52px;
  background: var(--sand-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.feature-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature-item p { color: var(--gray); font-size: 0.9rem; }

/* ── STATS BAR ── */
.stats-bar {
  background: var(--ocean-deep);
  color: var(--white);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  text-align: center;
}
.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--sand);
  display: block;
}
.stat-label { font-size: 0.9rem; opacity: 0.8; }

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, var(--sand) 0%, var(--coral) 100%);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 14px; }
.cta-band p { opacity: 0.92; margin-bottom: 32px; font-size: 1.05rem; }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-logo span { color: var(--sand); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 260px; }
.footer-col h4 { color: var(--white); font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.9rem; opacity: 0.75; transition: var(--transition); }
.footer-col ul li a:hover { opacity: 1; color: var(--sand); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  opacity: 0.6;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── BADGE ── */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
}
.badge-ocean { background: rgba(0,119,182,0.1); color: var(--ocean); }
.badge-sand { background: rgba(244,162,97,0.15); color: var(--coral); }
.badge-success { background: rgba(45,156,110,0.1); color: var(--success); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean) 100%);
  color: var(--white);
  padding: 70px 0 60px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; }
.page-hero p { opacity: 0.88; font-size: 1.05rem; max-width: 500px; margin: 0 auto; }

/* ── FAQ ── */
.faq-item {
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: var(--white);
  border: none;
  text-align: left;
  padding: 20px 24px;
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  color: var(--dark);
}
.faq-question:hover { background: var(--off-white); }
.faq-question.open { background: var(--ocean-deep); color: var(--white); }
.faq-icon { font-size: 1.2rem; transition: var(--transition); }
.faq-question.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.8;
}
.faq-answer.open { max-height: 300px; padding: 20px 24px; }

/* ── LEGAL PAGES ── */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px;
}
.legal-content h2 { font-size: 1.5rem; margin: 40px 0 12px; color: var(--ocean-deep); }
.legal-content h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.legal-content p { color: var(--gray); margin-bottom: 14px; }
.legal-content ul { padding-left: 20px; color: var(--gray); margin-bottom: 14px; }
.legal-content ul li { margin-bottom: 6px; }
.legal-content .last-updated {
  display: inline-block;
  background: var(--sand-light);
  color: var(--ocean-deep);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  margin-bottom: 32px;
}

/* ── CONTACT FORM ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 500; margin-bottom: 8px; font-size: 0.92rem; }
.form-group input,
.form-group select,
.form-group textarea,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--dark);
  transition: var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px rgba(0,119,182,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ── BLOG ── */
.blog-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-img { height: 200px; background: linear-gradient(135deg, var(--ocean-deep), var(--ocean-light)); display: flex; align-items: center; justify-content: center; font-size: 3.5rem; }
.blog-body { padding: 24px; }
.blog-meta { font-size: 0.82rem; color: var(--gray); margin-bottom: 10px; }
.blog-body h3 { font-size: 1.1rem; margin-bottom: 10px; line-height: 1.4; }
.blog-body p { font-size: 0.9rem; color: var(--gray); margin-bottom: 16px; }
.blog-read { color: var(--ocean); font-weight: 600; font-size: 0.9rem; }

/* ── DESTINATIONS ── */
.dest-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 260px;
  cursor: pointer;
  transition: var(--transition);
}
.dest-card:hover { transform: scale(1.02); }
.dest-bg {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--ocean-deep), var(--ocean-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  transition: var(--transition);
}
.dest-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(2,62,138,0.85));
  padding: 32px 24px 20px;
  color: var(--white);
}
.dest-overlay h3 { font-size: 1.3rem; margin-bottom: 4px; }
.dest-overlay p { font-size: 0.85rem; opacity: 0.85; }

/* ── PACKAGES ── */
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border: 2px solid var(--gray-light);
  transition: var(--transition);
  text-align: center;
}
.pricing-card.featured {
  border-color: var(--ocean);
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card.featured:hover { transform: scale(1.05) translateY(-4px); }
.pricing-badge { background: var(--ocean); color: var(--white); padding: 4px 14px; border-radius: 50px; font-size: 0.78rem; font-weight: 600; display: inline-block; margin-bottom: 16px; }
.pricing-name { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.pricing-price { font-size: 2.8rem; font-weight: 800; color: var(--ocean-deep); font-family: 'Syne', sans-serif; margin: 16px 0; }
.pricing-price span { font-size: 1rem; font-weight: 400; color: var(--gray); }
.pricing-features { list-style: none; margin: 20px 0 28px; text-align: left; }
.pricing-features li { padding: 8px 0; border-bottom: 1px solid var(--gray-light); font-size: 0.92rem; display: flex; gap: 10px; align-items: center; }
.pricing-features li::before { content: '✓'; color: var(--success); font-weight: 700; }

/* ── 404 ── */
.page-404 { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.err-num { font-family: 'Syne', sans-serif; font-size: clamp(6rem, 15vw, 10rem); font-weight: 800; color: var(--ocean); opacity: 0.12; line-height: 1; }
.err-content { margin-top: -40px; }
.err-content h2 { font-size: 2rem; margin-bottom: 12px; }
.err-content p { color: var(--gray); margin-bottom: 32px; }

/* ── COOKIE BANNER ── */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--dark);
  color: var(--white);
  padding: 20px 32px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
  transform: translateY(0);
  transition: transform 0.4s ease;
}
#cookie-banner.hidden { transform: translateY(100%); }
#cookie-banner p { font-size: 0.9rem; opacity: 0.85; max-width: 600px; }
#cookie-banner p a { color: var(--sand); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; }
.cookie-accept { background: var(--ocean); color: var(--white); padding: 10px 22px; border: none; border-radius: 50px; font-weight: 600; cursor: pointer; transition: var(--transition); }
.cookie-accept:hover { background: var(--ocean-deep); }
.cookie-decline { background: transparent; color: rgba(255,255,255,0.6); padding: 10px 22px; border: 1px solid rgba(255,255,255,0.2); border-radius: 50px; font-weight: 500; cursor: pointer; transition: var(--transition); }
.cookie-decline:hover { border-color: rgba(255,255,255,0.5); color: var(--white); }

/* ── WordPress Core ── */
.wp-post-image { width: 100%; height: auto; }
.aligncenter { display: block; margin: 0 auto; }
.alignleft { float: left; margin: 0 20px 20px 0; }
.alignright { float: right; margin: 0 0 20px 20px; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--white); padding: 16px; border-bottom: 1px solid var(--gray-light); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 50px; }
  .pricing-card.featured { transform: scale(1); }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
}
