/* ============================================================
   Kannan Ads & Prints - Global Stylesheet
   Colors: Royal Blue #0035AD | Bright Yellow #F4E11B
   Font: Montserrat (Google Fonts)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700;800;900&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --blue: #0035AD;
  --yellow: #F4E11B;
  --dark-blue: #001a57;
  --white: #ffffff;
  --body-bg: #f4f6f9;
  --text: #333333;
  --text-muted: #666666;
  --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

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

body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: var(--text);
  background: var(--body-bg);
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: var(--blue); transition: opacity 0.2s; }
a:hover { opacity: 0.8; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.2;
  margin: 0 0 16px;
}

p { margin: 0 0 16px; }

/* ---------- Header ---------- */
header {
  background: var(--blue);
  position: sticky;
  top: 0;
  z-index: 900;
  height: 72px;           /* fixed height: the blue bar is always exactly 72px */
  display: flex;
  align-items: center;
  overflow: hidden;       /* nothing inside can spill outside the bar */
}

.top-bar {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;           /* fill the header's 72px exactly */
}

.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  height: 100%;
}

.logo-img {
  height: 44px;           /* 44px logo inside a 72px bar = 14px breathing room top & bottom */
  width: auto;
  display: block;
}




.header-contact {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: 16px;
}

.header-contact a {
  color: var(--white);
  font-weight: 700;
  font-size: 0.9em;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

nav { margin-left: auto; }

nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
}

nav > ul > li { position: relative; }

nav > ul > li > a {
  color: var(--white);
  font-weight: 700;
  font-size: 0.95em;
  padding: 8px 12px;
  border-radius: 4px;
  display: block;
  white-space: nowrap;
}

nav > ul > li > a:hover,
nav > ul > li > a.active {
  border-bottom: 3px solid var(--yellow);
  opacity: 1;
}

/* Dropdown */
nav ul ul {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  min-width: 240px;
  padding: 8px 0;
  z-index: 1000;
}

nav > ul > li:hover > ul { display: block; }

nav ul ul li a {
  color: var(--text);
  font-weight: 500;
  padding: 10px 20px;
  display: block;
  border-bottom: 1px solid #f0f0f0;
}

nav ul ul li:last-child a { border-bottom: none; }

nav ul ul li a:hover {
  background: #f4f6ff;
  color: var(--blue);
  opacity: 1;
}

/* Hamburger */
.menu-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---------- Mobile Nav Drawer ---------- */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--blue);
  z-index: 1100;
  flex-direction: column;
  padding: 24px;
  overflow-y: auto;
}

.mobile-drawer.open { display: flex; }

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.mobile-drawer-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 2em;
  cursor: pointer;
  line-height: 1;
}

.mobile-drawer nav ul {
  flex-direction: column;
  gap: 0;
}

.mobile-drawer nav > ul > li > a {
  font-size: 1.2em;
  padding: 16px 20px;
  border-radius: 50px;
  margin-bottom: 8px;
}

.mobile-drawer nav > ul > li > a.active,
.mobile-drawer nav > ul > li:first-child > a {
  background: var(--yellow);
  color: var(--blue);
}

.mobile-drawer-footer {
  margin-top: auto;
  padding-top: 30px;
  border-top: 2px solid var(--yellow);
}

.mobile-drawer-footer a {
  display: flex;
  flex-direction: column;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1em;
  margin-bottom: 20px;
}

.mobile-drawer-footer a span {
  font-weight: 400;
  font-size: 0.8em;
  opacity: 0.7;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--blue);
  display: flex;
  align-items: center;
  min-height: 420px;
  overflow: hidden;
}

.hero .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(40%);
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 24px;
  color: var(--white);
}

.hero-text.centered { text-align: center; }

.hero-eyebrow {
  font-size: 0.85em;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--yellow);
  margin-bottom: 16px;
}

.hero-text h1 {
  font-size: clamp(2em, 5vw, 3.5em);
  color: var(--white);
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.1em;
  opacity: 0.9;
  max-width: 600px;
  margin-bottom: 30px;
}

.hero-text.centered p { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--yellow);
  color: var(--blue);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1em;
  padding: 14px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
  background: #e6d000;
  transform: translateY(-2px);
  opacity: 1;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--blue);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95em;
  padding: 0;
  border: none;
  cursor: pointer;
}

/* ---------- Sections ---------- */
.section-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-eyebrow {
  font-size: 0.8em;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--blue);
  margin-bottom: 8px;
  display: block;
}

.section-header h2 { font-size: clamp(1.8em, 4vw, 2.8em); }
.section-header h2 .accent { color: var(--yellow); }
.section-header p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }

.divider {
  width: 60px;
  height: 4px;
  background: var(--yellow);
  border-radius: 2px;
  margin: 16px auto 24px;
}

/* ---------- Service Cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s;
}

.service-card:hover { transform: translateY(-6px); }

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-body h3 { font-size: 1.2em; margin-bottom: 10px; }
.service-card-body p { color: var(--text-muted); font-size: 0.95em; flex: 1; }

.service-card-link {
  color: var(--blue);
  font-weight: 700;
  font-size: 0.9em;
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Why Choose Us ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-card {
  background: var(--white);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--card-shadow);
}

.trust-card .icon-circle {
  width: 60px;
  height: 60px;
  background: var(--yellow);
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6em;
}

.trust-card h4 { font-size: 1em; margin-bottom: 8px; }
.trust-card p { font-size: 0.9em; color: var(--text-muted); margin: 0; }

/* ---------- CTA Band ---------- */
.cta-band {
  background: var(--blue);
  color: var(--white);
  padding: 60px 24px;
  text-align: center;
}

.cta-band h2 { color: var(--white); font-size: 2em; margin-bottom: 12px; }
.cta-band p { opacity: 0.85; margin-bottom: 30px; }
.cta-band .btn-group { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1em;
  padding: 14px 28px;
  border-radius: 50px;
}

.btn-whatsapp:hover { background: #1ebe57; opacity: 1; }

/* ---------- Service Page Content ---------- */
.content-section {
  background: var(--white);
}

.content-section .section-wrap { padding: 60px 24px; }

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.content-grid img {
  border-radius: 14px;
  box-shadow: var(--card-shadow);
  width: 100%;
  height: 350px;
  object-fit: cover;
}

/* ---------- Footer ---------- */
footer {
  background: var(--dark-blue);
  color: var(--white);
  padding: 60px 24px 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 50px;
}

.footer-brand .logo-img { max-width: 140px; margin-bottom: 20px; }
.footer-brand p { opacity: 0.85; font-size: 1.05em; }

.footer-links h3,
.footer-contact h3 {
  color: var(--yellow);
  font-size: 1em;
  letter-spacing: 2px;
  margin-bottom: 24px;
  color: var(--yellow);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li { margin-bottom: 14px; }
.footer-links ul li a { color: var(--white); font-weight: 500; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.footer-contact-item .fc-icon {
  background: var(--yellow);
  color: var(--blue);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1em;
}

.footer-contact-item a { color: var(--white); font-weight: 700; }
.footer-contact-item span { color: rgba(255,255,255,0.7); font-size: 0.85em; }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 2px solid var(--yellow);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85em;
  opacity: 0.7;
}

.footer-bottom a { color: rgba(255,255,255,0.5); margin-left: 12px; }

/* ---------- Floating WhatsApp ---------- */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25d366;
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
  z-index: 800;
  transition: transform 0.2s;
}

.whatsapp-fab:hover { transform: scale(1.1); opacity: 1; }
.whatsapp-fab svg { width: 32px; height: 32px; fill: var(--white); }

/* ---------- Contact Page ---------- */
.contact-card {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--card-shadow);
  padding: 40px;
  text-align: center;
  flex: 1;
  min-width: 260px;
}

.contact-card h3 { font-size: 1.3em; margin-bottom: 12px; }
.contact-card .big-number { font-size: 1.8em; font-weight: 800; margin: 0; }
.contact-card p { color: var(--text-muted); margin-top: 6px; }

.map-wrap { border-radius: 14px; overflow: hidden; box-shadow: var(--card-shadow); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .content-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header-contact { display: none; }
  nav { display: none; }
  .menu-toggle { display: flex; }

  .hero-text { padding: 50px 20px; }

  .services-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .trust-grid { grid-template-columns: 1fr; }
}
