/* ============================================
   SHARMA AGENCY - Main Stylesheet
   Author: Sharma Agency Web Team
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --primary:       #1a3a5c;
  --primary-dark:  #0f2540;
  --accent:        #e8742a;
  --accent-light:  #f59547;
  --light-bg:      #f5f7fa;
  --white:         #ffffff;
  --text-dark:     #1c2b3a;
  --text-muted:    #6b7a8d;
  --border:        #dde3eb;
  --shadow-sm:     0 2px 8px rgba(26,58,92,0.08);
  --shadow-md:     0 8px 28px rgba(26,58,92,0.14);
  --shadow-lg:     0 20px 60px rgba(26,58,92,0.18);
  --radius:        10px;
  --transition:    all 0.32s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

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

/* ---------- Utility ---------- */
.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.2;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 560px;
  margin: 0 auto;
}

.btn-primary {
  display: inline-block;
  padding: 0.78rem 2rem;
  background: var(--accent);
  color: var(--white);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  border: 2px solid var(--accent);
}
.btn-primary:hover {
  background: transparent;
  color: var(--accent);
}

.btn-outline {
  display: inline-block;
  padding: 0.78rem 2rem;
  border: 2px solid rgba(255,255,255,0.7);
  color: var(--white);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

/* ============================================
   NAVBAR
   ============================================ */
#mainNav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1050;
  transition: var(--transition);
  padding: 0;
}

#mainNav.scrolled {
  background: var(--white) !important;
  box-shadow: var(--shadow-md);
}

#mainNav.scrolled .navbar-brand,
#mainNav.scrolled .nav-link { color: var(--primary-dark) !important; }

#mainNav .navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

#mainNav .navbar-brand span { color: var(--accent); }

#mainNav .nav-link {
  color: rgba(255,255,255,0.88) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.9rem !important;
  border-radius: 6px;
  transition: var(--transition);
}
#mainNav .nav-link:hover,
#mainNav .nav-link.active {
  color: var(--accent) !important;
}

.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  border-radius: 50px !important;
  padding: 0.45rem 1.3rem !important;
}
.nav-cta:hover { background: var(--accent-light); color: var(--white) !important; }

/* ============================================
   HERO
   ============================================ */
#hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, #1e5799 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(232,116,42,0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 40%);
}

/* geometric decoration */
.hero-geo {
  position: absolute;
  right: -80px; top: 10%;
  width: 500px; height: 500px;
  border: 60px solid rgba(255,255,255,0.04);
  border-radius: 50%;
}
.hero-geo::after {
  content: '';
  position: absolute;
  inset: 60px;
  border: 30px solid rgba(232,116,42,0.12);
  border-radius: 50%;
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(232,116,42,0.2);
  border: 1px solid rgba(232,116,42,0.5);
  color: var(--accent-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.38rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}
.hero-title .highlight { color: var(--accent-light); }

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin-bottom: 2.2rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.8rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stats .stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-light);
  display: block;
}
.hero-stats .stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* hero product showcase grid */
.hero-showcase {
  position: relative;
  z-index: 2;
}

.product-grid-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.product-card-mini {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 1.4rem 1rem;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.product-card-mini:hover {
  background: rgba(255,255,255,0.13);
  transform: translateY(-4px);
  border-color: rgba(232,116,42,0.5);
}
.product-card-mini .icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.product-card-mini p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

/* ============================================
   ABOUT
   ============================================ */
#about {
  padding: 6rem 0;
  background: var(--white);
}

.about-img-wrap {
  position: relative;
}
.about-img-wrap img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.about-badge-float {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about-badge-float .num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  display: block;
}
.about-badge-float .lbl { font-size: 0.75rem; opacity: 0.88; }

.about-features { margin-top: 1.8rem; }
.about-feat {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.about-feat .feat-icon {
  width: 44px; height: 44px;
  background: rgba(232,116,42,0.12);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: var(--accent);
}
.about-feat h6 { font-weight: 600; margin-bottom: 0.2rem; font-size: 0.95rem; }
.about-feat p { font-size: 0.87rem; color: var(--text-muted); margin: 0; }

/* ============================================
   PRODUCTS & SERVICES
   ============================================ */
#products {
  padding: 6rem 0;
  background: var(--light-bg);
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  border: 1px solid var(--border);
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: var(--accent);
}

.product-card-img {
  height: 190px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
}
.product-card-img .bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.08) 0%, transparent 60%);
}

.product-card-body { padding: 1.5rem; }
.product-card-body h5 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}
.product-card-body p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1rem; }

.service-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.service-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  background: rgba(26,58,92,0.08);
  color: var(--primary);
}
.service-tag.accent { background: rgba(232,116,42,0.12); color: var(--accent); }

/* ============================================
   WHY CHOOSE US
   ============================================ */
#why {
  padding: 6rem 0;
  background: var(--primary-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

#why::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 450px; height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,116,42,0.12) 0%, transparent 70%);
}

.why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}
.why-card:hover {
  background: rgba(232,116,42,0.12);
  border-color: rgba(232,116,42,0.4);
  transform: translateY(-4px);
}
.why-card .why-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
.why-card h5 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--white);
}
.why-card p { font-size: 0.87rem; color: rgba(255,255,255,0.65); }

/* ============================================
   BRANDS
   ============================================ */
#brands {
  padding: 5rem 0;
  background: var(--white);
}

.brand-item {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  letter-spacing: 0.03em;
  transition: var(--transition);
}
.brand-item:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: scale(1.04);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
#testimonials {
  padding: 6rem 0;
  background: var(--light-bg);
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  height: 100%;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem; left: 1.5rem;
  font-size: 4rem;
  font-family: 'Playfair Display', serif;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
}

.testimonial-text { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 1.2rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.8rem; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--white);
  font-size: 0.9rem;
}
.author-name { font-weight: 600; font-size: 0.9rem; }
.author-city { font-size: 0.78rem; color: var(--text-muted); }

.star-rating { color: #f5a623; font-size: 0.85rem; margin-bottom: 0.8rem; }

/* ============================================
   CONTACT
   ============================================ */
#contact {
  padding: 6rem 0;
  background: var(--white);
}

.contact-info-card {
  background: var(--primary-dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  height: 100%;
}
.contact-info-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.contact-info-card p { color: rgba(255,255,255,0.65); font-size: 0.9rem; margin-bottom: 2rem; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.contact-icon {
  width: 42px; height: 42px;
  background: rgba(232,116,42,0.2);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  flex-shrink: 0;
  color: var(--accent-light);
}
.contact-item h6 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.5); margin-bottom: 0.2rem; }
.contact-item p { font-size: 0.9rem; color: var(--white); margin: 0; }

.social-links { display: flex; gap: 0.7rem; margin-top: 2rem; }
.social-link {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 0.9rem;
  transition: var(--transition);
}
.social-link:hover { background: var(--accent); color: var(--white); }

/* Contact Form */
.contact-form-wrap {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 2.5rem;
}
.contact-form-wrap h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--primary-dark);
  margin-bottom: 0.4rem;
}
.contact-form-wrap p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 1.8rem; }

.form-control, .form-select {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0.72rem 1rem;
  font-size: 0.92rem;
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--text-dark);
  transition: var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,58,92,0.1);
  outline: none;
}
.form-label { font-size: 0.82rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.4rem; }
.btn-submit {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.82rem 2.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}
.btn-submit:hover { background: var(--accent); }

/* ============================================
   MAP SECTION
   ============================================ */
#map-section {
  background: var(--light-bg);
  padding: 3rem 0 0;
}
.map-embed {
  width: 100%;
  height: 350px;
  border: none;
  display: block;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 3.5rem 0 1.5rem;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
}
.footer-brand span { color: var(--accent); }

footer p { font-size: 0.88rem; }

.footer-heading {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-light);
  margin-bottom: 1rem;
}

.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--accent-light); padding-left: 4px; }

.footer-divider {
  border-color: rgba(255,255,255,0.1);
  margin: 2rem 0 1.2rem;
}

.footer-bottom { font-size: 0.82rem; }
.footer-bottom a { color: var(--accent-light); }

/* ============================================
   SCROLL TO TOP
   ============================================ */
#scrollTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px; height: 44px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 999;
  transition: var(--transition);
}
#scrollTop:hover { background: var(--primary); }
#scrollTop.show { display: flex; }

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  .hero-showcase { margin-top: 3rem; }
  .about-badge-float { right: 10px; bottom: 10px; }
}

@media (max-width: 768px) {
  .hero-stats { gap: 1.5rem; }
  .hero-stats .stat-number { font-size: 1.5rem; }
  .contact-form-wrap, .contact-info-card { padding: 1.8rem 1.3rem; }
}

@media (max-width: 576px) {
  .hero-stats { flex-direction: column; gap: 1rem; }
  .product-grid-mini { grid-template-columns: 1fr 1fr; }
}
