/* ============================================
   PARKAR ICE CREAM — DESIGN SYSTEM
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600;700&family=Nunito:ital,wght@0,400;0,600;0,700;0,800;0,900;1,400&family=Cormorant+Garamond:wght@600;700;900&display=swap');

/* ── CSS Variables ── */
:root {
  --green-dark:   #1a7c33;
  --green-mid:    #2db84b;
  --green-light:  #4ed46a;
  --green-pale:   #eaf8ee;
  --green-border: #c8e6cd;
  --gold:         #e6a800;
  --gold-light:   #f5c400;
  --cream:        #fdfff8;
  --white:        #ffffff;
  --text-dark:    #1a1a1a;
  --text-mid:     #444;
  --text-soft:    #777;
  --shadow-sm:    0 2px 12px rgba(26,124,51,.12);
  --shadow-md:    0 6px 30px rgba(26,124,51,.18);
  --shadow-lg:    0 12px 60px rgba(26,124,51,.22);
  --radius-sm:    8px;
  --radius-md:    16px;
  --radius-lg:    24px;
  --radius-xl:    40px;
  --transition:   0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Typography ── */
.font-script  { font-family: 'Dancing Script', cursive; }
.font-serif   { font-family: 'Cormorant Garamond', serif; }
.font-sans    { font-family: 'Nunito', sans-serif; }

h1, h2, h3 { line-height: 1.2; }

/* ── Utility ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 32px; }

/* ── Gradient Text ── */
.text-gradient {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Section Heading ── */
.section-tag {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 30px;
  border: 1px solid var(--green-border);
  margin-bottom: 14px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--text-dark);
}
.section-subtitle {
  font-family: 'Dancing Script', cursive;
  font-size: 1.3rem;
  color: var(--green-mid);
  margin-bottom: 8px;
}
.section-desc {
  color: var(--text-mid);
  max-width: 560px;
  margin: 16px auto 0;
  font-size: 1rem;
}

/* ── Divider ── */
.divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--green-dark), var(--green-light));
  border-radius: 2px;
  margin: 16px auto;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  color: var(--white);
  box-shadow: 0 6px 24px rgba(26,124,51,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(26,124,51,.45);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--white);
  box-shadow: 0 6px 24px rgba(230,168,0,.35);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(230,168,0,.45);
}

/* ── NAVBAR ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--green-border);
  transition: box-shadow var(--transition);
}
#navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(26,124,51,0.25));
  transition: var(--transition);
}
.nav-logo:hover .brand-logo-img {
  transform: scale(1.05);
  filter: drop-shadow(0 6px 16px rgba(26,124,51,0.4));
}
.footer-brand .brand-logo-img {
  filter: invert(1) brightness(200) drop-shadow(0 4px 12px rgba(255,255,255,0.15));
  height: 85px;
  margin-bottom: 16px;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-mid);
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 16px; right: 16px;
  height: 2px;
  background: linear-gradient(90deg, var(--green-dark), var(--green-mid));
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--green-dark); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid)) !important;
  color: var(--white) !important;
  border-radius: var(--radius-xl) !important;
  box-shadow: 0 4px 16px rgba(26,124,51,.3);
}
.nav-cta::after { display: none; }
.nav-cta:hover { box-shadow: 0 6px 24px rgba(26,124,51,.4) !important; transform: translateY(-1px); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--green-dark);
  border-radius: 1px;
  transition: var(--transition);
}

/* Mobile menu */
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 16px 24px;
  border-top: 1px solid var(--green-border);
  background: var(--white);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 12px 0;
  font-weight: 700;
  color: var(--text-mid);
  border-bottom: 1px solid var(--green-border);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--green-dark); }

/* ── FOOTER ── */
footer {
  background: radial-gradient(circle at top center, #0f4d20 0%, #020a04 100%);
  color: rgba(255,255,255,.7);
  padding: 80px 0 32px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(230,168,0,0.15);
}
footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(230,168,0,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 64px;
  position: relative;
  z-index: 1;
}

.footer-brand .brand-logo-img {
  filter: brightness(0) invert(1) drop-shadow(0 4px 12px rgba(255,255,255,0.15));
  height: 90px;
  margin-bottom: 24px;
}
.footer-brand p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,.6);
  max-width: 300px;
  font-family: 'Nunito', sans-serif;
}

.footer-col h4 {
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.footer-col ul li {
  margin-bottom: 14px;
}
.footer-col ul li a {
  font-family: 'Nunito', sans-serif;
  font-size: 1.05rem;
  color: rgba(255,255,255,.85);
  transition: all 0.3s ease;
  font-weight: 600;
}
.footer-col ul li a:hover { color: var(--gold); padding-left: 8px; }

.footer-contact-item {
  display: flex; gap: 14px; margin-bottom: 24px; align-items: flex-start;
}
.footer-contact-item .icon { font-size: 1.3rem; margin-top: 2px; } /* Removed grayscale to keep original colors */
.footer-contact-item span { 
  font-family: 'Nunito', sans-serif;
  font-size: 1.05rem; 
  color: rgba(255,255,255,.85); 
  line-height: 1.6; 
}
.footer-contact-item a { transition: all 0.3s ease; }
.footer-contact-item a:hover { color: var(--gold) !important; text-shadow: 0 0 8px rgba(230,168,0,0.4); }

.social-links { display: flex; gap: 12px; margin-top: 24px; }
.social-link {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(230,168,0,0.05); border: 1px solid rgba(230,168,0,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; transition: all 0.3s ease; cursor: pointer; color: var(--gold); text-decoration: none;
}
.social-link:hover {
  background: var(--gold); color: #000;
  border-color: var(--gold); transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(230,168,0,0.2);
}

.footer-bottom {
  border-top: 1px solid rgba(230,168,0,0.15);
  padding-top: 32px; display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 16px;
  position: relative; z-index: 1;
}
.footer-bottom p:first-child { font-size: 0.85rem; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: 1px; }
.footer-bottom p:last-child {
  font-family: 'Dancing Script', cursive; font-size: 2rem; color: var(--gold);
}

/* ── Cards ── */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--green-border);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ── Badge ── */
.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
}
.badge-green {
  background: var(--green-pale);
  color: var(--green-dark);
  border: 1px solid var(--green-border);
}
.badge-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--white);
}

/* ── Scroll to top ── */
#scroll-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}
#scroll-top.visible { opacity: 1; transform: translateY(0); }
#scroll-top:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(45,184,75,.4); }
  70%  { box-shadow: 0 0 0 16px rgba(45,184,75,0); }
  100% { box-shadow: 0 0 0 0 rgba(45,184,75,0); }
}

.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .section { padding: 56px 0; }
  .footer-brand p { max-width: 100%; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
}
