/* ==========================================================================
   SHIVA SERVICES - MAIN STYLESHEET
   Static Site Layout for Hostinger File Manager Deployment
   ========================================================================== */

/* 1. Google Font Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* 2. Custom CSS Variables & Color Tokens */
:root {
  /* Colors */
  --bg-main: #0d1512;
  --bg-surface: #15221d;
  --bg-surface-elevated: #1a2a24;
  --bg-surface-glow: #22372f;
  
  --text-main: #f0f4f2;
  --text-muted: #9eb3a8;
  --text-dim: #6b8277;
  
  --border-color: rgba(46, 184, 114, 0.15);
  --border-hover: rgba(223, 180, 85, 0.4);
  
  /* Brand Accent Colors */
  --gold: #dfb455;
  --gold-light: #f3d485;
  --gold-dark: #b88d32;
  
  --emerald: #2eb872;
  --emerald-light: #4cd48f;
  --emerald-dark: #1b8a52;
  
  /* Typography & Layout */
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --max-width: 1280px;
}

/* 3. Global Resets & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* 4. Layout Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* 5. Utility Classes & Gradients */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-emerald { color: var(--emerald); }
.text-muted { color: var(--text-muted); }

.text-gradient-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-emerald {
  background: linear-gradient(135deg, var(--emerald-light), var(--emerald), var(--emerald-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-surface { background-color: var(--bg-surface); }
.bg-main { background-color: var(--bg-main); }

.border-b-thin { border-bottom: 1px solid var(--border-color); }
.border-t-thin { border-top: 1px solid var(--border-color); }
.border-y-thin { border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }

/* 6. Section Header Utility */
.section-header {
  margin-bottom: 3rem;
}

.section-header.centered {
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.75rem;
  }
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 42rem;
}

.section-header.centered .section-desc {
  margin: 0 auto;
}

/* 7. Buttons & CTAs */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: all 0.25s ease;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
  color: #ffffff;
  box-shadow: 0 10px 25px -5px rgba(46, 184, 114, 0.3);
  text-decoration: none;
  cursor: pointer;
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, var(--emerald-light), var(--emerald));
  box-shadow: 0 15px 30px -5px rgba(46, 184, 114, 0.5);
  transform: translateY(-2px);
}

.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.btn-md { padding: 0.75rem 1.75rem; font-size: 0.95rem; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.125rem; }
.btn-full { width: 100%; }

/* 8. Header / Navigation Bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--border-color);
  background-color: rgba(13, 21, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-wrapper {
  display: flex;
  height: 4.5rem;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo img {
  height: 2.5rem;
  width: 2.5rem;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--text-main);
}

.brand-tag {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  color: var(--gold);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
    gap: 2rem;
  }
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold);
}

/* 9. Hero Section */
.hero-section {
  position: relative;
  padding: 3.5rem 0 5rem;
  background: radial-gradient(circle at 20% 0%, rgba(46, 184, 114, 0.12) 0%, transparent 40%),
              radial-gradient(circle at 80% 20%, rgba(223, 180, 85, 0.1) 0%, transparent 40%),
              linear-gradient(180deg, var(--bg-main) 0%, var(--bg-surface) 100%);
  overflow: hidden;
}

.hero-banner-box {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  background-color: rgba(21, 34, 29, 0.5);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-banner-box img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.hero-content {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.hero-subtext {
  max-width: 42rem;
  font-size: 1.125rem;
  color: var(--text-muted);
}

/* 10. Quick Service Cards Section */
.quick-services-section {
  padding: 3rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-surface);
}

.cards-grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .cards-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cards-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card-quick {
  background-color: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all 0.25s ease;
}

.card-quick:hover {
  border-color: var(--border-hover);
  background-color: var(--bg-surface-elevated);
  transform: translateY(-3px);
}

.card-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* 11. About Section */
.about-section {
  padding: 5rem 0;
  background-color: var(--bg-main);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-body p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.value-card {
  display: flex;
  gap: 1.25rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color 0.25s ease;
}

.value-card:hover {
  border-color: var(--border-hover);
}

.value-badge {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background-color: rgba(46, 184, 114, 0.12);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.value-content {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.value-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* 12. Full Services Section */
.services-section {
  padding: 5rem 0;
  background-color: var(--bg-surface);
}

.cards-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 640px) {
  .cards-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cards-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.25s ease;
}

.service-card:hover {
  border-color: var(--border-hover);
  background-color: var(--bg-surface-elevated);
  box-shadow: 0 20px 40px -15px rgba(223, 180, 85, 0.1);
  transform: translateY(-4px);
}

.service-icon-wrap {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-md);
  background-color: rgba(46, 184, 114, 0.12);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-icon-wrap svg {
  width: 1.75rem;
  height: 1.75rem;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.service-card p {
  color: var(--text-muted);
  flex-grow: 1;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* 13. Why Us Section */
.whyus-section {
  padding: 5rem 0;
  background-color: var(--bg-main);
}

.whyus-card {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.25s ease;
}

.whyus-card:hover {
  border-color: var(--border-hover);
}

.whyus-num-watermark {
  position: absolute;
  top: -1rem;
  right: -0.5rem;
  font-size: 5.5rem;
  font-weight: 900;
  color: rgba(223, 180, 85, 0.05);
  line-height: 1;
  pointer-events: none;
}

.whyus-icon-wrap {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background-color: rgba(223, 180, 85, 0.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.whyus-icon-wrap svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* 14. Process Section */
.process-section {
  padding: 5rem 0;
  background-color: var(--bg-surface);
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  position: relative;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .process-grid::before {
    content: '';
    position: absolute;
    top: 2.5rem;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(223, 180, 85, 0.4), transparent);
    z-index: 1;
  }
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.process-icon-circle {
  width: 5rem;
  height: 5rem;
  border-radius: 9999px;
  border: 1px solid rgba(223, 180, 85, 0.4);
  background-color: var(--bg-main);
  box-shadow: 0 10px 25px rgba(223, 180, 85, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.process-icon-circle svg {
  width: 2rem;
  height: 2rem;
}

.process-step-num {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background-color: var(--emerald);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.process-step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 18rem;
}

/* 15. FAQ Section & Accordions */
.faq-section {
  padding: 5rem 0;
  background-color: var(--bg-main);
}

.faq-wrapper {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background-color: var(--bg-surface);
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.accordion-item.active {
  border-color: var(--border-hover);
}

.accordion-header {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  transition: color 0.2s ease;
}

.accordion-header:hover {
  color: var(--gold);
}

.accordion-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--text-muted);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  color: var(--gold);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  padding: 0 1.5rem;
}

.accordion-item.active .accordion-content {
  max-height: 250px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.accordion-content p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* 16. Contact CTA Banner */
.cta-banner-section {
  position: relative;
  padding: 5rem 0;
  background: linear-gradient(135deg, rgba(46, 184, 114, 0.2) 0%, rgba(223, 180, 85, 0.15) 100%), var(--bg-surface);
  text-align: center;
  overflow: hidden;
}

.cta-banner-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(223, 180, 85, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 48rem;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .cta-content h2 {
    font-size: 3rem;
  }
}

.cta-content p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
}

/* 17. Footer */
.site-footer {
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-surface);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer-col h3 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a, .footer-links span {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.footer-contact-item svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
}

.footer-bottom {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* 18. Floating WhatsApp Action Button */
.floating-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.35rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 10px 25px rgba(46, 184, 114, 0.4);
  text-decoration: none;
  transition: all 0.3s ease;
  animation: pulse-glow 2.5s infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(46, 184, 114, 0.6);
}

.floating-whatsapp svg {
  width: 1.3rem;
  height: 1.3rem;
}

@media (max-width: 639px) {
  .hero-section {
    padding: 2rem 0 3.5rem;
  }
  .hero-content {
    margin-top: 1.75rem;
    gap: 1.25rem;
  }
  .floating-whatsapp {
    width: 3.5rem;
    height: 3.5rem;
    padding: 0;
    justify-content: center;
    border-radius: 9999px;
    bottom: 1.25rem;
    right: 1.25rem;
  }
  .floating-whatsapp span {
    display: none;
  }
  .floating-whatsapp svg {
    width: 1.75rem;
    height: 1.75rem;
  }
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(46, 184, 114, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(46, 184, 114, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 184, 114, 0); }
}
