/* ============================================================
   KONKAN SUN PRODUCTIONS — styles.css
   Brand: Navy #0D1B3E | Gold #FEC530
   Fonts: Bebas Neue (headings) | Poppins (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Poppins:wght@300;400;500;600&display=swap');

:root {
  --navy:        #0D1B3E;
  --navy-mid:    #122350;
  --navy-light:  #1a2f6a;
  --gold:        #FEC530;
  --gold-dark:   #d4a220;
  --white:       #FFFFFF;
  --off-white:   #F0E6C8;
  --text-light:  #a8b8d8;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background-color: #0D1B3E;
  background-color: var(--navy);
  color: var(--white);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  min-width: 320px;
}

/* TYPOGRAPHY */
h1, h2, h3 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 2px;
  line-height: 1.1;
  color: var(--gold);
}
h1 { font-size: clamp(44px, 7vw, 76px); letter-spacing: 3px; }
h2 { font-size: clamp(30px, 5vw, 50px); }
h3 { font-size: clamp(20px, 3vw, 26px); }

p {
  font-weight: 300;
  color: var(--off-white);
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.75;
}

a { text-decoration: none; color: inherit; }

/* NAV */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 48px;
  background-color: var(--navy);
  border-bottom: 1px solid rgba(254, 197, 48, 0.15);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img { height: 44px; width: auto; }

nav ul { list-style: none; display: flex; gap: 32px; }

nav ul li a {
  font-size: 13px;
  font-weight: 500;
  color: var(--off-white);
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
}
nav ul li a:hover { color: var(--gold); }

/* HERO */
.hero {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  background-color: var(--navy);
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(254,197,48,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 85%, rgba(254,197,48,0.04) 0%, transparent 50%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(254,197,48,0.02) 60px, rgba(254,197,48,0.02) 61px),
    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(254,197,48,0.02) 60px, rgba(254,197,48,0.02) 61px);
  pointer-events: none;
}

.hero-logo { margin-bottom: 36px; animation: fadeInDown 0.8s ease both; }
.hero-logo img { width: min(360px, 78vw); height: auto; }

.hero h1 { animation: fadeInUp 0.8s ease 0.2s both; max-width: 800px; }

.hero p {
  margin-top: 18px;
  max-width: 540px;
  color: var(--text-light);
  animation: fadeInUp 0.8s ease 0.35s both;
}

/* PAGE HERO (non-home pages) */
.page-hero {
  padding: 40px 24px 32px;
  text-align: center;
  background-color: var(--navy);
  background-image: radial-gradient(ellipse at 50% 0%, rgba(254,197,48,0.07) 0%, transparent 55%);
  border-bottom: 1px solid rgba(254,197,48,0.1);
}

.page-hero p {
  margin-top: 12px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

/* BUTTONS */
.btn {
  display: inline-block;
  margin-top: 32px;
  padding: 13px 38px;
  background-color: var(--gold);
  color: var(--navy);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 2px;
  border-radius: 4px;
  transition: background-color 0.2s, transform 0.15s;
  animation: fadeInUp 0.8s ease 0.5s both;
}
.btn:hover { background-color: var(--gold-dark); transform: translateY(-2px); }
.btn.no-anim { animation: none; }

/* SECTIONS */
section { padding: 56px 24px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 12px; }
.section-subtitle { text-align: center; max-width: 580px; margin: 0 auto 56px; color: var(--text-light); }
section.alt { background-color: var(--navy-mid); }

/* DIVIDER */
.divider {
  width: 56px; height: 3px;
  background-color: var(--gold);
  margin: 14px auto 36px;
  border-radius: 2px;
}
.divider.left { margin-left: 0; }

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.service-card {
  background-color: var(--navy-light);
  border: 1px solid rgba(254,197,48,0.12);
  border-radius: 8px;
  padding: 36px 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.service-card:hover { border-color: rgba(254,197,48,0.4); transform: translateY(-4px); }
.service-card h3 { margin-bottom: 12px; }
.service-card p { font-size: 15px; }

/* SERVICE LIST (services page) */
.service-block { margin-bottom: 64px; }
.service-block h2 { margin-bottom: 8px; }
.service-block > p { margin-bottom: 24px; }
.service-block ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
}
.service-block ul li {
  color: var(--off-white);
  font-size: 15px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(254,197,48,0.08);
}
.service-block ul li::before { content: '— '; color: var(--gold); }

/* ABOUT PAGE */
.about-section { margin-bottom: 64px; }
.about-section h2 { margin-bottom: 12px; }
.about-section p { margin-bottom: 16px; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.value-card {
  background-color: var(--navy-light);
  border: 1px solid rgba(254,197,48,0.12);
  border-radius: 8px;
  padding: 28px 24px;
}
.value-card h3 { margin-bottom: 10px; font-size: 20px; }
.value-card p { font-size: 14px; }

/* BLOG */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.blog-card {
  background-color: var(--navy-light);
  border: 1px solid rgba(254,197,48,0.12);
  border-radius: 8px;
  padding: 32px 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.blog-card:hover { border-color: rgba(254,197,48,0.35); transform: translateY(-3px); }
.blog-date { font-size: 12px; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; font-weight: 500; }
.blog-card h3 { margin-bottom: 10px; font-size: 20px; }
.blog-card p { font-size: 14px; margin-bottom: 18px; }
.read-more { font-size: 13px; color: var(--gold); font-weight: 500; letter-spacing: 0.5px; transition: opacity 0.2s; }
.read-more:hover { opacity: 0.75; }

/* CTA STRIP */
.cta-strip {
  text-align: center;
  padding: 72px 24px;
  background-color: var(--navy-mid);
  border-top: 1px solid rgba(254,197,48,0.1);
  border-bottom: 1px solid rgba(254,197,48,0.1);
}
.cta-strip h2 { margin-bottom: 12px; }
.cta-strip p { max-width: 480px; margin: 0 auto; color: var(--text-light); }

/* FOOTER */
footer {
  background-color: var(--navy);
  border-top: 1px solid rgba(254,197,48,0.12);
  padding: 36px 48px;
  text-align: center;
}
footer p { font-size: 13px; color: var(--text-light); }
footer p + p { margin-top: 6px; }
footer a { color: var(--gold); }
footer a:hover { text-decoration: underline; }

/* ANIMATIONS */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* BLOG POST */
.post-body { max-width: 720px; }
.post-body h3 { margin-top: 36px; margin-bottom: 10px; }
.post-body p { margin-bottom: 20px; }

.back-link {
  display: inline-block;
  margin-top: 48px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.5px;
  transition: opacity 0.2s;
}
.back-link:hover { opacity: 0.75; }

/* RESPONSIVE */
@media (max-width: 768px) {
  nav { padding: 12px 20px; flex-wrap: wrap; gap: 10px; }
  nav ul { gap: 18px; }
  .hero { padding: 56px 20px; }
  section { padding: 40px 20px; }
  footer { padding: 28px 20px; }
}
