/*
Theme Name: GoldSparrow Solutions
Theme URI: https://goldsparrow.in
Author: GoldSparrow Solutions
Author URI: https://goldsparrow.in
Description: Premium theme for GoldSparrow Solutions - Newspaper Publication & Auction Information Services
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: goldsparrow
*/

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

:root {
  --gold: #D4A017;
  --gold-light: #D4AD4A;
  --gold-dark: #A67C00;
  --bg: #faf8f5;
  --fg: #1f1c18;
  --card: #ffffff;
  --border: #e8e2d9;
  --muted: #7a7268;
  --muted-bg: #f2efe9;
  --surface: #f2efe9;
  --surface-elevated: #ffffff;
  --font-display: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;
  --gradient-gold: linear-gradient(135deg, #A67C00, #D4A017, #D4AD4A);
  --shadow-card: 0 1px 3px rgba(31,28,24,0.06), 0 4px 12px rgba(31,28,24,0.04);
  --shadow-card-hover: 0 4px 16px rgba(31,28,24,0.1), 0 8px 24px rgba(31,28,24,0.06);
  --shadow-gold: 0 4px 20px -4px rgba(212,160,23,0.3);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-body); background: var(--bg); color: var(--fg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
html { scroll-behavior: smooth; }

/* LOGO TEXT (GoldSparrow.in + Tagline) */
.header-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

/* Main Brand Name */
.logo-title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: #e3e3e3;
  letter-spacing: 1.5px;
}

/* Tagline */
.logo-tagline {
  font-family: var(--font-body);
  font-size: 22px;
  color: rgba(227, 227, 227, 0.8);
  letter-spacing: 0.3px;
}

/* Scroll State (when header becomes white) */
.site-header.scrolled .logo-title {
  color: var(--gold-dark);
}

.site-header.scrolled .logo-tagline {
  color: rgba(31,28,24,0.8);
}

/* Responsive Fix */
@media (max-width: 768px) {
  .logo-title {
    font-size: 16px;
  }

  .logo-tagline {
    font-size: 11px;
  }

  .header-logo img {
    height: 70px;
  }
}

/* HEADER */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: all 0.5s ease; }
.site-header.transparent { background: transparent; }
.site-header.scrolled { background: rgba(255,255,255,0.8); backdrop-filter: blur(24px); border-bottom: 1px solid rgba(232,226,217,0.4); box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 140px; padding: 0 16px; max-width: 2000px; margin: 0 auto; }
.header-logo { padding-left: 12px; }
.header-logo img { height: 100px; width: auto; object-fit: contain; transition: all 0.5s; }
.header-nav { display: flex; align-items: center; gap: 56px; }
.header-nav a { font-size: 20px; font-weight: 500; color: rgba(212, 160, 23, 0.8); border-radius: 8px; transition: all 0.3s; }
.header-nav a:hover { color: var(--gold); background: rgba(212,160,23,0.05); }
.mobile-toggle { display: none; padding: 8px; background: none; border: none; cursor: pointer; color: var(--fg); }
.mobile-menu { display: none; padding: 8px 16px 24px; background: rgba(255,255,255,0.9); backdrop-filter: blur(24px); border-top: 1px solid var(--border); }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 12px 16px; font-size: 14px; font-weight: 500; color: rgba(31,28,24,0.8); }
.mobile-menu a:hover { color: var(--gold); }

/* HERO */
.hero-section { position: relative; height: 100vh; width: 100%; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; transition: opacity 1.5s ease-in-out; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(31,28,24,0.7), rgba(31,28,24,0.5), var(--bg)); }
.hero-content { position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; text-align: center; padding: 0 16px; }
.hero-title { font-size: clamp(1.875rem, 5vw, 3.75rem); font-weight: 700; line-height: 1.1; max-width: 56rem; color: #fff; margin-bottom: 24px; text-wrap: balance; }
.hero-title .gold-text { background: var(--gradient-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { font-size: clamp(1.125rem, 2vw, 1.25rem); color: rgba(255,255,255,0.7); font-weight: 300; letter-spacing: 0.05em; margin-bottom: 40px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.btn-gold { background: var(--gradient-gold); padding: 14px 32px; border-radius: 8px; font-weight: 600; font-size: 14px; letter-spacing: 0.05em; color: #fff; transition: all 0.3s; border: none; cursor: pointer; }
.btn-gold:hover { transform: scale(1.03); box-shadow: var(--shadow-gold); }
.btn-glass { background: rgba(255,255,255,0.1); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.2); padding: 14px 32px; border-radius: 8px; font-weight: 600; font-size: 14px; color: #fff; transition: all 0.3s; cursor: pointer; }
.btn-glass:hover { transform: scale(1.03); border-color: rgba(212,160,23,0.4); }
.hero-indicators { position: absolute; bottom: 48px; display: flex; gap: 8px; }
.hero-dot { height: 6px; border-radius: 999px; border: none; cursor: pointer; transition: all 0.5s; background: rgba(255,255,255,0.2); }
.hero-dot.active { width: 32px; background: var(--gold); }
.hero-dot:not(.active) { width: 16px; }

/* SECTIONS */
.section-padding { padding: 96px 0; }
.section-label { font-size: 14px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; display: block; }
.section-title { font-size: clamp(1.875rem, 4vw, 2.25rem); font-weight: 700; text-wrap: balance; }
.bg-surface { background: var(--surface); }

/* GLASS CARD */
.glass-card { background: rgba(255,255,255,0.6); backdrop-filter: blur(16px); border: 1px solid rgba(232,226,217,0.3); border-radius: 12px; padding: 32px; transition: all 0.5s ease-out; box-shadow: var(--shadow-card); }
.glass-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card-hover); }
.card-icon { width: 48px; height: 48px; border-radius: 8px; background: var(--gradient-gold); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; color: #fff; transition: transform 0.3s; }
.glass-card:hover .card-icon { transform: scale(1.1); }

/* INFO CARDS */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 64rem; margin: 0 auto; }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-images { position: relative; height: 500px; border-radius: 16px; overflow: hidden; }
.scroll-track { display: flex; flex-direction: column; gap: 16px; animation: scroll-up 20s linear infinite; }
.scroll-track img { width: 100%; border-radius: 12px; object-fit: cover; height: 280px; }

/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 72rem; margin: 0 auto; align-items: stretch; }
.service-card { display: flex; flex-direction: column; }
.service-card ul { list-style: none; flex: 1; }
.service-card li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: rgba(31,28,24,0.7); padding: 6px 0; }
.service-card li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; margin-top: 2px; }

/* REVIEWS */
.reviews-track { display: flex; animation: marquee 30s linear infinite; }
.review-card { background: rgba(255,255,255,0.6); backdrop-filter: blur(16px); border: 1px solid rgba(232,226,217,0.3); border-radius: 12px; padding: 32px; min-width: 340px; max-width: 380px; flex-shrink: 0; margin: 0 12px; }
.review-stars { display: flex; gap: 4px; margin-bottom: 16px; color: var(--gold); }
.review-text { color: rgba(31,28,24,0.8); font-size: 14px; line-height: 1.6; margin-bottom: 24px; font-style: italic; }


/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 64rem; margin: 0 auto; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon { width: 40px; height: 40px; border-radius: 8px; background: var(--gradient-gold); display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.form-input { width: 100%; background: rgba(255,255,255,0.6); backdrop-filter: blur(16px); border: 1px solid rgba(232,226,217,0.3); border-radius: 8px; padding: 12px 16px; font-size: 14px; color: var(--fg); transition: box-shadow 0.3s; font-family: var(--font-body); }
.form-input:focus { outline: none; box-shadow: 0 0 0 3px rgba(212,160,23,0.2); }
.form-textarea { width: 100%; background: rgba(255,255,255,0.6); backdrop-filter: blur(16px); border: 1px solid rgba(232,226,217,0.3); border-radius: 8px; padding: 12px 16px; font-size: 14px; color: var(--fg); resize: none; transition: box-shadow 0.3s; font-family: var(--font-body); }
.form-textarea:focus { outline: none; box-shadow: 0 0 0 3px rgba(212,160,23,0.2); }

/* FOOTER */
.site-footer { border-top: 1px solid var(--border); background: var(--card); }
.footer-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 48px; padding: 64px 0; }
.footer-brand .gold-text { font-size: 20px; font-weight: 700; background: var(--gradient-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.footer-links h4 { font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.footer-links ul { list-style: none; }
.footer-links li { padding: 4px 0; }
.footer-links a { font-size: 14px; color: var(--muted); transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }
.social-links { display: flex; gap: 12px; margin-top: 24px; }
.social-link { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.6); backdrop-filter: blur(16px); border: 1px solid rgba(232,226,217,0.3); display: flex; align-items: center; justify-content: center; color: var(--muted); transition: all 0.3s; }
.social-link:hover { color: var(--gold); border-color: rgba(212,160,23,0.3); }
.footer-bottom { border-top: 1px solid rgba(232,226,217,0.5); padding: 24px 0; text-align: center; font-size: 12px; color: var(--muted); }

/* WHATSAPP */
.whatsapp-btn { position: fixed; bottom: 24px; right: 24px; z-index: 50; width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(37,211,102,0.3); transition: transform 0.2s; animation: wa-pulse 2s cubic-bezier(0.4,0,0.6,1) infinite; }
.whatsapp-btn:hover { transform: scale(1.1); }
.whatsapp-btn svg { width: 24px; height: 24px; fill: #fff; }

/* GOLD TEXT */
.gold-text-inline { background: var(--gradient-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* MAP */
.map-wrapper { border-radius: 12px; overflow: hidden; margin-bottom: 48px; box-shadow: 0 0 30px rgba(212,160,23,0.15), 0 0 60px rgba(212,160,23,0.05); }

/* REVEAL ANIMATIONS */
.reveal { opacity: 0; transform: translateY(20px); filter: blur(4px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1), filter 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); filter: blur(0); }

@keyframes scroll-up { 0% { transform: translateY(0); } 100% { transform: translateY(-50%); } }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes wa-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); } 50% { box-shadow: 0 0 0 14px rgba(37,211,102,0); } }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .header-nav { display: none; }
  .mobile-toggle { display: block; }
  .info-grid, .services-grid, .about-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .about-images { height: 350px; }
}
@media (min-width: 640px) and (max-width: 1024px) {
  .info-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero-buttons { flex-direction: column; }
  .section-padding { padding: 64px 0; }
}
